class Aws::CodeDeploy::Types::TargetInstances

Information about the instances to be used in the replacement environment in a blue/green deployment.

@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
            },
          ],
        ],
      },
    }

@!attribute [rw] tag_filters

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`.
@return [Array<Types::EC2TagFilter>]

@!attribute [rw] auto_scaling_groups

The names of one or more Auto Scaling groups to identify a
replacement environment for a blue/green deployment.
@return [Array<String>]

@!attribute [rw] ec2_tag_set

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`.
@return [Types::EC2TagSet]

@see docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TargetInstances AWS API Documentation

Constants

SENSITIVE