Interface CfnRestApi.S3LocationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRestApi.S3LocationProperty.Jsii$Proxy
Enclosing class:
CfnRestApi

@Stability(Stable) public static interface CfnRestApi.S3LocationProperty extends software.amazon.jsii.JsiiSerializable
S3Location is a property of the AWS::ApiGateway::RestApi resource that specifies the Amazon S3 location of a OpenAPI (formerly Swagger) file that defines a set of RESTful APIs in JSON or YAML.

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();
 

See Also: