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.
|
CloudFrontToApiGatewayToLambda.Builder |
cloudFrontLoggingBucketProps(software.amazon.awscdk.services.s3.BucketProps cloudFrontLoggingBucketProps)
Optional user provided props to override the default props for the CloudFront Logging Bucket.
|
static CloudFrontToApiGatewayToLambda.Builder |
create(software.constructs.Construct scope,
String id) |
CloudFrontToApiGatewayToLambda.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.
|
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)
Optional user provided props to override the default props for the Lambda function.
|
CloudFrontToApiGatewayToLambda.Builder |
logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps)
Optional user provided props to override the default props for the CloudWatchLogs LogGroup.
|
public static CloudFrontToApiGatewayToLambda.Builder create(software.constructs.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 cloudFrontLoggingBucketProps(software.amazon.awscdk.services.s3.BucketProps cloudFrontLoggingBucketProps)
Default: - Default props are used
cloudFrontLoggingBucketProps - Optional user provided props to override the default props for the CloudFront Logging Bucket. This parameter is required.thispublic CloudFrontToApiGatewayToLambda.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Default: - None
existingLambdaObj - Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error. 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 - Optional 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 - Optional 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 © 2022. All rights reserved.