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();
 

See Also: