@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigSnapshotDeliveryProperties extends Object implements Serializable, Cloneable, StructuredPojo
Provides options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket in your delivery channel.
If you want to create a rule that triggers evaluations for your resources when AWS Config delivers the configuration snapshot, see the following:
The frequency for a rule that triggers evaluations for your resources when AWS 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 AWS Config delivers configuration snapshots. This value also sets how often AWS Config invokes evaluations for
Config rules.
The value for the MaximumExecutionFrequency parameter, which sets the maximum frequency with which AWS
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, AWS Config invokes the rule only as often as the deliveryFrequency value.
For example, you want your rule to run evaluations when AWS 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,
AWS 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 AWS Config delivers your configuration snapshots, use the
PutDeliveryChannel action.
| Constructor and Description |
|---|
ConfigSnapshotDeliveryProperties() |
| Modifier and Type | Method and Description |
|---|---|
ConfigSnapshotDeliveryProperties |
clone() |
boolean |
equals(Object obj) |
String |
getDeliveryFrequency()
The frequency with which AWS Config delivers configuration snapshots.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDeliveryFrequency(MaximumExecutionFrequency deliveryFrequency)
The frequency with which AWS Config delivers configuration snapshots.
|
void |
setDeliveryFrequency(String deliveryFrequency)
The frequency with which AWS Config delivers configuration snapshots.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ConfigSnapshotDeliveryProperties |
withDeliveryFrequency(MaximumExecutionFrequency deliveryFrequency)
The frequency with which AWS Config delivers configuration snapshots.
|
ConfigSnapshotDeliveryProperties |
withDeliveryFrequency(String deliveryFrequency)
The frequency with which AWS Config delivers configuration snapshots.
|
public void setDeliveryFrequency(String deliveryFrequency)
The frequency with which AWS Config delivers configuration snapshots.
deliveryFrequency - The frequency with which AWS Config delivers configuration snapshots.MaximumExecutionFrequencypublic String getDeliveryFrequency()
The frequency with which AWS Config delivers configuration snapshots.
MaximumExecutionFrequencypublic ConfigSnapshotDeliveryProperties withDeliveryFrequency(String deliveryFrequency)
The frequency with which AWS Config delivers configuration snapshots.
deliveryFrequency - The frequency with which AWS Config delivers configuration snapshots.MaximumExecutionFrequencypublic void setDeliveryFrequency(MaximumExecutionFrequency deliveryFrequency)
The frequency with which AWS Config delivers configuration snapshots.
deliveryFrequency - The frequency with which AWS Config delivers configuration snapshots.MaximumExecutionFrequencypublic ConfigSnapshotDeliveryProperties withDeliveryFrequency(MaximumExecutionFrequency deliveryFrequency)
The frequency with which AWS Config delivers configuration snapshots.
deliveryFrequency - The frequency with which AWS Config delivers configuration snapshots.MaximumExecutionFrequencypublic String toString()
toString in class ObjectObject.toString()public ConfigSnapshotDeliveryProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.