Class: Aws::Glacier::Types::SetVaultAccessPolicyInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-glacier/types.rb

Overview

SetVaultAccessPolicy input.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

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 S3 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.

Returns:

  • (String)


2163
2164
2165
2166
2167
2168
2169
# File 'lib/aws-sdk-glacier/types.rb', line 2163

class SetVaultAccessPolicyInput < Struct.new(
  :account_id,
  :vault_name,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#policyTypes::VaultAccessPolicy

The vault access policy as a JSON string.



2163
2164
2165
2166
2167
2168
2169
# File 'lib/aws-sdk-glacier/types.rb', line 2163

class SetVaultAccessPolicyInput < Struct.new(
  :account_id,
  :vault_name,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#vault_nameString

The name of the vault.

Returns:

  • (String)


2163
2164
2165
2166
2167
2168
2169
# File 'lib/aws-sdk-glacier/types.rb', line 2163

class SetVaultAccessPolicyInput < Struct.new(
  :account_id,
  :vault_name,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end