Class: AWSCDK::Interfaces::AWSBackup::LogicallyAirGappedBackupVaultReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_backup/logically_air_gapped_backup_vault_reference.rb

Overview

A reference to a LogicallyAirGappedBackupVault resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(backup_vault_name:) ⇒ LogicallyAirGappedBackupVaultReference

Returns a new instance of LogicallyAirGappedBackupVaultReference.

Parameters:

  • backup_vault_name (String)

    The BackupVaultName of the LogicallyAirGappedBackupVault resource.



8
9
10
11
# File 'interfaces/aws_backup/logically_air_gapped_backup_vault_reference.rb', line 8

def initialize(backup_vault_name:)
  @backup_vault_name = backup_vault_name
  Jsii::Type.check_type(@backup_vault_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "backupVaultName")
end

Instance Attribute Details

#backup_vault_nameString (readonly)

The BackupVaultName of the LogicallyAirGappedBackupVault resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_backup/logically_air_gapped_backup_vault_reference.rb', line 16

def backup_vault_name
  @backup_vault_name
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_backup/logically_air_gapped_backup_vault_reference.rb', line 18

def self.jsii_properties
  {
    :backup_vault_name => "backupVaultName",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/aws_backup/logically_air_gapped_backup_vault_reference.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "backupVaultName" => @backup_vault_name,
  })
  result.compact
end