aws-cdk-lib.aws_efs.AccessPointAttributes

interface AccessPointAttributes

LanguageType name
.NETAmazon.CDK.AWS.EFS.AccessPointAttributes
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsefs#AccessPointAttributes
Javasoftware.amazon.awscdk.services.efs.AccessPointAttributes
Pythonaws_cdk.aws_efs.AccessPointAttributes
TypeScript (source)aws-cdk-lib » aws_efs » AccessPointAttributes

Attributes that can be specified when importing an AccessPoint.

Example

efs.AccessPoint.fromAccessPointAttributes(this, 'ap', {
  accessPointId: 'fsap-1293c4d9832fo0912',
  fileSystem: efs.FileSystem.fromFileSystemAttributes(this, 'efs', {
    fileSystemId: 'fs-099d3e2f',
    securityGroup: ec2.SecurityGroup.fromSecurityGroupId(this, 'sg', 'sg-51530134'),
  }),
});

Properties

NameTypeDescription
accessPointArn?stringThe ARN of the AccessPoint One of this, or accessPointId is required.
accessPointId?stringThe ID of the AccessPoint One of this, or accessPointArn is required.
fileSystem?IFileSystemThe EFS file system.

accessPointArn?

Type: string (optional, default: determined based on accessPointId)

The ARN of the AccessPoint One of this, or accessPointId is required.


accessPointId?

Type: string (optional, default: determined based on accessPointArn)

The ID of the AccessPoint One of this, or accessPointArn is required.


fileSystem?

Type: IFileSystem (optional, default: no EFS file system)

The EFS file system.