@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.787Z") @Stability(value=Stable) public class CfnMultiRegionAccessPoint extends CfnResource implements IInspectable
The AWS::S3::MultiRegionAccessPoint resource creates an Amazon S3 Multi-Region Access Point. To learn more about Multi-Region Access Points, see Multi-Region Access Points in Amazon S3 in the in the Amazon S3 User Guide .
Example:
// 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.*;
CfnMultiRegionAccessPoint cfnMultiRegionAccessPoint = CfnMultiRegionAccessPoint.Builder.create(this, "MyCfnMultiRegionAccessPoint")
.regions(List.of(RegionProperty.builder()
.bucket("bucket")
// the properties below are optional
.accountId("accountId")
.build()))
// the properties below are optional
.name("name")
.publicAccessBlockConfiguration(PublicAccessBlockConfigurationProperty.builder()
.blockPublicAcls(false)
.blockPublicPolicy(false)
.ignorePublicAcls(false)
.restrictPublicBuckets(false)
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnMultiRegionAccessPoint.Builder
A fluent builder for
CfnMultiRegionAccessPoint. |
static interface |
CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty
The PublicAccessBlock configuration that you want to apply to this Amazon S3 Multi-Region Access Point.
|
static interface |
CfnMultiRegionAccessPoint.RegionProperty
A bucket associated with a specific Region when creating Multi-Region Access Points.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnMultiRegionAccessPoint(software.constructs.Construct scope,
String id,
CfnMultiRegionAccessPointProps props)
Create a new `AWS::S3::MultiRegionAccessPoint`.
|
protected |
CfnMultiRegionAccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnMultiRegionAccessPoint(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrAlias()
The alias for the Multi-Region Access Point.
|
String |
getAttrCreatedAt()
The timestamp of when the Multi-Region Access Point is created.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getName()
The name of the Multi-Region Access Point.
|
Object |
getPublicAccessBlockConfiguration()
The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point.
|
Object |
getRegions()
A collection of the Regions and buckets associated with the Multi-Region Access Point.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setName(String value)
The name of the Multi-Region Access Point.
|
void |
setPublicAccessBlockConfiguration(CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty value)
The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point.
|
void |
setPublicAccessBlockConfiguration(IResolvable value)
The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point.
|
void |
setRegions(IResolvable value)
A collection of the Regions and buckets associated with the Multi-Region Access Point.
|
void |
setRegions(List<Object> value)
A collection of the Regions and buckets associated with the Multi-Region Access Point.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnMultiRegionAccessPoint(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnMultiRegionAccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnMultiRegionAccessPoint(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnMultiRegionAccessPointProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrAlias()
For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Managing Multi-Region Access Points in the Amazon S3 User Guide .
@Stability(value=Stable) @NotNull public String getAttrCreatedAt()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getRegions()
@Stability(value=Stable)
public void setRegions(@NotNull
IResolvable value)
@Stability(value=Stable)
public void setRegions(@NotNull
List<Object> value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getPublicAccessBlockConfiguration()
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" in the Amazon S3 User Guide .
@Stability(value=Stable)
public void setPublicAccessBlockConfiguration(@Nullable
CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty value)
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" in the Amazon S3 User Guide .
@Stability(value=Stable)
public void setPublicAccessBlockConfiguration(@Nullable
IResolvable value)
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" in the Amazon S3 User Guide .
Copyright © 2022. All rights reserved.