InstanceProfile

class InstanceProfile : KotlinCustomResource

Creates a new instance profile. For information about instance profiles, see Using instance profiles. For information about the number of instance profiles you can create, see object quotas in the User Guide.

Example Usage

Example

No Java example available.

Example

No Java example available.

Properties

Link copied to clipboard
val arn: Output<String>

Returns the Amazon Resource Name (ARN) for the instance profile. For example: {"Fn::GetAtt" : ["MyProfile", "Arn"] } This returns a value such as arn:aws:iam::1234567890:instance-profile/MyProfile-ASDNSDLKJ .

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The name of the instance profile to create. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

Link copied to clipboard
val path: Output<String>?

The path to the instance profile. For more information about paths, see IAM Identifiers in the IAM User Guide. This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (`\u0021`) through the DEL character (`\u007F`), including most punctuation characters, digits, and upper and lowercased letters.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val roles: Output<List<String>>

The name of the role to associate with the instance profile. Only one role can be assigned to an EC2 instance at a time, and all applications on the instance share the same role and permissions.

Link copied to clipboard
val urn: Output<String>