Class: Aws::Glacier::Types::InitiateVaultLockInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glacier::Types::InitiateVaultLockInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-glacier/types.rb
Overview
When making an API call, you may pass InitiateVaultLockInput data as a hash:
{
account_id: "string", # required
vault_name: "string", # required
policy: {
policy: "string",
},
}
The input values for ‘InitiateVaultLock`.
Instance Attribute Summary collapse
-
#account_id ⇒ String
The ‘AccountId` value is the AWS account ID.
-
#policy ⇒ Types::VaultLockPolicy
The vault lock policy as a JSON string, which uses “\” as an escape character.
-
#vault_name ⇒ String
The name of the vault.
Instance Attribute Details
#account_id ⇒ String
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.
1481 1482 1483 1484 1485 1486 |
# File 'lib/aws-sdk-glacier/types.rb', line 1481 class InitiateVaultLockInput < Struct.new( :account_id, :vault_name, :policy) include Aws::Structure end |
#policy ⇒ Types::VaultLockPolicy
The vault lock policy as a JSON string, which uses “\” as an escape character.
1481 1482 1483 1484 1485 1486 |
# File 'lib/aws-sdk-glacier/types.rb', line 1481 class InitiateVaultLockInput < Struct.new( :account_id, :vault_name, :policy) include Aws::Structure end |
#vault_name ⇒ String
The name of the vault.
1481 1482 1483 1484 1485 1486 |
# File 'lib/aws-sdk-glacier/types.rb', line 1481 class InitiateVaultLockInput < Struct.new( :account_id, :vault_name, :policy) include Aws::Structure end |