Class ApiGatewayToKinesisStreamsProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awsconstructs.services.apigatewaykinesisstreams.ApiGatewayToKinesisStreamsProps.Jsii$Proxy
All Implemented Interfaces:
ApiGatewayToKinesisStreamsProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ApiGatewayToKinesisStreamsProps

@Internal public static final class ApiGatewayToKinesisStreamsProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ApiGatewayToKinesisStreamsProps
An implementation for ApiGatewayToKinesisStreamsProps
  • 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

      protected Jsii$Proxy(ApiGatewayToKinesisStreamsProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ApiGatewayToKinesisStreamsProps.Builder.
  • Method Details

    • getAdditionalPutRecordRequestTemplates

      public final Map<String,String> getAdditionalPutRecordRequestTemplates()
      Description copied from interface: ApiGatewayToKinesisStreamsProps
      Optional PutRecord Request Templates for content-types other than application/json.

      Use the putRecordRequestTemplate property to set the request template for the application/json content-type.

      Default: - None

      Specified by:
      getAdditionalPutRecordRequestTemplates in interface ApiGatewayToKinesisStreamsProps
    • getAdditionalPutRecordsRequestTemplates

      public final Map<String,String> getAdditionalPutRecordsRequestTemplates()
      Description copied from interface: ApiGatewayToKinesisStreamsProps
      Optional PutRecords Request Templates for content-types other than application/json.

      Use the putRecordsRequestTemplate property to set the request template for the application/json content-type.

      Default: - None

      Specified by:
      getAdditionalPutRecordsRequestTemplates in interface ApiGatewayToKinesisStreamsProps
    • getApiGatewayProps

      public final software.amazon.awscdk.services.apigateway.RestApiProps getApiGatewayProps()
      Description copied from interface: ApiGatewayToKinesisStreamsProps
      Optional user-provided props to override the default props for the API Gateway.

      Default: - Default properties are used.

      Specified by:
      getApiGatewayProps in interface ApiGatewayToKinesisStreamsProps
    • getCreateCloudWatchAlarms

      public final Boolean getCreateCloudWatchAlarms()
      Description copied from interface: ApiGatewayToKinesisStreamsProps
      Whether to create recommended CloudWatch alarms.

      Default: - Alarms are created

      Specified by:
      getCreateCloudWatchAlarms in interface ApiGatewayToKinesisStreamsProps
    • getExistingStreamObj

      public final software.amazon.awscdk.services.kinesis.Stream getExistingStreamObj()
      Description copied from interface: ApiGatewayToKinesisStreamsProps
      Existing instance of Kinesis Stream, providing both this and kinesisStreamProps will cause an error.

      Default: - None

      Specified by:
      getExistingStreamObj in interface ApiGatewayToKinesisStreamsProps
    • getKinesisStreamProps

      public final software.amazon.awscdk.services.kinesis.StreamProps getKinesisStreamProps()
      Description copied from interface: ApiGatewayToKinesisStreamsProps
      Optional user-provided props to override the default props for the Kinesis Data Stream.

      Default: - Default properties are used.

      Specified by:
      getKinesisStreamProps in interface ApiGatewayToKinesisStreamsProps
    • getLogGroupProps

      public final software.amazon.awscdk.services.logs.LogGroupProps getLogGroupProps()
      Description copied from interface: ApiGatewayToKinesisStreamsProps
      User provided props to override the default props for the CloudWatchLogs LogGroup.

      Default: - Default props are used

      Specified by:
      getLogGroupProps in interface ApiGatewayToKinesisStreamsProps
    • getPutRecordIntegrationResponses

      public final List<software.amazon.awscdk.services.apigateway.IntegrationResponse> getPutRecordIntegrationResponses()
      Description copied from interface: ApiGatewayToKinesisStreamsProps
      Optional, custom API Gateway Integration Response for the PutRecord action.

      Default: - [{statusCode:"200"},{statusCode:"500",responseTemplates:{"text/html":"Error"},selectionPattern:"500"}]

      Specified by:
      getPutRecordIntegrationResponses in interface ApiGatewayToKinesisStreamsProps
    • getPutRecordRequestModel

      public final software.amazon.awscdk.services.apigateway.ModelOptions getPutRecordRequestModel()
      Description copied from interface: ApiGatewayToKinesisStreamsProps
      API 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:
      getPutRecordRequestModel in interface ApiGatewayToKinesisStreamsProps
    • getPutRecordRequestTemplate

      public final String getPutRecordRequestTemplate()
      Description copied from interface: ApiGatewayToKinesisStreamsProps
      API 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:
      getPutRecordRequestTemplate in interface ApiGatewayToKinesisStreamsProps
    • getPutRecordsIntegrationResponses

      public final List<software.amazon.awscdk.services.apigateway.IntegrationResponse> getPutRecordsIntegrationResponses()
      Description copied from interface: ApiGatewayToKinesisStreamsProps
      Optional, custom API Gateway Integration Response for the PutRecord action.

      Default: - [{statusCode:"200"},{statusCode:"500",responseTemplates:{"text/html":"Error"},selectionPattern:"500"}]

      Specified by:
      getPutRecordsIntegrationResponses in interface ApiGatewayToKinesisStreamsProps
    • getPutRecordsRequestModel

      public final software.amazon.awscdk.services.apigateway.ModelOptions getPutRecordsRequestModel()
      Description copied from interface: ApiGatewayToKinesisStreamsProps
      API 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:
      getPutRecordsRequestModel in interface ApiGatewayToKinesisStreamsProps
    • getPutRecordsRequestTemplate

      public final String getPutRecordsRequestTemplate()
      Description copied from interface: ApiGatewayToKinesisStreamsProps
      API Gateway request template for the PutRecords action for the default application/json content-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:
      getPutRecordsRequestTemplate in interface ApiGatewayToKinesisStreamsProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object