@Generated(value="software.amazon.awssdk:codegen") public final class ConfigSnapshotDeliveryProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConfigSnapshotDeliveryProperties.Builder,ConfigSnapshotDeliveryProperties>
Provides options for how often Config delivers configuration snapshots to the Amazon S3 bucket in your delivery channel.
The frequency for a rule that triggers evaluations for your resources when Config delivers the configuration snapshot is set by one of two values, depending on which is less frequent:
The value for the deliveryFrequency parameter within the delivery channel configuration, which sets how
often Config delivers configuration snapshots. This value also sets how often Config invokes evaluations for Config
rules.
The value for the MaximumExecutionFrequency parameter, which sets the maximum frequency with which
Config invokes evaluations for the rule. For more information, see ConfigRule.
If the deliveryFrequency value is less frequent than the MaximumExecutionFrequency value
for a rule, Config invokes the rule only as often as the deliveryFrequency value.
For example, you want your rule to run evaluations when Config delivers the configuration snapshot.
You specify the MaximumExecutionFrequency value for Six_Hours.
You then specify the delivery channel deliveryFrequency value for TwentyFour_Hours.
Because the value for deliveryFrequency is less frequent than MaximumExecutionFrequency,
Config invokes evaluations for the rule every 24 hours.
You should set the MaximumExecutionFrequency value to be at least as frequent as the
deliveryFrequency value. You can view the deliveryFrequency value by using the
DescribeDeliveryChannnels action.
To update the deliveryFrequency with which Config delivers your configuration snapshots, use the
PutDeliveryChannel action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConfigSnapshotDeliveryProperties.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ConfigSnapshotDeliveryProperties.Builder |
builder() |
MaximumExecutionFrequency |
deliveryFrequency()
The frequency with which Config delivers configuration snapshots.
|
String |
deliveryFrequencyAsString()
The frequency with which Config delivers configuration snapshots.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ConfigSnapshotDeliveryProperties.Builder> |
serializableBuilderClass() |
ConfigSnapshotDeliveryProperties.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final MaximumExecutionFrequency deliveryFrequency()
The frequency with which Config delivers configuration snapshots.
If the service returns an enum value that is not available in the current SDK version, deliveryFrequency
will return MaximumExecutionFrequency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from deliveryFrequencyAsString().
MaximumExecutionFrequencypublic final String deliveryFrequencyAsString()
The frequency with which Config delivers configuration snapshots.
If the service returns an enum value that is not available in the current SDK version, deliveryFrequency
will return MaximumExecutionFrequency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from deliveryFrequencyAsString().
MaximumExecutionFrequencypublic ConfigSnapshotDeliveryProperties.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ConfigSnapshotDeliveryProperties.Builder,ConfigSnapshotDeliveryProperties>public static ConfigSnapshotDeliveryProperties.Builder builder()
public static Class<? extends ConfigSnapshotDeliveryProperties.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.