#[non_exhaustive]pub struct CustomerManagedChannelS3Storage {
pub bucket: String,
pub key_prefix: Option<String>,
pub role_arn: String,
}
Expand description
Used to store channel data in an S3 bucket that you manage. If customer-managed storage is selected, the retentionPeriod
parameter is ignored. You can't change the choice of S3 storage after the data store is created.
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: String
The name of the S3 bucket in which channel data is stored.
key_prefix: Option<String>
(Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
role_arn: String
The ARN of the role that grants IoT Analytics permission to interact with your Amazon S3 resources.
Implementations§
source§impl CustomerManagedChannelS3Storage
impl CustomerManagedChannelS3Storage
sourcepub fn key_prefix(&self) -> Option<&str>
pub fn key_prefix(&self) -> Option<&str>
(Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
source§impl CustomerManagedChannelS3Storage
impl CustomerManagedChannelS3Storage
sourcepub fn builder() -> CustomerManagedChannelS3StorageBuilder
pub fn builder() -> CustomerManagedChannelS3StorageBuilder
Creates a new builder-style object to manufacture CustomerManagedChannelS3Storage
.
Trait Implementations§
source§impl Clone for CustomerManagedChannelS3Storage
impl Clone for CustomerManagedChannelS3Storage
source§fn clone(&self) -> CustomerManagedChannelS3Storage
fn clone(&self) -> CustomerManagedChannelS3Storage
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CustomerManagedChannelS3Storage
impl PartialEq for CustomerManagedChannelS3Storage
source§fn eq(&self, other: &CustomerManagedChannelS3Storage) -> bool
fn eq(&self, other: &CustomerManagedChannelS3Storage) -> bool
self
and other
values to be equal, and is used
by ==
.