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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/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)


37421
37422
37423
37424
37425
37426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37421

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)


37421
37422
37423
37424
37425
37426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37421

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