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 ey where the certificate, certificate chain, and encrypted private key bundle is stored. The object key is formated as follows: role_arn/certificate_arn.
encryption_kms_key_id: Option<String>The ID of the KMS customer master key (CMK) 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 ey where the certificate, certificate chain, and encrypted private key bundle is stored. The object key is formated 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 customer master key (CMK) 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 ==.