@Stability(value=Stable)
public static interface CfnFunction.ApiEventProperty
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.*;
Object customStatements;
ApiEventProperty apiEventProperty = ApiEventProperty.builder()
.method("method")
.path("path")
// the properties below are optional
.auth(AuthProperty.builder()
.apiKeyRequired(false)
.authorizationScopes(List.of("authorizationScopes"))
.authorizer("authorizer")
.resourcePolicy(AuthResourcePolicyProperty.builder()
.awsAccountBlacklist(List.of("awsAccountBlacklist"))
.awsAccountWhitelist(List.of("awsAccountWhitelist"))
.customStatements(List.of(customStatements))
.intrinsicVpcBlacklist(List.of("intrinsicVpcBlacklist"))
.intrinsicVpceBlacklist(List.of("intrinsicVpceBlacklist"))
.intrinsicVpceWhitelist(List.of("intrinsicVpceWhitelist"))
.intrinsicVpcWhitelist(List.of("intrinsicVpcWhitelist"))
.ipRangeBlacklist(List.of("ipRangeBlacklist"))
.ipRangeWhitelist(List.of("ipRangeWhitelist"))
.sourceVpcBlacklist(List.of("sourceVpcBlacklist"))
.sourceVpcWhitelist(List.of("sourceVpcWhitelist"))
.build())
.build())
.restApiId("restApiId")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFunction.ApiEventProperty.Builder
A builder for
CfnFunction.ApiEventProperty |
static class |
CfnFunction.ApiEventProperty.Jsii$Proxy
An implementation for
CfnFunction.ApiEventProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnFunction.ApiEventProperty.Builder |
builder() |
default Object |
getAuth()
`CfnFunction.ApiEventProperty.Auth`.
|
String |
getMethod()
`CfnFunction.ApiEventProperty.Method`.
|
String |
getPath()
`CfnFunction.ApiEventProperty.Path`.
|
default String |
getRestApiId()
`CfnFunction.ApiEventProperty.RestApiId`.
|
@Stability(value=Stable) @NotNull String getMethod()
@Stability(value=Stable) @NotNull String getPath()
@Stability(value=Stable) @Nullable default Object getAuth()
@Stability(value=Stable) @Nullable default String getRestApiId()
@Stability(value=Stable) static CfnFunction.ApiEventProperty.Builder builder()
Copyright © 2022. All rights reserved.