CfnApiV2Props

class aws_cdk.aws_apigateway.CfnApiV2Props(*, api_key_selection_expression=None, base_path=None, body=None, body_s3_location=None, cors_configuration=None, credentials_arn=None, description=None, disable_schema_validation=None, fail_on_warnings=None, name=None, protocol_type=None, route_key=None, route_selection_expression=None, tags=None, target=None, version=None)

Bases: object

(deprecated) Properties for defining a AWS::ApiGatewayV2::Api.

Parameters:
  • api_key_selection_expression (Optional[str]) – (deprecated) AWS::ApiGatewayV2::Api.ApiKeySelectionExpression.

  • base_path (Optional[str]) – (deprecated) AWS::ApiGatewayV2::Api.BasePath.

  • body (Optional[Any]) – (deprecated) AWS::ApiGatewayV2::Api.Body.

  • body_s3_location (Union[IResolvable, BodyS3LocationProperty, Dict[str, Any], None]) – (deprecated) AWS::ApiGatewayV2::Api.BodyS3Location.

  • cors_configuration (Union[IResolvable, CorsProperty, Dict[str, Any], None]) – (deprecated) AWS::ApiGatewayV2::Api.CorsConfiguration.

  • credentials_arn (Optional[str]) – (deprecated) AWS::ApiGatewayV2::Api.CredentialsArn.

  • description (Optional[str]) – (deprecated) AWS::ApiGatewayV2::Api.Description.

  • disable_schema_validation (Union[bool, IResolvable, None]) – (deprecated) AWS::ApiGatewayV2::Api.DisableSchemaValidation.

  • fail_on_warnings (Union[bool, IResolvable, None]) – (deprecated) AWS::ApiGatewayV2::Api.FailOnWarnings.

  • name (Optional[str]) – (deprecated) AWS::ApiGatewayV2::Api.Name.

  • protocol_type (Optional[str]) – (deprecated) AWS::ApiGatewayV2::Api.ProtocolType.

  • route_key (Optional[str]) – (deprecated) AWS::ApiGatewayV2::Api.RouteKey.

  • route_selection_expression (Optional[str]) – (deprecated) AWS::ApiGatewayV2::Api.RouteSelectionExpression.

  • tags (Optional[Any]) – (deprecated) AWS::ApiGatewayV2::Api.Tags.

  • target (Optional[str]) – (deprecated) AWS::ApiGatewayV2::Api.Target.

  • version (Optional[str]) – (deprecated) AWS::ApiGatewayV2::Api.Version.

Deprecated:

moved to package aws-apigatewayv2

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html

Stability:

deprecated

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_apigateway as apigateway

# body: Any
# tags: Any

cfn_api_v2_props = apigateway.CfnApiV2Props(
    api_key_selection_expression="apiKeySelectionExpression",
    base_path="basePath",
    body=body,
    body_s3_location=apigateway.CfnApiV2.BodyS3LocationProperty(
        bucket="bucket",
        etag="etag",
        key="key",
        version="version"
    ),
    cors_configuration=apigateway.CfnApiV2.CorsProperty(
        allow_credentials=False,
        allow_headers=["allowHeaders"],
        allow_methods=["allowMethods"],
        allow_origins=["allowOrigins"],
        expose_headers=["exposeHeaders"],
        max_age=123
    ),
    credentials_arn="credentialsArn",
    description="description",
    disable_schema_validation=False,
    fail_on_warnings=False,
    name="name",
    protocol_type="protocolType",
    route_key="routeKey",
    route_selection_expression="routeSelectionExpression",
    tags=tags,
    target="target",
    version="version"
)

Attributes

api_key_selection_expression

(deprecated) AWS::ApiGatewayV2::Api.ApiKeySelectionExpression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-apikeyselectionexpression

Stability:

deprecated

base_path

(deprecated) AWS::ApiGatewayV2::Api.BasePath.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-basepath

Stability:

deprecated

body

(deprecated) AWS::ApiGatewayV2::Api.Body.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-body

Stability:

deprecated

body_s3_location

(deprecated) AWS::ApiGatewayV2::Api.BodyS3Location.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-bodys3location

Stability:

deprecated

cors_configuration

(deprecated) AWS::ApiGatewayV2::Api.CorsConfiguration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-corsconfiguration

Stability:

deprecated

credentials_arn

(deprecated) AWS::ApiGatewayV2::Api.CredentialsArn.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-credentialsarn

Stability:

deprecated

description

(deprecated) AWS::ApiGatewayV2::Api.Description.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-description

Stability:

deprecated

disable_schema_validation

(deprecated) AWS::ApiGatewayV2::Api.DisableSchemaValidation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-disableschemavalidation

Stability:

deprecated

fail_on_warnings

(deprecated) AWS::ApiGatewayV2::Api.FailOnWarnings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-failonwarnings

Stability:

deprecated

name

(deprecated) AWS::ApiGatewayV2::Api.Name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-name

Stability:

deprecated

protocol_type

(deprecated) AWS::ApiGatewayV2::Api.ProtocolType.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-protocoltype

Stability:

deprecated

route_key

(deprecated) AWS::ApiGatewayV2::Api.RouteKey.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-routekey

Stability:

deprecated

route_selection_expression

(deprecated) AWS::ApiGatewayV2::Api.RouteSelectionExpression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-routeselectionexpression

Stability:

deprecated

tags

(deprecated) AWS::ApiGatewayV2::Api.Tags.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-tags

Stability:

deprecated

target

(deprecated) AWS::ApiGatewayV2::Api.Target.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-target

Stability:

deprecated

version

(deprecated) AWS::ApiGatewayV2::Api.Version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-version

Stability:

deprecated