Show / Hide Table of Contents

Class CfnApiV2Props

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

Inheritance
System.Object
CfnApiV2Props
Implements
ICfnApiV2Props
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.AWS.APIGateway.dll
Syntax (csharp)
public class CfnApiV2Props : Object, ICfnApiV2Props
Syntax (vb)
Public Class CfnApiV2Props
    Inherits Object
    Implements ICfnApiV2Props
Remarks

Stability: Deprecated

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

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGateway;

var body;
var tags;

var cfnApiV2Props = new CfnApiV2Props {
    ApiKeySelectionExpression = "apiKeySelectionExpression",
    BasePath = "basePath",
    Body = body,
    BodyS3Location = new BodyS3LocationProperty {
        Bucket = "bucket",
        Etag = "etag",
        Key = "key",
        Version = "version"
    },
    CorsConfiguration = new CorsProperty {
        AllowCredentials = false,
        AllowHeaders = new [] { "allowHeaders" },
        AllowMethods = new [] { "allowMethods" },
        AllowOrigins = new [] { "allowOrigins" },
        ExposeHeaders = new [] { "exposeHeaders" },
        MaxAge = 123
    },
    CredentialsArn = "credentialsArn",
    Description = "description",
    DisableSchemaValidation = false,
    FailOnWarnings = false,
    Name = "name",
    ProtocolType = "protocolType",
    RouteKey = "routeKey",
    RouteSelectionExpression = "routeSelectionExpression",
    Tags = tags,
    Target = "target",
    Version = "version"
};

Synopsis

Constructors

CfnApiV2Props()

Properties

ApiKeySelectionExpression

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

BasePath

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

Body

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

BodyS3Location

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

CorsConfiguration

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

CredentialsArn

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

Description

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

DisableSchemaValidation

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

FailOnWarnings

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

Name

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

ProtocolType

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

RouteKey

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

RouteSelectionExpression

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

Tags

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

Target

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

Version

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

Constructors

CfnApiV2Props()

public CfnApiV2Props()

Properties

ApiKeySelectionExpression

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

public string ApiKeySelectionExpression { get; set; }
Property Value

System.String

Remarks

Stability: Deprecated

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

BasePath

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

public string BasePath { get; set; }
Property Value

System.String

Remarks

Stability: Deprecated

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

Body

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

public object Body { get; set; }
Property Value

System.Object

Remarks

Stability: Deprecated

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

BodyS3Location

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

public object BodyS3Location { get; set; }
Property Value

System.Object

Remarks

Stability: Deprecated

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

CorsConfiguration

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

public object CorsConfiguration { get; set; }
Property Value

System.Object

Remarks

Stability: Deprecated

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

CredentialsArn

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

public string CredentialsArn { get; set; }
Property Value

System.String

Remarks

Stability: Deprecated

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

Description

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

public string Description { get; set; }
Property Value

System.String

Remarks

Stability: Deprecated

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

DisableSchemaValidation

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

public object DisableSchemaValidation { get; set; }
Property Value

System.Object

Remarks

Stability: Deprecated

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

FailOnWarnings

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

public object FailOnWarnings { get; set; }
Property Value

System.Object

Remarks

Stability: Deprecated

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

Name

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

public string Name { get; set; }
Property Value

System.String

Remarks

Stability: Deprecated

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

ProtocolType

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

public string ProtocolType { get; set; }
Property Value

System.String

Remarks

Stability: Deprecated

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

RouteKey

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

public string RouteKey { get; set; }
Property Value

System.String

Remarks

Stability: Deprecated

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

RouteSelectionExpression

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

public string RouteSelectionExpression { get; set; }
Property Value

System.String

Remarks

Stability: Deprecated

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

Tags

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

public object Tags { get; set; }
Property Value

System.Object

Remarks

Stability: Deprecated

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

Target

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

public string Target { get; set; }
Property Value

System.String

Remarks

Stability: Deprecated

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

Version

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

public string Version { get; set; }
Property Value

System.String

Remarks

Stability: Deprecated

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

Implements

ICfnApiV2Props
Back to top Generated by DocFX