Class: AWSCDK::Backup::CfnBackupPlan::IndexActionsResourceTypeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Backup::CfnBackupPlan::IndexActionsResourceTypeProperty
- Defined in:
- backup/cfn_backup_plan.rb
Overview
Specifies index actions.
Instance Attribute Summary collapse
-
#resource_types ⇒ Array<String>?
readonly
0 or 1 index action will be accepted for each BackupRule.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(resource_types: nil) ⇒ IndexActionsResourceTypeProperty
constructor
A new instance of IndexActionsResourceTypeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(resource_types: nil) ⇒ IndexActionsResourceTypeProperty
Returns a new instance of IndexActionsResourceTypeProperty.
915 916 917 918 |
# File 'backup/cfn_backup_plan.rb', line 915 def initialize(resource_types: nil) @resource_types = resource_types Jsii::Type.check_type(@resource_types, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "resourceTypes") unless @resource_types.nil? end |
Instance Attribute Details
#resource_types ⇒ Array<String>? (readonly)
0 or 1 index action will be accepted for each BackupRule.
Valid values:
EBSfor Amazon Elastic Block StoreS3for Amazon Simple Storage Service (Amazon S3)
929 930 931 |
# File 'backup/cfn_backup_plan.rb', line 929 def resource_types @resource_types end |
Class Method Details
.jsii_properties ⇒ Object
931 932 933 934 935 |
# File 'backup/cfn_backup_plan.rb', line 931 def self.jsii_properties { :resource_types => "resourceTypes", } end |
Instance Method Details
#to_jsii ⇒ Object
937 938 939 940 941 942 943 |
# File 'backup/cfn_backup_plan.rb', line 937 def to_jsii result = {} result.merge!({ "resourceTypes" => @resource_types, }) result.compact end |