Class CloudFrontToApiGatewayToLambdaProps.Jsii$Proxy
- All Implemented Interfaces:
CloudFrontToApiGatewayToLambdaProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CloudFrontToApiGatewayToLambdaProps
CloudFrontToApiGatewayToLambdaProps-
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.cloudfrontapigatewaylambda.CloudFrontToApiGatewayToLambdaProps
CloudFrontToApiGatewayToLambdaProps.Builder, CloudFrontToApiGatewayToLambdaProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCloudFrontToApiGatewayToLambdaProps.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 ObjectUser provided props to override the default props for the API Gateway.final ObjectOptional user provided props to override the default props.final software.amazon.awscdk.services.s3.BucketPropsOptional user provided props to override the default props for the CloudFront Logging Bucket.final BooleanWhether to create a Usage Plan attached to the API.final software.amazon.awscdk.services.lambda.FunctionExisting instance of Lambda Function object, providing both this andlambdaFunctionPropswill cause an error.final BooleanOptional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront.final software.amazon.awscdk.services.lambda.FunctionPropsOptional user provided props to override the default props for the Lambda function.final software.amazon.awscdk.services.logs.LogGroupPropsOptional user provided props to override the default props for the CloudWatchLogs LogGroup.final software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyPropsOptional user provided configuration that cloudfront applies to all http responses.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 theCloudFrontToApiGatewayToLambdaProps.Builder.
-
-
Method Details
-
getApiGatewayProps
Description copied from interface:CloudFrontToApiGatewayToLambdaPropsUser provided props to override the default props for the API Gateway.As of release 2.48.0, clients must include this property with defaultMethodOptions: { authorizationType: string } specified. See Issue1043 in the github repo https://github.com/awslabs/aws-solutions-constructs/issues/1043
Default: - defaultMethodOptions/authorizationType is required, for other, unspecified values the default props are used
- Specified by:
getApiGatewayPropsin interfaceCloudFrontToApiGatewayToLambdaProps
-
getCloudFrontDistributionProps
Description copied from interface:CloudFrontToApiGatewayToLambdaPropsOptional user provided props to override the default props.Default: - Default props are used
- Specified by:
getCloudFrontDistributionPropsin interfaceCloudFrontToApiGatewayToLambdaProps
-
getCloudFrontLoggingBucketProps
public final software.amazon.awscdk.services.s3.BucketProps getCloudFrontLoggingBucketProps()Description copied from interface:CloudFrontToApiGatewayToLambdaPropsOptional user provided props to override the default props for the CloudFront Logging Bucket.Default: - Default props are used
- Specified by:
getCloudFrontLoggingBucketPropsin interfaceCloudFrontToApiGatewayToLambdaProps
-
getCreateUsagePlan
Description copied from interface:CloudFrontToApiGatewayToLambdaPropsWhether to create a Usage Plan attached to the API.Must be true if apiGatewayProps.defaultMethodOptions.apiKeyRequired is true
Default: - true (to match legacy behavior)
- Specified by:
getCreateUsagePlanin interfaceCloudFrontToApiGatewayToLambdaProps
-
getExistingLambdaObj
public final software.amazon.awscdk.services.lambda.Function getExistingLambdaObj()Description copied from interface:CloudFrontToApiGatewayToLambdaPropsExisting instance of Lambda Function object, providing both this andlambdaFunctionPropswill cause an error.Default: - None
- Specified by:
getExistingLambdaObjin interfaceCloudFrontToApiGatewayToLambdaProps
-
getInsertHttpSecurityHeaders
Description copied from interface:CloudFrontToApiGatewayToLambdaPropsOptional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront.Turning this on will inject default headers and is mutually exclusive with passing custom security headers via the responseHeadersPolicyProps parameter.
Default: - true
- Specified by:
getInsertHttpSecurityHeadersin interfaceCloudFrontToApiGatewayToLambdaProps
-
getLambdaFunctionProps
public final software.amazon.awscdk.services.lambda.FunctionProps getLambdaFunctionProps()Description copied from interface:CloudFrontToApiGatewayToLambdaPropsOptional user provided props to override the default props for the Lambda function.Default: - Default props are used
- Specified by:
getLambdaFunctionPropsin interfaceCloudFrontToApiGatewayToLambdaProps
-
getLogGroupProps
public final software.amazon.awscdk.services.logs.LogGroupProps getLogGroupProps()Description copied from interface:CloudFrontToApiGatewayToLambdaPropsOptional user provided props to override the default props for the CloudWatchLogs LogGroup.Default: - Default props are used
- Specified by:
getLogGroupPropsin interfaceCloudFrontToApiGatewayToLambdaProps
-
getResponseHeadersPolicyProps
public final software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyProps getResponseHeadersPolicyProps()Description copied from interface:CloudFrontToApiGatewayToLambdaPropsOptional user provided configuration that cloudfront applies to all http responses.Can be used to pass a custom ResponseSecurityHeadersBehavior, ResponseCustomHeadersBehavior or ResponseHeadersCorsBehavior to the cloudfront distribution.
Passing a custom ResponseSecurityHeadersBehavior is mutually exclusive with turning on the default security headers via
insertHttpSecurityHeadersprop. Will throw an error if bothinsertHttpSecurityHeadersis set totrueand ResponseSecurityHeadersBehavior is passed.Default: - undefined
- Specified by:
getResponseHeadersPolicyPropsin interfaceCloudFrontToApiGatewayToLambdaProps
-
$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()
-