CfnActivityProps
- class aws_cdk.aws_stepfunctions.CfnActivityProps(*, name, tags=None)
Bases:
objectProperties for defining a
CfnActivity.- Parameters:
name (
str) – 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 (
Optional[Sequence[Union[TagsEntryProperty,Dict[str,Any]]]]) – The list of tags to add to a resource. Tags may only contain Unicode letters, digits, white space, or these symbols:_ . : / = + - @.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_stepfunctions as stepfunctions cfn_activity_props = stepfunctions.CfnActivityProps( name="name", # the properties below are optional tags=[stepfunctions.CfnActivity.TagsEntryProperty( key="key", value="value" )] )
Attributes
- name
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
The list of tags to add to a resource.
Tags may only contain Unicode letters, digits, white space, or these symbols:
_ . : / = + - @.