Struct aws_sdk_ec2::types::AssociatedRole
source · #[non_exhaustive]pub struct AssociatedRole {
pub associated_role_arn: Option<String>,
pub certificate_s3_bucket_name: Option<String>,
pub certificate_s3_object_key: Option<String>,
pub encryption_kms_key_id: Option<String>,
}
Expand description
Information about the associated IAM roles.
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.associated_role_arn: Option<String>
The ARN of the associated IAM role.
certificate_s3_bucket_name: Option<String>
The name of the Amazon S3 bucket in which the Amazon S3 object is stored.
certificate_s3_object_key: Option<String>
The key of the Amazon S3 object where the certificate, certificate chain, and encrypted private key bundle are stored. The object key is formatted as follows: role_arn
/certificate_arn
.
encryption_kms_key_id: Option<String>
The ID of the KMS key used to encrypt the private key.
Implementations§
source§impl AssociatedRole
impl AssociatedRole
sourcepub fn associated_role_arn(&self) -> Option<&str>
pub fn associated_role_arn(&self) -> Option<&str>
The ARN of the associated IAM role.
sourcepub fn certificate_s3_bucket_name(&self) -> Option<&str>
pub fn certificate_s3_bucket_name(&self) -> Option<&str>
The name of the Amazon S3 bucket in which the Amazon S3 object is stored.
sourcepub fn certificate_s3_object_key(&self) -> Option<&str>
pub fn certificate_s3_object_key(&self) -> Option<&str>
The key of the Amazon S3 object where the certificate, certificate chain, and encrypted private key bundle are stored. The object key is formatted as follows: role_arn
/certificate_arn
.
sourcepub fn encryption_kms_key_id(&self) -> Option<&str>
pub fn encryption_kms_key_id(&self) -> Option<&str>
The ID of the KMS key used to encrypt the private key.
source§impl AssociatedRole
impl AssociatedRole
sourcepub fn builder() -> AssociatedRoleBuilder
pub fn builder() -> AssociatedRoleBuilder
Creates a new builder-style object to manufacture AssociatedRole
.
Trait Implementations§
source§impl Clone for AssociatedRole
impl Clone for AssociatedRole
source§fn clone(&self) -> AssociatedRole
fn clone(&self) -> AssociatedRole
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssociatedRole
impl Debug for AssociatedRole
source§impl PartialEq for AssociatedRole
impl PartialEq for AssociatedRole
source§fn eq(&self, other: &AssociatedRole) -> bool
fn eq(&self, other: &AssociatedRole) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociatedRole
Auto Trait Implementations§
impl Freeze for AssociatedRole
impl RefUnwindSafe for AssociatedRole
impl Send for AssociatedRole
impl Sync for AssociatedRole
impl Unpin for AssociatedRole
impl UnwindSafe for AssociatedRole
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> 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