@Stability(value=Stable)
public static interface CfnApi.BodyS3LocationProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApi.BodyS3LocationProperty.Builder
A builder for
CfnApi.BodyS3LocationProperty |
static class |
CfnApi.BodyS3LocationProperty.Jsii$Proxy
An implementation for
CfnApi.BodyS3LocationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApi.BodyS3LocationProperty.Builder |
builder() |
default String |
getBucket()
The S3 bucket that contains the OpenAPI definition to import.
|
default String |
getEtag()
The Etag of the S3 object.
|
default String |
getKey()
The key of the S3 object.
|
default String |
getVersion()
The version of the S3 object.
|
@Stability(value=Stable) @Nullable default String getBucket()
Required if you specify a BodyS3Location for an API.
@Stability(value=Stable) @Nullable default String getEtag()
@Stability(value=Stable) @Nullable default String getKey()
Required if you specify a BodyS3Location for an API.
@Stability(value=Stable) @Nullable default String getVersion()
@Stability(value=Stable) static CfnApi.BodyS3LocationProperty.Builder builder()
Copyright © 2022. All rights reserved.