Class: AWSCDK::EMR::CfnWALWorkspaceProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EMR::CfnWALWorkspaceProps
- Defined in:
- emr/cfn_wal_workspace_props.rb
Overview
Properties for defining a CfnWALWorkspace.
Instance Attribute Summary collapse
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
An array of key-value pairs to apply to this resource.
-
#wal_workspace_name ⇒ String?
readonly
The name of the emrwal container.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(tags: nil, wal_workspace_name: nil) ⇒ CfnWALWorkspaceProps
constructor
A new instance of CfnWALWorkspaceProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(tags: nil, wal_workspace_name: nil) ⇒ CfnWALWorkspaceProps
Returns a new instance of CfnWALWorkspaceProps.
11 12 13 14 15 16 |
# File 'emr/cfn_wal_workspace_props.rb', line 11 def initialize(tags: nil, wal_workspace_name: nil) @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? @wal_workspace_name = wal_workspace_name Jsii::Type.check_type(@wal_workspace_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "walWorkspaceName") unless @wal_workspace_name.nil? end |
Instance Attribute Details
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
An array of key-value pairs to apply to this resource.
22 23 24 |
# File 'emr/cfn_wal_workspace_props.rb', line 22 def @tags end |
#wal_workspace_name ⇒ String? (readonly)
The name of the emrwal container.
27 28 29 |
# File 'emr/cfn_wal_workspace_props.rb', line 27 def wal_workspace_name @wal_workspace_name end |
Class Method Details
.jsii_properties ⇒ Object
29 30 31 32 33 34 |
# File 'emr/cfn_wal_workspace_props.rb', line 29 def self.jsii_properties { :tags => "tags", :wal_workspace_name => "walWorkspaceName", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'emr/cfn_wal_workspace_props.rb', line 36 def to_jsii result = {} result.merge!({ "tags" => @tags, "walWorkspaceName" => @wal_workspace_name, }) result.compact end |