Class CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty>
- Enclosing interface:
- CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty
@Stability(Stable)
public static final class CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty>
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyType
@Stability(Stable) public CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty.Builder keyType(String keyType) - Parameters:
keyType
- Indicates the type of customer master key (CMK) to use for encryption. This parameter is required. The default setting isAWS_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.
- Returns:
this
-
keyArn
@Stability(Stable) public CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty.Builder keyArn(String keyArn) - Parameters:
keyArn
- If you setKeyType
toCUSTOMER_MANAGED_CMK
, you must specify the Amazon Resource Name (ARN) of the CMK. If you setKeyType
toAWS _OWNED_CMK
, Kinesis Data Firehose uses a service-account CMK.- Returns:
this
-
build
@Stability(Stable) public CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty>
- Returns:
- a new instance of
CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-