@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:41.048Z") @Stability(value=Experimental) 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()
(experimental) Inline specification (mutually exclusive with `s3Location`).
|
default ApiDefinitionS3Location |
getS3Location()
(experimental) The location of the specification in S3 (mutually exclusive with `inlineDefinition`).
|
@Stability(value=Experimental) @Nullable default Object getInlineDefinition()
Default: - API definition is not defined inline
@Stability(value=Experimental) @Nullable default ApiDefinitionS3Location getS3Location()
Default: - API definition is not an S3 location
@Stability(value=Experimental) static ApiDefinitionConfig.Builder builder()
ApiDefinitionConfig.Builder of ApiDefinitionConfigCopyright © 2022. All rights reserved.