Interface CfnFunction.HttpApiEventProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunction.HttpApiEventProperty.Jsii$Proxy
- Enclosing class:
CfnFunction
@Stability(Stable)
public static interface CfnFunction.HttpApiEventProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sam.*;
HttpApiEventProperty httpApiEventProperty = HttpApiEventProperty.builder()
.apiId("apiId")
.auth(HttpApiFunctionAuthProperty.builder()
.authorizationScopes(List.of("authorizationScopes"))
.authorizer("authorizer")
.build())
.method("method")
.path("path")
.payloadFormatVersion("payloadFormatVersion")
.routeSettings(RouteSettingsProperty.builder()
.dataTraceEnabled(false)
.detailedMetricsEnabled(false)
.loggingLevel("loggingLevel")
.throttlingBurstLimit(123)
.throttlingRateLimit(123)
.build())
.timeoutInMillis(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFunction.HttpApiEventPropertystatic final classAn implementation forCfnFunction.HttpApiEventProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetApiId()default ObjectgetAuth()Returns union: eitherIResolvableorCfnFunction.HttpApiFunctionAuthPropertydefault Stringdefault StringgetPath()default Stringdefault ObjectReturns union: eitherIResolvableorCfnFunction.RouteSettingsPropertydefault NumberMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiId
- See Also:
-
getAuth
Returns union: eitherIResolvableorCfnFunction.HttpApiFunctionAuthProperty- See Also:
-
getMethod
- See Also:
-
getPath
- See Also:
-
getPayloadFormatVersion
- See Also:
-
getRouteSettings
Returns union: eitherIResolvableorCfnFunction.RouteSettingsProperty- See Also:
-
getTimeoutInMillis
- See Also:
-
builder
-