Class InlineApiDefinition
OpenAPI specification from an inline JSON object.
Inherited Members
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.AWS.APIGateway.dll
Syntax (csharp)
public class InlineApiDefinition : ApiDefinition
Syntax (vb)
Public Class InlineApiDefinition
Inherits ApiDefinition
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.APIGateway;
var definition;
var inlineApiDefinition = new InlineApiDefinition(definition);
Synopsis
Constructors
InlineApiDefinition(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
InlineApiDefinition(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
InlineApiDefinition(Object) |
Methods
Bind(Construct) | Called when the specification is initialized to allow this object to bind to the stack, add resources and have fun. |
Constructors
InlineApiDefinition(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected InlineApiDefinition(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
InlineApiDefinition(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected InlineApiDefinition(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
InlineApiDefinition(Object)
public InlineApiDefinition(object definition)
Parameters
- definition System.Object
Methods
Bind(Construct)
Called when the specification is initialized to allow this object to bind to the stack, add resources and have fun.
public override IApiDefinitionConfig Bind(Construct scope)
Parameters
- scope Construct
Returns