Class CfnKeyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKeyPropsMixin>
- Enclosing class:
CfnKeyPropsMixin
CfnKeyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnKeyPropsMixin.Buildercreate()static CfnKeyPropsMixin.Buildercreate(CfnPropertyMixinOptions options) deriveKeyUsage(String deriveKeyUsage) The cryptographic usage of an ECDH derived key as defined in section A.5.2 of the TR-31 spec.Specifies whether the key is enabled.enabled(IResolvable enabled) Specifies whether the key is enabled.exportable(Boolean exportable) Specifies whether the key is exportable.exportable(IResolvable exportable) Specifies whether the key is exportable.keyAttributes(CfnKeyPropsMixin.KeyAttributesProperty keyAttributes) The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.keyAttributes(IResolvable keyAttributes) The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.keyCheckValueAlgorithm(String keyCheckValueAlgorithm) The algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV).replicationRegions(List<String> replicationRegions) The list of AWS Regions to remove from the key's replication configuration.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnKeyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnKeyPropsMixin.Builder.
-
deriveKeyUsage
The cryptographic usage of an ECDH derived key as defined in section A.5.2 of the TR-31 spec.- Parameters:
deriveKeyUsage- The cryptographic usage of an ECDH derived key as defined in section A.5.2 of the TR-31 spec. This parameter is required.- Returns:
this- See Also:
-
enabled
Specifies whether the key is enabled.- Parameters:
enabled- Specifies whether the key is enabled. This parameter is required.- Returns:
this- See Also:
-
enabled
Specifies whether the key is enabled.- Parameters:
enabled- Specifies whether the key is enabled. This parameter is required.- Returns:
this- See Also:
-
exportable
Specifies whether the key is exportable.This data is immutable after the key is created.
- Parameters:
exportable- Specifies whether the key is exportable. This parameter is required.- Returns:
this- See Also:
-
exportable
Specifies whether the key is exportable.This data is immutable after the key is created.
- Parameters:
exportable- Specifies whether the key is exportable. This parameter is required.- Returns:
this- See Also:
-
keyAttributes
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.This data is immutable after the key is created.
- Parameters:
keyAttributes- The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This parameter is required.- Returns:
this- See Also:
-
keyAttributes
@Stability(Stable) public CfnKeyPropsMixin.Builder keyAttributes(CfnKeyPropsMixin.KeyAttributesProperty keyAttributes) The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.This data is immutable after the key is created.
- Parameters:
keyAttributes- The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This parameter is required.- Returns:
this- See Also:
-
keyCheckValueAlgorithm
@Stability(Stable) public CfnKeyPropsMixin.Builder keyCheckValueAlgorithm(String keyCheckValueAlgorithm) The algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV).It is used to validate the key integrity.
For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
- Parameters:
keyCheckValueAlgorithm- The algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV). This parameter is required.- Returns:
this- See Also:
-
replicationRegions
@Stability(Stable) public CfnKeyPropsMixin.Builder replicationRegions(List<String> replicationRegions) The list of AWS Regions to remove from the key's replication configuration.The key will no longer be available for cryptographic operations in these regions after removal. Ensure no active operations depend on the key in these regions before removal.
- Parameters:
replicationRegions- The list of AWS Regions to remove from the key's replication configuration. This parameter is required.- Returns:
this- See Also:
-
tags
- Parameters:
tags- This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKeyPropsMixin>- Returns:
- a newly built instance of
CfnKeyPropsMixin.
-