Class: Aws::EC2::Types::AssociateIamInstanceProfileRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::AssociateIamInstanceProfileRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Note:
When making an API call, you may pass AssociateIamInstanceProfileRequest data as a hash:
{
iam_instance_profile: { # required
arn: "String",
name: "String",
},
instance_id: "String", # required
}
Instance Attribute Summary collapse
-
#iam_instance_profile ⇒ Types::IamInstanceProfileSpecification
The IAM instance profile.
-
#instance_id ⇒ String
The ID of the instance.
Instance Attribute Details
#iam_instance_profile ⇒ Types::IamInstanceProfileSpecification
The IAM instance profile.
863 864 865 866 867 |
# File 'lib/aws-sdk-ec2/types.rb', line 863 class AssociateIamInstanceProfileRequest < Struct.new( :iam_instance_profile, :instance_id) include Aws::Structure end |
#instance_id ⇒ String
The ID of the instance.
863 864 865 866 867 |
# File 'lib/aws-sdk-ec2/types.rb', line 863 class AssociateIamInstanceProfileRequest < Struct.new( :iam_instance_profile, :instance_id) include Aws::Structure end |