Show / Hide Table of Contents

Interface IDynamoUpdateItemJsonataProps

Properties for DynamoUpdateItem Task using JSONata.

Inherited Members
IStateBaseProps.Comment
IStateBaseProps.QueryLanguage
IStateBaseProps.StateName
ITaskStateBaseOptions.Credentials
ITaskStateBaseOptions.Heartbeat
ITaskStateBaseOptions.HeartbeatTimeout
ITaskStateBaseOptions.IntegrationPattern
ITaskStateBaseOptions.TaskTimeout
ITaskStateBaseOptions.Timeout
IAssignableStateOptions.Assign
IJsonataCommonOptions.Outputs
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDynamoUpdateItemJsonataProps : ITaskStateJsonataBaseProps, IStateBaseProps, ITaskStateBaseOptions, IAssignableStateOptions, IJsonataCommonOptions
Syntax (vb)
Public Interface IDynamoUpdateItemJsonataProps Inherits ITaskStateJsonataBaseProps, IStateBaseProps, ITaskStateBaseOptions, IAssignableStateOptions, IJsonataCommonOptions
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;
            using Amazon.CDK.AWS.DynamoDB;
            using Amazon.CDK.AWS.StepFunctions;
            using Amazon.CDK.AWS.StepFunctions.Tasks;

            var assign;
            DynamoAttributeValue dynamoAttributeValue;
            var outputs;
            Table table;
            TaskRole taskRole;
            Timeout timeout;

            var dynamoUpdateItemJsonataProps = new DynamoUpdateItemJsonataProps {
                Key = new Dictionary<string, DynamoAttributeValue> {
                    { "keyKey", dynamoAttributeValue }
                },
                Table = table,

                // the properties below are optional
                Assign = new Dictionary<string, object> {
                    { "assignKey", assign }
                },
                Comment = "comment",
                ConditionExpression = "conditionExpression",
                Credentials = new Credentials {
                    Role = taskRole
                },
                ExpressionAttributeNames = new Dictionary<string, string> {
                    { "expressionAttributeNamesKey", "expressionAttributeNames" }
                },
                ExpressionAttributeValues = new Dictionary<string, DynamoAttributeValue> {
                    { "expressionAttributeValuesKey", dynamoAttributeValue }
                },
                Heartbeat = Duration.Minutes(30),
                HeartbeatTimeout = timeout,
                IntegrationPattern = IntegrationPattern.REQUEST_RESPONSE,
                Outputs = outputs,
                QueryLanguage = QueryLanguage.JSON_PATH,
                ReturnConsumedCapacity = DynamoConsumedCapacity.INDEXES,
                ReturnItemCollectionMetrics = DynamoItemCollectionMetrics.SIZE,
                ReturnValues = DynamoReturnValues.NONE,
                StateName = "stateName",
                TaskTimeout = timeout,
                Timeout = Duration.Minutes(30),
                UpdateExpression = "updateExpression"
            };

Synopsis

Properties

ConditionExpression

A condition that must be satisfied in order for a conditional DeleteItem to succeed.

ExpressionAttributeNames

One or more substitution tokens for attribute names in an expression.

ExpressionAttributeValues

One or more values that can be substituted in an expression.

Key

Primary key of the item to retrieve.

ReturnConsumedCapacity

Determines the level of detail about provisioned throughput consumption that is returned in the response.

ReturnItemCollectionMetrics

Determines whether item collection metrics are returned.

ReturnValues

Use ReturnValues if you want to get the item attributes as they appeared before they were deleted.

Table

The name of the table containing the requested item.

UpdateExpression

An expression that defines one or more attributes to be updated, the action to be performed on them, and new values for them.

Properties

ConditionExpression

A condition that must be satisfied in order for a conditional DeleteItem to succeed.

string? ConditionExpression { get; }
Property Value

string

Remarks

Default: - No condition expression

See: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html#DDB-UpdateItem-request-ConditionExpression

ExpressionAttributeNames

One or more substitution tokens for attribute names in an expression.

IDictionary<string, string>? ExpressionAttributeNames { get; }
Property Value

IDictionary<string, string>

Remarks

Default: - No expression attribute names

See: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html#DDB-UpdateItem-request-ExpressionAttributeNames

ExpressionAttributeValues

One or more values that can be substituted in an expression.

IDictionary<string, DynamoAttributeValue>? ExpressionAttributeValues { get; }
Property Value

IDictionary<string, DynamoAttributeValue>

Remarks

Default: - No expression attribute values

See: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html#DDB-UpdateItem-request-ExpressionAttributeValues

Key

Primary key of the item to retrieve.

IDictionary<string, DynamoAttributeValue> Key { get; }
Property Value

IDictionary<string, DynamoAttributeValue>

Remarks

For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.

See: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_GetItem.html#DDB-GetItem-request-Key

ReturnConsumedCapacity

Determines the level of detail about provisioned throughput consumption that is returned in the response.

DynamoConsumedCapacity? ReturnConsumedCapacity { get; }
Property Value

DynamoConsumedCapacity?

Remarks

Default: DynamoConsumedCapacity.NONE

See: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html#DDB-UpdateItem-request-ReturnConsumedCapacity

ReturnItemCollectionMetrics

Determines whether item collection metrics are returned.

DynamoItemCollectionMetrics? ReturnItemCollectionMetrics { get; }
Property Value

DynamoItemCollectionMetrics?

Remarks

If set to SIZE, the response includes statistics about item collections, if any, that were modified during the operation are returned in the response. If set to NONE (the default), no statistics are returned.

Default: DynamoItemCollectionMetrics.NONE

ReturnValues

Use ReturnValues if you want to get the item attributes as they appeared before they were deleted.

DynamoReturnValues? ReturnValues { get; }
Property Value

DynamoReturnValues?

Remarks

Default: DynamoReturnValues.NONE

See: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html#DDB-UpdateItem-request-ReturnValues

Table

The name of the table containing the requested item.

ITable Table { get; }
Property Value

ITable

Remarks

ExampleMetadata: fixture=_generated

UpdateExpression

An expression that defines one or more attributes to be updated, the action to be performed on them, and new values for them.

string? UpdateExpression { get; }
Property Value

string

Remarks

Default: - No update expression

See: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html#DDB-UpdateItem-request-UpdateExpression

Back to top Generated by DocFX