@Stability(value=Stable)
public static interface CfnFunction.HttpApiEventProperty
extends software.amazon.jsii.JsiiSerializable
// 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFunction.HttpApiEventProperty.Builder
A builder for
CfnFunction.HttpApiEventProperty |
static class |
CfnFunction.HttpApiEventProperty.Jsii$Proxy
An implementation for
CfnFunction.HttpApiEventProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnFunction.HttpApiEventProperty.Builder |
builder() |
default String |
getApiId()
`CfnFunction.HttpApiEventProperty.ApiId`.
|
default Object |
getAuth()
`CfnFunction.HttpApiEventProperty.Auth`.
|
default String |
getMethod()
`CfnFunction.HttpApiEventProperty.Method`.
|
default String |
getPath()
`CfnFunction.HttpApiEventProperty.Path`.
|
default String |
getPayloadFormatVersion()
`CfnFunction.HttpApiEventProperty.PayloadFormatVersion`.
|
default Object |
getRouteSettings()
`CfnFunction.HttpApiEventProperty.RouteSettings`.
|
default Number |
getTimeoutInMillis()
`CfnFunction.HttpApiEventProperty.TimeoutInMillis`.
|
@Stability(value=Stable) @Nullable default String getApiId()
@Stability(value=Stable) @Nullable default Object getAuth()
@Stability(value=Stable) @Nullable default String getMethod()
@Stability(value=Stable) @Nullable default String getPath()
@Stability(value=Stable) @Nullable default String getPayloadFormatVersion()
@Stability(value=Stable) @Nullable default Object getRouteSettings()
@Stability(value=Stable) @Nullable default Number getTimeoutInMillis()
@Stability(value=Stable) static CfnFunction.HttpApiEventProperty.Builder builder()
Copyright © 2023. All rights reserved.