Class CfnMountTarget.Builder
java.lang.Object
software.amazon.awscdk.services.efs.CfnMountTarget.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMountTarget>
- Enclosing class:
CfnMountTarget
@Stability(Stable)
public static final class CfnMountTarget.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMountTarget>
A fluent builder for
CfnMountTarget
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnMountTarget.Builder
fileSystemId
(String fileSystemId) The ID of the file system for which to create the mount target.Valid IPv4 address within the address range of the specified subnet.securityGroups
(List<String> securityGroups) VPC security group IDs, of the formsg-xxxxxxxx
.The ID of the subnet to add the mount target in.
-
Method Details
-
create
@Stability(Stable) public static CfnMountTarget.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnMountTarget.Builder
.
-
fileSystemId
The ID of the file system for which to create the mount target.- Parameters:
fileSystemId
- The ID of the file system for which to create the mount target. This parameter is required.- Returns:
this
- See Also:
-
securityGroups
VPC security group IDs, of the formsg-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).
- Parameters:
securityGroups
- VPC security group IDs, of the formsg-xxxxxxxx
. This parameter is required.- Returns:
this
- See Also:
-
subnetId
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.
- Parameters:
subnetId
- The ID of the subnet to add the mount target in. This parameter is required.- Returns:
this
- See Also:
-
ipAddress
Valid IPv4 address within the address range of the specified subnet.- Parameters:
ipAddress
- Valid IPv4 address within the address range of the specified subnet. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMountTarget>
- Returns:
- a newly built instance of
CfnMountTarget
.
-