You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeDeploy::Types::TargetInstances
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::CodeDeploy::Types::TargetInstances
 
 
- Defined in:
 - (unknown)
 
Overview
When passing TargetInstances as input to an Aws::Client method, you can use a vanilla Hash:
{
  tag_filters: [
    {
      key: "Key",
      value: "Value",
      type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
    },
  ],
  auto_scaling_groups: ["AutoScalingGroupName"],
  ec2_tag_set: {
    ec2_tag_set_list: [
      [
        {
          key: "Key",
          value: "Value",
          type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
        },
      ],
    ],
  },
}
Information about the instances to be used in the replacement environment in a blue/green deployment.
Returned by:
Instance Attribute Summary collapse
- 
  
    
      #auto_scaling_groups  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
 - 
  
    
      #ec2_tag_set  ⇒ Types::EC2TagSet 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Information about the groups of EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment.
 - 
  
    
      #tag_filters  ⇒ Array<Types::EC2TagFilter> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment.
 
Instance Attribute Details
#auto_scaling_groups ⇒ Array<String>
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
#ec2_tag_set ⇒ Types::EC2TagSet
Information about the groups of EC2 instance tags that an instance must
be identified by in order for it to be included in the replacement
environment for a blue/green deployment. Cannot be used in the same call
as tagFilters.
#tag_filters ⇒ Array<Types::EC2TagFilter>
The tag filter key, type, and value used to identify Amazon EC2
instances in a replacement environment for a blue/green deployment.
Cannot be used in the same call as ec2TagSet.