Class: Aws::EC2::Types::GetSnapshotBlockPublicAccessStateResult
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::GetSnapshotBlockPublicAccessStateResult
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#managed_by ⇒ String
The entity that manages the state for block public access for snapshots.
-
#state ⇒ String
The current state of block public access for snapshots.
Instance Attribute Details
#managed_by ⇒ String
The entity that manages the state for block public access for snapshots. Possible values include:
-
‘account` - The state is managed by the account.
-
‘declarative-policy` - The state is managed by a declarative policy and can’t be modified by the account.
38496 38497 38498 38499 38500 38501 |
# File 'lib/aws-sdk-ec2/types.rb', line 38496 class GetSnapshotBlockPublicAccessStateResult < Struct.new( :state, :managed_by) SENSITIVE = [] include Aws::Structure end |
#state ⇒ String
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.
38496 38497 38498 38499 38500 38501 |
# File 'lib/aws-sdk-ec2/types.rb', line 38496 class GetSnapshotBlockPublicAccessStateResult < Struct.new( :state, :managed_by) SENSITIVE = [] include Aws::Structure end |