You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EC2::Types::AssociateIamInstanceProfileRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AssociateIamInstanceProfileRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  iam_instance_profile: { # required
    arn: "String",
    name: "String",
  },
  instance_id: "String", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#iam_instance_profileTypes::IamInstanceProfileSpecification

The IAM instance profile.

Returns:

#instance_idString

The ID of the instance.

Returns:

  • (String)

    The ID of the instance.