Class: Aws::VerifiedPermissions::Types::EncryptionSettings

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb

Overview

Note:

EncryptionSettings is a union - when making an API calls you must set exactly one of the members.

A structure that contains the encryption configuration for the policy store and child resources.

This data type is used as a request parameter in the CreatePolicyStore operation.

Direct Known Subclasses

Default, KmsEncryptionSettings, Unknown

Defined Under Namespace

Classes: Default, KmsEncryptionSettings, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#defaultTypes::Unit

This is the default encryption setting. The policy store uses an Amazon Web Services owned key for encrypting data.

Returns:

  • (Types::Unit)


1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1757

class EncryptionSettings < Struct.new(
  :kms_encryption_settings,
  :default,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class KmsEncryptionSettings < EncryptionSettings; end
  class Default < EncryptionSettings; end
  class Unknown < EncryptionSettings; end
end

#kms_encryption_settingsTypes::KmsEncryptionSettings

The KMS encryption settings for this policy store to encrypt data with. It will contain the customer-managed KMS key, and a user-defined encryption context.



1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1757

class EncryptionSettings < Struct.new(
  :kms_encryption_settings,
  :default,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class KmsEncryptionSettings < EncryptionSettings; end
  class Default < EncryptionSettings; end
  class Unknown < EncryptionSettings; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1757
1758
1759
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1757

def unknown
  @unknown
end