Class HttpApiAttributes
Attributes for importing an HttpApi into the CDK.
Inheritance
System.Object
HttpApiAttributes
Implements
Namespace: Amazon.CDK.AWS.Apigatewayv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HttpApiAttributes : Object, IHttpApiAttributes
Syntax (vb)
Public Class HttpApiAttributes
Inherits Object
Implements IHttpApiAttributes
Remarks
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.Apigatewayv2;
var httpApiAttributes = new HttpApiAttributes {
HttpApiId = "httpApiId",
// the properties below are optional
ApiEndpoint = "apiEndpoint"
};
Synopsis
Constructors
HttpApiAttributes() |
Properties
ApiEndpoint | The endpoint URL of the HttpApi. |
HttpApiId | The identifier of the HttpApi. |
Constructors
HttpApiAttributes()
public HttpApiAttributes()
Properties
ApiEndpoint
The endpoint URL of the HttpApi.
public string ApiEndpoint { get; set; }
Property Value
System.String
Remarks
Default: - throws an error if apiEndpoint is accessed.
HttpApiId
The identifier of the HttpApi.
public string HttpApiId { get; set; }
Property Value
System.String