Class CfnEncryptionConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnEncryptionConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEncryptionConfiguration>
- Enclosing class:
CfnEncryptionConfiguration
@Stability(Stable)
public static final class CfnEncryptionConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEncryptionConfiguration>
A fluent builder for
CfnEncryptionConfiguration
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
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 KMS on behalf of the customer.The ARN of the customer managed KMS key.
-
Method Details
-
create
@Stability(Stable) public static CfnEncryptionConfiguration.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnEncryptionConfiguration.Builder
.
-
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 CfnEncryptionConfiguration.Builder kmsAccessRoleArn(String kmsAccessRoleArn) The Amazon Resource Name (ARN) of the IAM role assumed by AWS IoT Core to call AWS KMS on behalf of the customer.- Parameters:
kmsAccessRoleArn
- The Amazon Resource Name (ARN) of the IAM role assumed by AWS IoT Core to call AWS KMS 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnEncryptionConfiguration>
- Returns:
- a newly built instance of
CfnEncryptionConfiguration
.
-