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)


2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 2030

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.



2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 2030

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



2030
2031
2032
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 2030

def unknown
  @unknown
end