Show / Hide Table of Contents

Class EncryptionConfiguration

Base class for creating an EncryptionConfiguration for either state machines or activities.

Inheritance
object
EncryptionConfiguration
AwsOwnedEncryptionConfiguration
CustomerManagedEncryptionConfiguration
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class EncryptionConfiguration : DeputyBase
Syntax (vb)
Public MustInherit Class EncryptionConfiguration Inherits DeputyBase
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.KMS;
            using Amazon.CDK;


            var kmsKey = new Key(this, "Key");
            var stateMachine = new StateMachine(this, "StateMachineWithCMKEncryptionConfiguration", new StateMachineProps {
                StateMachineName = "StateMachineWithCMKEncryptionConfiguration",
                DefinitionBody = DefinitionBody.FromChainable(Chain.Start(new Pass(this, "Pass"))),
                StateMachineType = StateMachineType.STANDARD,
                EncryptionConfiguration = new CustomerManagedEncryptionConfiguration(kmsKey, Duration.Seconds(60))
            });

Synopsis

Constructors

EncryptionConfiguration(string)

Base class for creating an EncryptionConfiguration for either state machines or activities.

Properties

Type

Encryption option for the state machine or activity.

Constructors

EncryptionConfiguration(string)

Base class for creating an EncryptionConfiguration for either state machines or activities.

protected EncryptionConfiguration(string type)
Parameters
type string
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.KMS;
            using Amazon.CDK;


            var kmsKey = new Key(this, "Key");
            var stateMachine = new StateMachine(this, "StateMachineWithCMKEncryptionConfiguration", new StateMachineProps {
                StateMachineName = "StateMachineWithCMKEncryptionConfiguration",
                DefinitionBody = DefinitionBody.FromChainable(Chain.Start(new Pass(this, "Pass"))),
                StateMachineType = StateMachineType.STANDARD,
                EncryptionConfiguration = new CustomerManagedEncryptionConfiguration(kmsKey, Duration.Seconds(60))
            });

Properties

Type

Encryption option for the state machine or activity.

public virtual string Type { get; set; }
Property Value

string

Remarks

Can be either CUSTOMER_MANAGED_KMS_KEY or AWS_OWNED_KEY.

Back to top Generated by DocFX