Interface CfnApi.BodyS3LocationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApi.BodyS3LocationProperty.Jsii$Proxy
- Enclosing class:
- CfnApi
@Stability(Stable)
public static interface CfnApi.BodyS3LocationProperty
extends software.amazon.jsii.JsiiSerializable
The
BodyS3Location
property specifies an S3 location from which to import an OpenAPI definition.
Supported only for HTTP APIs.
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.apigatewayv2.*; BodyS3LocationProperty bodyS3LocationProperty = BodyS3LocationProperty.builder() .bucket("bucket") .etag("etag") .key("key") .version("version") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnApi.BodyS3LocationProperty
static final class
An implementation forCfnApi.BodyS3LocationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucket
The S3 bucket that contains the OpenAPI definition to import.Required if you specify a
BodyS3Location
for an API. -
getEtag
The Etag of the S3 object. -
getKey
The key of the S3 object.Required if you specify a
BodyS3Location
for an API. -
getVersion
The version of the S3 object. -
builder
-