public static final class ApiGatewayToKinesisStreamsProps.Builder extends Object implements software.amazon.jsii.Builder<ApiGatewayToKinesisStreamsProps>
ApiGatewayToKinesisStreamsProps| Constructor and Description |
|---|
Builder() |
public ApiGatewayToKinesisStreamsProps.Builder apiGatewayProps(software.amazon.awscdk.services.apigateway.RestApiProps apiGatewayProps)
ApiGatewayToKinesisStreamsProps.getApiGatewayProps()apiGatewayProps - Optional user-provided props to override the default props for the API Gateway.thispublic ApiGatewayToKinesisStreamsProps.Builder createCloudWatchAlarms(Boolean createCloudWatchAlarms)
ApiGatewayToKinesisStreamsProps.getCreateCloudWatchAlarms()createCloudWatchAlarms - Whether to create recommended CloudWatch alarms.thispublic ApiGatewayToKinesisStreamsProps.Builder existingStreamObj(software.amazon.awscdk.services.kinesis.Stream existingStreamObj)
ApiGatewayToKinesisStreamsProps.getExistingStreamObj()existingStreamObj - Existing instance of Kinesis Stream, providing both this and `kinesisStreamProps` will cause an error.thispublic ApiGatewayToKinesisStreamsProps.Builder kinesisStreamProps(software.amazon.awscdk.services.kinesis.StreamProps kinesisStreamProps)
ApiGatewayToKinesisStreamsProps.getKinesisStreamProps()kinesisStreamProps - Optional user-provided props to override the default props for the Kinesis Data Stream.thispublic ApiGatewayToKinesisStreamsProps.Builder logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps)
ApiGatewayToKinesisStreamsProps.getLogGroupProps()logGroupProps - User provided props to override the default props for the CloudWatchLogs LogGroup.thispublic ApiGatewayToKinesisStreamsProps.Builder putRecordRequestModel(software.amazon.awscdk.services.apigateway.ModelOptions putRecordRequestModel)
ApiGatewayToKinesisStreamsProps.getPutRecordRequestModel()putRecordRequestModel - API Gateway request model for the PutRecord action.
If not provided, a default one will be created.thispublic ApiGatewayToKinesisStreamsProps.Builder putRecordRequestTemplate(String putRecordRequestTemplate)
ApiGatewayToKinesisStreamsProps.getPutRecordRequestTemplate()putRecordRequestTemplate - API Gateway request template for the PutRecord action.
If not provided, a default one will be used.thispublic ApiGatewayToKinesisStreamsProps.Builder putRecordsRequestModel(software.amazon.awscdk.services.apigateway.ModelOptions putRecordsRequestModel)
ApiGatewayToKinesisStreamsProps.getPutRecordsRequestModel()putRecordsRequestModel - API Gateway request model for the PutRecords action.
If not provided, a default one will be created.thispublic ApiGatewayToKinesisStreamsProps.Builder putRecordsRequestTemplate(String putRecordsRequestTemplate)
ApiGatewayToKinesisStreamsProps.getPutRecordsRequestTemplate()putRecordsRequestTemplate - API Gateway request template for the PutRecords action.
If not provided, a default one will be used.thispublic ApiGatewayToKinesisStreamsProps build()
build in interface software.amazon.jsii.Builder<ApiGatewayToKinesisStreamsProps>ApiGatewayToKinesisStreamsPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.