Class EncryptionConfiguration
Base class for creating an EncryptionConfiguration for either state machines or activities.
Inheritance
System.Object
EncryptionConfiguration
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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
EncryptionConfiguration(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
EncryptionConfiguration(String) |
Properties
Type | Encryption option for the state machine or activity. |
Constructors
EncryptionConfiguration(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected EncryptionConfiguration(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
EncryptionConfiguration(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected EncryptionConfiguration(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
EncryptionConfiguration(String)
protected EncryptionConfiguration(string type)
Parameters
- type System.String
Properties
Type
Encryption option for the state machine or activity.
public virtual string Type { get; set; }
Property Value
System.String
Remarks
Can be either CUSTOMER_MANAGED_KMS_KEY or AWS_OWNED_KEY.