Skip to content
v2.278.0

RegionProperty Struct ​

A bucket associated with a specific Region when creating Multi-Region Access Points.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
const regionProperty: s3.CfnMultiRegionAccessPoint.RegionProperty = {
  bucket: 'bucket',

  // the properties below are optional
  bucketAccountId: 'bucketAccountId',
};
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_s3 as s3

region_property = s3.CfnMultiRegionAccessPoint.RegionProperty(
    bucket="bucket",

    # the properties below are optional
    bucket_account_id="bucketAccountId"
)
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.s3.*;

RegionProperty regionProperty = RegionProperty.builder()
        .bucket("bucket")

        // the properties below are optional
        .bucketAccountId("bucketAccountId")
        .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.S3;

var regionProperty = new RegionProperty {
    Bucket = "bucket",

    // the properties below are optional
    BucketAccountId = "bucketAccountId"
};
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"

regionProperty := &RegionProperty{
	Bucket: jsii.String("bucket"),

	// the properties below are optional
	BucketAccountId: jsii.String("bucketAccountId"),
}

Properties ​

bucketstringbucketstrbucketStringBucketstringBucket*string required #
The name of the associated bucket for the Region.
bucketAccountIdoptionalstringbucket_account_idoptionalstrbucketAccountIdoptionalStringBucketAccountIdoptionalstringBucketAccountIdoptional*string #
The AWS account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access Point.