Class DynamoDBv2PutItemAction.Builder
java.lang.Object
software.amazon.awscdk.services.iot.actions.alpha.DynamoDBv2PutItemAction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DynamoDBv2PutItemAction>
- Enclosing class:
DynamoDBv2PutItemAction
@Stability(Experimental)
public static final class DynamoDBv2PutItemAction.Builder
extends Object
implements software.amazon.jsii.Builder<DynamoDBv2PutItemAction>
(experimental) A fluent builder for
DynamoDBv2PutItemAction
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
(experimental) The IAM role that allows access to AWS service.
-
Method Details
-
create
- Parameters:
table
- the DynamoDB table in which to put the items. This parameter is required.- Returns:
- a new instance of
DynamoDBv2PutItemAction.Builder
.
-
role
(experimental) The IAM role that allows access to AWS service.Default: a new role will be created
- Parameters:
role
- The IAM role that allows access to AWS service. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DynamoDBv2PutItemAction>
- Returns:
- a newly built instance of
DynamoDBv2PutItemAction
.
-