@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:19.018Z") @Stability(value=Stable) public class CfnAccessPoint extends CfnResource implements IInspectable
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.*;
Object policy;
Object policyStatus;
CfnAccessPoint cfnAccessPoint = CfnAccessPoint.Builder.create(this, "MyCfnAccessPoint")
.bucket("bucket")
// the properties below are optional
.name("name")
.policy(policy)
.policyStatus(policyStatus)
.publicAccessBlockConfiguration(PublicAccessBlockConfigurationProperty.builder()
.blockPublicAcls(false)
.blockPublicPolicy(false)
.ignorePublicAcls(false)
.restrictPublicBuckets(false)
.build())
.vpcConfiguration(VpcConfigurationProperty.builder()
.vpcId("vpcId")
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnAccessPoint.Builder
A fluent builder for
CfnAccessPoint. |
static interface |
CfnAccessPoint.PublicAccessBlockConfigurationProperty
Example:
|
static interface |
CfnAccessPoint.VpcConfigurationProperty
Example:
|
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::S3::AccessPoint`.
|
protected |
CfnAccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnAccessPoint(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrAlias() |
String |
getAttrArn() |
String |
getAttrName() |
String |
getAttrNetworkOrigin() |
String |
getBucket()
`AWS::S3::AccessPoint.Bucket`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getName()
`AWS::S3::AccessPoint.Name`.
|
Object |
getPolicy()
`AWS::S3::AccessPoint.Policy`.
|
Object |
getPolicyStatus()
`AWS::S3::AccessPoint.PolicyStatus`.
|
Object |
getPublicAccessBlockConfiguration()
`AWS::S3::AccessPoint.PublicAccessBlockConfiguration`.
|
Object |
getVpcConfiguration()
`AWS::S3::AccessPoint.VpcConfiguration`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setBucket(String value)
`AWS::S3::AccessPoint.Bucket`.
|
void |
setName(String value)
`AWS::S3::AccessPoint.Name`.
|
void |
setPolicy(Object value)
`AWS::S3::AccessPoint.Policy`.
|
void |
setPolicyStatus(Object value)
`AWS::S3::AccessPoint.PolicyStatus`.
|
void |
setPublicAccessBlockConfiguration(CfnAccessPoint.PublicAccessBlockConfigurationProperty value)
`AWS::S3::AccessPoint.PublicAccessBlockConfiguration`.
|
void |
setPublicAccessBlockConfiguration(IResolvable value)
`AWS::S3::AccessPoint.PublicAccessBlockConfiguration`.
|
void |
setVpcConfiguration(CfnAccessPoint.VpcConfigurationProperty value)
`AWS::S3::AccessPoint.VpcConfiguration`.
|
void |
setVpcConfiguration(IResolvable value)
`AWS::S3::AccessPoint.VpcConfiguration`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, 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 getAttrAlias()
@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrName()
@Stability(value=Stable) @NotNull public String getAttrNetworkOrigin()
@Stability(value=Stable) @NotNull public String getBucket()
@Stability(value=Stable)
public void setBucket(@NotNull
String value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @NotNull public Object getPolicy()
@Stability(value=Stable)
public void setPolicy(@NotNull
Object value)
@Stability(value=Stable) @NotNull public Object getPolicyStatus()
@Stability(value=Stable)
public void setPolicyStatus(@NotNull
Object value)
@Stability(value=Stable) @Nullable public Object getPublicAccessBlockConfiguration()
@Stability(value=Stable)
public void setPublicAccessBlockConfiguration(@Nullable
CfnAccessPoint.PublicAccessBlockConfigurationProperty value)
@Stability(value=Stable)
public void setPublicAccessBlockConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getVpcConfiguration()
@Stability(value=Stable)
public void setVpcConfiguration(@Nullable
CfnAccessPoint.VpcConfigurationProperty value)
@Stability(value=Stable)
public void setVpcConfiguration(@Nullable
IResolvable value)
Copyright © 2021. All rights reserved.