Interface CfnPrivateConnection.ServiceManagedModeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPrivateConnection.ServiceManagedModeProperty.Jsii$Proxy
- Enclosing class:
CfnPrivateConnection
@Stability(Stable)
public static interface CfnPrivateConnection.ServiceManagedModeProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for a service-managed Private Connection.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.devopsagent.*;
ServiceManagedModeProperty serviceManagedModeProperty = ServiceManagedModeProperty.builder()
.hostAddress("hostAddress")
.vpcId("vpcId")
// the properties below are optional
.ipAddressType("ipAddressType")
.ipv4AddressesPerEni(123)
.portRanges(List.of("portRanges"))
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPrivateConnection.ServiceManagedModePropertystatic final classAn implementation forCfnPrivateConnection.ServiceManagedModeProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()IP address or DNS name of the target resource.default StringIP address type of the service-managed Resource Gateway.default NumberNumber of IPv4 addresses in each ENI for the service-managed Resource Gateway.TCP port ranges that a consumer can use to access the resource.Security groups to attach to the service-managed Resource Gateway.Subnets that the service-managed Resource Gateway will span.getVpcId()VPC to create the service-managed Resource Gateway in.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHostAddress
IP address or DNS name of the target resource.- See Also:
-
getVpcId
VPC to create the service-managed Resource Gateway in.- See Also:
-
getIpAddressType
IP address type of the service-managed Resource Gateway.- See Also:
-
getIpv4AddressesPerEni
Number of IPv4 addresses in each ENI for the service-managed Resource Gateway.- See Also:
-
getPortRanges
TCP port ranges that a consumer can use to access the resource.- See Also:
-
getSecurityGroupIds
Security groups to attach to the service-managed Resource Gateway.- See Also:
-
getSubnetIds
Subnets that the service-managed Resource Gateway will span.- See Also:
-
builder
-