Class HttpApiAttributes
(experimental) Attributes for importing an HttpApi into the CDK.
Inheritance
System.Object
HttpApiAttributes
Implements
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public class HttpApiAttributes : Object, IHttpApiAttributes
Syntax (vb)
Public Class HttpApiAttributes
Inherits Object
Implements IHttpApiAttributes
Remarks
Stability: Experimental
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 | (experimental) The endpoint URL of the HttpApi. |
HttpApiId | (experimental) The identifier of the HttpApi. |
Constructors
HttpApiAttributes()
public HttpApiAttributes()
Properties
ApiEndpoint
(experimental) The endpoint URL of the HttpApi.
public string ApiEndpoint { get; set; }
Property Value
System.String
Remarks
Default: - throws an error if apiEndpoint is accessed.
Stability: Experimental
HttpApiId
(experimental) The identifier of the HttpApi.
public string HttpApiId { get; set; }
Property Value
System.String
Remarks
Stability: Experimental