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();
- See Also:
-
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
.- See Also:
-
getBasePath
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.BasePath
.- See Also:
-
getBody
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Body
.- See Also:
-
getBodyS3Location
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.BodyS3Location
.- See Also:
-
getCorsConfiguration
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.CorsConfiguration
.- See Also:
-
getCredentialsArn
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.CredentialsArn
.- See Also:
-
getDescription
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Description
.- See Also:
-
getDisableSchemaValidation
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.DisableSchemaValidation
.- See Also:
-
getFailOnWarnings
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.FailOnWarnings
.- See Also:
-
getName
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Name
.- See Also:
-
getProtocolType
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.ProtocolType
.- See Also:
-
getRouteKey
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.RouteKey
.- See Also:
-
getRouteSelectionExpression
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.RouteSelectionExpression
.- See Also:
-
getTags
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Tags
.- See Also:
-
getTarget
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Target
.- See Also:
-
getVersion
Deprecated.(deprecated)AWS::ApiGatewayV2::Api.Version
.- See Also:
-
builder
Deprecated.- Returns:
- a
CfnApiV2Props.Builder
ofCfnApiV2Props
-