Interface ICfnApiV2Props
(deprecated) Properties for defining a AWS::ApiGatewayV2::Api
.
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.AWS.APIGateway.dll
Syntax (csharp)
public interface ICfnApiV2Props
Syntax (vb)
Public Interface 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
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) |
Properties
ApiKeySelectionExpression
(deprecated) AWS::ApiGatewayV2::Api.ApiKeySelectionExpression
.
virtual string ApiKeySelectionExpression { get; }
Property Value
System.String
Remarks
BasePath
(deprecated) AWS::ApiGatewayV2::Api.BasePath
.
virtual string BasePath { get; }
Property Value
System.String
Remarks
Body
(deprecated) AWS::ApiGatewayV2::Api.Body
.
virtual object Body { get; }
Property Value
System.Object
Remarks
BodyS3Location
(deprecated) AWS::ApiGatewayV2::Api.BodyS3Location
.
virtual object BodyS3Location { get; }
Property Value
System.Object
Remarks
CorsConfiguration
(deprecated) AWS::ApiGatewayV2::Api.CorsConfiguration
.
virtual object CorsConfiguration { get; }
Property Value
System.Object
Remarks
CredentialsArn
(deprecated) AWS::ApiGatewayV2::Api.CredentialsArn
.
virtual string CredentialsArn { get; }
Property Value
System.String
Remarks
Description
(deprecated) AWS::ApiGatewayV2::Api.Description
.
virtual string Description { get; }
Property Value
System.String
Remarks
DisableSchemaValidation
(deprecated) AWS::ApiGatewayV2::Api.DisableSchemaValidation
.
virtual object DisableSchemaValidation { get; }
Property Value
System.Object
Remarks
FailOnWarnings
(deprecated) AWS::ApiGatewayV2::Api.FailOnWarnings
.
virtual object FailOnWarnings { get; }
Property Value
System.Object
Remarks
Name
(deprecated) AWS::ApiGatewayV2::Api.Name
.
virtual string Name { get; }
Property Value
System.String
Remarks
ProtocolType
(deprecated) AWS::ApiGatewayV2::Api.ProtocolType
.
virtual string ProtocolType { get; }
Property Value
System.String
Remarks
RouteKey
(deprecated) AWS::ApiGatewayV2::Api.RouteKey
.
virtual string RouteKey { get; }
Property Value
System.String
Remarks
RouteSelectionExpression
(deprecated) AWS::ApiGatewayV2::Api.RouteSelectionExpression
.
virtual string RouteSelectionExpression { get; }
Property Value
System.String
Remarks
Tags
(deprecated) AWS::ApiGatewayV2::Api.Tags
.
virtual object Tags { get; }
Property Value
System.Object
Remarks
Target
(deprecated) AWS::ApiGatewayV2::Api.Target
.
virtual string Target { get; }
Property Value
System.String
Remarks
Version
(deprecated) AWS::ApiGatewayV2::Api.Version
.
virtual string Version { get; }
Property Value
System.String