| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IAM.Types.InstanceProfile
Description
Synopsis
- data InstanceProfile = InstanceProfile' {
- tags :: Maybe [Tag]
- path :: Text
- instanceProfileName :: Text
- instanceProfileId :: Text
- arn :: Text
- createDate :: ISO8601
- roles :: [Role]
- newInstanceProfile :: Text -> Text -> Text -> Text -> UTCTime -> InstanceProfile
- instanceProfile_tags :: Lens' InstanceProfile (Maybe [Tag])
- instanceProfile_path :: Lens' InstanceProfile Text
- instanceProfile_instanceProfileName :: Lens' InstanceProfile Text
- instanceProfile_instanceProfileId :: Lens' InstanceProfile Text
- instanceProfile_arn :: Lens' InstanceProfile Text
- instanceProfile_createDate :: Lens' InstanceProfile UTCTime
- instanceProfile_roles :: Lens' InstanceProfile [Role]
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
| |
Instances
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:
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.
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.
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.
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.