# CfnMultiRegionAccessPointProps

Properties for defining a `CfnMultiRegionAccessPoint`.

Used as props by: [CfnMultiRegionAccessPoint](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.CfnMultiRegionAccessPoint.html)

- Source: Generated at build time

## Example

TypeScript:

```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 cfnMultiRegionAccessPointProps: s3.CfnMultiRegionAccessPointProps = {
  regions: [{
    bucket: 'bucket',

    // the properties below are optional
    bucketAccountId: 'bucketAccountId',
  }],

  // the properties below are optional
  name: 'name',
  publicAccessBlockConfiguration: {
    blockPublicAcls: false,
    blockPublicPolicy: false,
    ignorePublicAcls: false,
    restrictPublicBuckets: false,
  },
};
```

Python:

```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

cfn_multi_region_access_point_props = s3.CfnMultiRegionAccessPointProps(
    regions=[s3.CfnMultiRegionAccessPoint.RegionProperty(
        bucket="bucket",

        # the properties below are optional
        bucket_account_id="bucketAccountId"
    )],

    # the properties below are optional
    name="name",
    public_access_block_configuration=s3.CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty(
        block_public_acls=False,
        block_public_policy=False,
        ignore_public_acls=False,
        restrict_public_buckets=False
    )
)
```

Java:

```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.*;

CfnMultiRegionAccessPointProps cfnMultiRegionAccessPointProps = CfnMultiRegionAccessPointProps.builder()
        .regions(List.of(RegionProperty.builder()
                .bucket("bucket")

                // the properties below are optional
                .bucketAccountId("bucketAccountId")
                .build()))

        // the properties below are optional
        .name("name")
        .publicAccessBlockConfiguration(PublicAccessBlockConfigurationProperty.builder()
                .blockPublicAcls(false)
                .blockPublicPolicy(false)
                .ignorePublicAcls(false)
                .restrictPublicBuckets(false)
                .build())
        .build();
```

C# / .NET:

```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 cfnMultiRegionAccessPointProps = new CfnMultiRegionAccessPointProps {
    Regions = new [] { new RegionProperty {
        Bucket = "bucket",

        // the properties below are optional
        BucketAccountId = "bucketAccountId"
    } },

    // the properties below are optional
    Name = "name",
    PublicAccessBlockConfiguration = new PublicAccessBlockConfigurationProperty {
        BlockPublicAcls = false,
        BlockPublicPolicy = false,
        IgnorePublicAcls = false,
        RestrictPublicBuckets = false
    }
};
```

Golang:

```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"

cfnMultiRegionAccessPointProps := &CfnMultiRegionAccessPointProps{
	Regions: []interface{}{
		&RegionProperty{
			Bucket: jsii.String("bucket"),

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

	// the properties below are optional
	Name: jsii.String("name"),
	PublicAccessBlockConfiguration: &PublicAccessBlockConfigurationProperty{
		BlockPublicAcls: jsii.Boolean(false),
		BlockPublicPolicy: jsii.Boolean(false),
		IgnorePublicAcls: jsii.Boolean(false),
		RestrictPublicBuckets: jsii.Boolean(false),
	},
}
```

## Properties

- `name`: string — The name of the Multi-Region Access Point.

- `publicAccessBlockConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty.html) — The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point.

  You can enable the configuration options in any combination. For more information about when Amazon S3 considers an object public, see [The Meaning of "Public"](https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status) in the *Amazon S3 User Guide* .

- `regions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMultiRegionAccessPoint.RegionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.CfnMultiRegionAccessPoint.RegionProperty.html)[] (required) — A collection of the Regions and buckets associated with the Multi-Region Access Point.
