Interface CfnPrivateConnectionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPrivateConnectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.128.0 (build 749b9a9)",
date="2026-04-29T18:45:18.495Z")
@Stability(Stable)
public interface CfnPrivateConnectionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPrivateConnection.
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.*;
CfnPrivateConnectionProps cfnPrivateConnectionProps = CfnPrivateConnectionProps.builder()
.connectionConfiguration(ConnectionConfigurationProperty.builder()
.selfManaged(SelfManagedModeProperty.builder()
.resourceConfigurationId("resourceConfigurationId")
.build())
.serviceManaged(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())
.build())
.name("name")
// the properties below are optional
.certificate("certificate")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPrivateConnectionPropsstatic final classAn implementation forCfnPrivateConnectionProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringCertificate for the Private Connection.The connection configuration, either SelfManaged or ServiceManaged.getName()Unique name for this Private Connection within the account.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConnectionConfiguration
The connection configuration, either SelfManaged or ServiceManaged.Returns union: either
IResolvableorCfnPrivateConnection.ConnectionConfigurationProperty- See Also:
-
getName
Unique name for this Private Connection within the account.- See Also:
-
getCertificate
Certificate for the Private Connection.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnPrivateConnectionProps.BuilderofCfnPrivateConnectionProps
-