Class OpenApiGatewayToLambdaProps.Jsii$Proxy
- All Implemented Interfaces:
OpenApiGatewayToLambdaProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
OpenApiGatewayToLambdaProps
OpenApiGatewayToLambdaProps-
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.openapigatewaylambda.OpenApiGatewayToLambdaProps
OpenApiGatewayToLambdaProps.Builder, OpenApiGatewayToLambdaProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theOpenApiGatewayToLambdaProps.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 booleanfinal software.amazon.awscdk.services.s3.assets.AssetLocal file asset of the OpenAPI spec file.final software.amazon.awscdk.services.s3.IBucketS3 Bucket where the OpenAPI spec file is located.final ObjectOpenAPI specification represented in a JSON object to be embedded in the CloudFormation template.final StringS3 Object name of the OpenAPI spec file.final software.amazon.awscdk.services.apigateway.RestApiBasePropsOptional user-provided props to override the default props for the API.final List<ApiIntegration>One or more key-value pairs that contain an id for the api integration and either an existing lambda function or an instance of the LambdaProps.final NumberOptional user-defined memory size for the Lambda function custom resource installed to do the OpenAPI definition transformation.final software.amazon.awscdk.DurationOptional user-defined timeout for the Lambda function custom resource installed to do the OpenAPI definition transformation.final software.amazon.awscdk.services.logs.LogGroupPropsUser provided props to override the default props for the CloudWatchLogs LogGroup.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 theOpenApiGatewayToLambdaProps.Builder.
-
-
Method Details
-
getApiIntegrations
Description copied from interface:OpenApiGatewayToLambdaPropsOne or more key-value pairs that contain an id for the api integration and either an existing lambda function or an instance of the LambdaProps.Example: const apiIntegrations: ApiIntegration[] = [ { id: 'MessagesHandler', lambdaFunctionProps: { runtime: defaults.COMMERCIAL_REGION_LAMBDA_NODE_RUNTIME, handler: 'index.handler', code: lambda.Code.fromAsset(
${__dirname}/messages-lambda), } }, { id: 'PhotosHandler', existingLambdaObj: new lambda.Function(this, 'PhotosLambda', { runtime: defaults.COMMERCIAL_REGION_LAMBDA_NODE_RUNTIME, handler: 'index.handler', code: lambda.Code.fromAsset(${__dirname}/photos-lambda), }) } ]- Specified by:
getApiIntegrationsin interfaceOpenApiGatewayToLambdaProps
-
getApiDefinitionAsset
public final software.amazon.awscdk.services.s3.assets.Asset getApiDefinitionAsset()Description copied from interface:OpenApiGatewayToLambdaPropsLocal file asset of the OpenAPI spec file.- Specified by:
getApiDefinitionAssetin interfaceOpenApiGatewayToLambdaProps
-
getApiDefinitionBucket
public final software.amazon.awscdk.services.s3.IBucket getApiDefinitionBucket()Description copied from interface:OpenApiGatewayToLambdaPropsS3 Bucket where the OpenAPI spec file is located.When specifying this property, apiDefinitionKey must also be specified.
- Specified by:
getApiDefinitionBucketin interfaceOpenApiGatewayToLambdaProps
-
getApiDefinitionJson
Description copied from interface:OpenApiGatewayToLambdaPropsOpenAPI specification represented in a JSON object to be embedded in the CloudFormation template.IMPORTANT - Including the spec in the template introduces a risk of the template growing too big, but there are some use cases that require an embedded spec. Unless your use case explicitly requires an embedded spec you should pass your spec as an S3 asset.
- Specified by:
getApiDefinitionJsonin interfaceOpenApiGatewayToLambdaProps
-
getApiDefinitionKey
Description copied from interface:OpenApiGatewayToLambdaPropsS3 Object name of the OpenAPI spec file.When specifying this property, apiDefinitionBucket must also be specified.
- Specified by:
getApiDefinitionKeyin interfaceOpenApiGatewayToLambdaProps
-
getApiGatewayProps
public final software.amazon.awscdk.services.apigateway.RestApiBaseProps getApiGatewayProps()Description copied from interface:OpenApiGatewayToLambdaPropsOptional user-provided props to override the default props for the API.Default: - Default props are used.
- Specified by:
getApiGatewayPropsin interfaceOpenApiGatewayToLambdaProps
-
getInternalTransformMemorySize
Description copied from interface:OpenApiGatewayToLambdaPropsOptional user-defined memory size for the Lambda function custom resource installed to do the OpenAPI definition transformation.This setting does not affect the deployed architecture - only the ability for the Construct to complete its work.
Defaults to 1024 MiB, but for larger files (hundreds of megabytes or gigabytes in size) this value may need to be increased.
Default: 1024
- Specified by:
getInternalTransformMemorySizein interfaceOpenApiGatewayToLambdaProps
-
getInternalTransformTimeout
public final software.amazon.awscdk.Duration getInternalTransformTimeout()Description copied from interface:OpenApiGatewayToLambdaPropsOptional user-defined timeout for the Lambda function custom resource installed to do the OpenAPI definition transformation.This setting does not affect the deployed architecture - only the ability for the Construct to complete its work.
Defaults to 1 minute, but for larger files (hundreds of megabytes or gigabytes in size) this value may need to be increased.
Default: Duration.minutes(1)
- Specified by:
getInternalTransformTimeoutin interfaceOpenApiGatewayToLambdaProps
-
getLogGroupProps
public final software.amazon.awscdk.services.logs.LogGroupProps getLogGroupProps()Description copied from interface:OpenApiGatewayToLambdaPropsUser provided props to override the default props for the CloudWatchLogs LogGroup.Default: - Default props are used
- Specified by:
getLogGroupPropsin interfaceOpenApiGatewayToLambdaProps
-
$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()
-