Class ApiGatewayToKinesisStreamsProps.Jsii$Proxy
- All Implemented Interfaces:
ApiGatewayToKinesisStreamsProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ApiGatewayToKinesisStreamsProps
ApiGatewayToKinesisStreamsProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awsconstructs.services.apigatewaykinesisstreams.ApiGatewayToKinesisStreamsProps
ApiGatewayToKinesisStreamsProps.Builder, ApiGatewayToKinesisStreamsProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theApiGatewayToKinesisStreamsProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanOptional PutRecord Request Templates for content-types other thanapplication/json.Optional PutRecords Request Templates for content-types other thanapplication/json.final software.amazon.awscdk.services.apigateway.RestApiPropsOptional user-provided props to override the default props for the API Gateway.final BooleanWhether to create recommended CloudWatch alarms.final software.amazon.awscdk.services.kinesis.StreamExisting instance of Kinesis Stream, providing both this andkinesisStreamPropswill cause an error.final software.amazon.awscdk.services.kinesis.StreamPropsOptional user-provided props to override the default props for the Kinesis Data Stream.final software.amazon.awscdk.services.logs.LogGroupPropsUser provided props to override the default props for the CloudWatchLogs LogGroup.final List<software.amazon.awscdk.services.apigateway.IntegrationResponse>Optional, custom API Gateway Integration Response for the PutRecord action.final software.amazon.awscdk.services.apigateway.ModelOptionsAPI Gateway request model for the PutRecord action.final StringAPI Gateway request template for the PutRecord action.final List<software.amazon.awscdk.services.apigateway.IntegrationResponse>Optional, custom API Gateway Integration Response for the PutRecord action.final software.amazon.awscdk.services.apigateway.ModelOptionsAPI Gateway request model for the PutRecords action.final StringAPI Gateway request template for the PutRecords action for the defaultapplication/jsoncontent-type.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theApiGatewayToKinesisStreamsProps.Builder.
-
-
Method Details
-
getAdditionalPutRecordRequestTemplates
Description copied from interface:ApiGatewayToKinesisStreamsPropsOptional PutRecord Request Templates for content-types other thanapplication/json.Use the
putRecordRequestTemplateproperty to set the request template for theapplication/jsoncontent-type.Default: - None
- Specified by:
getAdditionalPutRecordRequestTemplatesin interfaceApiGatewayToKinesisStreamsProps
-
getAdditionalPutRecordsRequestTemplates
Description copied from interface:ApiGatewayToKinesisStreamsPropsOptional PutRecords Request Templates for content-types other thanapplication/json.Use the
putRecordsRequestTemplateproperty to set the request template for theapplication/jsoncontent-type.Default: - None
- Specified by:
getAdditionalPutRecordsRequestTemplatesin interfaceApiGatewayToKinesisStreamsProps
-
getApiGatewayProps
public final software.amazon.awscdk.services.apigateway.RestApiProps getApiGatewayProps()Description copied from interface:ApiGatewayToKinesisStreamsPropsOptional user-provided props to override the default props for the API Gateway.Default: - Default properties are used.
- Specified by:
getApiGatewayPropsin interfaceApiGatewayToKinesisStreamsProps
-
getCreateCloudWatchAlarms
Description copied from interface:ApiGatewayToKinesisStreamsPropsWhether to create recommended CloudWatch alarms.Default: - Alarms are created
- Specified by:
getCreateCloudWatchAlarmsin interfaceApiGatewayToKinesisStreamsProps
-
getExistingStreamObj
public final software.amazon.awscdk.services.kinesis.Stream getExistingStreamObj()Description copied from interface:ApiGatewayToKinesisStreamsPropsExisting instance of Kinesis Stream, providing both this andkinesisStreamPropswill cause an error.Default: - None
- Specified by:
getExistingStreamObjin interfaceApiGatewayToKinesisStreamsProps
-
getKinesisStreamProps
public final software.amazon.awscdk.services.kinesis.StreamProps getKinesisStreamProps()Description copied from interface:ApiGatewayToKinesisStreamsPropsOptional user-provided props to override the default props for the Kinesis Data Stream.Default: - Default properties are used.
- Specified by:
getKinesisStreamPropsin interfaceApiGatewayToKinesisStreamsProps
-
getLogGroupProps
public final software.amazon.awscdk.services.logs.LogGroupProps getLogGroupProps()Description copied from interface:ApiGatewayToKinesisStreamsPropsUser provided props to override the default props for the CloudWatchLogs LogGroup.Default: - Default props are used
- Specified by:
getLogGroupPropsin interfaceApiGatewayToKinesisStreamsProps
-
getPutRecordIntegrationResponses
public final List<software.amazon.awscdk.services.apigateway.IntegrationResponse> getPutRecordIntegrationResponses()Description copied from interface:ApiGatewayToKinesisStreamsPropsOptional, custom API Gateway Integration Response for the PutRecord action.Default: - [{statusCode:"200"},{statusCode:"500",responseTemplates:{"text/html":"Error"},selectionPattern:"500"}]
- Specified by:
getPutRecordIntegrationResponsesin interfaceApiGatewayToKinesisStreamsProps
-
getPutRecordRequestModel
public final software.amazon.awscdk.services.apigateway.ModelOptions getPutRecordRequestModel()Description copied from interface:ApiGatewayToKinesisStreamsPropsAPI Gateway request model for the PutRecord action.If not provided, a default one will be created.
Default: - {"$schema":"http://json-schema.org/draft-04/schema#","title":"PutRecord proxy single-record payload","type":"object", "required":["data","partitionKey"],"properties":{"data":{"type":"string"},"partitionKey":{"type":"string"}}}
- Specified by:
getPutRecordRequestModelin interfaceApiGatewayToKinesisStreamsProps
-
getPutRecordRequestTemplate
Description copied from interface:ApiGatewayToKinesisStreamsPropsAPI Gateway request template for the PutRecord action.If not provided, a default one will be used.
Default: - { "StreamName": "${this.kinesisStream.streamName}", "Data": "$util.base64Encode($input.json('$.data'))", "PartitionKey": "$input.path('$.partitionKey')" }
- Specified by:
getPutRecordRequestTemplatein interfaceApiGatewayToKinesisStreamsProps
-
getPutRecordsIntegrationResponses
public final List<software.amazon.awscdk.services.apigateway.IntegrationResponse> getPutRecordsIntegrationResponses()Description copied from interface:ApiGatewayToKinesisStreamsPropsOptional, custom API Gateway Integration Response for the PutRecord action.Default: - [{statusCode:"200"},{statusCode:"500",responseTemplates:{"text/html":"Error"},selectionPattern:"500"}]
- Specified by:
getPutRecordsIntegrationResponsesin interfaceApiGatewayToKinesisStreamsProps
-
getPutRecordsRequestModel
public final software.amazon.awscdk.services.apigateway.ModelOptions getPutRecordsRequestModel()Description copied from interface:ApiGatewayToKinesisStreamsPropsAPI Gateway request model for the PutRecords action.If not provided, a default one will be created.
Default: - {"$schema":"http://json-schema.org/draft-04/schema#","title":"PutRecords proxy payload data","type":"object","required":["records"], "properties":{"records":{"type":"array","items":{"type":"object", "required":["data","partitionKey"],"properties":{"data":{"type":"string"},"partitionKey":{"type":"string"}}}}}}
- Specified by:
getPutRecordsRequestModelin interfaceApiGatewayToKinesisStreamsProps
-
getPutRecordsRequestTemplate
Description copied from interface:ApiGatewayToKinesisStreamsPropsAPI Gateway request template for the PutRecords action for the defaultapplication/jsoncontent-type.If not provided, a default one will be used.
Default: - { "StreamName": "${this.kinesisStream.streamName}", "Records": [ #foreach($elem in $input.path('$.records')) { "Data": "$util.base64Encode($elem.data)", "PartitionKey": "$elem.partitionKey"}#if($foreach.hasNext),#end #end ] }
- Specified by:
getPutRecordsRequestTemplatein interfaceApiGatewayToKinesisStreamsProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-