Class CfnS3AccessPointAttachment
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.fsx.CfnS3AccessPointAttachment
- All Implemented Interfaces:
IInspectable,IS3AccessPointAttachmentRef,IEnvironmentAware,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:21.510Z")
@Stability(Stable)
public class CfnS3AccessPointAttachment
extends CfnResource
implements IInspectable, IS3AccessPointAttachmentRef
An S3 access point attached to an Amazon FSx volume.
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.fsx.*;
Object policy;
CfnS3AccessPointAttachment cfnS3AccessPointAttachment = CfnS3AccessPointAttachment.Builder.create(this, "MyCfnS3AccessPointAttachment")
.name("name")
.openZfsConfiguration(S3AccessPointOpenZFSConfigurationProperty.builder()
.fileSystemIdentity(OpenZFSFileSystemIdentityProperty.builder()
.posixUser(OpenZFSPosixFileSystemUserProperty.builder()
.gid(123)
.uid(123)
// the properties below are optional
.secondaryGids(List.of(FileSystemGIDProperty.builder()
.gid(123)
.build()))
.build())
.type("type")
.build())
.volumeId("volumeId")
.build())
.type("type")
// the properties below are optional
.s3AccessPoint(S3AccessPointProperty.builder()
.alias("alias")
.policy(policy)
.resourceArn("resourceArn")
.vpcConfiguration(S3AccessPointVpcConfigurationProperty.builder()
.vpcId("vpcId")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnS3AccessPointAttachment.static interfaceThe GID of the file system user.static interfaceSpecifies the file system user identity that will be used for authorizing all file access requests that are made using the S3 access point.static interfaceThe FSx for OpenZFS file system user that is used for authorizing all file access requests that are made using the S3 access point.static interfaceDescribes the FSx for OpenZFS attachment configuration of an S3 access point attachment.static interfaceDescribes the S3 access point configuration of the S3 access point attachment.static interfaceIf included, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC).Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.fsx.IS3AccessPointAttachmentRef
IS3AccessPointAttachmentRef.Jsii$Default, IS3AccessPointAttachmentRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnS3AccessPointAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnS3AccessPointAttachment(software.amazon.jsii.JsiiObjectRef objRef) CfnS3AccessPointAttachment(software.constructs.Construct scope, String id, CfnS3AccessPointAttachmentProps props) Create a newAWS::FSx::S3AccessPointAttachment. -
Method Summary
Modifier and TypeMethodDescriptionThe S3 access point's alias.The S3 access point's ARN.getName()The name of the S3 access point attachment;The OpenZFSConfiguration of the S3 access point attachment.The S3 access point configuration of the S3 access point attachment.A reference to a S3AccessPointAttachment resource.getType()The type of Amazon FSx volume that the S3 access point is attached to.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnS3AccessPointAttachment.renderProperties(Map<String, Object> props) voidThe name of the S3 access point attachment;voidThe OpenZFSConfiguration of the S3 access point attachment.voidThe OpenZFSConfiguration of the S3 access point attachment.voidsetS3AccessPoint(IResolvable value) The S3 access point configuration of the S3 access point attachment.voidThe S3 access point configuration of the S3 access point attachment.voidThe type of Amazon FSx volume that the S3 access point is attached to.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnS3AccessPointAttachment
protected CfnS3AccessPointAttachment(software.amazon.jsii.JsiiObjectRef objRef) -
CfnS3AccessPointAttachment
protected CfnS3AccessPointAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnS3AccessPointAttachment
@Stability(Stable) public CfnS3AccessPointAttachment(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnS3AccessPointAttachmentProps props) Create a newAWS::FSx::S3AccessPointAttachment.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
isCfnS3AccessPointAttachment
Checks whether the given object is a CfnS3AccessPointAttachment.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrS3AccessPointAlias
The S3 access point's alias. -
getAttrS3AccessPointResourceArn
The S3 access point's ARN. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getS3AccessPointAttachmentRef
A reference to a S3AccessPointAttachment resource.- Specified by:
getS3AccessPointAttachmentRefin interfaceIS3AccessPointAttachmentRef
-
getName
The name of the S3 access point attachment; -
setName
The name of the S3 access point attachment; -
getOpenZfsConfiguration
The OpenZFSConfiguration of the S3 access point attachment.Returns union: either
IResolvableorCfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty -
setOpenZfsConfiguration
The OpenZFSConfiguration of the S3 access point attachment. -
setOpenZfsConfiguration
@Stability(Stable) public void setOpenZfsConfiguration(@NotNull CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty value) The OpenZFSConfiguration of the S3 access point attachment. -
getType
The type of Amazon FSx volume that the S3 access point is attached to. -
setType
The type of Amazon FSx volume that the S3 access point is attached to. -
getS3AccessPoint
The S3 access point configuration of the S3 access point attachment.Returns union: either
IResolvableorCfnS3AccessPointAttachment.S3AccessPointProperty -
setS3AccessPoint
The S3 access point configuration of the S3 access point attachment. -
setS3AccessPoint
@Stability(Stable) public void setS3AccessPoint(@Nullable CfnS3AccessPointAttachment.S3AccessPointProperty value) The S3 access point configuration of the S3 access point attachment.
-