GetInstanceProfileResult

data class GetInstanceProfileResult(val arn: String? = null, val roles: List<String>? = null)

Constructors

Link copied to clipboard
constructor(arn: String? = null, roles: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String? = null

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 roles: 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.