IamInstanceProfile
A resource of the AWS provider, version 0.3.0, in its IAM group. Import it with:
import IamInstanceProfile from "aws/iam"Example
resource IamInstanceProfile example {
name = "example-value"
path = "example-value"
role = "example-value"
tags = "..."
}Properties
Set by your code in the resource block. A required one must be set; any other you leave out takes the value under Default, if it has one.
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
name | string | — | No | Name of the instance profile |
path | string | — | No | Path for the instance profile (default: /) |
role | string | — | No | Name of the IAM role to associate with the instance profile |
tags | object | — | No | Tags to apply to the instance profile |
Set by AWS after the resource is created: your code can read them but not set them. An importable one identifies an existing resource.
| Name | Type | Importable | Description |
|---|---|---|---|
instanceProfileId | string | No | The stable and unique ID for the instance profile |
arn | string | Yes | The Amazon Resource Name (ARN) of the instance profile |
createDate | string | No | The date and time when the instance profile was created |