Interface CfnHostProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnHostProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:06.119Z")
@Stability(Stable)
public interface CfnHostProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnHost.
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.codeconnections.*;
CfnHostProps cfnHostProps = CfnHostProps.builder()
.name("name")
.providerEndpoint("providerEndpoint")
.providerType("providerType")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.vpcConfiguration(VpcConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.vpcId("vpcId")
// the properties below are optional
.tlsCertificate("tlsCertificate")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnHostPropsstatic final classAn implementation forCfnHostProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnHostProps.Builderbuilder()getName()The name of the host.The endpoint of the infrastructure where your provider type is installed.The name of the installed provider to be associated with your connection.getTags()Tags to apply to the host.default ObjectThe VPC configuration provisioned for the host.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the host.- See Also:
-
getProviderEndpoint
The endpoint of the infrastructure where your provider type is installed.- See Also:
-
getProviderType
The name of the installed provider to be associated with your connection.- See Also:
-
getTags
Tags to apply to the host.- See Also:
-
getVpcConfiguration
The VPC configuration provisioned for the host.Returns union: either
IResolvableorCfnHost.VpcConfigurationProperty- See Also:
-
builder
- Returns:
- a
CfnHostProps.BuilderofCfnHostProps
-