Class: AWSCDK::CodeDeploy::CfnDeploymentGroup::OnPremisesTagSetProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CodeDeploy::CfnDeploymentGroup::OnPremisesTagSetProperty
- Defined in:
- code_deploy/cfn_deployment_group.rb
Overview
The OnPremisesTagSet property type specifies a list containing other lists of on-premises instance tag groups.
In order for an instance to be included in the deployment group, it must be identified by all the tag groups in the list.
For more 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 in the AWS CodeDeploy User Guide .
OnPremisesTagSet is a property of the DeploymentGroup resource.
Instance Attribute Summary collapse
-
#on_premises_tag_set_list ⇒ AWSCDK::IResolvable, ...
readonly
A list that contains other lists of on-premises instance tag groups.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(on_premises_tag_set_list: nil) ⇒ OnPremisesTagSetProperty
constructor
A new instance of OnPremisesTagSetProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(on_premises_tag_set_list: nil) ⇒ OnPremisesTagSetProperty
Returns a new instance of OnPremisesTagSetProperty.
1588 1589 1590 1591 |
# File 'code_deploy/cfn_deployment_group.rb', line 1588 def initialize(on_premises_tag_set_list: nil) @on_premises_tag_set_list = on_premises_tag_set_list Jsii::Type.check_type(@on_premises_tag_set_list, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZWRlcGxveS5DZm5EZXBsb3ltZW50R3JvdXAuT25QcmVtaXNlc1RhZ1NldExpc3RPYmplY3RQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "onPremisesTagSetList") unless @on_premises_tag_set_list.nil? end |
Instance Attribute Details
#on_premises_tag_set_list ⇒ AWSCDK::IResolvable, ... (readonly)
A list that contains other lists of on-premises instance tag groups.
For an instance to be included in the deployment group, it must be identified by all of the tag groups in the list.
Duplicates are not allowed.
1601 1602 1603 |
# File 'code_deploy/cfn_deployment_group.rb', line 1601 def on_premises_tag_set_list @on_premises_tag_set_list end |
Class Method Details
.jsii_properties ⇒ Object
1603 1604 1605 1606 1607 |
# File 'code_deploy/cfn_deployment_group.rb', line 1603 def self.jsii_properties { :on_premises_tag_set_list => "onPremisesTagSetList", } end |
Instance Method Details
#to_jsii ⇒ Object
1609 1610 1611 1612 1613 1614 1615 |
# File 'code_deploy/cfn_deployment_group.rb', line 1609 def to_jsii result = {} result.merge!({ "onPremisesTagSetList" => @on_premises_tag_set_list, }) result.compact end |