@Generated(value="software.amazon.awssdk:codegen") public final class DeliveryStreamEncryptionConfigurationInput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeliveryStreamEncryptionConfigurationInput.Builder,DeliveryStreamEncryptionConfigurationInput>
Specifies the type and Amazon Resource Name (ARN) of the CMK to use for Server-Side Encryption (SSE).
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeliveryStreamEncryptionConfigurationInput.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeliveryStreamEncryptionConfigurationInput.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
keyARN()
If you set
KeyType to CUSTOMER_MANAGED_CMK, you must specify the Amazon Resource Name
(ARN) of the CMK. |
KeyType |
keyType()
Indicates the type of customer master key (CMK) to use for encryption.
|
String |
keyTypeAsString()
Indicates the type of customer master key (CMK) to use for encryption.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeliveryStreamEncryptionConfigurationInput.Builder> |
serializableBuilderClass() |
DeliveryStreamEncryptionConfigurationInput.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String keyARN()
If you set KeyType to CUSTOMER_MANAGED_CMK, you must specify the Amazon Resource Name
(ARN) of the CMK. If you set KeyType to Amazon Web Services_OWNED_CMK, Kinesis Data
Firehose uses a service-account CMK.
KeyType to CUSTOMER_MANAGED_CMK, you must specify the Amazon
Resource Name (ARN) of the CMK. If you set KeyType to
Amazon Web Services_OWNED_CMK, Kinesis Data Firehose uses a service-account CMK.public final KeyType keyType()
Indicates the type of customer master key (CMK) to use for encryption. The default setting is
Amazon Web Services_OWNED_CMK. For more information about CMKs, see Customer Master Keys
(CMKs). When you invoke CreateDeliveryStream or StartDeliveryStreamEncryption with
KeyType set to CUSTOMER_MANAGED_CMK, Kinesis Data Firehose invokes the Amazon KMS operation CreateGrant to create a grant
that allows the Kinesis Data Firehose service to use the customer managed CMK to perform encryption and
decryption. Kinesis Data Firehose manages that grant.
When you invoke StartDeliveryStreamEncryption to change the CMK for a delivery stream that is encrypted with a customer managed CMK, Kinesis Data Firehose schedules the grant it had on the old CMK for retirement.
You can use a CMK of type CUSTOMER_MANAGED_CMK to encrypt up to 500 delivery streams. If a
CreateDeliveryStream or StartDeliveryStreamEncryption operation exceeds this limit, Kinesis Data
Firehose throws a LimitExceededException.
To encrypt your delivery stream, use symmetric CMKs. Kinesis Data Firehose doesn't support asymmetric CMKs. For information about symmetric and asymmetric CMKs, see About Symmetric and Asymmetric CMKs in the Amazon Web Services Key Management Service developer guide.
If the service returns an enum value that is not available in the current SDK version, keyType will
return KeyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyTypeAsString().
Amazon Web Services_OWNED_CMK. For more information about CMKs, see Customer Master
Keys (CMKs). When you invoke CreateDeliveryStream or StartDeliveryStreamEncryption with
KeyType set to CUSTOMER_MANAGED_CMK, Kinesis Data Firehose invokes the Amazon KMS operation
CreateGrant to
create a grant that allows the Kinesis Data Firehose service to use the customer managed CMK to perform
encryption and decryption. Kinesis Data Firehose manages that grant.
When you invoke StartDeliveryStreamEncryption to change the CMK for a delivery stream that is encrypted with a customer managed CMK, Kinesis Data Firehose schedules the grant it had on the old CMK for retirement.
You can use a CMK of type CUSTOMER_MANAGED_CMK to encrypt up to 500 delivery streams. If a
CreateDeliveryStream or StartDeliveryStreamEncryption operation exceeds this limit, Kinesis
Data Firehose throws a LimitExceededException.
To encrypt your delivery stream, use symmetric CMKs. Kinesis Data Firehose doesn't support asymmetric CMKs. For information about symmetric and asymmetric CMKs, see About Symmetric and Asymmetric CMKs in the Amazon Web Services Key Management Service developer guide.
KeyTypepublic final String keyTypeAsString()
Indicates the type of customer master key (CMK) to use for encryption. The default setting is
Amazon Web Services_OWNED_CMK. For more information about CMKs, see Customer Master Keys
(CMKs). When you invoke CreateDeliveryStream or StartDeliveryStreamEncryption with
KeyType set to CUSTOMER_MANAGED_CMK, Kinesis Data Firehose invokes the Amazon KMS operation CreateGrant to create a grant
that allows the Kinesis Data Firehose service to use the customer managed CMK to perform encryption and
decryption. Kinesis Data Firehose manages that grant.
When you invoke StartDeliveryStreamEncryption to change the CMK for a delivery stream that is encrypted with a customer managed CMK, Kinesis Data Firehose schedules the grant it had on the old CMK for retirement.
You can use a CMK of type CUSTOMER_MANAGED_CMK to encrypt up to 500 delivery streams. If a
CreateDeliveryStream or StartDeliveryStreamEncryption operation exceeds this limit, Kinesis Data
Firehose throws a LimitExceededException.
To encrypt your delivery stream, use symmetric CMKs. Kinesis Data Firehose doesn't support asymmetric CMKs. For information about symmetric and asymmetric CMKs, see About Symmetric and Asymmetric CMKs in the Amazon Web Services Key Management Service developer guide.
If the service returns an enum value that is not available in the current SDK version, keyType will
return KeyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyTypeAsString().
Amazon Web Services_OWNED_CMK. For more information about CMKs, see Customer Master
Keys (CMKs). When you invoke CreateDeliveryStream or StartDeliveryStreamEncryption with
KeyType set to CUSTOMER_MANAGED_CMK, Kinesis Data Firehose invokes the Amazon KMS operation
CreateGrant to
create a grant that allows the Kinesis Data Firehose service to use the customer managed CMK to perform
encryption and decryption. Kinesis Data Firehose manages that grant.
When you invoke StartDeliveryStreamEncryption to change the CMK for a delivery stream that is encrypted with a customer managed CMK, Kinesis Data Firehose schedules the grant it had on the old CMK for retirement.
You can use a CMK of type CUSTOMER_MANAGED_CMK to encrypt up to 500 delivery streams. If a
CreateDeliveryStream or StartDeliveryStreamEncryption operation exceeds this limit, Kinesis
Data Firehose throws a LimitExceededException.
To encrypt your delivery stream, use symmetric CMKs. Kinesis Data Firehose doesn't support asymmetric CMKs. For information about symmetric and asymmetric CMKs, see About Symmetric and Asymmetric CMKs in the Amazon Web Services Key Management Service developer guide.
KeyTypepublic DeliveryStreamEncryptionConfigurationInput.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeliveryStreamEncryptionConfigurationInput.Builder,DeliveryStreamEncryptionConfigurationInput>public static DeliveryStreamEncryptionConfigurationInput.Builder builder()
public static Class<? extends DeliveryStreamEncryptionConfigurationInput.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.