Class CfnEndpoint.Builder
java.lang.Object
software.amazon.awscdk.services.s3outposts.CfnEndpoint.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpoint>
- Enclosing class:
- CfnEndpoint
@Stability(Stable)
public static final class CfnEndpoint.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpoint>
A fluent builder for
CfnEndpoint.-
Method Summary
Modifier and TypeMethodDescriptionaccessType(String accessType) The container for the type of connectivity used to access the Amazon S3 on Outposts endpoint.build()static CfnEndpoint.BuildercustomerOwnedIpv4Pool(String customerOwnedIpv4Pool) The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint.The ID of the Outpost.securityGroupId(String securityGroupId) The ID of the security group to use with the endpoint.The ID of the subnet.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnEndpoint.Builder.
-
outpostId
The ID of the Outpost.- Parameters:
outpostId- The ID of the Outpost. This parameter is required.- Returns:
this
-
securityGroupId
The ID of the security group to use with the endpoint.- Parameters:
securityGroupId- The ID of the security group to use with the endpoint. This parameter is required.- Returns:
this
-
subnetId
The ID of the subnet.- Parameters:
subnetId- The ID of the subnet. This parameter is required.- Returns:
this
-
accessType
The container for the type of connectivity used to access the Amazon S3 on Outposts endpoint.To use the Amazon VPC , choose
Private. To use the endpoint with an on-premises network, chooseCustomerOwnedIp. If you chooseCustomerOwnedIp, you must also provide the customer-owned IP address pool (CoIP pool).Privateis the default access type value.- Parameters:
accessType- The container for the type of connectivity used to access the Amazon S3 on Outposts endpoint. This parameter is required.- Returns:
this
-
customerOwnedIpv4Pool
The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint.IP addresses are allocated from this pool for the endpoint.
- Parameters:
customerOwnedIpv4Pool- The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpoint>- Returns:
- a newly built instance of
CfnEndpoint.
-