Class ApiDefinitionConfig
Post-Binding Configuration for a CDK construct.
Inheritance
System.Object
ApiDefinitionConfig
Implements
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.AWS.APIGateway.dll
Syntax (csharp)
public class ApiDefinitionConfig : Object, IApiDefinitionConfig
Syntax (vb)
Public Class ApiDefinitionConfig
Inherits Object
Implements IApiDefinitionConfig
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 inlineDefinition;
var apiDefinitionConfig = new ApiDefinitionConfig {
InlineDefinition = inlineDefinition,
S3Location = new ApiDefinitionS3Location {
Bucket = "bucket",
Key = "key",
// the properties below are optional
Version = "version"
}
};
Synopsis
Constructors
ApiDefinitionConfig() |
Properties
InlineDefinition | Inline specification (mutually exclusive with |
S3Location | The location of the specification in S3 (mutually exclusive with |
Constructors
ApiDefinitionConfig()
public ApiDefinitionConfig()
Properties
InlineDefinition
Inline specification (mutually exclusive with s3Location
).
public object InlineDefinition { get; set; }
Property Value
System.Object
Remarks
Default: - API definition is not defined inline
S3Location
The location of the specification in S3 (mutually exclusive with inlineDefinition
).
public IApiDefinitionS3Location S3Location { get; set; }
Property Value
Remarks
Default: - API definition is not an S3 location