Class: Aws::CredentialBrokerControl::Types::EncryptionConfiguration

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

Overview

Note:

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

Note:

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

How cached tokens are encrypted at rest. Set exactly one member: a customer-managed configuration must name a KMS key, and a service-managed configuration takes no parameters.

Defined Under Namespace

Classes: CustomerManaged, ServiceManaged, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#customer_managed ⇒ Types::CustomerManagedEncryption

Encrypt with a customer managed KMS key that you own.



1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 1089

class EncryptionConfiguration < Struct.new(
  :customer_managed,
  :service_managed,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CustomerManaged < EncryptionConfiguration; end
  class ServiceManaged < EncryptionConfiguration; end
  class Unknown < EncryptionConfiguration; end
end

#service_managed ⇒ Types::Unit

Encrypt with a service-owned, AWS-managed key. Carries no parameters.

Returns:

  • (Types::Unit)


1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 1089

class EncryptionConfiguration < Struct.new(
  :customer_managed,
  :service_managed,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CustomerManaged < EncryptionConfiguration; end
  class ServiceManaged < EncryptionConfiguration; end
  class Unknown < EncryptionConfiguration; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1089
1090
1091
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 1089

def unknown
  @unknown
end