@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:01.564Z") @Stability(value=Deprecated) @Deprecated public interface CfnApiV2Props 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.apigateway.*;
Object body;
Object tags;
CfnApiV2Props cfnApiV2Props = CfnApiV2Props.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")
.disableSchemaValidation(false)
.failOnWarnings(false)
.name("name")
.protocolType("protocolType")
.routeKey("routeKey")
.routeSelectionExpression("routeSelectionExpression")
.tags(tags)
.target("target")
.version("version")
.build();
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApiV2Props.Builder
Deprecated.
|
static class |
CfnApiV2Props.Jsii$Proxy
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static CfnApiV2Props.Builder |
builder()
Deprecated.
|
default String |
getApiKeySelectionExpression()
Deprecated.
|
default String |
getBasePath()
Deprecated.
|
default Object |
getBody()
Deprecated.
|
default Object |
getBodyS3Location()
Deprecated.
|
default Object |
getCorsConfiguration()
Deprecated.
|
default String |
getCredentialsArn()
Deprecated.
|
default String |
getDescription()
Deprecated.
|
default Object |
getDisableSchemaValidation()
Deprecated.
|
default Object |
getFailOnWarnings()
Deprecated.
|
default String |
getName()
Deprecated.
|
default String |
getProtocolType()
Deprecated.
|
default String |
getRouteKey()
Deprecated.
|
default String |
getRouteSelectionExpression()
Deprecated.
|
default Object |
getTags()
Deprecated.
|
default String |
getTarget()
Deprecated.
|
default String |
getVersion()
Deprecated.
|
@Stability(value=Deprecated) @Deprecated @Nullable default String getApiKeySelectionExpression()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-apikeyselectionexpression@Stability(value=Deprecated) @Deprecated @Nullable default String getBasePath()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-basepath@Stability(value=Deprecated) @Deprecated @Nullable default Object getBody()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-body@Stability(value=Deprecated) @Deprecated @Nullable default Object getBodyS3Location()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-bodys3location@Stability(value=Deprecated) @Deprecated @Nullable default Object getCorsConfiguration()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-corsconfiguration@Stability(value=Deprecated) @Deprecated @Nullable default String getCredentialsArn()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-credentialsarn@Stability(value=Deprecated) @Deprecated @Nullable default String getDescription()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-description@Stability(value=Deprecated) @Deprecated @Nullable default Object getDisableSchemaValidation()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-disableschemavalidation@Stability(value=Deprecated) @Deprecated @Nullable default Object getFailOnWarnings()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-failonwarnings@Stability(value=Deprecated) @Deprecated @Nullable default String getName()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-name@Stability(value=Deprecated) @Deprecated @Nullable default String getProtocolType()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-protocoltype@Stability(value=Deprecated) @Deprecated @Nullable default String getRouteKey()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-routekey@Stability(value=Deprecated) @Deprecated @Nullable default String getRouteSelectionExpression()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-routeselectionexpression@Stability(value=Deprecated) @Deprecated @Nullable default Object getTags()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-tags@Stability(value=Deprecated) @Deprecated @Nullable default String getTarget()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-target@Stability(value=Deprecated) @Deprecated @Nullable default String getVersion()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-version@Stability(value=Deprecated) @Deprecated static CfnApiV2Props.Builder builder()
CfnApiV2Props.Builder of CfnApiV2PropsCopyright © 2022. All rights reserved.