EncryptionConfiguration
- class aws_cdk.aws_stepfunctions.EncryptionConfiguration(type)
Bases:
object
Base class for creating an EncryptionConfiguration for either state machines or activities.
- ExampleMetadata:
infused
Example:
import aws_cdk.aws_kms as kms import aws_cdk as cdk kms_key = kms.Key(self, "Key") state_machine = sfn.StateMachine(self, "StateMachineWithCMKEncryptionConfiguration", state_machine_name="StateMachineWithCMKEncryptionConfiguration", definition_body=sfn.DefinitionBody.from_chainable(sfn.Chain.start(sfn.Pass(self, "Pass"))), state_machine_type=sfn.StateMachineType.STANDARD, encryption_configuration=sfn.CustomerManagedEncryptionConfiguration(kms_key, cdk.Duration.seconds(60)) )
- Parameters:
type (
str
) –
Attributes
- type
Encryption option for the state machine or activity.
Can be either CUSTOMER_MANAGED_KMS_KEY or AWS_OWNED_KEY.