AccessPointAttributes Struct
Attributes that can be specified when importing an AccessPoint.
| Source | aws-efs/lib/access-point.ts |
|---|---|
| Type last changed |
Example
ts
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'),
}),
});
python
efs.AccessPoint.from_access_point_attributes(self, "ap",
access_point_id="fsap-1293c4d9832fo0912",
file_system=efs.FileSystem.from_file_system_attributes(self, "efs",
file_system_id="fs-099d3e2f",
security_group=ec2.SecurityGroup.from_security_group_id(self, "sg", "sg-51530134")
)
)
java
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());
csharp
// Install: dotnet add package Amazon.CDK.Lib
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")
})
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
efs.AccessPoint_FromAccessPointAttributes(this, jsii.String("ap"), &AccessPointAttributes{
AccessPointId: jsii.String("fsap-1293c4d9832fo0912"),
FileSystem: efs.FileSystem_FromFileSystemAttributes(this, jsii.String("efs"), &FileSystemAttributes{
FileSystemId: jsii.String("fs-099d3e2f"),
SecurityGroup: ec2.SecurityGroup_FromSecurityGroupId(this, jsii.String("sg"), jsii.String("sg-51530134")),
}),
})
Properties
accessPointArnoptionalstringaccess_point_arnoptionalstraccessPointArnoptionalStringAccessPointArnoptionalstringAccessPointArnoptional*string #The ARN of the AccessPoint One of this, or `accessPointId` is required.
Default: determined based on accessPointId
accessPointIdoptionalstringaccess_point_idoptionalstraccessPointIdoptionalStringAccessPointIdoptionalstringAccessPointIdoptional*string #The ID of the AccessPoint One of this, or `accessPointArn` is required.
Default: determined based on accessPointArn
fileSystemoptionalIFileSystemReffile_systemoptionalIFileSystemReffileSystemoptionalIFileSystemRefFileSystemoptionalIFileSystemRefFileSystemoptionalIFileSystemRef #The EFS file system.
Default: no EFS file system