Class: AWSCDK::Interfaces::AWSBackup::RestoreTestingPlanReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSBackup::RestoreTestingPlanReference
- Defined in:
- interfaces/aws_backup/restore_testing_plan_reference.rb
Overview
A reference to a RestoreTestingPlan resource.
Instance Attribute Summary collapse
-
#restore_testing_plan_arn ⇒ String
readonly
The ARN of the RestoreTestingPlan resource.
-
#restore_testing_plan_name ⇒ String
readonly
The RestoreTestingPlanName of the RestoreTestingPlan resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(restore_testing_plan_arn:, restore_testing_plan_name:) ⇒ RestoreTestingPlanReference
constructor
A new instance of RestoreTestingPlanReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(restore_testing_plan_arn:, restore_testing_plan_name:) ⇒ RestoreTestingPlanReference
Returns a new instance of RestoreTestingPlanReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_backup/restore_testing_plan_reference.rb', line 9 def initialize(restore_testing_plan_arn:, restore_testing_plan_name:) @restore_testing_plan_arn = restore_testing_plan_arn Jsii::Type.check_type(@restore_testing_plan_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "restoreTestingPlanArn") @restore_testing_plan_name = restore_testing_plan_name Jsii::Type.check_type(@restore_testing_plan_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "restoreTestingPlanName") end |
Instance Attribute Details
#restore_testing_plan_arn ⇒ String (readonly)
The ARN of the RestoreTestingPlan resource.
19 20 21 |
# File 'interfaces/aws_backup/restore_testing_plan_reference.rb', line 19 def restore_testing_plan_arn @restore_testing_plan_arn end |
#restore_testing_plan_name ⇒ String (readonly)
The RestoreTestingPlanName of the RestoreTestingPlan resource.
23 24 25 |
# File 'interfaces/aws_backup/restore_testing_plan_reference.rb', line 23 def restore_testing_plan_name @restore_testing_plan_name end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_backup/restore_testing_plan_reference.rb', line 25 def self.jsii_properties { :restore_testing_plan_arn => "restoreTestingPlanArn", :restore_testing_plan_name => "restoreTestingPlanName", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_backup/restore_testing_plan_reference.rb', line 32 def to_jsii result = {} result.merge!({ "restoreTestingPlanArn" => @restore_testing_plan_arn, "restoreTestingPlanName" => @restore_testing_plan_name, }) result.compact end |