Class ApiDefinitionS3Location
- Namespace
- Amazon.CDK.AWS.APIGateway
- Assembly
- Amazon.CDK.AWS.APIGateway.dll
S3 location of the API definition file.
public class ApiDefinitionS3Location : IApiDefinitionS3Location
- Inheritance
-
ApiDefinitionS3Location
- Implements
- Inherited Members
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGateway;
var apiDefinitionS3Location = new ApiDefinitionS3Location {
Bucket = "bucket",
Key = "key",
// the properties below are optional
Version = "version"
};
Remarks
ExampleMetadata: fixture=_generated
Constructors
ApiDefinitionS3Location()
public ApiDefinitionS3Location()
Properties
Bucket
The S3 bucket.
public string Bucket { get; set; }
Property Value
Key
The S3 key.
public string Key { get; set; }
Property Value
Version
An optional version.
public string? Version { get; set; }
Property Value
Remarks
Default: - latest version