@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.834Z") @Stability(value=Stable) public class CfnAccessPoint extends CfnResource implements IInspectable
The AWS::S3Outposts::AccessPoint resource specifies an access point and associates it with the specified Amazon S3 on Outposts bucket. For more information, see Managing data access with Amazon S3 access points .
S3 on Outposts supports only VPC-style access points.
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.s3outposts.*;
Object policy;
CfnAccessPoint cfnAccessPoint = CfnAccessPoint.Builder.create(this, "MyCfnAccessPoint")
.bucket("bucket")
.name("name")
.vpcConfiguration(VpcConfigurationProperty.builder()
.vpcId("vpcId")
.build())
// the properties below are optional
.policy(policy)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnAccessPoint.Builder
A fluent builder for
CfnAccessPoint. |
static interface |
CfnAccessPoint.VpcConfigurationProperty
Contains the virtual private cloud (VPC) configuration for the specified access point.
|
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 |
|---|---|
|
CfnAccessPoint(software.constructs.Construct scope,
String id,
CfnAccessPointProps props)
Create a new `AWS::S3Outposts::AccessPoint`.
|
protected |
CfnAccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnAccessPoint(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
This resource contains the details of the S3 on Outposts bucket access point ARN.
|
String |
getBucket()
The Amazon Resource Name (ARN) of the S3 on Outposts bucket that is associated with this access point.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getName()
The name of this access point.
|
Object |
getPolicy()
The access point policy associated with this access point.
|
Object |
getVpcConfiguration()
The virtual private cloud (VPC) configuration for this access point, if one exists.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setBucket(String value)
The Amazon Resource Name (ARN) of the S3 on Outposts bucket that is associated with this access point.
|
void |
setName(String value)
The name of this access point.
|
void |
setPolicy(Object value)
The access point policy associated with this access point.
|
void |
setVpcConfiguration(CfnAccessPoint.VpcConfigurationProperty value)
The virtual private cloud (VPC) configuration for this access point, if one exists.
|
void |
setVpcConfiguration(IResolvable value)
The virtual private cloud (VPC) configuration for this access point, if one exists.
|
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 CfnAccessPoint(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnAccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnAccessPoint(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnAccessPointProps 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 getAttrArn()
This resource is read-only.
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getBucket()
@Stability(value=Stable)
public void setBucket(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getPolicy()
@Stability(value=Stable)
public void setPolicy(@NotNull
Object value)
@Stability(value=Stable) @NotNull public Object getVpcConfiguration()
@Stability(value=Stable)
public void setVpcConfiguration(@NotNull
CfnAccessPoint.VpcConfigurationProperty value)
@Stability(value=Stable)
public void setVpcConfiguration(@NotNull
IResolvable value)
Copyright © 2022. All rights reserved.