Class: Aws::Glacier::Types::SetVaultAccessPolicyInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glacier::Types::SetVaultAccessPolicyInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-glacier/types.rb
Overview
Note:
When making an API call, you may pass SetVaultAccessPolicyInput data as a hash:
{
account_id: "string", # required
vault_name: "string", # required
policy: {
policy: "string",
},
}
SetVaultAccessPolicy input.
Instance Attribute Summary collapse
-
#account_id ⇒ String
The ‘AccountId` value is the AWS account ID of the account that owns the vault.
-
#policy ⇒ Types::VaultAccessPolicy
The vault access policy as a JSON string.
-
#vault_name ⇒ String
The name of the vault.
Instance Attribute Details
#account_id ⇒ String
The ‘AccountId` value is the AWS account ID of the account that owns the vault. 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 use an account ID, do not include any hyphens (‘-’) in the ID.
2537 2538 2539 2540 2541 2542 |
# File 'lib/aws-sdk-glacier/types.rb', line 2537 class SetVaultAccessPolicyInput < Struct.new( :account_id, :vault_name, :policy) include Aws::Structure end |
#policy ⇒ Types::VaultAccessPolicy
The vault access policy as a JSON string.
2537 2538 2539 2540 2541 2542 |
# File 'lib/aws-sdk-glacier/types.rb', line 2537 class SetVaultAccessPolicyInput < Struct.new( :account_id, :vault_name, :policy) include Aws::Structure end |
#vault_name ⇒ String
The name of the vault.
2537 2538 2539 2540 2541 2542 |
# File 'lib/aws-sdk-glacier/types.rb', line 2537 class SetVaultAccessPolicyInput < Struct.new( :account_id, :vault_name, :policy) include Aws::Structure end |