Class: AWSCDK::DataPipeline::CfnPipeline::PipelineTagProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataPipeline::CfnPipeline::PipelineTagProperty
- Defined in:
- data_pipeline/cfn_pipeline.rb
Overview
A list of arbitrary tags (key-value pairs) to associate with the pipeline, which you can use to control permissions.
For more information, see Controlling Access to Pipelines and Resources in the AWS Data Pipeline Developer Guide .
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
The key name of a tag.
-
#value ⇒ String
readonly
The value to associate with the key name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ PipelineTagProperty
constructor
A new instance of PipelineTagProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, value:) ⇒ PipelineTagProperty
Returns a new instance of PipelineTagProperty.
883 884 885 886 887 888 |
# File 'data_pipeline/cfn_pipeline.rb', line 883 def initialize(key:, value:) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#key ⇒ String (readonly)
The key name of a tag.
894 895 896 |
# File 'data_pipeline/cfn_pipeline.rb', line 894 def key @key end |
#value ⇒ String (readonly)
The value to associate with the key name.
899 900 901 |
# File 'data_pipeline/cfn_pipeline.rb', line 899 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
901 902 903 904 905 906 |
# File 'data_pipeline/cfn_pipeline.rb', line 901 def self.jsii_properties { :key => "key", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
908 909 910 911 912 913 914 915 |
# File 'data_pipeline/cfn_pipeline.rb', line 908 def to_jsii result = {} result.merge!({ "key" => @key, "value" => @value, }) result.compact end |