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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classDeprecated.static final classDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnApiV2Props.Builderbuilder()Deprecated.default StringDeprecated.default StringDeprecated.default ObjectgetBody()Deprecated.default ObjectDeprecated.default ObjectDeprecated.default StringDeprecated.default StringDeprecated.default ObjectDeprecated.default ObjectDeprecated.default StringgetName()Deprecated.default StringDeprecated.default StringDeprecated.default StringDeprecated.default ObjectgetTags()Deprecated.default StringDeprecated.default StringDeprecated.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.BuilderofCfnApiV2Props
-