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

Class: Aws::EC2::Types::ReplaceIamInstanceProfileAssociationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass ReplaceIamInstanceProfileAssociationRequest data as a hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#association_idString

The ID of the existing IAM instance profile association.

Returns:

  • (String)


18872
18873
18874
18875
18876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18872

class ReplaceIamInstanceProfileAssociationRequest < Struct.new(
  :iam_instance_profile,
  :association_id)
  include Aws::Structure
end

#iam_instance_profileTypes::IamInstanceProfileSpecification

The IAM instance profile.



18872
18873
18874
18875
18876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18872

class ReplaceIamInstanceProfileAssociationRequest < Struct.new(
  :iam_instance_profile,
  :association_id)
  include Aws::Structure
end