/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides options for how often AWS 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 AWS Config delivers the
* configuration snapshot is set by one of two values, depending on which is less
* frequent: The value for the The value for
* the If the
* For example, you want your rule to run evaluations when AWS Config delivers
* the configuration snapshot. You specify the
* You then specify the delivery channel
* Because the value for You should set the
* To update 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 AWS Config rules.MaximumExecutionFrequency parameter, which sets the maximum
* frequency with which AWS Config invokes evaluations for the rule. For more
* information, see ConfigRule.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. MaximumExecutionFrequency value to be at least as frequent as the
* deliveryFrequency value. You can view the
* deliveryFrequency value by using the
* DescribeDeliveryChannnels action.deliveryFrequency with which AWS Config delivers your configuration
* snapshots, use the PutDeliveryChannel action.See
* Also:
AWS
* API Reference
The frequency with which AWS Config delivers configuration snapshots.
*/ inline const MaximumExecutionFrequency& GetDeliveryFrequency() const{ return m_deliveryFrequency; } /** *The frequency with which AWS Config delivers configuration snapshots.
*/ inline bool DeliveryFrequencyHasBeenSet() const { return m_deliveryFrequencyHasBeenSet; } /** *The frequency with which AWS Config delivers configuration snapshots.
*/ inline void SetDeliveryFrequency(const MaximumExecutionFrequency& value) { m_deliveryFrequencyHasBeenSet = true; m_deliveryFrequency = value; } /** *The frequency with which AWS Config delivers configuration snapshots.
*/ inline void SetDeliveryFrequency(MaximumExecutionFrequency&& value) { m_deliveryFrequencyHasBeenSet = true; m_deliveryFrequency = std::move(value); } /** *The frequency with which AWS Config delivers configuration snapshots.
*/ inline ConfigSnapshotDeliveryProperties& WithDeliveryFrequency(const MaximumExecutionFrequency& value) { SetDeliveryFrequency(value); return *this;} /** *The frequency with which AWS Config delivers configuration snapshots.
*/ inline ConfigSnapshotDeliveryProperties& WithDeliveryFrequency(MaximumExecutionFrequency&& value) { SetDeliveryFrequency(std::move(value)); return *this;} private: MaximumExecutionFrequency m_deliveryFrequency; bool m_deliveryFrequencyHasBeenSet; }; } // namespace Model } // namespace ConfigService } // namespace Aws