Skip to content
v2.278.0

S3LocationProperty Struct ​

Represents an Amazon S3 location (bucket name, bucket owner, and object key) where DataBrew can read input data, or write output from a job.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_databrew as databrew } from 'aws-cdk-lib';
const s3LocationProperty: databrew.CfnRecipe.S3LocationProperty = {
  bucket: 'bucket',

  // the properties below are optional
  key: 'key',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_databrew as databrew

s3_location_property = databrew.CfnRecipe.S3LocationProperty(
    bucket="bucket",

    # the properties below are optional
    key="key"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.databrew.*;

S3LocationProperty s3LocationProperty = S3LocationProperty.builder()
        .bucket("bucket")

        // the properties below are optional
        .key("key")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataBrew;

var s3LocationProperty = new S3LocationProperty {
    Bucket = "bucket",

    // the properties below are optional
    Key = "key"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

s3LocationProperty := &S3LocationProperty{
	Bucket: jsii.String("bucket"),

	// the properties below are optional
	Key: jsii.String("key"),
}

Properties ​

bucketstringbucketstrbucketStringBucketstringBucket*string required #
The Amazon S3 bucket name.
keyoptionalstringkeyoptionalstrkeyoptionalStringKeyoptionalstringKeyoptional*string #
The unique name of the object in the bucket.