@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:15.777Z") @Stability(value=Stable) public interface CfnApiProps 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.apigatewayv2.*;
Object body;
Object tags;
CfnApiProps cfnApiProps = CfnApiProps.builder()
.apiKeySelectionExpression("apiKeySelectionExpression")
.basePath("basePath")
.body(body)
.bodyS3Location(BodyS3LocationProperty.builder()
.bucket("bucket")
.etag("etag")
.key("key")
.version("version")
.build())
.corsConfiguration(CorsProperty.builder()
.allowCredentials(false)
.allowHeaders(List.of("allowHeaders"))
.allowMethods(List.of("allowMethods"))
.allowOrigins(List.of("allowOrigins"))
.exposeHeaders(List.of("exposeHeaders"))
.maxAge(123)
.build())
.credentialsArn("credentialsArn")
.description("description")
.disableExecuteApiEndpoint(false)
.disableSchemaValidation(false)
.failOnWarnings(false)
.name("name")
.protocolType("protocolType")
.routeKey("routeKey")
.routeSelectionExpression("routeSelectionExpression")
.tags(tags)
.target("target")
.version("version")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApiProps.Builder
A builder for
CfnApiProps |
static class |
CfnApiProps.Jsii$Proxy
An implementation for
CfnApiProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnApiProps.Builder |
builder() |
default String |
getApiKeySelectionExpression()
`AWS::ApiGatewayV2::Api.ApiKeySelectionExpression`.
|
default String |
getBasePath()
`AWS::ApiGatewayV2::Api.BasePath`.
|
default Object |
getBody()
`AWS::ApiGatewayV2::Api.Body`.
|
default Object |
getBodyS3Location()
`AWS::ApiGatewayV2::Api.BodyS3Location`.
|
default Object |
getCorsConfiguration()
`AWS::ApiGatewayV2::Api.CorsConfiguration`.
|
default String |
getCredentialsArn()
`AWS::ApiGatewayV2::Api.CredentialsArn`.
|
default String |
getDescription()
`AWS::ApiGatewayV2::Api.Description`.
|
default Object |
getDisableExecuteApiEndpoint()
`AWS::ApiGatewayV2::Api.DisableExecuteApiEndpoint`.
|
default Object |
getDisableSchemaValidation()
`AWS::ApiGatewayV2::Api.DisableSchemaValidation`.
|
default Object |
getFailOnWarnings()
`AWS::ApiGatewayV2::Api.FailOnWarnings`.
|
default String |
getName()
`AWS::ApiGatewayV2::Api.Name`.
|
default String |
getProtocolType()
`AWS::ApiGatewayV2::Api.ProtocolType`.
|
default String |
getRouteKey()
`AWS::ApiGatewayV2::Api.RouteKey`.
|
default String |
getRouteSelectionExpression()
`AWS::ApiGatewayV2::Api.RouteSelectionExpression`.
|
default Object |
getTags()
`AWS::ApiGatewayV2::Api.Tags`.
|
default String |
getTarget()
`AWS::ApiGatewayV2::Api.Target`.
|
default String |
getVersion()
`AWS::ApiGatewayV2::Api.Version`.
|
@Stability(value=Stable) @Nullable default String getApiKeySelectionExpression()
@Stability(value=Stable) @Nullable default String getBasePath()
@Stability(value=Stable) @Nullable default Object getBody()
@Stability(value=Stable) @Nullable default Object getBodyS3Location()
@Stability(value=Stable) @Nullable default Object getCorsConfiguration()
@Stability(value=Stable) @Nullable default String getCredentialsArn()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getDisableExecuteApiEndpoint()
@Stability(value=Stable) @Nullable default Object getDisableSchemaValidation()
@Stability(value=Stable) @Nullable default Object getFailOnWarnings()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default String getProtocolType()
@Stability(value=Stable) @Nullable default String getRouteKey()
@Stability(value=Stable) @Nullable default String getRouteSelectionExpression()
@Stability(value=Stable) @Nullable default Object getTags()
@Stability(value=Stable) @Nullable default String getTarget()
@Stability(value=Stable) @Nullable default String getVersion()
@Stability(value=Stable) static CfnApiProps.Builder builder()
CfnApiProps.Builder of CfnApiPropsCopyright © 2021. All rights reserved.