Class: Aws::VerifiedPermissions::Types::EncryptionState
- Inherits:
-
Struct
- Object
- Struct
- Aws::VerifiedPermissions::Types::EncryptionState
- Defined in:
- gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb
Overview
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
Defined Under Namespace
Classes: Default, KmsEncryptionState, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#default ⇒ Types::Unit
This is the default encryption state.
-
#kms_encryption_state ⇒ Types::KmsEncryptionState
The KMS encryption settings currently configured for this policy store to encrypt data with.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#default ⇒ Types::Unit
This is the default encryption state. The policy store is encrypted using an Amazon Web Services owned key.
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_state ⇒ Types::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 |
#unknown ⇒ Object
Returns the value of attribute unknown
2030 2031 2032 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 2030 def unknown @unknown end |