Interface CfnFunction.ApiEventProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunction.ApiEventProperty.Jsii$Proxy
- Enclosing class:
- CfnFunction
@Stability(Stable)
public static interface CfnFunction.ApiEventProperty
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.*; 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()) .requestModel(RequestModelProperty.builder() .model("model") // the properties below are optional .required(false) .validateBody(false) .validateParameters(false) .build()) .requestParameters(List.of("requestParameters")) .restApiId("restApiId") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFunction.ApiEventProperty
static final class
An implementation forCfnFunction.ApiEventProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
getAuth()
CfnFunction.ApiEventProperty.Auth
.CfnFunction.ApiEventProperty.Method
.getPath()
CfnFunction.ApiEventProperty.Path
.default Object
CfnFunction.ApiEventProperty.RequestModel
.default Object
CfnFunction.ApiEventProperty.RequestParameters
.default String
CfnFunction.ApiEventProperty.RestApiId
.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMethod
CfnFunction.ApiEventProperty.Method
. -
getPath
CfnFunction.ApiEventProperty.Path
. -
getAuth
CfnFunction.ApiEventProperty.Auth
. -
getRequestModel
CfnFunction.ApiEventProperty.RequestModel
. -
getRequestParameters
CfnFunction.ApiEventProperty.RequestParameters
. -
getRestApiId
CfnFunction.ApiEventProperty.RestApiId
. -
builder
-