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
- Struct
- Aws::EC2::Types::AssociateIamInstanceProfileRequest
 
- 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: "InstanceId", # 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.
#instance_id ⇒ String
The ID of the instance.