Struct aws_sdk_ssm::types::ResourceDataSyncS3Destination
source · #[non_exhaustive]pub struct ResourceDataSyncS3Destination {
pub bucket_name: String,
pub prefix: Option<String>,
pub sync_format: ResourceDataSyncS3Format,
pub region: String,
pub awskms_key_arn: Option<String>,
pub destination_data_sharing: Option<ResourceDataSyncDestinationDataSharing>,
}Expand description
Information about the target S3 bucket for the resource data sync.
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.bucket_name: StringThe name of the S3 bucket where the aggregated data is stored.
prefix: Option<String>An Amazon S3 prefix for the bucket.
sync_format: ResourceDataSyncS3FormatA supported sync format. The following format is currently supported: JsonSerDe
region: StringThe Amazon Web Services Region with the S3 bucket targeted by the resource data sync.
awskms_key_arn: Option<String>The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.
destination_data_sharing: Option<ResourceDataSyncDestinationDataSharing>Enables destination data sharing. By default, this field is null.
Implementations§
source§impl ResourceDataSyncS3Destination
impl ResourceDataSyncS3Destination
sourcepub fn bucket_name(&self) -> &str
pub fn bucket_name(&self) -> &str
The name of the S3 bucket where the aggregated data is stored.
sourcepub fn sync_format(&self) -> &ResourceDataSyncS3Format
pub fn sync_format(&self) -> &ResourceDataSyncS3Format
A supported sync format. The following format is currently supported: JsonSerDe
sourcepub fn region(&self) -> &str
pub fn region(&self) -> &str
The Amazon Web Services Region with the S3 bucket targeted by the resource data sync.
sourcepub fn awskms_key_arn(&self) -> Option<&str>
pub fn awskms_key_arn(&self) -> Option<&str>
The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.
sourcepub fn destination_data_sharing(
&self
) -> Option<&ResourceDataSyncDestinationDataSharing>
pub fn destination_data_sharing( &self ) -> Option<&ResourceDataSyncDestinationDataSharing>
Enables destination data sharing. By default, this field is null.
source§impl ResourceDataSyncS3Destination
impl ResourceDataSyncS3Destination
sourcepub fn builder() -> ResourceDataSyncS3DestinationBuilder
pub fn builder() -> ResourceDataSyncS3DestinationBuilder
Creates a new builder-style object to manufacture ResourceDataSyncS3Destination.
Trait Implementations§
source§impl Clone for ResourceDataSyncS3Destination
impl Clone for ResourceDataSyncS3Destination
source§fn clone(&self) -> ResourceDataSyncS3Destination
fn clone(&self) -> ResourceDataSyncS3Destination
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for ResourceDataSyncS3Destination
impl PartialEq for ResourceDataSyncS3Destination
source§fn eq(&self, other: &ResourceDataSyncS3Destination) -> bool
fn eq(&self, other: &ResourceDataSyncS3Destination) -> bool
self and other values to be equal, and is used
by ==.