AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::Glacier::Types::InitiateVaultLockInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing InitiateVaultLockInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  account_id: "string", # required
  vault_name: "string", # required
  policy: {
    policy: "string",
  },
}

The input values for InitiateVaultLock.

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single \'-\' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens (\'-\') in the ID.

Returns:

  • (String)

    The AccountId value is the AWS account ID.

#policyTypes::VaultLockPolicy

The vault lock policy as a JSON string, which uses \"\\" as an escape character.

Returns:

  • (Types::VaultLockPolicy)

    The vault lock policy as a JSON string, which uses \"\\" as an escape character.

#vault_nameString

The name of the vault.

Returns:

  • (String)

    The name of the vault.