interface CfnMountTargetProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EFS.CfnMountTargetProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsefs#CfnMountTargetProps |
![]() | software.amazon.awscdk.services.efs.CfnMountTargetProps |
![]() | aws_cdk.aws_efs.CfnMountTargetProps |
![]() | aws-cdk-lib » aws_efs » CfnMountTargetProps |
Properties for defining a CfnMountTarget
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_efs as efs } from 'aws-cdk-lib';
const cfnMountTargetProps: efs.CfnMountTargetProps = {
fileSystemId: 'fileSystemId',
securityGroups: ['securityGroups'],
subnetId: 'subnetId',
// the properties below are optional
ipAddress: 'ipAddress',
};
Properties
Name | Type | Description |
---|---|---|
file | string | The ID of the file system for which to create the mount target. |
security | string[] | VPC security group IDs, of the form sg-xxxxxxxx . |
subnet | string | The ID of the subnet to add the mount target in. |
ip | string | Valid IPv4 address within the address range of the specified subnet. |
fileSystemId
Type:
string
The ID of the file system for which to create the mount target.
securityGroups
Type:
string[]
VPC security group IDs, of the form sg-xxxxxxxx
.
These must be for the same VPC as the subnet specified. The maximum number of security groups depends on account quota. For more information, see Amazon VPC Quotas in the Amazon VPC User Guide (see the Security Groups table).
subnetId
Type:
string
The ID of the subnet to add the mount target in.
For One Zone file systems, use the subnet that is associated with the file system's Availability Zone.
ipAddress?
Type:
string
(optional)
Valid IPv4 address within the address range of the specified subnet.