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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFunction.HttpApiEventPropertystatic final classAn implementation forCfnFunction.HttpApiEventProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetApiId()`CfnFunction.HttpApiEventProperty.ApiId`.default ObjectgetAuth()`CfnFunction.HttpApiEventProperty.Auth`.default String`CfnFunction.HttpApiEventProperty.Method`.default StringgetPath()`CfnFunction.HttpApiEventProperty.Path`.default String`CfnFunction.HttpApiEventProperty.PayloadFormatVersion`.default Object`CfnFunction.HttpApiEventProperty.RouteSettings`.default Number`CfnFunction.HttpApiEventProperty.TimeoutInMillis`.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiId
`CfnFunction.HttpApiEventProperty.ApiId`. -
getAuth
`CfnFunction.HttpApiEventProperty.Auth`. -
getMethod
`CfnFunction.HttpApiEventProperty.Method`. -
getPath
`CfnFunction.HttpApiEventProperty.Path`. -
getPayloadFormatVersion
`CfnFunction.HttpApiEventProperty.PayloadFormatVersion`. -
getRouteSettings
`CfnFunction.HttpApiEventProperty.RouteSettings`. -
getTimeoutInMillis
`CfnFunction.HttpApiEventProperty.TimeoutInMillis`. -
builder
-