Class CfnActivityProps
Properties for defining a CfnActivity
.
Inheritance
System.Object
CfnActivityProps
Implements
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnActivityProps : Object, ICfnActivityProps
Syntax (vb)
Public Class CfnActivityProps
Inherits Object
Implements 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
Tags = new [] { new TagsEntryProperty {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnActivityProps() |
Properties
Name | The name of the activity. |
Tags | The list of tags to add to a resource. |
Constructors
CfnActivityProps()
public CfnActivityProps()
Properties
Name
The name of the activity.
public string Name { get; set; }
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.
public CfnActivity.ITagsEntryProperty[] Tags { get; set; }
Property Value
CfnActivity.ITagsEntryProperty[]
Remarks
Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + -
: ` .