Struct aws_sdk_ec2::model::IamInstanceProfileAssociation
source · #[non_exhaustive]pub struct IamInstanceProfileAssociation { /* private fields */ }
Expand description
Describes an association between an IAM instance profile and an instance.
Implementations§
source§impl IamInstanceProfileAssociation
impl IamInstanceProfileAssociation
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The ID of the association.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance.
sourcepub fn iam_instance_profile(&self) -> Option<&IamInstanceProfile>
pub fn iam_instance_profile(&self) -> Option<&IamInstanceProfile>
The IAM instance profile.
sourcepub fn state(&self) -> Option<&IamInstanceProfileAssociationState>
pub fn state(&self) -> Option<&IamInstanceProfileAssociationState>
The state of the association.
source§impl IamInstanceProfileAssociation
impl IamInstanceProfileAssociation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture IamInstanceProfileAssociation
.
Trait Implementations§
source§impl Clone for IamInstanceProfileAssociation
impl Clone for IamInstanceProfileAssociation
source§fn clone(&self) -> IamInstanceProfileAssociation
fn clone(&self) -> IamInstanceProfileAssociation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<IamInstanceProfileAssociation> for IamInstanceProfileAssociation
impl PartialEq<IamInstanceProfileAssociation> for IamInstanceProfileAssociation
source§fn eq(&self, other: &IamInstanceProfileAssociation) -> bool
fn eq(&self, other: &IamInstanceProfileAssociation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.