public static final class ApiGatewayToDynamoDBProps.Builder extends Object implements software.amazon.jsii.Builder<ApiGatewayToDynamoDBProps>
ApiGatewayToDynamoDBProps| Constructor and Description |
|---|
Builder() |
public ApiGatewayToDynamoDBProps.Builder allowCreateOperation(Boolean allowCreateOperation)
ApiGatewayToDynamoDBProps.getAllowCreateOperation()allowCreateOperation - Whether to deploy API Gateway Method for Create operation on DynamoDB table.thispublic ApiGatewayToDynamoDBProps.Builder allowDeleteOperation(Boolean allowDeleteOperation)
ApiGatewayToDynamoDBProps.getAllowDeleteOperation()allowDeleteOperation - Whether to deploy API Gateway Method for Delete operation on DynamoDB table.thispublic ApiGatewayToDynamoDBProps.Builder allowReadOperation(Boolean allowReadOperation)
ApiGatewayToDynamoDBProps.getAllowReadOperation()allowReadOperation - Whether to deploy API Gateway Method for Read operation on DynamoDB table.thispublic ApiGatewayToDynamoDBProps.Builder allowUpdateOperation(Boolean allowUpdateOperation)
ApiGatewayToDynamoDBProps.getAllowUpdateOperation()allowUpdateOperation - Whether to deploy API Gateway Method for Update operation on DynamoDB table.thispublic ApiGatewayToDynamoDBProps.Builder apiGatewayProps(software.amazon.awscdk.services.apigateway.RestApiProps apiGatewayProps)
ApiGatewayToDynamoDBProps.getApiGatewayProps()apiGatewayProps - Optional user-provided props to override the default props for the API Gateway.thispublic ApiGatewayToDynamoDBProps.Builder createRequestTemplate(String createRequestTemplate)
ApiGatewayToDynamoDBProps.getCreateRequestTemplate()createRequestTemplate - API Gateway Request template for Create method, required if allowCreateOperation set to true.thispublic ApiGatewayToDynamoDBProps.Builder deleteRequestTemplate(String deleteRequestTemplate)
ApiGatewayToDynamoDBProps.getDeleteRequestTemplate()deleteRequestTemplate - Optional API Gateway Request template for Delete method, it will use the default template if allowDeleteOperation is true and deleteRequestTemplate is not provided.
The default template only supports a partition key and not partition + sort keys.thispublic ApiGatewayToDynamoDBProps.Builder dynamoTableProps(software.amazon.awscdk.services.dynamodb.TableProps dynamoTableProps)
ApiGatewayToDynamoDBProps.getDynamoTableProps()dynamoTableProps - Optional user provided props to override the default props.thispublic ApiGatewayToDynamoDBProps.Builder existingTableObj(software.amazon.awscdk.services.dynamodb.Table existingTableObj)
ApiGatewayToDynamoDBProps.getExistingTableObj()existingTableObj - Existing instance of DynamoDB table object, providing both this and `dynamoTableProps` will cause an error.thispublic ApiGatewayToDynamoDBProps.Builder logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps)
ApiGatewayToDynamoDBProps.getLogGroupProps()logGroupProps - User provided props to override the default props for the CloudWatchLogs LogGroup.thispublic ApiGatewayToDynamoDBProps.Builder readRequestTemplate(String readRequestTemplate)
ApiGatewayToDynamoDBProps.getReadRequestTemplate()readRequestTemplate - Optional API Gateway Request template for Read method, it will use the default template if allowReadOperation is true and readRequestTemplate is not provided.
The default template only supports a partition key and not partition + sort keys.thispublic ApiGatewayToDynamoDBProps.Builder updateRequestTemplate(String updateRequestTemplate)
ApiGatewayToDynamoDBProps.getUpdateRequestTemplate()updateRequestTemplate - API Gateway Request template for Update method, required if allowUpdateOperation set to true.thispublic ApiGatewayToDynamoDBProps build()
build in interface software.amazon.jsii.Builder<ApiGatewayToDynamoDBProps>ApiGatewayToDynamoDBPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.