Class CfnApi.BodyS3LocationProperty
The BodyS3Location
property specifies an S3 location from which to import an OpenAPI definition.
Inheritance
System.Object
CfnApi.BodyS3LocationProperty
Implements
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public class BodyS3LocationProperty : Object, CfnApi.IBodyS3LocationProperty
Syntax (vb)
Public Class BodyS3LocationProperty
Inherits Object
Implements CfnApi.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
Constructors
BodyS3LocationProperty() |
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. |
Constructors
BodyS3LocationProperty()
public BodyS3LocationProperty()
Properties
Bucket
The S3 bucket that contains the OpenAPI definition to import.
public string Bucket { get; set; }
Property Value
System.String
Remarks
Required if you specify a BodyS3Location
for an API.
Etag
The Etag of the S3 object.
public string Etag { get; set; }
Property Value
System.String
Remarks
Key
The key of the S3 object.
public string Key { get; set; }
Property Value
System.String
Remarks
Required if you specify a BodyS3Location
for an API.
Version
The version of the S3 object.
public string Version { get; set; }
Property Value
System.String