public static final class ApiGatewayToDynamoDB.Builder extends Object implements software.amazon.jsii.Builder<ApiGatewayToDynamoDB>
ApiGatewayToDynamoDB.| Modifier and Type | Method and Description |
|---|---|
ApiGatewayToDynamoDB.Builder |
allowCreateOperation(Boolean allowCreateOperation)
Whether to deploy API Gateway Method for Create operation on DynamoDB table.
|
ApiGatewayToDynamoDB.Builder |
allowDeleteOperation(Boolean allowDeleteOperation)
Whether to deploy API Gateway Method for Delete operation on DynamoDB table.
|
ApiGatewayToDynamoDB.Builder |
allowReadOperation(Boolean allowReadOperation)
Whether to deploy API Gateway Method for Read operation on DynamoDB table.
|
ApiGatewayToDynamoDB.Builder |
allowUpdateOperation(Boolean allowUpdateOperation)
Whether to deploy API Gateway Method for Update operation on DynamoDB table.
|
ApiGatewayToDynamoDB.Builder |
apiGatewayProps(Object apiGatewayProps)
Optional user-provided props to override the default props for the API Gateway.
|
ApiGatewayToDynamoDB |
build() |
static ApiGatewayToDynamoDB.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
ApiGatewayToDynamoDB.Builder |
createRequestTemplate(String createRequestTemplate)
API Gateway Request template for Create method, required if allowCreateOperation set to true.
|
ApiGatewayToDynamoDB.Builder |
dynamoTableProps(software.amazon.awscdk.services.dynamodb.TableProps dynamoTableProps)
Optional user provided props to override the default props.
|
ApiGatewayToDynamoDB.Builder |
updateRequestTemplate(String updateRequestTemplate)
API Gateway Request template for Update method, required if allowUpdateOperation set to true.
|
public static ApiGatewayToDynamoDB.Builder create(software.amazon.awscdk.core.Construct scope, String id)
scope - - represents the scope for all the resources. This parameter is required.id - - this is a a scope-unique id. This parameter is required.ApiGatewayToDynamoDB.Builder.public ApiGatewayToDynamoDB.Builder allowCreateOperation(Boolean allowCreateOperation)
Default: - false
allowCreateOperation - Whether to deploy API Gateway Method for Create operation on DynamoDB table. This parameter is required.thispublic ApiGatewayToDynamoDB.Builder allowDeleteOperation(Boolean allowDeleteOperation)
Default: - false
allowDeleteOperation - Whether to deploy API Gateway Method for Delete operation on DynamoDB table. This parameter is required.thispublic ApiGatewayToDynamoDB.Builder allowReadOperation(Boolean allowReadOperation)
Default: - true
allowReadOperation - Whether to deploy API Gateway Method for Read operation on DynamoDB table. This parameter is required.thispublic ApiGatewayToDynamoDB.Builder allowUpdateOperation(Boolean allowUpdateOperation)
Default: - false
allowUpdateOperation - Whether to deploy API Gateway Method for Update operation on DynamoDB table. This parameter is required.thispublic ApiGatewayToDynamoDB.Builder apiGatewayProps(Object apiGatewayProps)
Default: - Default properties are used.
apiGatewayProps - Optional user-provided props to override the default props for the API Gateway. This parameter is required.thispublic ApiGatewayToDynamoDB.Builder createRequestTemplate(String createRequestTemplate)
Default: - None
createRequestTemplate - API Gateway Request template for Create method, required if allowCreateOperation set to true. This parameter is required.thispublic ApiGatewayToDynamoDB.Builder dynamoTableProps(software.amazon.awscdk.services.dynamodb.TableProps dynamoTableProps)
Default: - Default props are used
dynamoTableProps - Optional user provided props to override the default props. This parameter is required.thispublic ApiGatewayToDynamoDB.Builder updateRequestTemplate(String updateRequestTemplate)
Default: - None
updateRequestTemplate - API Gateway Request template for Update method, required if allowUpdateOperation set to true. This parameter is required.thispublic ApiGatewayToDynamoDB build()
build in interface software.amazon.jsii.Builder<ApiGatewayToDynamoDB>Copyright © 2020. All rights reserved.