@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:39.616Z") 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.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnAccessPoint(Construct scope,
java.lang.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 |
---|---|
java.lang.String |
getAttrArn()
This resource contains the details of the S3 on Outposts bucket access point ARN.
|
java.lang.String |
getBucket()
The Amazon Resource Name (ARN) of the S3 on Outposts bucket that is associated with this access point.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getName()
The name of this access point.
|
java.lang.Object |
getPolicy()
The access point policy associated with this access point.
|
java.lang.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 java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setBucket(java.lang.String value)
The Amazon Resource Name (ARN) of the S3 on Outposts bucket that is associated with this access point.
|
void |
setName(java.lang.String value)
The name of this access point.
|
void |
setPolicy(java.lang.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, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnAccessPoint(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnAccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnAccessPoint(Construct scope, java.lang.String id, 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrArn()
This resource is read-only.
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getBucket()
public void setBucket(java.lang.String value)
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.Object getPolicy()
public void setPolicy(java.lang.Object value)
public java.lang.Object getVpcConfiguration()
public void setVpcConfiguration(CfnAccessPoint.VpcConfigurationProperty value)
public void setVpcConfiguration(IResolvable value)