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.

Constant Summary collapse

SENSITIVE =
[]

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>)


5471
5472
5473
5474
5475
5476
5477
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 5471

class TargetInstances < Struct.new(
  :tag_filters,
  :auto_scaling_groups,
  :ec2_tag_set)
  SENSITIVE = []
  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:



5471
5472
5473
5474
5475
5476
5477
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 5471

class TargetInstances < Struct.new(
  :tag_filters,
  :auto_scaling_groups,
  :ec2_tag_set)
  SENSITIVE = []
  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:



5471
5472
5473
5474
5475
5476
5477
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 5471

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