public static final class CloudFrontToApiGatewayToLambda.Builder extends Object implements software.amazon.jsii.Builder<CloudFrontToApiGatewayToLambda>
CloudFrontToApiGatewayToLambda.| Modifier and Type | Method and Description |
|---|---|
CloudFrontToApiGatewayToLambda.Builder |
apiGatewayProps(Object apiGatewayProps)
Optional user provided props to override the default props for the API Gateway.
|
CloudFrontToApiGatewayToLambda |
build() |
CloudFrontToApiGatewayToLambda.Builder |
cloudFrontDistributionProps(Object cloudFrontDistributionProps)
Optional user provided props to override the default props.
|
static CloudFrontToApiGatewayToLambda.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
CloudFrontToApiGatewayToLambda.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, if this is set then the lambdaFunctionProps is ignored.
|
CloudFrontToApiGatewayToLambda.Builder |
insertHttpSecurityHeaders(Boolean insertHttpSecurityHeaders)
Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront.
|
CloudFrontToApiGatewayToLambda.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
User provided props to override the default props for the Lambda function.
|
CloudFrontToApiGatewayToLambda.Builder |
logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps)
User provided props to override the default props for the CloudWatchLogs LogGroup.
|
public static CloudFrontToApiGatewayToLambda.Builder create(software.amazon.awscdk.core.Construct scope, String id)
scope - - represents the scope for all the resources. This parameter is required.id - - this is a a scope-unique id. This parameter is required.CloudFrontToApiGatewayToLambda.Builder.public CloudFrontToApiGatewayToLambda.Builder apiGatewayProps(Object apiGatewayProps)
Default: - Default props are used
apiGatewayProps - Optional user provided props to override the default props for the API Gateway. This parameter is required.thispublic CloudFrontToApiGatewayToLambda.Builder cloudFrontDistributionProps(Object cloudFrontDistributionProps)
Default: - Default props are used
cloudFrontDistributionProps - Optional user provided props to override the default props. This parameter is required.thispublic CloudFrontToApiGatewayToLambda.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Default: - None
existingLambdaObj - Existing instance of Lambda Function object, if this is set then the lambdaFunctionProps is ignored. This parameter is required.thispublic CloudFrontToApiGatewayToLambda.Builder insertHttpSecurityHeaders(Boolean insertHttpSecurityHeaders)
Default: - true
insertHttpSecurityHeaders - Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront. This parameter is required.thispublic CloudFrontToApiGatewayToLambda.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Default: - Default props are used
lambdaFunctionProps - User provided props to override the default props for the Lambda function. This parameter is required.thispublic CloudFrontToApiGatewayToLambda.Builder logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps)
Default: - Default props are used
logGroupProps - User provided props to override the default props for the CloudWatchLogs LogGroup. This parameter is required.thispublic CloudFrontToApiGatewayToLambda build()
build in interface software.amazon.jsii.Builder<CloudFrontToApiGatewayToLambda>Copyright © 2021. All rights reserved.