Class: Aws::Redshift::Types::AuthorizeSnapshotAccessMessage

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_with_restore_accessString

The identifier of the Amazon Web Services account authorized to restore the specified snapshot.

To share a snapshot with Amazon Web Services Support, specify amazon-redshift-support.

Returns:

  • (String)


396
397
398
399
400
401
402
403
# File 'lib/aws-sdk-redshift/types.rb', line 396

class AuthorizeSnapshotAccessMessage < Struct.new(
  :snapshot_identifier,
  :snapshot_arn,
  :snapshot_cluster_identifier,
  :account_with_restore_access)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_arnString

The Amazon Resource Name (ARN) of the snapshot to authorize access to.

Returns:

  • (String)


396
397
398
399
400
401
402
403
# File 'lib/aws-sdk-redshift/types.rb', line 396

class AuthorizeSnapshotAccessMessage < Struct.new(
  :snapshot_identifier,
  :snapshot_arn,
  :snapshot_cluster_identifier,
  :account_with_restore_access)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_cluster_identifierString

The identifier of the cluster the snapshot was created from.

  • *If the snapshot to access doesn’t exist and the associated IAM policy doesn’t allow access to all (*) snapshots* - This parameter is required. Otherwise, permissions aren’t available to check if the snapshot exists.

  • *If the snapshot to access exists* - This parameter isn’t required. Redshift can retrieve the cluster identifier and use it to validate snapshot authorization.

Returns:

  • (String)


396
397
398
399
400
401
402
403
# File 'lib/aws-sdk-redshift/types.rb', line 396

class AuthorizeSnapshotAccessMessage < Struct.new(
  :snapshot_identifier,
  :snapshot_arn,
  :snapshot_cluster_identifier,
  :account_with_restore_access)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_identifierString

The identifier of the snapshot the account is authorized to restore.

Returns:

  • (String)


396
397
398
399
400
401
402
403
# File 'lib/aws-sdk-redshift/types.rb', line 396

class AuthorizeSnapshotAccessMessage < Struct.new(
  :snapshot_identifier,
  :snapshot_arn,
  :snapshot_cluster_identifier,
  :account_with_restore_access)
  SENSITIVE = []
  include Aws::Structure
end