Class AccessPoint

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.efs.AccessPoint
All Implemented Interfaces:
IResource, IAccessPoint, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:18.497Z") @Stability(Stable) public class AccessPoint extends Resource implements IAccessPoint
Represents the AccessPoint.

Example:

 AccessPoint.fromAccessPointAttributes(this, "ap", AccessPointAttributes.builder()
         .accessPointId("fsap-1293c4d9832fo0912")
         .fileSystem(FileSystem.fromFileSystemAttributes(this, "efs", FileSystemAttributes.builder()
                 .fileSystemId("fs-099d3e2f")
                 .securityGroup(SecurityGroup.fromSecurityGroupId(this, "sg", "sg-51530134"))
                 .build()))
         .build());
 
  • Constructor Details

    • AccessPoint

      protected AccessPoint(software.amazon.jsii.JsiiObjectRef objRef)
    • AccessPoint

      protected AccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • AccessPoint

      @Stability(Stable) public AccessPoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AccessPointProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromAccessPointAttributes

      @Stability(Stable) @NotNull public static IAccessPoint fromAccessPointAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AccessPointAttributes attrs)
      Import an existing Access Point by attributes.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      attrs - This parameter is required.
    • fromAccessPointId

      @Stability(Stable) @NotNull public static IAccessPoint fromAccessPointId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String accessPointId)
      Import an existing Access Point by id.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      accessPointId - This parameter is required.
    • getAccessPointArn

      @Stability(Stable) @NotNull public String getAccessPointArn()
      The ARN of the Access Point.
      Specified by:
      getAccessPointArn in interface IAccessPoint
    • getAccessPointId

      @Stability(Stable) @NotNull public String getAccessPointId()
      The ID of the Access Point.
      Specified by:
      getAccessPointId in interface IAccessPoint
    • getFileSystem

      @Stability(Stable) @NotNull public IFileSystem getFileSystem()
      The file system of the access point.
      Specified by:
      getFileSystem in interface IAccessPoint