Class DynamoPutItem
A StepFunctions task to call DynamoPutItem.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DynamoPutItem : TaskStateBase, IChainable, INextable
Syntax (vb)
Public Class DynamoPutItem Inherits TaskStateBase Implements IChainable, INextable
Remarks
ExampleMetadata: infused
Examples
Table myTable;
new DynamoPutItem(this, "PutItem", new DynamoPutItemProps {
Item = new Dictionary<string, DynamoAttributeValue> {
{ "MessageId", DynamoAttributeValue.FromString("message-007") },
{ "Text", DynamoAttributeValue.FromString(JsonPath.StringAt("$.bar")) },
{ "TotalCount", DynamoAttributeValue.FromNumber(10) }
},
Table = myTable
});
Synopsis
Constructors
| DynamoPutItem(Construct, string, IDynamoPutItemProps) | A StepFunctions task to call DynamoPutItem. |
Properties
| TaskMetrics | A StepFunctions task to call DynamoPutItem. |
| TaskPolicies | A StepFunctions task to call DynamoPutItem. |
Methods
| JsonPath(Construct, string, IDynamoPutItemJsonPathProps) | A StepFunctions task using JSONPath to call DynamoPutItem. |
| Jsonata(Construct, string, IDynamoPutItemJsonataProps) | A StepFunctions task using JSONata to call DynamoPutItem. |
Constructors
DynamoPutItem(Construct, string, IDynamoPutItemProps)
A StepFunctions task to call DynamoPutItem.
public DynamoPutItem(Construct scope, string id, IDynamoPutItemProps props)
Parameters
- scope Construct
- id string
Descriptive identifier for this chainable.
- props IDynamoPutItemProps
Remarks
ExampleMetadata: infused
Properties
TaskMetrics
A StepFunctions task to call DynamoPutItem.
protected override ITaskMetricsConfig? TaskMetrics { get; }
Property Value
Overrides
Remarks
ExampleMetadata: infused
TaskPolicies
A StepFunctions task to call DynamoPutItem.
protected override PolicyStatement[]? TaskPolicies { get; }
Property Value
Overrides
Remarks
ExampleMetadata: infused
Methods
JsonPath(Construct, string, IDynamoPutItemJsonPathProps)
A StepFunctions task using JSONPath to call DynamoPutItem.
public static DynamoPutItem JsonPath(Construct scope, string id, IDynamoPutItemJsonPathProps props)
Parameters
- scope Construct
- id string
- props IDynamoPutItemJsonPathProps
Returns
Remarks
ExampleMetadata: infused
Jsonata(Construct, string, IDynamoPutItemJsonataProps)
A StepFunctions task using JSONata to call DynamoPutItem.
public static DynamoPutItem Jsonata(Construct scope, string id, IDynamoPutItemJsonataProps props)
Parameters
- scope Construct
- id string
- props IDynamoPutItemJsonataProps
Returns
Remarks
ExampleMetadata: infused