Class: Aws::EC2::Types::GetImageBlockPublicAccessStateResult

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

#image_block_public_access_stateString

The current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.

Possible values:

  • ‘block-new-sharing` - Any attempt to publicly share your AMIs in the specified Region is blocked.

  • ‘unblocked` - Your AMIs in the specified Region can be publicly shared.

Returns:

  • (String)


37320
37321
37322
37323
37324
37325
# File 'lib/aws-sdk-ec2/types.rb', line 37320

class GetImageBlockPublicAccessStateResult < Struct.new(
  :image_block_public_access_state,
  :managed_by)
  SENSITIVE = []
  include Aws::Structure
end

#managed_byString

The entity that manages the state for block public access for AMIs. 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.

Returns:

  • (String)


37320
37321
37322
37323
37324
37325
# File 'lib/aws-sdk-ec2/types.rb', line 37320

class GetImageBlockPublicAccessStateResult < Struct.new(
  :image_block_public_access_state,
  :managed_by)
  SENSITIVE = []
  include Aws::Structure
end