Class: AWSCDK::BCMDataExports::CfnExportProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BCMDataExports::CfnExportProps
- Defined in:
- bcm_data_exports/cfn_export_props.rb
Overview
Properties for defining a CfnExport.
Instance Attribute Summary collapse
-
#export ⇒ AWSCDK::IResolvable, AWSCDK::BCMDataExports::CfnExport::ExportProperty
readonly
The details that are available for an export.
- #tags ⇒ Array<AWSCDK::BCMDataExports::CfnExport::ResourceTagProperty>? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(export:, tags: nil) ⇒ CfnExportProps
constructor
A new instance of CfnExportProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(export:, tags: nil) ⇒ CfnExportProps
Returns a new instance of CfnExportProps.
11 12 13 14 15 16 |
# File 'bcm_data_exports/cfn_export_props.rb', line 11 def initialize(export:, tags: nil) @export = export.is_a?(Hash) ? ::AWSCDK::BCMDataExports::CfnExport::ExportProperty.new(**export.transform_keys(&:to_sym)) : export Jsii::Type.check_type(@export, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iY21kYXRhZXhwb3J0cy5DZm5FeHBvcnQuRXhwb3J0UHJvcGVydHkifV19fQ==")), "export") @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::BCMDataExports::CfnExport::ResourceTagProperty.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iY21kYXRhZXhwb3J0cy5DZm5FeHBvcnQuUmVzb3VyY2VUYWdQcm9wZXJ0eSJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#export ⇒ AWSCDK::IResolvable, AWSCDK::BCMDataExports::CfnExport::ExportProperty (readonly)
The details that are available for an export.
22 23 24 |
# File 'bcm_data_exports/cfn_export_props.rb', line 22 def export @export end |
#tags ⇒ Array<AWSCDK::BCMDataExports::CfnExport::ResourceTagProperty>? (readonly)
25 26 27 |
# File 'bcm_data_exports/cfn_export_props.rb', line 25 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
27 28 29 30 31 32 |
# File 'bcm_data_exports/cfn_export_props.rb', line 27 def self.jsii_properties { :export => "export", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'bcm_data_exports/cfn_export_props.rb', line 34 def to_jsii result = {} result.merge!({ "export" => @export, "tags" => @tags, }) result.compact end |