Interface CfnApi.IBodyS3LocationProperty
The BodyS3Location
property specifies an S3 location from which to import an OpenAPI definition.
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public interface IBodyS3LocationProperty
Syntax (vb)
Public Interface IBodyS3LocationProperty
Remarks
Supported only for HTTP APIs.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGatewayv2;
var bodyS3LocationProperty = new BodyS3LocationProperty {
Bucket = "bucket",
Etag = "etag",
Key = "key",
Version = "version"
};
Synopsis
Properties
Bucket | The S3 bucket that contains the OpenAPI definition to import. |
Etag | The Etag of the S3 object. |
Key | The key of the S3 object. |
Version | The version of the S3 object. |
Properties
Bucket
The S3 bucket that contains the OpenAPI definition to import.
virtual string Bucket { get; }
Property Value
System.String
Remarks
Required if you specify a BodyS3Location
for an API.
Etag
The Etag of the S3 object.
virtual string Etag { get; }
Property Value
System.String
Remarks
Key
The key of the S3 object.
virtual string Key { get; }
Property Value
System.String
Remarks
Required if you specify a BodyS3Location
for an API.
Version
The version of the S3 object.
virtual string Version { get; }
Property Value
System.String