Class: Aws::EC2::Types::GetSnapshotBlockPublicAccessStateResult

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#stateString

The current state of block public access for snapshots. Possible values include:

  • ‘block-all-sharing` - All public sharing of snapshots is blocked. Users in the account can’t request new public sharing. Additionally, snapshots that were already publicly shared are treated as private and are not publicly available.

  • ‘block-new-sharing` - Only new public sharing of snapshots is blocked. Users in the account can’t request new public sharing. However, snapshots that were already publicly shared, remain publicly available.

  • ‘unblocked` - Public sharing is not blocked. Users can publicly share snapshots.

Returns:

  • (String)


35673
35674
35675
35676
35677
# File 'lib/aws-sdk-ec2/types.rb', line 35673

class GetSnapshotBlockPublicAccessStateResult < Struct.new(
  :state)
  SENSITIVE = []
  include Aws::Structure
end