Show / Hide Table of Contents

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html

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.

object? EncryptionConfiguration { get; }
Property Value

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 CloudFormation template.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html#cfn-stepfunctions-activity-encryptionconfiguration

Type union: either IResolvable or CfnActivity.IEncryptionConfigurationProperty

Name

The name of the activity.

string Name { get; }
Property Value

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 _.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html#cfn-stepfunctions-activity-name

    Tags

    The list of tags to add to a resource.

    CfnActivity.ITagsEntryProperty[]? Tags { get; }
    Property Value

    ITagsEntryProperty[]

    Remarks

    Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + -

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html#cfn-stepfunctions-activity-tags

    : ` .

    Back to top Generated by DocFX