Class CfnDeliveryStreamPropsMixin.DeliveryStreamEncryptionConfigurationInputProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.kinesisfirehose.mixins.CfnDeliveryStreamPropsMixin.DeliveryStreamEncryptionConfigurationInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.DeliveryStreamEncryptionConfigurationInputProperty>
- Enclosing interface:
CfnDeliveryStreamPropsMixin.DeliveryStreamEncryptionConfigurationInputProperty
@Stability(Stable)
public static final class CfnDeliveryStreamPropsMixin.DeliveryStreamEncryptionConfigurationInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.DeliveryStreamEncryptionConfigurationInputProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyArn
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DeliveryStreamEncryptionConfigurationInputProperty.Builder keyArn(String keyArn) Sets the value ofCfnDeliveryStreamPropsMixin.DeliveryStreamEncryptionConfigurationInputProperty.getKeyArn()- Parameters:
keyArn- If you setKeyTypetoCUSTOMER_MANAGED_CMK, you must specify the Amazon Resource Name (ARN) of the CMK. If you setKeyTypetoAWS _OWNED_CMK, Firehose uses a service-account CMK.- Returns:
this
-
keyType
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DeliveryStreamEncryptionConfigurationInputProperty.Builder keyType(String keyType) Sets the value ofCfnDeliveryStreamPropsMixin.DeliveryStreamEncryptionConfigurationInputProperty.getKeyType()- Parameters:
keyType- Indicates the type of customer master key (CMK) to use for encryption. 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
-
build
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DeliveryStreamEncryptionConfigurationInputProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.DeliveryStreamEncryptionConfigurationInputProperty>- Returns:
- a new instance of
CfnDeliveryStreamPropsMixin.DeliveryStreamEncryptionConfigurationInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-