Struct aws_sdk_iam::types::InstanceProfile
source · #[non_exhaustive]pub struct InstanceProfile { /* private fields */ }
Expand description
Contains information about an instance profile.
This data type is used as a response element in the following operations:
-
CreateInstanceProfile
-
GetInstanceProfile
-
ListInstanceProfiles
-
ListInstanceProfilesForRole
Implementations§
source§impl InstanceProfile
impl InstanceProfile
sourcepub fn path(&self) -> Option<&str>
pub fn path(&self) -> Option<&str>
The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.
sourcepub fn instance_profile_name(&self) -> Option<&str>
pub fn instance_profile_name(&self) -> Option<&str>
The name identifying the instance profile.
sourcepub fn instance_profile_id(&self) -> Option<&str>
pub fn instance_profile_id(&self) -> Option<&str>
The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
sourcepub fn create_date(&self) -> Option<&DateTime>
pub fn create_date(&self) -> Option<&DateTime>
The date when the instance profile was created.
A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
source§impl InstanceProfile
impl InstanceProfile
sourcepub fn builder() -> InstanceProfileBuilder
pub fn builder() -> InstanceProfileBuilder
Creates a new builder-style object to manufacture InstanceProfile
.
Trait Implementations§
source§impl Clone for InstanceProfile
impl Clone for InstanceProfile
source§fn clone(&self) -> InstanceProfile
fn clone(&self) -> InstanceProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceProfile
impl Debug for InstanceProfile
source§impl PartialEq<InstanceProfile> for InstanceProfile
impl PartialEq<InstanceProfile> for InstanceProfile
source§fn eq(&self, other: &InstanceProfile) -> bool
fn eq(&self, other: &InstanceProfile) -> bool
self
and other
values to be equal, and is used
by ==
.