You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Backup::Types::CreateBackupVaultInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb

Overview

Note:

When making an API call, you may pass CreateBackupVaultInput data as a hash:

{
  backup_vault_name: "BackupVaultName", # required
  backup_vault_tags: {
    "TagKey" => "TagValue",
  },
  encryption_key_arn: "ARN",
  creator_request_id: "string",
}

Instance Attribute Summary collapse

Instance Attribute Details

#backup_vault_nameString

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.

Returns:

  • (String)


873
874
875
876
877
878
879
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 873

class CreateBackupVaultInput < Struct.new(
  :backup_vault_name,
  :backup_vault_tags,
  :encryption_key_arn,
  :creator_request_id)
  include Aws::Structure
end

#backup_vault_tagsHash<String,String>

Metadata that you can assign to help organize the resources that you create. Each tag is a key-value pair.

Returns:

  • (Hash<String,String>)


873
874
875
876
877
878
879
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 873

class CreateBackupVaultInput < Struct.new(
  :backup_vault_name,
  :backup_vault_tags,
  :encryption_key_arn,
  :creator_request_id)
  include Aws::Structure
end

#creator_request_idString

A unique string that identifies the request and allows failed requests to be retried without the risk of executing the operation twice.

Returns:

  • (String)


873
874
875
876
877
878
879
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 873

class CreateBackupVaultInput < Struct.new(
  :backup_vault_name,
  :backup_vault_tags,
  :encryption_key_arn,
  :creator_request_id)
  include Aws::Structure
end

#encryption_key_arnString

The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.

Returns:

  • (String)


873
874
875
876
877
878
879
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 873

class CreateBackupVaultInput < Struct.new(
  :backup_vault_name,
  :backup_vault_tags,
  :encryption_key_arn,
  :creator_request_id)
  include Aws::Structure
end