Interface ILocation
An interface that represents the location of a specific object in an S3 Bucket.
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ILocation
Syntax (vb)
Public Interface 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
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. |
Properties
BucketName
The name of the S3 Bucket the object is in.
string BucketName { get; }
Property Value
System.String
ObjectKey
The path inside the Bucket where the object is located at.
string ObjectKey { get; }
Property Value
System.String
ObjectVersion
The S3 object version.
virtual string ObjectVersion { get; }
Property Value
System.String