@Stability(value=Stable)
public static interface CfnRestApi.S3LocationProperty
extends software.amazon.jsii.JsiiSerializable
On January 1, 2016, the Swagger Specification was donated to the OpenAPI initiative , becoming the foundation of the OpenAPI Specification.
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.*;
S3LocationProperty s3LocationProperty = S3LocationProperty.builder()
.bucket("bucket")
.eTag("eTag")
.key("key")
.version("version")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRestApi.S3LocationProperty.Builder
A builder for
CfnRestApi.S3LocationProperty |
static class |
CfnRestApi.S3LocationProperty.Jsii$Proxy
An implementation for
CfnRestApi.S3LocationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRestApi.S3LocationProperty.Builder |
builder() |
default String |
getBucket()
The name of the S3 bucket where the OpenAPI file is stored.
|
default String |
getETag()
The Amazon S3 ETag (a file checksum) of the OpenAPI file.
|
default String |
getKey()
The file name of the OpenAPI file (Amazon S3 object name).
|
default String |
getVersion()
For versioning-enabled buckets, a specific version of the OpenAPI file.
|
@Stability(value=Stable) @Nullable default String getBucket()
@Stability(value=Stable) @Nullable default String getETag()
If you don't specify a value, API Gateway skips ETag validation of your OpenAPI file.
@Stability(value=Stable) @Nullable default String getKey()
@Stability(value=Stable) @Nullable default String getVersion()
@Stability(value=Stable) static CfnRestApi.S3LocationProperty.Builder builder()
Copyright © 2022. All rights reserved.