@Stability(value=Stable)
public static interface CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty
extends software.amazon.jsii.JsiiSerializable
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:
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 AWS Config rules.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.
MaximumExecutionFrequency value for Six_Hours .deliveryFrequency value for TwentyFour_Hours .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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.config.*;
ConfigSnapshotDeliveryPropertiesProperty configSnapshotDeliveryPropertiesProperty = ConfigSnapshotDeliveryPropertiesProperty.builder()
.deliveryFrequency("deliveryFrequency")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty.Builder
|
static class |
CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty.Jsii$Proxy
An implementation for
CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty.Builder |
builder() |
default String |
getDeliveryFrequency()
The frequency with which AWS Config delivers configuration snapshots.
|
@Stability(value=Stable) @Nullable default String getDeliveryFrequency()
@Stability(value=Stable) static CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty.Builder builder()
Copyright © 2022. All rights reserved.