Show / Hide Table of Contents

Class Location

An interface that represents the location of a specific object in an S3 Bucket.

Inheritance
System.Object
Location
Implements
ILocation
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public class Location : Object, ILocation
Syntax (vb)
Public Class Location
    Inherits Object
    Implements ILocation
Remarks

ExampleMetadata: infused

Examples
AthenaStartQueryExecution 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

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

Implements

ILocation
Back to top Generated by DocFX