InstanceProfileArgs

data class InstanceProfileArgs(val instanceProfileName: Output<String>? = null, val path: Output<String>? = null, val roles: Output<List<String>>? = null) : ConvertibleToJava<InstanceProfileArgs>

Resource Type definition for AWS::IAM::InstanceProfile

Example Usage

Example

No Java example available.

Example

No Java example available.

Constructors

Link copied to clipboard
fun InstanceProfileArgs(instanceProfileName: Output<String>? = null, path: Output<String>? = null, roles: Output<List<String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): InstanceProfileArgs

Properties

Link copied to clipboard
val instanceProfileName: Output<String>? = null

The name of the instance profile to create.

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

The path to the instance profile.

Link copied to clipboard
val roles: Output<List<String>>? = null

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.