AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::S3::MultiRegionAccessPointPolicy

CfnMultiRegionAccessPointPolicy

Applies an Amazon S3 access policy to an Amazon S3 Multi-Region Access Point. It is not possible to delete an access policy for a Multi-Region Access Point from the CloudFormation template. When you attempt to delete the policy, CloudFormation updates the policy using `DeletionPolicy:Retain` and `UpdateReplacePolicy:Retain` . CloudFormation updates the policy to only allow access to the account that created the bucket.

Import

import { CfnMultiRegionAccessPointPolicy } from 'aws-cdk-lib/aws-s3';

Or use the module namespace:

import * as s3 from 'aws-cdk-lib/aws-s3';
// s3.CfnMultiRegionAccessPointPolicy

Properties

Configuration passed to the constructor as CfnMultiRegionAccessPointPolicyProps.

mrapNameRequired
string

The name of the Multi-Region Access Point.

policyRequired
any

The access policy associated with the Multi-Region Access Point.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon S3 Cheat Sheet

Everything you need to know about Amazon S3 on one page. HD quality, print-friendly.

Download Free Infographic