aws-cdk-lib.aws_stepfunctions.CfnActivityProps

interface CfnActivityProps

LanguageType name
.NETAmazon.CDK.AWS.StepFunctions.CfnActivityProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctions#CfnActivityProps
Javasoftware.amazon.awscdk.services.stepfunctions.CfnActivityProps
Pythonaws_cdk.aws_stepfunctions.CfnActivityProps
TypeScript aws-cdk-lib » aws_stepfunctions » CfnActivityProps

Properties for defining a CfnActivity.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions as stepfunctions } from 'aws-cdk-lib';
const cfnActivityProps: stepfunctions.CfnActivityProps = {
  name: 'name',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
namestringThe name of the activity.
tags?TagsEntryProperty[]The list of tags to add to a resource.

name

Type: string

The name of the activity.

A name must not contain:

  • white space
  • brackets < > { } [ ]
  • wildcard characters ? *
  • special characters " # % \ ^ | ~ $ & , ; : /`
  • control characters ( U+0000-001F , U+007F-009F )

To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.


tags?

Type: TagsEntryProperty[] (optional)

The list of tags to add to a resource.

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