Class: AWSCDK::CodeDeploy::CfnDeploymentGroup::EC2TagSetProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CodeDeploy::CfnDeploymentGroup::EC2TagSetProperty
- Defined in:
- code_deploy/cfn_deployment_group.rb
Overview
The EC2TagSet property type specifies information about groups of tags applied to Amazon EC2 instances.
The deployment group includes only Amazon EC2 instances identified by all the tag groups. EC2TagSet cannot be used in the same template as EC2TagFilter .
For information about using tags and tag groups to help manage your Amazon EC2 instances and on-premises instances, see Tagging Instances for Deployment Groups in AWS CodeDeploy .
Instance Attribute Summary collapse
-
#ec2_tag_set_list ⇒ AWSCDK::IResolvable, ...
readonly
The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ec2_tag_set_list: nil) ⇒ EC2TagSetProperty
constructor
A new instance of EC2TagSetProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ec2_tag_set_list: nil) ⇒ EC2TagSetProperty
Returns a new instance of EC2TagSetProperty.
1272 1273 1274 1275 |
# File 'code_deploy/cfn_deployment_group.rb', line 1272 def initialize(ec2_tag_set_list: nil) @ec2_tag_set_list = ec2_tag_set_list Jsii::Type.check_type(@ec2_tag_set_list, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZWRlcGxveS5DZm5EZXBsb3ltZW50R3JvdXAuRUMyVGFnU2V0TGlzdE9iamVjdFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "ec2TagSetList") unless @ec2_tag_set_list.nil? end |
Instance Attribute Details
#ec2_tag_set_list ⇒ AWSCDK::IResolvable, ... (readonly)
The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group.
CodeDeploy includes all Amazon EC2 instances identified by any of the tags you specify in this deployment group.
Duplicates are not allowed.
1285 1286 1287 |
# File 'code_deploy/cfn_deployment_group.rb', line 1285 def ec2_tag_set_list @ec2_tag_set_list end |
Class Method Details
.jsii_properties ⇒ Object
1287 1288 1289 1290 1291 |
# File 'code_deploy/cfn_deployment_group.rb', line 1287 def self.jsii_properties { :ec2_tag_set_list => "ec2TagSetList", } end |
Instance Method Details
#to_jsii ⇒ Object
1293 1294 1295 1296 1297 1298 1299 |
# File 'code_deploy/cfn_deployment_group.rb', line 1293 def to_jsii result = {} result.merge!({ "ec2TagSetList" => @ec2_tag_set_list, }) result.compact end |