Class CfnEncryptionConfigurationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnEncryptionConfigurationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEncryptionConfigurationPropsMixin>
- Enclosing class:
CfnEncryptionConfigurationPropsMixin
@Stability(Stable)
public static final class CfnEncryptionConfigurationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEncryptionConfigurationPropsMixin>
A fluent builder for
CfnEncryptionConfigurationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) encryptionType(String encryptionType) The type of the KMS key.kmsAccessRoleArn(String kmsAccessRoleArn) The Amazon Resource Name (ARN) of the IAM role assumed by AWS IoT Core to call AWS on behalf of the customer.The ARN of the customer managed KMS key.
-
Method Details
-
create
@Stability(Stable) public static CfnEncryptionConfigurationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnEncryptionConfigurationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnEncryptionConfigurationPropsMixin.Builder.
-
encryptionType
@Stability(Stable) public CfnEncryptionConfigurationPropsMixin.Builder encryptionType(String encryptionType) The type of the KMS key.- Parameters:
encryptionType- The type of the KMS key. This parameter is required.- Returns:
this- See Also:
-
kmsAccessRoleArn
@Stability(Stable) public CfnEncryptionConfigurationPropsMixin.Builder kmsAccessRoleArn(String kmsAccessRoleArn) The Amazon Resource Name (ARN) of the IAM role assumed by AWS IoT Core to call AWS on behalf of the customer.- Parameters:
kmsAccessRoleArn- The Amazon Resource Name (ARN) of the IAM role assumed by AWS IoT Core to call AWS on behalf of the customer. This parameter is required.- Returns:
this- See Also:
-
kmsKeyArn
The ARN of the customer managed KMS key.- Parameters:
kmsKeyArn- The ARN of the customer managed KMS key. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEncryptionConfigurationPropsMixin>- Returns:
- a newly built instance of
CfnEncryptionConfigurationPropsMixin.
-