Class: AWSCDK::Interfaces::AWSWorkspacesweb::DataProtectionSettingsReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSWorkspacesweb::DataProtectionSettingsReference
- Defined in:
- interfaces/aws_workspacesweb/data_protection_settings_reference.rb
Overview
A reference to a DataProtectionSettings resource.
Instance Attribute Summary collapse
-
#data_protection_settings_arn ⇒ String
readonly
The DataProtectionSettingsArn of the DataProtectionSettings resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data_protection_settings_arn:) ⇒ DataProtectionSettingsReference
constructor
A new instance of DataProtectionSettingsReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(data_protection_settings_arn:) ⇒ DataProtectionSettingsReference
Returns a new instance of DataProtectionSettingsReference.
8 9 10 11 |
# File 'interfaces/aws_workspacesweb/data_protection_settings_reference.rb', line 8 def initialize(data_protection_settings_arn:) @data_protection_settings_arn = data_protection_settings_arn Jsii::Type.check_type(@data_protection_settings_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dataProtectionSettingsArn") end |
Instance Attribute Details
#data_protection_settings_arn ⇒ String (readonly)
The DataProtectionSettingsArn of the DataProtectionSettings resource.
16 17 18 |
# File 'interfaces/aws_workspacesweb/data_protection_settings_reference.rb', line 16 def data_protection_settings_arn @data_protection_settings_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_workspacesweb/data_protection_settings_reference.rb', line 18 def self.jsii_properties { :data_protection_settings_arn => "dataProtectionSettingsArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_workspacesweb/data_protection_settings_reference.rb', line 24 def to_jsii result = {} result.merge!({ "dataProtectionSettingsArn" => @data_protection_settings_arn, }) result.compact end |