public static final class CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty |
build()
Builds the configured instance.
|
CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty.Builder |
keyArn(java.lang.String keyArn)
|
CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty.Builder |
keyType(java.lang.String keyType)
|
public CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty.Builder keyType(java.lang.String keyType)
keyType
- Indicates the type of customer master key (CMK) to use for encryption. This parameter is required.
The default setting is AWS_OWNED_CMK
. For more information about CMKs, see Customer Master Keys (CMKs) .
You can use a CMK of type CUSTOMER_MANAGED_CMK to encrypt up to 500 delivery streams.
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 AWS Key Management Service developer guide.
this
public CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty.Builder keyArn(java.lang.String keyArn)
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 AWS _OWNED_CMK
, Kinesis Data Firehose uses a service-account CMK.this
public CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty build()
CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty
java.lang.NullPointerException
- if any required attribute was not provided