Class: Aws::VerifiedPermissions::Types::EncryptionState

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

Overview

Note:

EncryptionState is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EncryptionState corresponding to the set member.

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

This data type is used as a response parameter field for the GetPolicyStore operation.

Direct Known Subclasses

Default, KmsEncryptionState, Unknown

Defined Under Namespace

Classes: Default, KmsEncryptionState, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#defaultTypes::Unit

This is the default encryption state. The policy store is encrypted using an Amazon Web Services owned key.

Returns:

  • (Types::Unit)


1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1795

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

  class KmsEncryptionState < EncryptionState; end
  class Default < EncryptionState; end
  class Unknown < EncryptionState; end
end

#kms_encryption_stateTypes::KmsEncryptionState

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



1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1795

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

  class KmsEncryptionState < EncryptionState; end
  class Default < EncryptionState; end
  class Unknown < EncryptionState; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1795
1796
1797
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1795

def unknown
  @unknown
end