Class: Aws::EC2::Types::GetAllowedImagesSettingsResult

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_criteriaArray<Types::ImageCriterion>

The list of criteria for images that are discoverable and usable in the account in the specified Amazon Web Services Region.

Returns:



36515
36516
36517
36518
36519
36520
36521
# File 'lib/aws-sdk-ec2/types.rb', line 36515

class GetAllowedImagesSettingsResult < Struct.new(
  :state,
  :image_criteria,
  :managed_by)
  SENSITIVE = []
  include Aws::Structure
end

#managed_byString

The entity that manages the Allowed AMIs settings. Possible values include:

  • ‘account` - The Allowed AMIs settings is managed by the account.

  • ‘declarative-policy` - The Allowed AMIs settings is managed by a declarative policy and can’t be modified by the account.

Returns:

  • (String)


36515
36516
36517
36518
36519
36520
36521
# File 'lib/aws-sdk-ec2/types.rb', line 36515

class GetAllowedImagesSettingsResult < Struct.new(
  :state,
  :image_criteria,
  :managed_by)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The current state of the Allowed AMIs setting at the account level in the specified Amazon Web Services Region.

Possible values:

  • ‘disabled`: All AMIs are allowed.

  • ‘audit-mode`: All AMIs are allowed, but the `ImageAllowed` field is set to `true` if the AMI would be allowed with the current list of criteria if allowed AMIs was enabled.

  • ‘enabled`: Only AMIs matching the image criteria are discoverable and available for use.

Returns:

  • (String)


36515
36516
36517
36518
36519
36520
36521
# File 'lib/aws-sdk-ec2/types.rb', line 36515

class GetAllowedImagesSettingsResult < Struct.new(
  :state,
  :image_criteria,
  :managed_by)
  SENSITIVE = []
  include Aws::Structure
end