Class: AWSCDK::Backup::CfnLogicallyAirGappedBackupVault::NotificationObjectTypeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Backup::CfnLogicallyAirGappedBackupVault::NotificationObjectTypeProperty
- Defined in:
- backup/cfn_logically_air_gapped_backup_vault.rb
Overview
Instance Attribute Summary collapse
-
#backup_vault_events ⇒ Array<String>
readonly
An array of events that indicate the status of jobs to back up resources to the backup vault.
-
#sns_topic_arn ⇒ String
readonly
The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events;.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(backup_vault_events:, sns_topic_arn:) ⇒ NotificationObjectTypeProperty
constructor
A new instance of NotificationObjectTypeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(backup_vault_events:, sns_topic_arn:) ⇒ NotificationObjectTypeProperty
Returns a new instance of NotificationObjectTypeProperty.
646 647 648 649 650 651 |
# File 'backup/cfn_logically_air_gapped_backup_vault.rb', line 646 def initialize(backup_vault_events:, sns_topic_arn:) @backup_vault_events = backup_vault_events Jsii::Type.check_type(@backup_vault_events, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "backupVaultEvents") @sns_topic_arn = sns_topic_arn Jsii::Type.check_type(@sns_topic_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "snsTopicArn") end |
Instance Attribute Details
#backup_vault_events ⇒ Array<String> (readonly)
An array of events that indicate the status of jobs to back up resources to the backup vault.
657 658 659 |
# File 'backup/cfn_logically_air_gapped_backup_vault.rb', line 657 def backup_vault_events @backup_vault_events end |
#sns_topic_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events;
for example, arn:aws:sns:us-west-2:111122223333:MyVaultTopic .
664 665 666 |
# File 'backup/cfn_logically_air_gapped_backup_vault.rb', line 664 def sns_topic_arn @sns_topic_arn end |
Class Method Details
.jsii_properties ⇒ Object
666 667 668 669 670 671 |
# File 'backup/cfn_logically_air_gapped_backup_vault.rb', line 666 def self.jsii_properties { :backup_vault_events => "backupVaultEvents", :sns_topic_arn => "snsTopicArn", } end |
Instance Method Details
#to_jsii ⇒ Object
673 674 675 676 677 678 679 680 |
# File 'backup/cfn_logically_air_gapped_backup_vault.rb', line 673 def to_jsii result = {} result.merge!({ "backupVaultEvents" => @backup_vault_events, "snsTopicArn" => @sns_topic_arn, }) result.compact end |