Class AccessPoint
Represents the AccessPoint.
Inherited Members
Namespace: Amazon.CDK.AWS.EFS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AccessPoint : Resource, IAccessPoint, IAccessPointRef, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class AccessPoint Inherits Resource Implements IAccessPoint, IAccessPointRef, IResource, IConstruct, IDependable, IEnvironmentAware
Remarks
ExampleMetadata: infused
Examples
AccessPoint.FromAccessPointAttributes(this, "ap", new AccessPointAttributes {
AccessPointId = "fsap-1293c4d9832fo0912",
FileSystem = FileSystem.FromFileSystemAttributes(this, "efs", new FileSystemAttributes {
FileSystemId = "fs-099d3e2f",
SecurityGroup = SecurityGroup.FromSecurityGroupId(this, "sg", "sg-51530134")
})
});
Synopsis
Constructors
| AccessPoint(Construct, string, IAccessPointProps) | Represents the AccessPoint. |
Properties
| AccessPointArn | The ARN of the Access Point. |
| AccessPointId | The ID of the Access Point. |
| AccessPointRef | A reference to a AccessPoint resource. |
| FileSystem | The file system of the access point. |
| PROPERTY_INJECTION_ID | Uniquely identifies this class. |
Methods
| FromAccessPointAttributes(Construct, string, IAccessPointAttributes) | Import an existing Access Point by attributes. |
| FromAccessPointId(Construct, string, string) | Import an existing Access Point by id. |
Constructors
AccessPoint(Construct, string, IAccessPointProps)
Represents the AccessPoint.
public AccessPoint(Construct scope, string id, IAccessPointProps props)
Parameters
- scope Construct
- id string
- props IAccessPointProps
Remarks
ExampleMetadata: infused
Examples
AccessPoint.FromAccessPointAttributes(this, "ap", new AccessPointAttributes {
AccessPointId = "fsap-1293c4d9832fo0912",
FileSystem = FileSystem.FromFileSystemAttributes(this, "efs", new FileSystemAttributes {
FileSystemId = "fs-099d3e2f",
SecurityGroup = SecurityGroup.FromSecurityGroupId(this, "sg", "sg-51530134")
})
});
Properties
AccessPointArn
The ARN of the Access Point.
public virtual string AccessPointArn { get; }
Property Value
Remarks
Attribute: true
AccessPointId
The ID of the Access Point.
public virtual string AccessPointId { get; }
Property Value
Remarks
Attribute: true
AccessPointRef
A reference to a AccessPoint resource.
public virtual IAccessPointReference AccessPointRef { get; }
Property Value
Remarks
ExampleMetadata: infused
FileSystem
The file system of the access point.
public virtual IFileSystem FileSystem { get; }
Property Value
Remarks
ExampleMetadata: infused
PROPERTY_INJECTION_ID
Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
ExampleMetadata: infused
Methods
FromAccessPointAttributes(Construct, string, IAccessPointAttributes)
Import an existing Access Point by attributes.
public static IAccessPoint FromAccessPointAttributes(Construct scope, string id, IAccessPointAttributes attrs)
Parameters
- scope Construct
- id string
- attrs IAccessPointAttributes
Returns
Remarks
ExampleMetadata: infused
FromAccessPointId(Construct, string, string)
Import an existing Access Point by id.
public static IAccessPoint FromAccessPointId(Construct scope, string id, string accessPointId)
Parameters
Returns
Remarks
ExampleMetadata: infused