Class CfnApiV2Props
(deprecated) Properties for defining a AWS::ApiGatewayV2::Api
.
Inheritance
Implements
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) |
BasePath | (deprecated) |
Body | (deprecated) |
BodyS3Location | (deprecated) |
CorsConfiguration | (deprecated) |
CredentialsArn | (deprecated) |
Description | (deprecated) |
DisableSchemaValidation | (deprecated) |
FailOnWarnings | (deprecated) |
Name | (deprecated) |
ProtocolType | (deprecated) |
RouteKey | (deprecated) |
RouteSelectionExpression | (deprecated) |
Tags | (deprecated) |
Target | (deprecated) |
Version | (deprecated) |
Constructors
CfnApiV2Props()
public CfnApiV2Props()
Properties
ApiKeySelectionExpression
(deprecated) AWS::ApiGatewayV2::Api.ApiKeySelectionExpression
.
public string ApiKeySelectionExpression { get; set; }
Property Value
System.String
Remarks
BasePath
(deprecated) AWS::ApiGatewayV2::Api.BasePath
.
public string BasePath { get; set; }
Property Value
System.String
Remarks
Body
(deprecated) AWS::ApiGatewayV2::Api.Body
.
public object Body { get; set; }
Property Value
System.Object
Remarks
BodyS3Location
(deprecated) AWS::ApiGatewayV2::Api.BodyS3Location
.
public object BodyS3Location { get; set; }
Property Value
System.Object
Remarks
CorsConfiguration
(deprecated) AWS::ApiGatewayV2::Api.CorsConfiguration
.
public object CorsConfiguration { get; set; }
Property Value
System.Object
Remarks
CredentialsArn
(deprecated) AWS::ApiGatewayV2::Api.CredentialsArn
.
public string CredentialsArn { get; set; }
Property Value
System.String
Remarks
Description
(deprecated) AWS::ApiGatewayV2::Api.Description
.
public string Description { get; set; }
Property Value
System.String
Remarks
DisableSchemaValidation
(deprecated) AWS::ApiGatewayV2::Api.DisableSchemaValidation
.
public object DisableSchemaValidation { get; set; }
Property Value
System.Object
Remarks
FailOnWarnings
(deprecated) AWS::ApiGatewayV2::Api.FailOnWarnings
.
public object FailOnWarnings { get; set; }
Property Value
System.Object
Remarks
Name
(deprecated) AWS::ApiGatewayV2::Api.Name
.
public string Name { get; set; }
Property Value
System.String
Remarks
ProtocolType
(deprecated) AWS::ApiGatewayV2::Api.ProtocolType
.
public string ProtocolType { get; set; }
Property Value
System.String
Remarks
RouteKey
(deprecated) AWS::ApiGatewayV2::Api.RouteKey
.
public string RouteKey { get; set; }
Property Value
System.String
Remarks
RouteSelectionExpression
(deprecated) AWS::ApiGatewayV2::Api.RouteSelectionExpression
.
public string RouteSelectionExpression { get; set; }
Property Value
System.String
Remarks
Tags
(deprecated) AWS::ApiGatewayV2::Api.Tags
.
public object Tags { get; set; }
Property Value
System.Object
Remarks
Target
(deprecated) AWS::ApiGatewayV2::Api.Target
.
public string Target { get; set; }
Property Value
System.String
Remarks
Version
(deprecated) AWS::ApiGatewayV2::Api.Version
.
public string Version { get; set; }
Property Value
System.String