Interface ICfnActivityProps
Properties for defining a CfnActivity
.
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnActivityProps
Syntax (vb)
Public Interface ICfnActivityProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.StepFunctions;
var cfnActivityProps = new CfnActivityProps {
Name = "name",
// the properties below are optional
EncryptionConfiguration = new EncryptionConfigurationProperty {
Type = "type",
// the properties below are optional
KmsDataKeyReusePeriodSeconds = 123,
KmsKeyId = "kmsKeyId"
},
Tags = new [] { new TagsEntryProperty {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
EncryptionConfiguration | Encryption configuration for the activity. |
Name | The name of the activity. |
Tags | The list of tags to add to a resource. |
Properties
EncryptionConfiguration
Encryption configuration for the activity.
virtual object EncryptionConfiguration { get; }
Property Value
System.Object
Remarks
Activity configuration is immutable, and resource names must be unique. To set customer managed keys for encryption, you must create a new Activity . If you attempt to change the configuration in your CFN template for an existing activity, you will receive an ActivityAlreadyExists
exception.
To update your activity to include customer managed keys, set a new activity name within your AWS CloudFormation template.
Name
The name of the activity.
string Name { get; }
Property Value
System.String
Remarks
A name must not contain:
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
Tags
The list of tags to add to a resource.
virtual CfnActivity.ITagsEntryProperty[] Tags { get; }
Property Value
CfnActivity.ITagsEntryProperty[]
Remarks
Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + -
: ` .