Struct aws_sdk_config::types::builders::DeliveryChannelBuilder
source · #[non_exhaustive]pub struct DeliveryChannelBuilder { /* private fields */ }Expand description
A builder for DeliveryChannel.
Implementations§
source§impl DeliveryChannelBuilder
impl DeliveryChannelBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the delivery channel. By default, Config assigns the name "default" when creating the delivery channel. To change the delivery channel name, you must use the DeleteDeliveryChannel action to delete your current delivery channel, and then you must use the PutDeliveryChannel command to create a delivery channel that has the desired name.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the delivery channel. By default, Config assigns the name "default" when creating the delivery channel. To change the delivery channel name, you must use the DeleteDeliveryChannel action to delete your current delivery channel, and then you must use the PutDeliveryChannel command to create a delivery channel that has the desired name.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the delivery channel. By default, Config assigns the name "default" when creating the delivery channel. To change the delivery channel name, you must use the DeleteDeliveryChannel action to delete your current delivery channel, and then you must use the PutDeliveryChannel command to create a delivery channel that has the desired name.
sourcepub fn s3_bucket_name(self, input: impl Into<String>) -> Self
pub fn s3_bucket_name(self, input: impl Into<String>) -> Self
The name of the Amazon S3 bucket to which Config delivers configuration snapshots and configuration history files.
If you specify a bucket that belongs to another Amazon Web Services account, that bucket must have policies that grant access permissions to Config. For more information, see Permissions for the Amazon S3 Bucket in the Config Developer Guide.
sourcepub fn set_s3_bucket_name(self, input: Option<String>) -> Self
pub fn set_s3_bucket_name(self, input: Option<String>) -> Self
The name of the Amazon S3 bucket to which Config delivers configuration snapshots and configuration history files.
If you specify a bucket that belongs to another Amazon Web Services account, that bucket must have policies that grant access permissions to Config. For more information, see Permissions for the Amazon S3 Bucket in the Config Developer Guide.
sourcepub fn get_s3_bucket_name(&self) -> &Option<String>
pub fn get_s3_bucket_name(&self) -> &Option<String>
The name of the Amazon S3 bucket to which Config delivers configuration snapshots and configuration history files.
If you specify a bucket that belongs to another Amazon Web Services account, that bucket must have policies that grant access permissions to Config. For more information, see Permissions for the Amazon S3 Bucket in the Config Developer Guide.
sourcepub fn s3_key_prefix(self, input: impl Into<String>) -> Self
pub fn s3_key_prefix(self, input: impl Into<String>) -> Self
The prefix for the specified Amazon S3 bucket.
sourcepub fn set_s3_key_prefix(self, input: Option<String>) -> Self
pub fn set_s3_key_prefix(self, input: Option<String>) -> Self
The prefix for the specified Amazon S3 bucket.
sourcepub fn get_s3_key_prefix(&self) -> &Option<String>
pub fn get_s3_key_prefix(&self) -> &Option<String>
The prefix for the specified Amazon S3 bucket.
sourcepub fn s3_kms_key_arn(self, input: impl Into<String>) -> Self
pub fn s3_kms_key_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Key Management Service (KMS ) KMS key (KMS key) used to encrypt objects delivered by Config. Must belong to the same Region as the destination S3 bucket.
sourcepub fn set_s3_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_s3_kms_key_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Key Management Service (KMS ) KMS key (KMS key) used to encrypt objects delivered by Config. Must belong to the same Region as the destination S3 bucket.
sourcepub fn get_s3_kms_key_arn(&self) -> &Option<String>
pub fn get_s3_kms_key_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Key Management Service (KMS ) KMS key (KMS key) used to encrypt objects delivered by Config. Must belong to the same Region as the destination S3 bucket.
sourcepub fn sns_topic_arn(self, input: impl Into<String>) -> Self
pub fn sns_topic_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon SNS topic to which Config sends notifications about configuration changes.
If you choose a topic from another account, the topic must have policies that grant access permissions to Config. For more information, see Permissions for the Amazon SNS Topic in the Config Developer Guide.
sourcepub fn set_sns_topic_arn(self, input: Option<String>) -> Self
pub fn set_sns_topic_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon SNS topic to which Config sends notifications about configuration changes.
If you choose a topic from another account, the topic must have policies that grant access permissions to Config. For more information, see Permissions for the Amazon SNS Topic in the Config Developer Guide.
sourcepub fn get_sns_topic_arn(&self) -> &Option<String>
pub fn get_sns_topic_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon SNS topic to which Config sends notifications about configuration changes.
If you choose a topic from another account, the topic must have policies that grant access permissions to Config. For more information, see Permissions for the Amazon SNS Topic in the Config Developer Guide.
sourcepub fn config_snapshot_delivery_properties(
self,
input: ConfigSnapshotDeliveryProperties
) -> Self
pub fn config_snapshot_delivery_properties( self, input: ConfigSnapshotDeliveryProperties ) -> Self
The options for how often Config delivers configuration snapshots to the Amazon S3 bucket.
sourcepub fn set_config_snapshot_delivery_properties(
self,
input: Option<ConfigSnapshotDeliveryProperties>
) -> Self
pub fn set_config_snapshot_delivery_properties( self, input: Option<ConfigSnapshotDeliveryProperties> ) -> Self
The options for how often Config delivers configuration snapshots to the Amazon S3 bucket.
sourcepub fn get_config_snapshot_delivery_properties(
&self
) -> &Option<ConfigSnapshotDeliveryProperties>
pub fn get_config_snapshot_delivery_properties( &self ) -> &Option<ConfigSnapshotDeliveryProperties>
The options for how often Config delivers configuration snapshots to the Amazon S3 bucket.
sourcepub fn build(self) -> DeliveryChannel
pub fn build(self) -> DeliveryChannel
Consumes the builder and constructs a DeliveryChannel.
Trait Implementations§
source§impl Clone for DeliveryChannelBuilder
impl Clone for DeliveryChannelBuilder
source§fn clone(&self) -> DeliveryChannelBuilder
fn clone(&self) -> DeliveryChannelBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeliveryChannelBuilder
impl Debug for DeliveryChannelBuilder
source§impl Default for DeliveryChannelBuilder
impl Default for DeliveryChannelBuilder
source§fn default() -> DeliveryChannelBuilder
fn default() -> DeliveryChannelBuilder
source§impl PartialEq for DeliveryChannelBuilder
impl PartialEq for DeliveryChannelBuilder
source§fn eq(&self, other: &DeliveryChannelBuilder) -> bool
fn eq(&self, other: &DeliveryChannelBuilder) -> bool
self and other values to be equal, and is used
by ==.