Skip to main content

delivery_channels

Creates, updates, deletes, gets or lists a delivery_channels resource.

Overview

Namedelivery_channels
TypeResource
Idaws.config.delivery_channels

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
delivery_channelsarrayA list that contains the descriptions of the specified delivery channel.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_delivery_channelsselectregionReturns details about the specified delivery channel. If a delivery channel is not specified, this operation returns the details of all delivery channels associated with the account. Currently, you can specify only one delivery channel per region in your account.
put_delivery_channelreplaceregion, DeliveryChannelCreates or updates a delivery channel to deliver configuration information and other compliance information. You can use this operation to create a new delivery channel or to update the Amazon S3 bucket and the Amazon SNS topic of an existing delivery channel. For more information, see Working with the Delivery Channel in the Config Developer Guide. One delivery channel per account per Region You can have only one delivery channel for each account for each Amazon Web Services Region.
delete_delivery_channeldeleteregionDeletes the delivery channel. Before you can delete the delivery channel, you must stop the customer managed configuration recorder. You can use the StopConfigurationRecorder operation to stop the customer managed configuration recorder.
deliver_config_snapshotexecregionSchedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, Config sends the following notifications using an Amazon SNS topic that you have specified. Notification of the start of the delivery. Notification of the completion of the delivery, if the delivery was successfully completed. Notification of delivery failure, if the delivery failed.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns details about the specified delivery channel. If a delivery channel is not specified, this operation returns the details of all delivery channels associated with the account. Currently, you can specify only one delivery channel per region in your account.

SELECT
delivery_channels
FROM aws.config.delivery_channels
WHERE region = '{{ region }}' -- required
;

REPLACE examples

Creates or updates a delivery channel to deliver configuration information and other compliance information. You can use this operation to create a new delivery channel or to update the Amazon S3 bucket and the Amazon SNS topic of an existing delivery channel. For more information, see Working with the Delivery Channel in the Config Developer Guide. One delivery channel per account per Region You can have only one delivery channel for each account for each Amazon Web Services Region.

REPLACE aws.config.delivery_channels
SET
DeliveryChannel = '{{ DeliveryChannel }}'
WHERE
region = '{{ region }}' --required
AND DeliveryChannel = '{{ DeliveryChannel }}' --required;

DELETE examples

Deletes the delivery channel. Before you can delete the delivery channel, you must stop the customer managed configuration recorder. You can use the StopConfigurationRecorder operation to stop the customer managed configuration recorder.

DELETE FROM aws.config.delivery_channels
WHERE region = '{{ region }}' --required
;

Lifecycle Methods

Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, Config sends the following notifications using an Amazon SNS topic that you have specified. Notification of the start of the delivery. Notification of the completion of the delivery, if the delivery was successfully completed. Notification of delivery failure, if the delivery failed.

EXEC aws.config.delivery_channels.deliver_config_snapshot
@region='{{ region }}' --required
@@json=
'{
"deliveryChannelName": "{{ deliveryChannelName }}"
}'
;