Class Location
An interface that represents the location of a specific object in an S3 Bucket.
Inheritance
System.Object
Location
Implements
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class Location : Object, ILocation
Syntax (vb)
Public Class Location
Inherits Object
Implements ILocation
Remarks
ExampleMetadata: infused
Examples
var startQueryExecutionJob = new AthenaStartQueryExecution(this, "Start Athena Query", new AthenaStartQueryExecutionProps {
QueryString = JsonPath.StringAt("$.queryString"),
QueryExecutionContext = new QueryExecutionContext {
DatabaseName = "mydatabase"
},
ResultConfiguration = new ResultConfiguration {
EncryptionConfiguration = new EncryptionConfiguration {
EncryptionOption = EncryptionOption.S3_MANAGED
},
OutputLocation = new Location {
BucketName = "query-results-bucket",
ObjectKey = "folder"
}
},
ExecutionParameters = new [] { "param1", "param2" },
ResultReuseConfigurationMaxAge = Duration.Minutes(100)
});
Synopsis
Constructors
Location() |
Properties
BucketName | The name of the S3 Bucket the object is in. |
ObjectKey | The path inside the Bucket where the object is located at. |
ObjectVersion | The S3 object version. |
Constructors
Location()
public Location()
Properties
BucketName
The name of the S3 Bucket the object is in.
public string BucketName { get; set; }
Property Value
System.String
ObjectKey
The path inside the Bucket where the object is located at.
public string ObjectKey { get; set; }
Property Value
System.String
ObjectVersion
The S3 object version.
public string ObjectVersion { get; set; }
Property Value
System.String