Class CfnApiV2Props
- Namespace
- Amazon.CDK.AWS.APIGateway
- Assembly
- Amazon.CDK.AWS.APIGateway.dll
(deprecated) Properties for defining a AWS::ApiGatewayV2::Api
.
public class CfnApiV2Props : ICfnApiV2Props
- Inheritance
-
CfnApiV2Props
- Implements
- Inherited Members
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"
};
Remarks
Stability: Deprecated
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html
ExampleMetadata: fixture=_generated
Constructors
CfnApiV2Props()
public CfnApiV2Props()
Properties
ApiKeySelectionExpression
(deprecated) AWS::ApiGatewayV2::Api.ApiKeySelectionExpression
.
[Obsolete]
public string? ApiKeySelectionExpression { get; set; }
Property Value
Remarks
Stability: Deprecated
BasePath
(deprecated) AWS::ApiGatewayV2::Api.BasePath
.
[Obsolete]
public string? BasePath { get; set; }
Property Value
Remarks
Stability: Deprecated
Body
(deprecated) AWS::ApiGatewayV2::Api.Body
.
[Obsolete]
public object? Body { get; set; }
Property Value
Remarks
Stability: Deprecated
BodyS3Location
(deprecated) AWS::ApiGatewayV2::Api.BodyS3Location
.
[Obsolete]
public object? BodyS3Location { get; set; }
Property Value
Remarks
Stability: Deprecated
CorsConfiguration
(deprecated) AWS::ApiGatewayV2::Api.CorsConfiguration
.
[Obsolete]
public object? CorsConfiguration { get; set; }
Property Value
Remarks
Stability: Deprecated
CredentialsArn
(deprecated) AWS::ApiGatewayV2::Api.CredentialsArn
.
[Obsolete]
public string? CredentialsArn { get; set; }
Property Value
Remarks
Stability: Deprecated
Description
(deprecated) AWS::ApiGatewayV2::Api.Description
.
[Obsolete]
public string? Description { get; set; }
Property Value
Remarks
Stability: Deprecated
DisableSchemaValidation
(deprecated) AWS::ApiGatewayV2::Api.DisableSchemaValidation
.
[Obsolete]
public object? DisableSchemaValidation { get; set; }
Property Value
Remarks
Stability: Deprecated
FailOnWarnings
(deprecated) AWS::ApiGatewayV2::Api.FailOnWarnings
.
[Obsolete]
public object? FailOnWarnings { get; set; }
Property Value
Remarks
Stability: Deprecated
Name
(deprecated) AWS::ApiGatewayV2::Api.Name
.
[Obsolete]
public string? Name { get; set; }
Property Value
Remarks
Stability: Deprecated
ProtocolType
(deprecated) AWS::ApiGatewayV2::Api.ProtocolType
.
[Obsolete]
public string? ProtocolType { get; set; }
Property Value
Remarks
Stability: Deprecated
RouteKey
(deprecated) AWS::ApiGatewayV2::Api.RouteKey
.
[Obsolete]
public string? RouteKey { get; set; }
Property Value
Remarks
Stability: Deprecated
RouteSelectionExpression
(deprecated) AWS::ApiGatewayV2::Api.RouteSelectionExpression
.
[Obsolete]
public string? RouteSelectionExpression { get; set; }
Property Value
Remarks
Stability: Deprecated
Tags
(deprecated) AWS::ApiGatewayV2::Api.Tags
.
[Obsolete]
public object? Tags { get; set; }
Property Value
Remarks
Stability: Deprecated
Target
(deprecated) AWS::ApiGatewayV2::Api.Target
.
[Obsolete]
public string? Target { get; set; }
Property Value
Remarks
Stability: Deprecated
Version
(deprecated) AWS::ApiGatewayV2::Api.Version
.
[Obsolete]
public string? Version { get; set; }