Interface CfnApiV2Props
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApiV2Props.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.743Z")
@Stability(Deprecated)
@Deprecated
public interface CfnApiV2Props
extends software.amazon.jsii.JsiiSerializable
Deprecated.
moved to package aws-apigatewayv2
(deprecated) Properties for defining a
AWS::ApiGatewayV2::Api
.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Deprecated.static final class
Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnApiV2Props.Builder
builder()
Deprecated.default String
Deprecated.default String
Deprecated.default Object
getBody()
Deprecated.default Object
Deprecated.default Object
Deprecated.default String
Deprecated.default String
Deprecated.default Object
Deprecated.default Object
Deprecated.default String
getName()
Deprecated.default String
Deprecated.default String
Deprecated.default String
Deprecated.default Object
getTags()
Deprecated.default String
Deprecated.default String
Deprecated.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiKeySelectionExpression
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.ApiKeySelectionExpression
. -
getBasePath
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.BasePath
. -
getBody
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Body
. -
getBodyS3Location
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.BodyS3Location
. -
getCorsConfiguration
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.CorsConfiguration
. -
getCredentialsArn
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.CredentialsArn
. -
getDescription
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Description
. -
getDisableSchemaValidation
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.DisableSchemaValidation
. -
getFailOnWarnings
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.FailOnWarnings
. -
getName
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Name
. -
getProtocolType
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.ProtocolType
. -
getRouteKey
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.RouteKey
. -
getRouteSelectionExpression
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.RouteSelectionExpression
. -
getTags
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Tags
. -
getTarget
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Target
. -
getVersion
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Version
. -
builder
Deprecated.- Returns:
- a
CfnApiV2Props.Builder
ofCfnApiV2Props
-