libZSservicesZSamazonka-iamZSamazonka-iam
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IAM.Types.InstanceProfile

Description

 
Synopsis

Documentation

data InstanceProfile Source #

Contains information about an instance profile.

This data type is used as a response element in the following operations:

  • CreateInstanceProfile
  • GetInstanceProfile
  • ListInstanceProfiles
  • ListInstanceProfilesForRole

See: newInstanceProfile smart constructor.

Constructors

InstanceProfile' 

Fields

  • tags :: Maybe [Tag]

    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.

  • path :: Text

    The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.

  • instanceProfileName :: Text

    The name identifying the instance profile.

  • instanceProfileId :: Text

    The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.

  • arn :: Text

    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.

  • createDate :: ISO8601

    The date when the instance profile was created.

  • roles :: [Role]

    The role associated with the instance profile.

Instances

Instances details
Eq InstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.InstanceProfile

Read InstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.InstanceProfile

Show InstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.InstanceProfile

Generic InstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.InstanceProfile

Associated Types

type Rep InstanceProfile :: Type -> Type #

NFData InstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.InstanceProfile

Methods

rnf :: InstanceProfile -> () #

Hashable InstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.InstanceProfile

FromXML InstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.InstanceProfile

type Rep InstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.InstanceProfile

newInstanceProfile Source #

Create a value of InstanceProfile with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:tags:InstanceProfile', instanceProfile_tags - 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.

$sel:path:InstanceProfile', instanceProfile_path - The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.

$sel:instanceProfileName:InstanceProfile', instanceProfile_instanceProfileName - The name identifying the instance profile.

$sel:instanceProfileId:InstanceProfile', instanceProfile_instanceProfileId - The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.

$sel:arn:InstanceProfile', instanceProfile_arn - 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.

$sel:createDate:InstanceProfile', instanceProfile_createDate - The date when the instance profile was created.

$sel:roles:InstanceProfile', instanceProfile_roles - The role associated with the instance profile.

instanceProfile_tags :: Lens' InstanceProfile (Maybe [Tag]) Source #

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.

instanceProfile_path :: Lens' InstanceProfile Text Source #

The path to the instance profile. For more information about paths, see IAM identifiers in the IAM User Guide.

instanceProfile_instanceProfileName :: Lens' InstanceProfile Text Source #

The name identifying the instance profile.

instanceProfile_instanceProfileId :: Lens' InstanceProfile Text Source #

The stable and unique string identifying the instance profile. For more information about IDs, see IAM identifiers in the IAM User Guide.

instanceProfile_arn :: Lens' InstanceProfile Text Source #

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.

instanceProfile_createDate :: Lens' InstanceProfile UTCTime Source #

The date when the instance profile was created.

instanceProfile_roles :: Lens' InstanceProfile [Role] Source #

The role associated with the instance profile.