Interface ILocation
An interface that represents the location of a specific object in an S3 Bucket.
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public interface ILocation
Syntax (vb)
Public Interface ILocation
Remarks
ExampleMetadata: infused
Examples
var startQueryExecutionJob = new AthenaStartQueryExecution(this, "Athena Start Query", new AthenaStartQueryExecutionProps {
QueryString = JsonPath.Format("select contacts where year={};", JsonPath.StringAt("$.year")),
QueryExecutionContext = new QueryExecutionContext {
DatabaseName = "interactions"
},
ResultConfiguration = new ResultConfiguration {
EncryptionConfiguration = new EncryptionConfiguration {
EncryptionOption = EncryptionOption.S3_MANAGED
},
OutputLocation = new Location {
BucketName = "mybucket",
ObjectKey = "myprefix"
}
},
IntegrationPattern = IntegrationPattern.RUN_JOB
});
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