S3BucketSourceProperty Struct
The S3 bucket that is being imported from.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dynamodb as dynamodb } from 'aws-cdk-lib';
const s3BucketSourceProperty: dynamodb.CfnTable.S3BucketSourceProperty = {
s3Bucket: 's3Bucket',
// the properties below are optional
s3BucketOwner: 's3BucketOwner',
s3KeyPrefix: 's3KeyPrefix',
};
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_dynamodb as dynamodb
s3_bucket_source_property = dynamodb.CfnTable.S3BucketSourceProperty(
s3_bucket="s3Bucket",
# the properties below are optional
s3_bucket_owner="s3BucketOwner",
s3_key_prefix="s3KeyPrefix"
)
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.dynamodb.*;
S3BucketSourceProperty s3BucketSourceProperty = S3BucketSourceProperty.builder()
.s3Bucket("s3Bucket")
// the properties below are optional
.s3BucketOwner("s3BucketOwner")
.s3KeyPrefix("s3KeyPrefix")
.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.DynamoDB;
var s3BucketSourceProperty = new S3BucketSourceProperty {
S3Bucket = "s3Bucket",
// the properties below are optional
S3BucketOwner = "s3BucketOwner",
S3KeyPrefix = "s3KeyPrefix"
};
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"
s3BucketSourceProperty := &S3BucketSourceProperty{
S3Bucket: jsii.String("s3Bucket"),
// the properties below are optional
S3BucketOwner: jsii.String("s3BucketOwner"),
S3KeyPrefix: jsii.String("s3KeyPrefix"),
}
Properties
The S3 bucket that is being imported from.
s3BucketOwneroptionalstrings3_bucket_owneroptionalstrs3BucketOwneroptionalStringS3BucketOwneroptionalstringS3BucketOwneroptional*string #The account number of the S3 bucket that is being imported from.
If the bucket is owned by the requester this is optional.
s3KeyPrefixoptionalstrings3_key_prefixoptionalstrs3KeyPrefixoptionalStringS3KeyPrefixoptionalstringS3KeyPrefixoptional*string #The key prefix shared by all S3 Objects that are being imported.