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

Class: Aws::CodeDeploy::Types::TargetInstances

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

Overview

Note:

When making an API call, you may pass TargetInstances data as a 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.

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_groupsArray<String>

The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.

Returns:

  • (Array<String>)


3454
3455
3456
3457
3458
3459
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3454

class TargetInstances < Struct.new(
  :tag_filters,
  :auto_scaling_groups,
  :ec2_tag_set)
  include Aws::Structure
end

#ec2_tag_setTypes::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.

Returns:



3454
3455
3456
3457
3458
3459
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3454

class TargetInstances < Struct.new(
  :tag_filters,
  :auto_scaling_groups,
  :ec2_tag_set)
  include Aws::Structure
end

#tag_filtersArray<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.

Returns:



3454
3455
3456
3457
3458
3459
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3454

class TargetInstances < Struct.new(
  :tag_filters,
  :auto_scaling_groups,
  :ec2_tag_set)
  include Aws::Structure
end