Struct aws_sdk_config::model::DeliveryChannel
source · [−]#[non_exhaustive]pub struct DeliveryChannel {
pub name: Option<String>,
pub s3_bucket_name: Option<String>,
pub s3_key_prefix: Option<String>,
pub s3_kms_key_arn: Option<String>,
pub sns_topic_arn: Option<String>,
pub config_snapshot_delivery_properties: Option<ConfigSnapshotDeliveryProperties>,
}Expand description
The channel through which Config delivers notifications and updated configuration states.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: 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.
s3_bucket_name: 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.
s3_key_prefix: Option<String>The prefix for the specified Amazon S3 bucket.
s3_kms_key_arn: 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.
sns_topic_arn: 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.
config_snapshot_delivery_properties: Option<ConfigSnapshotDeliveryProperties>The options for how often Config delivers configuration snapshots to the Amazon S3 bucket.
Implementations
sourceimpl DeliveryChannel
impl DeliveryChannel
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
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) -> Option<&str>
pub fn s3_bucket_name(&self) -> Option<&str>
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) -> Option<&str>
pub fn s3_key_prefix(&self) -> Option<&str>
The prefix for the specified Amazon S3 bucket.
sourcepub fn s3_kms_key_arn(&self) -> Option<&str>
pub fn s3_kms_key_arn(&self) -> Option<&str>
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) -> Option<&str>
pub fn sns_topic_arn(&self) -> Option<&str>
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
) -> Option<&ConfigSnapshotDeliveryProperties>
pub fn config_snapshot_delivery_properties(
&self
) -> Option<&ConfigSnapshotDeliveryProperties>
The options for how often Config delivers configuration snapshots to the Amazon S3 bucket.
sourceimpl DeliveryChannel
impl DeliveryChannel
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeliveryChannel
Trait Implementations
sourceimpl Clone for DeliveryChannel
impl Clone for DeliveryChannel
sourcefn clone(&self) -> DeliveryChannel
fn clone(&self) -> DeliveryChannel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DeliveryChannel
impl Debug for DeliveryChannel
sourceimpl PartialEq<DeliveryChannel> for DeliveryChannel
impl PartialEq<DeliveryChannel> for DeliveryChannel
sourcefn eq(&self, other: &DeliveryChannel) -> bool
fn eq(&self, other: &DeliveryChannel) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DeliveryChannel) -> bool
fn ne(&self, other: &DeliveryChannel) -> bool
This method tests for !=.
impl StructuralPartialEq for DeliveryChannel
Auto Trait Implementations
impl RefUnwindSafe for DeliveryChannel
impl Send for DeliveryChannel
impl Sync for DeliveryChannel
impl Unpin for DeliveryChannel
impl UnwindSafe for DeliveryChannel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more