Class: AWSCDK::EC2::CfnFlowLog::TagFieldSpecificationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnFlowLog::TagFieldSpecificationProperty
- Defined in:
- ec2/cfn_flow_log.rb
Overview
Instance Attribute Summary collapse
- #resource_type ⇒ String readonly
- #tag_keys ⇒ Array<String> readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(resource_type:, tag_keys:) ⇒ TagFieldSpecificationProperty
constructor
A new instance of TagFieldSpecificationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(resource_type:, tag_keys:) ⇒ TagFieldSpecificationProperty
Returns a new instance of TagFieldSpecificationProperty.
750 751 752 753 754 755 |
# File 'ec2/cfn_flow_log.rb', line 750 def initialize(resource_type:, tag_keys:) @resource_type = resource_type Jsii::Type.check_type(@resource_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceType") @tag_keys = tag_keys Jsii::Type.check_type(@tag_keys, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tagKeys") end |
Instance Attribute Details
#resource_type ⇒ String (readonly)
759 760 761 |
# File 'ec2/cfn_flow_log.rb', line 759 def resource_type @resource_type end |
#tag_keys ⇒ Array<String> (readonly)
762 763 764 |
# File 'ec2/cfn_flow_log.rb', line 762 def tag_keys @tag_keys end |
Class Method Details
.jsii_properties ⇒ Object
764 765 766 767 768 769 |
# File 'ec2/cfn_flow_log.rb', line 764 def self.jsii_properties { :resource_type => "resourceType", :tag_keys => "tagKeys", } end |
Instance Method Details
#to_jsii ⇒ Object
771 772 773 774 775 776 777 778 |
# File 'ec2/cfn_flow_log.rb', line 771 def to_jsii result = {} result.merge!({ "resourceType" => @resource_type, "tagKeys" => @tag_keys, }) result.compact end |