@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.082Z") @Stability(value=Stable) public interface ApiDefinitionConfig extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigateway.*;
Object inlineDefinition;
ApiDefinitionConfig apiDefinitionConfig = ApiDefinitionConfig.builder()
.inlineDefinition(inlineDefinition)
.s3Location(ApiDefinitionS3Location.builder()
.bucket("bucket")
.key("key")
// the properties below are optional
.version("version")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ApiDefinitionConfig.Builder
A builder for
ApiDefinitionConfig |
static class |
ApiDefinitionConfig.Jsii$Proxy
An implementation for
ApiDefinitionConfig |
| Modifier and Type | Method and Description |
|---|---|
static ApiDefinitionConfig.Builder |
builder() |
default Object |
getInlineDefinition()
Inline specification (mutually exclusive with `s3Location`).
|
default ApiDefinitionS3Location |
getS3Location()
The location of the specification in S3 (mutually exclusive with `inlineDefinition`).
|
@Stability(value=Stable) @Nullable default Object getInlineDefinition()
Default: - API definition is not defined inline
@Stability(value=Stable) @Nullable default ApiDefinitionS3Location getS3Location()
Default: - API definition is not an S3 location
@Stability(value=Stable) static ApiDefinitionConfig.Builder builder()
ApiDefinitionConfig.Builder of ApiDefinitionConfigCopyright © 2022. All rights reserved.