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: String
The name of the S3 bucket where the aggregated data is stored.
prefix: Option<String>
An Amazon S3 prefix for the bucket.
sync_format: ResourceDataSyncS3Format
A supported sync format. The following format is currently supported: JsonSerDe
region: String
The 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 ==
.impl StructuralPartialEq for ResourceDataSyncS3Destination
Auto Trait Implementations§
impl Freeze for ResourceDataSyncS3Destination
impl RefUnwindSafe for ResourceDataSyncS3Destination
impl Send for ResourceDataSyncS3Destination
impl Sync for ResourceDataSyncS3Destination
impl Unpin for ResourceDataSyncS3Destination
impl UnwindSafe for ResourceDataSyncS3Destination
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more