confluentcloud.Network
Explore with Pulumi AI
Example Usage
Example Network that supports Private Link Connections
import * as pulumi from "@pulumi/pulumi";
import * as confluentcloud from "@pulumi/confluentcloud";
const development = new confluentcloud.Environment("development", {displayName: "Development"});
const aws_private_link = new confluentcloud.Network("aws-private-link", {
displayName: "AWS Private Link Network",
cloud: "AWS",
region: "us-east-1",
connectionTypes: ["PRIVATELINK"],
zones: [
"use1-az1",
"use1-az2",
"use1-az6",
],
environment: {
id: development.id,
},
});
import pulumi
import pulumi_confluentcloud as confluentcloud
development = confluentcloud.Environment("development", display_name="Development")
aws_private_link = confluentcloud.Network("aws-private-link",
display_name="AWS Private Link Network",
cloud="AWS",
region="us-east-1",
connection_types=["PRIVATELINK"],
zones=[
"use1-az1",
"use1-az2",
"use1-az6",
],
environment=confluentcloud.NetworkEnvironmentArgs(
id=development.id,
))
package main
import (
"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
development, err := confluentcloud.NewEnvironment(ctx, "development", &confluentcloud.EnvironmentArgs{
DisplayName: pulumi.String("Development"),
})
if err != nil {
return err
}
_, err = confluentcloud.NewNetwork(ctx, "aws-private-link", &confluentcloud.NetworkArgs{
DisplayName: pulumi.String("AWS Private Link Network"),
Cloud: pulumi.String("AWS"),
Region: pulumi.String("us-east-1"),
ConnectionTypes: pulumi.StringArray{
pulumi.String("PRIVATELINK"),
},
Zones: pulumi.StringArray{
pulumi.String("use1-az1"),
pulumi.String("use1-az2"),
pulumi.String("use1-az6"),
},
Environment: &confluentcloud.NetworkEnvironmentArgs{
Id: development.ID(),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ConfluentCloud = Pulumi.ConfluentCloud;
return await Deployment.RunAsync(() =>
{
var development = new ConfluentCloud.Environment("development", new()
{
DisplayName = "Development",
});
var aws_private_link = new ConfluentCloud.Network("aws-private-link", new()
{
DisplayName = "AWS Private Link Network",
Cloud = "AWS",
Region = "us-east-1",
ConnectionTypes = new[]
{
"PRIVATELINK",
},
Zones = new[]
{
"use1-az1",
"use1-az2",
"use1-az6",
},
Environment = new ConfluentCloud.Inputs.NetworkEnvironmentArgs
{
Id = development.Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.confluentcloud.Environment;
import com.pulumi.confluentcloud.EnvironmentArgs;
import com.pulumi.confluentcloud.Network;
import com.pulumi.confluentcloud.NetworkArgs;
import com.pulumi.confluentcloud.inputs.NetworkEnvironmentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var development = new Environment("development", EnvironmentArgs.builder()
.displayName("Development")
.build());
var aws_private_link = new Network("aws-private-link", NetworkArgs.builder()
.displayName("AWS Private Link Network")
.cloud("AWS")
.region("us-east-1")
.connectionTypes("PRIVATELINK")
.zones(
"use1-az1",
"use1-az2",
"use1-az6")
.environment(NetworkEnvironmentArgs.builder()
.id(development.id())
.build())
.build());
}
}
resources:
development:
type: confluentcloud:Environment
properties:
displayName: Development
aws-private-link:
type: confluentcloud:Network
properties:
displayName: AWS Private Link Network
cloud: AWS
region: us-east-1
connectionTypes:
- PRIVATELINK
zones:
- use1-az1
- use1-az2
- use1-az6
environment:
id: ${development.id}
Example Network that supports Peering Connections
import * as pulumi from "@pulumi/pulumi";
import * as confluentcloud from "@pulumi/confluentcloud";
const development = new confluentcloud.Environment("development", {displayName: "Development"});
const azure_peering = new confluentcloud.Network("azure-peering", {
displayName: "Azure Peering Network",
cloud: "AZURE",
region: "eastus2",
cidr: "10.10.0.0/16",
connectionTypes: ["PEERING"],
environment: {
id: development.id,
},
});
import pulumi
import pulumi_confluentcloud as confluentcloud
development = confluentcloud.Environment("development", display_name="Development")
azure_peering = confluentcloud.Network("azure-peering",
display_name="Azure Peering Network",
cloud="AZURE",
region="eastus2",
cidr="10.10.0.0/16",
connection_types=["PEERING"],
environment=confluentcloud.NetworkEnvironmentArgs(
id=development.id,
))
package main
import (
"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
development, err := confluentcloud.NewEnvironment(ctx, "development", &confluentcloud.EnvironmentArgs{
DisplayName: pulumi.String("Development"),
})
if err != nil {
return err
}
_, err = confluentcloud.NewNetwork(ctx, "azure-peering", &confluentcloud.NetworkArgs{
DisplayName: pulumi.String("Azure Peering Network"),
Cloud: pulumi.String("AZURE"),
Region: pulumi.String("eastus2"),
Cidr: pulumi.String("10.10.0.0/16"),
ConnectionTypes: pulumi.StringArray{
pulumi.String("PEERING"),
},
Environment: &confluentcloud.NetworkEnvironmentArgs{
Id: development.ID(),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ConfluentCloud = Pulumi.ConfluentCloud;
return await Deployment.RunAsync(() =>
{
var development = new ConfluentCloud.Environment("development", new()
{
DisplayName = "Development",
});
var azure_peering = new ConfluentCloud.Network("azure-peering", new()
{
DisplayName = "Azure Peering Network",
Cloud = "AZURE",
Region = "eastus2",
Cidr = "10.10.0.0/16",
ConnectionTypes = new[]
{
"PEERING",
},
Environment = new ConfluentCloud.Inputs.NetworkEnvironmentArgs
{
Id = development.Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.confluentcloud.Environment;
import com.pulumi.confluentcloud.EnvironmentArgs;
import com.pulumi.confluentcloud.Network;
import com.pulumi.confluentcloud.NetworkArgs;
import com.pulumi.confluentcloud.inputs.NetworkEnvironmentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var development = new Environment("development", EnvironmentArgs.builder()
.displayName("Development")
.build());
var azure_peering = new Network("azure-peering", NetworkArgs.builder()
.displayName("Azure Peering Network")
.cloud("AZURE")
.region("eastus2")
.cidr("10.10.0.0/16")
.connectionTypes("PEERING")
.environment(NetworkEnvironmentArgs.builder()
.id(development.id())
.build())
.build());
}
}
resources:
development:
type: confluentcloud:Environment
properties:
displayName: Development
azure-peering:
type: confluentcloud:Network
properties:
displayName: Azure Peering Network
cloud: AZURE
region: eastus2
cidr: 10.10.0.0/16
connectionTypes:
- PEERING
environment:
id: ${development.id}
Example Network that supports Private Service Connect Connections
import * as pulumi from "@pulumi/pulumi";
import * as confluentcloud from "@pulumi/confluentcloud";
const development = new confluentcloud.Environment("development", {displayName: "Development"});
const gcp_private_service_connect = new confluentcloud.Network("gcp-private-service-connect", {
displayName: "GCP Private Service Connect Network",
cloud: "GCP",
region: "us-central1",
connectionTypes: ["PRIVATELINK"],
zones: [
"us-central1-a",
"us-central1-b",
"us-central1-c",
],
environment: {
id: development.id,
},
dnsConfig: {
resolution: "PRIVATE",
},
});
import pulumi
import pulumi_confluentcloud as confluentcloud
development = confluentcloud.Environment("development", display_name="Development")
gcp_private_service_connect = confluentcloud.Network("gcp-private-service-connect",
display_name="GCP Private Service Connect Network",
cloud="GCP",
region="us-central1",
connection_types=["PRIVATELINK"],
zones=[
"us-central1-a",
"us-central1-b",
"us-central1-c",
],
environment=confluentcloud.NetworkEnvironmentArgs(
id=development.id,
),
dns_config=confluentcloud.NetworkDnsConfigArgs(
resolution="PRIVATE",
))
package main
import (
"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
development, err := confluentcloud.NewEnvironment(ctx, "development", &confluentcloud.EnvironmentArgs{
DisplayName: pulumi.String("Development"),
})
if err != nil {
return err
}
_, err = confluentcloud.NewNetwork(ctx, "gcp-private-service-connect", &confluentcloud.NetworkArgs{
DisplayName: pulumi.String("GCP Private Service Connect Network"),
Cloud: pulumi.String("GCP"),
Region: pulumi.String("us-central1"),
ConnectionTypes: pulumi.StringArray{
pulumi.String("PRIVATELINK"),
},
Zones: pulumi.StringArray{
pulumi.String("us-central1-a"),
pulumi.String("us-central1-b"),
pulumi.String("us-central1-c"),
},
Environment: &confluentcloud.NetworkEnvironmentArgs{
Id: development.ID(),
},
DnsConfig: &confluentcloud.NetworkDnsConfigArgs{
Resolution: pulumi.String("PRIVATE"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ConfluentCloud = Pulumi.ConfluentCloud;
return await Deployment.RunAsync(() =>
{
var development = new ConfluentCloud.Environment("development", new()
{
DisplayName = "Development",
});
var gcp_private_service_connect = new ConfluentCloud.Network("gcp-private-service-connect", new()
{
DisplayName = "GCP Private Service Connect Network",
Cloud = "GCP",
Region = "us-central1",
ConnectionTypes = new[]
{
"PRIVATELINK",
},
Zones = new[]
{
"us-central1-a",
"us-central1-b",
"us-central1-c",
},
Environment = new ConfluentCloud.Inputs.NetworkEnvironmentArgs
{
Id = development.Id,
},
DnsConfig = new ConfluentCloud.Inputs.NetworkDnsConfigArgs
{
Resolution = "PRIVATE",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.confluentcloud.Environment;
import com.pulumi.confluentcloud.EnvironmentArgs;
import com.pulumi.confluentcloud.Network;
import com.pulumi.confluentcloud.NetworkArgs;
import com.pulumi.confluentcloud.inputs.NetworkEnvironmentArgs;
import com.pulumi.confluentcloud.inputs.NetworkDnsConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var development = new Environment("development", EnvironmentArgs.builder()
.displayName("Development")
.build());
var gcp_private_service_connect = new Network("gcp-private-service-connect", NetworkArgs.builder()
.displayName("GCP Private Service Connect Network")
.cloud("GCP")
.region("us-central1")
.connectionTypes("PRIVATELINK")
.zones(
"us-central1-a",
"us-central1-b",
"us-central1-c")
.environment(NetworkEnvironmentArgs.builder()
.id(development.id())
.build())
.dnsConfig(NetworkDnsConfigArgs.builder()
.resolution("PRIVATE")
.build())
.build());
}
}
resources:
development:
type: confluentcloud:Environment
properties:
displayName: Development
gcp-private-service-connect:
type: confluentcloud:Network
properties:
displayName: GCP Private Service Connect Network
cloud: GCP
region: us-central1
connectionTypes:
- PRIVATELINK
zones:
- us-central1-a
- us-central1-b
- us-central1-c
environment:
id: ${development.id}
dnsConfig:
resolution: PRIVATE
Example Network that supports Transit Gateway Endpoints
import * as pulumi from "@pulumi/pulumi";
import * as confluentcloud from "@pulumi/confluentcloud";
const development = new confluentcloud.Environment("development", {displayName: "Development"});
const aws_transit_gateway_attachment = new confluentcloud.Network("aws-transit-gateway-attachment", {
displayName: "AWS Transit Gateway Attachment Network",
cloud: "AWS",
region: "us-east-1",
cidr: "10.10.0.0/16",
connectionTypes: ["TRANSITGATEWAY"],
environment: {
id: development.id,
},
});
import pulumi
import pulumi_confluentcloud as confluentcloud
development = confluentcloud.Environment("development", display_name="Development")
aws_transit_gateway_attachment = confluentcloud.Network("aws-transit-gateway-attachment",
display_name="AWS Transit Gateway Attachment Network",
cloud="AWS",
region="us-east-1",
cidr="10.10.0.0/16",
connection_types=["TRANSITGATEWAY"],
environment=confluentcloud.NetworkEnvironmentArgs(
id=development.id,
))
package main
import (
"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
development, err := confluentcloud.NewEnvironment(ctx, "development", &confluentcloud.EnvironmentArgs{
DisplayName: pulumi.String("Development"),
})
if err != nil {
return err
}
_, err = confluentcloud.NewNetwork(ctx, "aws-transit-gateway-attachment", &confluentcloud.NetworkArgs{
DisplayName: pulumi.String("AWS Transit Gateway Attachment Network"),
Cloud: pulumi.String("AWS"),
Region: pulumi.String("us-east-1"),
Cidr: pulumi.String("10.10.0.0/16"),
ConnectionTypes: pulumi.StringArray{
pulumi.String("TRANSITGATEWAY"),
},
Environment: &confluentcloud.NetworkEnvironmentArgs{
Id: development.ID(),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ConfluentCloud = Pulumi.ConfluentCloud;
return await Deployment.RunAsync(() =>
{
var development = new ConfluentCloud.Environment("development", new()
{
DisplayName = "Development",
});
var aws_transit_gateway_attachment = new ConfluentCloud.Network("aws-transit-gateway-attachment", new()
{
DisplayName = "AWS Transit Gateway Attachment Network",
Cloud = "AWS",
Region = "us-east-1",
Cidr = "10.10.0.0/16",
ConnectionTypes = new[]
{
"TRANSITGATEWAY",
},
Environment = new ConfluentCloud.Inputs.NetworkEnvironmentArgs
{
Id = development.Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.confluentcloud.Environment;
import com.pulumi.confluentcloud.EnvironmentArgs;
import com.pulumi.confluentcloud.Network;
import com.pulumi.confluentcloud.NetworkArgs;
import com.pulumi.confluentcloud.inputs.NetworkEnvironmentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var development = new Environment("development", EnvironmentArgs.builder()
.displayName("Development")
.build());
var aws_transit_gateway_attachment = new Network("aws-transit-gateway-attachment", NetworkArgs.builder()
.displayName("AWS Transit Gateway Attachment Network")
.cloud("AWS")
.region("us-east-1")
.cidr("10.10.0.0/16")
.connectionTypes("TRANSITGATEWAY")
.environment(NetworkEnvironmentArgs.builder()
.id(development.id())
.build())
.build());
}
}
resources:
development:
type: confluentcloud:Environment
properties:
displayName: Development
aws-transit-gateway-attachment:
type: confluentcloud:Network
properties:
displayName: AWS Transit Gateway Attachment Network
cloud: AWS
region: us-east-1
cidr: 10.10.0.0/16
connectionTypes:
- TRANSITGATEWAY
environment:
id: ${development.id}
Getting Started
The following end-to-end examples might help to get started with confluentcloud.Network
resource:
dedicated-privatelink-aws-kafka-acls
: Dedicated Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLsdedicated-privatelink-aws-kafka-rbac
: Dedicated Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using RBACdedicated-privatelink-azure-kafka-rbac
: Dedicated Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using RBACdedicated-privatelink-azure-kafka-acls
: Dedicated Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using ACLsdedicated-private-service-connect-gcp-kafka-acls
: Dedicated Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using ACLsdedicated-private-service-connect-gcp-kafka-rbac
: Dedicated Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using RBACdedicated-vnet-peering-azure-kafka-acls
: Dedicated Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using ACLsdedicated-vnet-peering-azure-kafka-rbac
: Dedicated Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using RBACdedicated-vpc-peering-aws-kafka-acls
: Dedicated Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using ACLsdedicated-vpc-peering-aws-kafka-rbac
: Dedicated Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using RBACdedicated-vpc-peering-gcp-kafka-acls
: Dedicated Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using ACLsdedicated-vpc-peering-gcp-kafka-rbac
: Dedicated Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using RBACdedicated-transit-gateway-attachment-aws-kafka-acls
: Dedicated Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLsdedicated-transit-gateway-attachment-aws-kafka-rbac
: Dedicated Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using RBACenterprise-privatelinkattachment-aws-kafka-acls
: Enterprise Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
Create Network Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Network(name: string, args: NetworkArgs, opts?: CustomResourceOptions);
@overload
def Network(resource_name: str,
args: NetworkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Network(resource_name: str,
opts: Optional[ResourceOptions] = None,
region: Optional[str] = None,
cloud: Optional[str] = None,
connection_types: Optional[Sequence[str]] = None,
environment: Optional[NetworkEnvironmentArgs] = None,
azures: Optional[Sequence[NetworkAzureArgs]] = None,
cidr: Optional[str] = None,
display_name: Optional[str] = None,
dns_config: Optional[NetworkDnsConfigArgs] = None,
gcps: Optional[Sequence[NetworkGcpArgs]] = None,
aws: Optional[Sequence[NetworkAwArgs]] = None,
reserved_cidr: Optional[str] = None,
zone_infos: Optional[Sequence[NetworkZoneInfoArgs]] = None,
zones: Optional[Sequence[str]] = None)
func NewNetwork(ctx *Context, name string, args NetworkArgs, opts ...ResourceOption) (*Network, error)
public Network(string name, NetworkArgs args, CustomResourceOptions? opts = null)
public Network(String name, NetworkArgs args)
public Network(String name, NetworkArgs args, CustomResourceOptions options)
type: confluentcloud:Network
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NetworkArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NetworkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var networkResource = new ConfluentCloud.Network("networkResource", new()
{
Region = "string",
Cloud = "string",
ConnectionTypes = new[]
{
"string",
},
Environment = new ConfluentCloud.Inputs.NetworkEnvironmentArgs
{
Id = "string",
},
Azures = new[]
{
new ConfluentCloud.Inputs.NetworkAzureArgs
{
PrivateLinkServiceAliases =
{
{ "string", "string" },
},
},
},
Cidr = "string",
DisplayName = "string",
DnsConfig = new ConfluentCloud.Inputs.NetworkDnsConfigArgs
{
Resolution = "string",
},
Gcps = new[]
{
new ConfluentCloud.Inputs.NetworkGcpArgs
{
PrivateServiceConnectServiceAttachments =
{
{ "string", "string" },
},
Project = "string",
VpcNetwork = "string",
},
},
Aws = new[]
{
new ConfluentCloud.Inputs.NetworkAwArgs
{
Account = "string",
PrivateLinkEndpointService = "string",
Vpc = "string",
},
},
ReservedCidr = "string",
ZoneInfos = new[]
{
new ConfluentCloud.Inputs.NetworkZoneInfoArgs
{
Cidr = "string",
ZoneId = "string",
},
},
Zones = new[]
{
"string",
},
});
example, err := confluentcloud.NewNetwork(ctx, "networkResource", &confluentcloud.NetworkArgs{
Region: pulumi.String("string"),
Cloud: pulumi.String("string"),
ConnectionTypes: pulumi.StringArray{
pulumi.String("string"),
},
Environment: &confluentcloud.NetworkEnvironmentArgs{
Id: pulumi.String("string"),
},
Azures: confluentcloud.NetworkAzureArray{
&confluentcloud.NetworkAzureArgs{
PrivateLinkServiceAliases: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
Cidr: pulumi.String("string"),
DisplayName: pulumi.String("string"),
DnsConfig: &confluentcloud.NetworkDnsConfigArgs{
Resolution: pulumi.String("string"),
},
Gcps: confluentcloud.NetworkGcpArray{
&confluentcloud.NetworkGcpArgs{
PrivateServiceConnectServiceAttachments: pulumi.StringMap{
"string": pulumi.String("string"),
},
Project: pulumi.String("string"),
VpcNetwork: pulumi.String("string"),
},
},
Aws: confluentcloud.NetworkAwArray{
&confluentcloud.NetworkAwArgs{
Account: pulumi.String("string"),
PrivateLinkEndpointService: pulumi.String("string"),
Vpc: pulumi.String("string"),
},
},
ReservedCidr: pulumi.String("string"),
ZoneInfos: confluentcloud.NetworkZoneInfoArray{
&confluentcloud.NetworkZoneInfoArgs{
Cidr: pulumi.String("string"),
ZoneId: pulumi.String("string"),
},
},
Zones: pulumi.StringArray{
pulumi.String("string"),
},
})
var networkResource = new Network("networkResource", NetworkArgs.builder()
.region("string")
.cloud("string")
.connectionTypes("string")
.environment(NetworkEnvironmentArgs.builder()
.id("string")
.build())
.azures(NetworkAzureArgs.builder()
.privateLinkServiceAliases(Map.of("string", "string"))
.build())
.cidr("string")
.displayName("string")
.dnsConfig(NetworkDnsConfigArgs.builder()
.resolution("string")
.build())
.gcps(NetworkGcpArgs.builder()
.privateServiceConnectServiceAttachments(Map.of("string", "string"))
.project("string")
.vpcNetwork("string")
.build())
.aws(NetworkAwArgs.builder()
.account("string")
.privateLinkEndpointService("string")
.vpc("string")
.build())
.reservedCidr("string")
.zoneInfos(NetworkZoneInfoArgs.builder()
.cidr("string")
.zoneId("string")
.build())
.zones("string")
.build());
network_resource = confluentcloud.Network("networkResource",
region="string",
cloud="string",
connection_types=["string"],
environment=confluentcloud.NetworkEnvironmentArgs(
id="string",
),
azures=[confluentcloud.NetworkAzureArgs(
private_link_service_aliases={
"string": "string",
},
)],
cidr="string",
display_name="string",
dns_config=confluentcloud.NetworkDnsConfigArgs(
resolution="string",
),
gcps=[confluentcloud.NetworkGcpArgs(
private_service_connect_service_attachments={
"string": "string",
},
project="string",
vpc_network="string",
)],
aws=[confluentcloud.NetworkAwArgs(
account="string",
private_link_endpoint_service="string",
vpc="string",
)],
reserved_cidr="string",
zone_infos=[confluentcloud.NetworkZoneInfoArgs(
cidr="string",
zone_id="string",
)],
zones=["string"])
const networkResource = new confluentcloud.Network("networkResource", {
region: "string",
cloud: "string",
connectionTypes: ["string"],
environment: {
id: "string",
},
azures: [{
privateLinkServiceAliases: {
string: "string",
},
}],
cidr: "string",
displayName: "string",
dnsConfig: {
resolution: "string",
},
gcps: [{
privateServiceConnectServiceAttachments: {
string: "string",
},
project: "string",
vpcNetwork: "string",
}],
aws: [{
account: "string",
privateLinkEndpointService: "string",
vpc: "string",
}],
reservedCidr: "string",
zoneInfos: [{
cidr: "string",
zoneId: "string",
}],
zones: ["string"],
});
type: confluentcloud:Network
properties:
aws:
- account: string
privateLinkEndpointService: string
vpc: string
azures:
- privateLinkServiceAliases:
string: string
cidr: string
cloud: string
connectionTypes:
- string
displayName: string
dnsConfig:
resolution: string
environment:
id: string
gcps:
- privateServiceConnectServiceAttachments:
string: string
project: string
vpcNetwork: string
region: string
reservedCidr: string
zoneInfos:
- cidr: string
zoneId: string
zones:
- string
Network Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Network resource accepts the following input properties:
- Cloud string
- The cloud service provider in which the network exists. Accepted values are:
AWS
,AZURE
, andGCP
. - Connection
Types List<string> - The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - Environment
Pulumi.
Confluent Cloud. Inputs. Network Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- Region string
- The cloud provider region where the network exists.
- Aws
List<Pulumi.
Confluent Cloud. Inputs. Network Aw> - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- Azures
List<Pulumi.
Confluent Cloud. Inputs. Network Azure> - (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
- Cidr string
- The IPv4 CIDR block to be used for the network. Must be
/16
. Required for VPC peering and AWS TransitGateway. - Display
Name string - The name of the Network.
- Dns
Config Pulumi.Confluent Cloud. Inputs. Network Dns Config - Network DNS config. It applies only to the PRIVATELINK network connection type.
- Gcps
List<Pulumi.
Confluent Cloud. Inputs. Network Gcp> - (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
- Reserved
Cidr string - The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - Zone
Infos List<Pulumi.Confluent Cloud. Inputs. Network Zone Info> - Each item represents information related to a single zone.
- Zones List<string>
- The 3 availability zones for this network. They can optionally be specified for AWS networks
used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP
networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud.
On AWS, zones are AWS AZ IDs, for example,
use1-az3
. On GCP, zones are GCP zones, for example,us-central1-c
. On Azure, zones are Confluent-chosen names (for example,1
,2
,3
) since Azure does not have universal zone identifiers.
- Cloud string
- The cloud service provider in which the network exists. Accepted values are:
AWS
,AZURE
, andGCP
. - Connection
Types []string - The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - Environment
Network
Environment Args - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- Region string
- The cloud provider region where the network exists.
- Aws
[]Network
Aw Args - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- Azures
[]Network
Azure Args - (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
- Cidr string
- The IPv4 CIDR block to be used for the network. Must be
/16
. Required for VPC peering and AWS TransitGateway. - Display
Name string - The name of the Network.
- Dns
Config NetworkDns Config Args - Network DNS config. It applies only to the PRIVATELINK network connection type.
- Gcps
[]Network
Gcp Args - (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
- Reserved
Cidr string - The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - Zone
Infos []NetworkZone Info Args - Each item represents information related to a single zone.
- Zones []string
- The 3 availability zones for this network. They can optionally be specified for AWS networks
used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP
networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud.
On AWS, zones are AWS AZ IDs, for example,
use1-az3
. On GCP, zones are GCP zones, for example,us-central1-c
. On Azure, zones are Confluent-chosen names (for example,1
,2
,3
) since Azure does not have universal zone identifiers.
- cloud String
- The cloud service provider in which the network exists. Accepted values are:
AWS
,AZURE
, andGCP
. - connection
Types List<String> - The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - environment
Network
Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- region String
- The cloud provider region where the network exists.
- aws
List<Network
Aw> - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- azures
List<Network
Azure> - (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
- cidr String
- The IPv4 CIDR block to be used for the network. Must be
/16
. Required for VPC peering and AWS TransitGateway. - display
Name String - The name of the Network.
- dns
Config NetworkDns Config - Network DNS config. It applies only to the PRIVATELINK network connection type.
- gcps
List<Network
Gcp> - (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
- reserved
Cidr String - The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - zone
Infos List<NetworkZone Info> - Each item represents information related to a single zone.
- zones List<String>
- The 3 availability zones for this network. They can optionally be specified for AWS networks
used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP
networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud.
On AWS, zones are AWS AZ IDs, for example,
use1-az3
. On GCP, zones are GCP zones, for example,us-central1-c
. On Azure, zones are Confluent-chosen names (for example,1
,2
,3
) since Azure does not have universal zone identifiers.
- cloud string
- The cloud service provider in which the network exists. Accepted values are:
AWS
,AZURE
, andGCP
. - connection
Types string[] - The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - environment
Network
Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- region string
- The cloud provider region where the network exists.
- aws
Network
Aw[] - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- azures
Network
Azure[] - (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
- cidr string
- The IPv4 CIDR block to be used for the network. Must be
/16
. Required for VPC peering and AWS TransitGateway. - display
Name string - The name of the Network.
- dns
Config NetworkDns Config - Network DNS config. It applies only to the PRIVATELINK network connection type.
- gcps
Network
Gcp[] - (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
- reserved
Cidr string - The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - zone
Infos NetworkZone Info[] - Each item represents information related to a single zone.
- zones string[]
- The 3 availability zones for this network. They can optionally be specified for AWS networks
used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP
networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud.
On AWS, zones are AWS AZ IDs, for example,
use1-az3
. On GCP, zones are GCP zones, for example,us-central1-c
. On Azure, zones are Confluent-chosen names (for example,1
,2
,3
) since Azure does not have universal zone identifiers.
- cloud str
- The cloud service provider in which the network exists. Accepted values are:
AWS
,AZURE
, andGCP
. - connection_
types Sequence[str] - The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - environment
Network
Environment Args - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- region str
- The cloud provider region where the network exists.
- aws
Sequence[Network
Aw Args] - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- azures
Sequence[Network
Azure Args] - (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
- cidr str
- The IPv4 CIDR block to be used for the network. Must be
/16
. Required for VPC peering and AWS TransitGateway. - display_
name str - The name of the Network.
- dns_
config NetworkDns Config Args - Network DNS config. It applies only to the PRIVATELINK network connection type.
- gcps
Sequence[Network
Gcp Args] - (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
- reserved_
cidr str - The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - zone_
infos Sequence[NetworkZone Info Args] - Each item represents information related to a single zone.
- zones Sequence[str]
- The 3 availability zones for this network. They can optionally be specified for AWS networks
used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP
networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud.
On AWS, zones are AWS AZ IDs, for example,
use1-az3
. On GCP, zones are GCP zones, for example,us-central1-c
. On Azure, zones are Confluent-chosen names (for example,1
,2
,3
) since Azure does not have universal zone identifiers.
- cloud String
- The cloud service provider in which the network exists. Accepted values are:
AWS
,AZURE
, andGCP
. - connection
Types List<String> - The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - environment Property Map
- Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- region String
- The cloud provider region where the network exists.
- aws List<Property Map>
- (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- azures List<Property Map>
- (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
- cidr String
- The IPv4 CIDR block to be used for the network. Must be
/16
. Required for VPC peering and AWS TransitGateway. - display
Name String - The name of the Network.
- dns
Config Property Map - Network DNS config. It applies only to the PRIVATELINK network connection type.
- gcps List<Property Map>
- (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
- reserved
Cidr String - The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - zone
Infos List<Property Map> - Each item represents information related to a single zone.
- zones List<String>
- The 3 availability zones for this network. They can optionally be specified for AWS networks
used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP
networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud.
On AWS, zones are AWS AZ IDs, for example,
use1-az3
. On GCP, zones are GCP zones, for example,us-central1-c
. On Azure, zones are Confluent-chosen names (for example,1
,2
,3
) since Azure does not have universal zone identifiers.
Outputs
All input properties are implicitly available as output properties. Additionally, the Network resource produces the following output properties:
- Dns
Domain string - (Optional String) The root DNS domain for the network, for example,
pr123a.us-east-2.aws.confluent.cloud
if applicable. Present on Networks that support Private Link. - Gateways
List<Pulumi.
Confluent Cloud. Outputs. Network Gateway> - (Optional Configuration Block) supports the following:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Name string - (Required String) The Confluent Resource Name of the Network.
- Zonal
Subdomains Dictionary<string, string> - (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example,
use2-az1
and values are DNS domains, for example,use2-az1.pr123a.us-east-2.aws.confluent.cloud
.
- Dns
Domain string - (Optional String) The root DNS domain for the network, for example,
pr123a.us-east-2.aws.confluent.cloud
if applicable. Present on Networks that support Private Link. - Gateways
[]Network
Gateway - (Optional Configuration Block) supports the following:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Name string - (Required String) The Confluent Resource Name of the Network.
- Zonal
Subdomains map[string]string - (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example,
use2-az1
and values are DNS domains, for example,use2-az1.pr123a.us-east-2.aws.confluent.cloud
.
- dns
Domain String - (Optional String) The root DNS domain for the network, for example,
pr123a.us-east-2.aws.confluent.cloud
if applicable. Present on Networks that support Private Link. - gateways
List<Network
Gateway> - (Optional Configuration Block) supports the following:
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Name String - (Required String) The Confluent Resource Name of the Network.
- zonal
Subdomains Map<String,String> - (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example,
use2-az1
and values are DNS domains, for example,use2-az1.pr123a.us-east-2.aws.confluent.cloud
.
- dns
Domain string - (Optional String) The root DNS domain for the network, for example,
pr123a.us-east-2.aws.confluent.cloud
if applicable. Present on Networks that support Private Link. - gateways
Network
Gateway[] - (Optional Configuration Block) supports the following:
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Name string - (Required String) The Confluent Resource Name of the Network.
- zonal
Subdomains {[key: string]: string} - (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example,
use2-az1
and values are DNS domains, for example,use2-az1.pr123a.us-east-2.aws.confluent.cloud
.
- dns_
domain str - (Optional String) The root DNS domain for the network, for example,
pr123a.us-east-2.aws.confluent.cloud
if applicable. Present on Networks that support Private Link. - gateways
Sequence[Network
Gateway] - (Optional Configuration Block) supports the following:
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
name str - (Required String) The Confluent Resource Name of the Network.
- zonal_
subdomains Mapping[str, str] - (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example,
use2-az1
and values are DNS domains, for example,use2-az1.pr123a.us-east-2.aws.confluent.cloud
.
- dns
Domain String - (Optional String) The root DNS domain for the network, for example,
pr123a.us-east-2.aws.confluent.cloud
if applicable. Present on Networks that support Private Link. - gateways List<Property Map>
- (Optional Configuration Block) supports the following:
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Name String - (Required String) The Confluent Resource Name of the Network.
- zonal
Subdomains Map<String> - (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example,
use2-az1
and values are DNS domains, for example,use2-az1.pr123a.us-east-2.aws.confluent.cloud
.
Look up Existing Network Resource
Get an existing Network resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NetworkState, opts?: CustomResourceOptions): Network
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aws: Optional[Sequence[NetworkAwArgs]] = None,
azures: Optional[Sequence[NetworkAzureArgs]] = None,
cidr: Optional[str] = None,
cloud: Optional[str] = None,
connection_types: Optional[Sequence[str]] = None,
display_name: Optional[str] = None,
dns_config: Optional[NetworkDnsConfigArgs] = None,
dns_domain: Optional[str] = None,
environment: Optional[NetworkEnvironmentArgs] = None,
gateways: Optional[Sequence[NetworkGatewayArgs]] = None,
gcps: Optional[Sequence[NetworkGcpArgs]] = None,
region: Optional[str] = None,
reserved_cidr: Optional[str] = None,
resource_name: Optional[str] = None,
zonal_subdomains: Optional[Mapping[str, str]] = None,
zone_infos: Optional[Sequence[NetworkZoneInfoArgs]] = None,
zones: Optional[Sequence[str]] = None) -> Network
func GetNetwork(ctx *Context, name string, id IDInput, state *NetworkState, opts ...ResourceOption) (*Network, error)
public static Network Get(string name, Input<string> id, NetworkState? state, CustomResourceOptions? opts = null)
public static Network get(String name, Output<String> id, NetworkState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Aws
List<Pulumi.
Confluent Cloud. Inputs. Network Aw> - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- Azures
List<Pulumi.
Confluent Cloud. Inputs. Network Azure> - (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
- Cidr string
- The IPv4 CIDR block to be used for the network. Must be
/16
. Required for VPC peering and AWS TransitGateway. - Cloud string
- The cloud service provider in which the network exists. Accepted values are:
AWS
,AZURE
, andGCP
. - Connection
Types List<string> - The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - Display
Name string - The name of the Network.
- Dns
Config Pulumi.Confluent Cloud. Inputs. Network Dns Config - Network DNS config. It applies only to the PRIVATELINK network connection type.
- Dns
Domain string - (Optional String) The root DNS domain for the network, for example,
pr123a.us-east-2.aws.confluent.cloud
if applicable. Present on Networks that support Private Link. - Environment
Pulumi.
Confluent Cloud. Inputs. Network Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- Gateways
List<Pulumi.
Confluent Cloud. Inputs. Network Gateway> - (Optional Configuration Block) supports the following:
- Gcps
List<Pulumi.
Confluent Cloud. Inputs. Network Gcp> - (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
- Region string
- The cloud provider region where the network exists.
- Reserved
Cidr string - The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - Resource
Name string - (Required String) The Confluent Resource Name of the Network.
- Zonal
Subdomains Dictionary<string, string> - (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example,
use2-az1
and values are DNS domains, for example,use2-az1.pr123a.us-east-2.aws.confluent.cloud
. - Zone
Infos List<Pulumi.Confluent Cloud. Inputs. Network Zone Info> - Each item represents information related to a single zone.
- Zones List<string>
- The 3 availability zones for this network. They can optionally be specified for AWS networks
used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP
networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud.
On AWS, zones are AWS AZ IDs, for example,
use1-az3
. On GCP, zones are GCP zones, for example,us-central1-c
. On Azure, zones are Confluent-chosen names (for example,1
,2
,3
) since Azure does not have universal zone identifiers.
- Aws
[]Network
Aw Args - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- Azures
[]Network
Azure Args - (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
- Cidr string
- The IPv4 CIDR block to be used for the network. Must be
/16
. Required for VPC peering and AWS TransitGateway. - Cloud string
- The cloud service provider in which the network exists. Accepted values are:
AWS
,AZURE
, andGCP
. - Connection
Types []string - The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - Display
Name string - The name of the Network.
- Dns
Config NetworkDns Config Args - Network DNS config. It applies only to the PRIVATELINK network connection type.
- Dns
Domain string - (Optional String) The root DNS domain for the network, for example,
pr123a.us-east-2.aws.confluent.cloud
if applicable. Present on Networks that support Private Link. - Environment
Network
Environment Args - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- Gateways
[]Network
Gateway Args - (Optional Configuration Block) supports the following:
- Gcps
[]Network
Gcp Args - (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
- Region string
- The cloud provider region where the network exists.
- Reserved
Cidr string - The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - Resource
Name string - (Required String) The Confluent Resource Name of the Network.
- Zonal
Subdomains map[string]string - (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example,
use2-az1
and values are DNS domains, for example,use2-az1.pr123a.us-east-2.aws.confluent.cloud
. - Zone
Infos []NetworkZone Info Args - Each item represents information related to a single zone.
- Zones []string
- The 3 availability zones for this network. They can optionally be specified for AWS networks
used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP
networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud.
On AWS, zones are AWS AZ IDs, for example,
use1-az3
. On GCP, zones are GCP zones, for example,us-central1-c
. On Azure, zones are Confluent-chosen names (for example,1
,2
,3
) since Azure does not have universal zone identifiers.
- aws
List<Network
Aw> - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- azures
List<Network
Azure> - (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
- cidr String
- The IPv4 CIDR block to be used for the network. Must be
/16
. Required for VPC peering and AWS TransitGateway. - cloud String
- The cloud service provider in which the network exists. Accepted values are:
AWS
,AZURE
, andGCP
. - connection
Types List<String> - The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - display
Name String - The name of the Network.
- dns
Config NetworkDns Config - Network DNS config. It applies only to the PRIVATELINK network connection type.
- dns
Domain String - (Optional String) The root DNS domain for the network, for example,
pr123a.us-east-2.aws.confluent.cloud
if applicable. Present on Networks that support Private Link. - environment
Network
Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- gateways
List<Network
Gateway> - (Optional Configuration Block) supports the following:
- gcps
List<Network
Gcp> - (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
- region String
- The cloud provider region where the network exists.
- reserved
Cidr String - The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - resource
Name String - (Required String) The Confluent Resource Name of the Network.
- zonal
Subdomains Map<String,String> - (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example,
use2-az1
and values are DNS domains, for example,use2-az1.pr123a.us-east-2.aws.confluent.cloud
. - zone
Infos List<NetworkZone Info> - Each item represents information related to a single zone.
- zones List<String>
- The 3 availability zones for this network. They can optionally be specified for AWS networks
used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP
networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud.
On AWS, zones are AWS AZ IDs, for example,
use1-az3
. On GCP, zones are GCP zones, for example,us-central1-c
. On Azure, zones are Confluent-chosen names (for example,1
,2
,3
) since Azure does not have universal zone identifiers.
- aws
Network
Aw[] - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- azures
Network
Azure[] - (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
- cidr string
- The IPv4 CIDR block to be used for the network. Must be
/16
. Required for VPC peering and AWS TransitGateway. - cloud string
- The cloud service provider in which the network exists. Accepted values are:
AWS
,AZURE
, andGCP
. - connection
Types string[] - The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - display
Name string - The name of the Network.
- dns
Config NetworkDns Config - Network DNS config. It applies only to the PRIVATELINK network connection type.
- dns
Domain string - (Optional String) The root DNS domain for the network, for example,
pr123a.us-east-2.aws.confluent.cloud
if applicable. Present on Networks that support Private Link. - environment
Network
Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- gateways
Network
Gateway[] - (Optional Configuration Block) supports the following:
- gcps
Network
Gcp[] - (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
- region string
- The cloud provider region where the network exists.
- reserved
Cidr string - The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - resource
Name string - (Required String) The Confluent Resource Name of the Network.
- zonal
Subdomains {[key: string]: string} - (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example,
use2-az1
and values are DNS domains, for example,use2-az1.pr123a.us-east-2.aws.confluent.cloud
. - zone
Infos NetworkZone Info[] - Each item represents information related to a single zone.
- zones string[]
- The 3 availability zones for this network. They can optionally be specified for AWS networks
used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP
networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud.
On AWS, zones are AWS AZ IDs, for example,
use1-az3
. On GCP, zones are GCP zones, for example,us-central1-c
. On Azure, zones are Confluent-chosen names (for example,1
,2
,3
) since Azure does not have universal zone identifiers.
- aws
Sequence[Network
Aw Args] - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- azures
Sequence[Network
Azure Args] - (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
- cidr str
- The IPv4 CIDR block to be used for the network. Must be
/16
. Required for VPC peering and AWS TransitGateway. - cloud str
- The cloud service provider in which the network exists. Accepted values are:
AWS
,AZURE
, andGCP
. - connection_
types Sequence[str] - The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - display_
name str - The name of the Network.
- dns_
config NetworkDns Config Args - Network DNS config. It applies only to the PRIVATELINK network connection type.
- dns_
domain str - (Optional String) The root DNS domain for the network, for example,
pr123a.us-east-2.aws.confluent.cloud
if applicable. Present on Networks that support Private Link. - environment
Network
Environment Args - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- gateways
Sequence[Network
Gateway Args] - (Optional Configuration Block) supports the following:
- gcps
Sequence[Network
Gcp Args] - (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
- region str
- The cloud provider region where the network exists.
- reserved_
cidr str - The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - resource_
name str - (Required String) The Confluent Resource Name of the Network.
- zonal_
subdomains Mapping[str, str] - (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example,
use2-az1
and values are DNS domains, for example,use2-az1.pr123a.us-east-2.aws.confluent.cloud
. - zone_
infos Sequence[NetworkZone Info Args] - Each item represents information related to a single zone.
- zones Sequence[str]
- The 3 availability zones for this network. They can optionally be specified for AWS networks
used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP
networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud.
On AWS, zones are AWS AZ IDs, for example,
use1-az3
. On GCP, zones are GCP zones, for example,us-central1-c
. On Azure, zones are Confluent-chosen names (for example,1
,2
,3
) since Azure does not have universal zone identifiers.
- aws List<Property Map>
- (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- azures List<Property Map>
- (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
- cidr String
- The IPv4 CIDR block to be used for the network. Must be
/16
. Required for VPC peering and AWS TransitGateway. - cloud String
- The cloud service provider in which the network exists. Accepted values are:
AWS
,AZURE
, andGCP
. - connection
Types List<String> - The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - display
Name String - The name of the Network.
- dns
Config Property Map - Network DNS config. It applies only to the PRIVATELINK network connection type.
- dns
Domain String - (Optional String) The root DNS domain for the network, for example,
pr123a.us-east-2.aws.confluent.cloud
if applicable. Present on Networks that support Private Link. - environment Property Map
- Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- gateways List<Property Map>
- (Optional Configuration Block) supports the following:
- gcps List<Property Map>
- (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
- region String
- The cloud provider region where the network exists.
- reserved
Cidr String - The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - resource
Name String - (Required String) The Confluent Resource Name of the Network.
- zonal
Subdomains Map<String> - (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example,
use2-az1
and values are DNS domains, for example,use2-az1.pr123a.us-east-2.aws.confluent.cloud
. - zone
Infos List<Property Map> - Each item represents information related to a single zone.
- zones List<String>
- The 3 availability zones for this network. They can optionally be specified for AWS networks
used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP
networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud.
On AWS, zones are AWS AZ IDs, for example,
use1-az3
. On GCP, zones are GCP zones, for example,us-central1-c
. On Azure, zones are Confluent-chosen names (for example,1
,2
,3
) since Azure does not have universal zone identifiers.
Supporting Types
NetworkAw, NetworkAwArgs
- Account string
- (Required String) The AWS account ID associated with the Confluent Cloud VPC.
- Private
Link stringEndpoint Service - (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available.
- Vpc string
- (Required String) The Confluent Cloud VPC ID.
- Account string
- (Required String) The AWS account ID associated with the Confluent Cloud VPC.
- Private
Link stringEndpoint Service - (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available.
- Vpc string
- (Required String) The Confluent Cloud VPC ID.
- account String
- (Required String) The AWS account ID associated with the Confluent Cloud VPC.
- private
Link StringEndpoint Service - (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available.
- vpc String
- (Required String) The Confluent Cloud VPC ID.
- account string
- (Required String) The AWS account ID associated with the Confluent Cloud VPC.
- private
Link stringEndpoint Service - (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available.
- vpc string
- (Required String) The Confluent Cloud VPC ID.
- account str
- (Required String) The AWS account ID associated with the Confluent Cloud VPC.
- private_
link_ strendpoint_ service - (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available.
- vpc str
- (Required String) The Confluent Cloud VPC ID.
- account String
- (Required String) The AWS account ID associated with the Confluent Cloud VPC.
- private
Link StringEndpoint Service - (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available.
- vpc String
- (Required String) The Confluent Cloud VPC ID.
NetworkAzure, NetworkAzureArgs
- Private
Link Dictionary<string, string>Service Aliases - (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zone names, for example,
1
and values are Azure Private Link Service Aliases, for example,s-nk99e-privatelink-1.8c43dcd0-695c-1234-bc35-11fe6abb303a.centralus.azure.privatelinkservice
.
- Private
Link map[string]stringService Aliases - (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zone names, for example,
1
and values are Azure Private Link Service Aliases, for example,s-nk99e-privatelink-1.8c43dcd0-695c-1234-bc35-11fe6abb303a.centralus.azure.privatelinkservice
.
- private
Link Map<String,String>Service Aliases - (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zone names, for example,
1
and values are Azure Private Link Service Aliases, for example,s-nk99e-privatelink-1.8c43dcd0-695c-1234-bc35-11fe6abb303a.centralus.azure.privatelinkservice
.
- private
Link {[key: string]: string}Service Aliases - (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zone names, for example,
1
and values are Azure Private Link Service Aliases, for example,s-nk99e-privatelink-1.8c43dcd0-695c-1234-bc35-11fe6abb303a.centralus.azure.privatelinkservice
.
- private_
link_ Mapping[str, str]service_ aliases - (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zone names, for example,
1
and values are Azure Private Link Service Aliases, for example,s-nk99e-privatelink-1.8c43dcd0-695c-1234-bc35-11fe6abb303a.centralus.azure.privatelinkservice
.
- private
Link Map<String>Service Aliases - (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zone names, for example,
1
and values are Azure Private Link Service Aliases, for example,s-nk99e-privatelink-1.8c43dcd0-695c-1234-bc35-11fe6abb303a.centralus.azure.privatelinkservice
.
NetworkDnsConfig, NetworkDnsConfigArgs
- Resolution string
- Network DNS resolution.
When resolution is
CHASED_PRIVATE
, clusters in this network require both public and private DNS to resolve cluster endpoints. When resolution isPRIVATE
, clusters in this network only require private DNS to resolve cluster endpoints.
- Resolution string
- Network DNS resolution.
When resolution is
CHASED_PRIVATE
, clusters in this network require both public and private DNS to resolve cluster endpoints. When resolution isPRIVATE
, clusters in this network only require private DNS to resolve cluster endpoints.
- resolution String
- Network DNS resolution.
When resolution is
CHASED_PRIVATE
, clusters in this network require both public and private DNS to resolve cluster endpoints. When resolution isPRIVATE
, clusters in this network only require private DNS to resolve cluster endpoints.
- resolution string
- Network DNS resolution.
When resolution is
CHASED_PRIVATE
, clusters in this network require both public and private DNS to resolve cluster endpoints. When resolution isPRIVATE
, clusters in this network only require private DNS to resolve cluster endpoints.
- resolution str
- Network DNS resolution.
When resolution is
CHASED_PRIVATE
, clusters in this network require both public and private DNS to resolve cluster endpoints. When resolution isPRIVATE
, clusters in this network only require private DNS to resolve cluster endpoints.
- resolution String
- Network DNS resolution.
When resolution is
CHASED_PRIVATE
, clusters in this network require both public and private DNS to resolve cluster endpoints. When resolution isPRIVATE
, clusters in this network only require private DNS to resolve cluster endpoints.
NetworkEnvironment, NetworkEnvironmentArgs
- Id string
- The ID of the Environment that the Network belongs to, for example,
env-abc123
.
- Id string
- The ID of the Environment that the Network belongs to, for example,
env-abc123
.
- id String
- The ID of the Environment that the Network belongs to, for example,
env-abc123
.
- id string
- The ID of the Environment that the Network belongs to, for example,
env-abc123
.
- id str
- The ID of the Environment that the Network belongs to, for example,
env-abc123
.
- id String
- The ID of the Environment that the Network belongs to, for example,
env-abc123
.
NetworkGateway, NetworkGatewayArgs
- Id string
- (Optional String) The ID of the Gateway, for example,
gw-abc123
.
- Id string
- (Optional String) The ID of the Gateway, for example,
gw-abc123
.
- id String
- (Optional String) The ID of the Gateway, for example,
gw-abc123
.
- id string
- (Optional String) The ID of the Gateway, for example,
gw-abc123
.
- id str
- (Optional String) The ID of the Gateway, for example,
gw-abc123
.
- id String
- (Optional String) The ID of the Gateway, for example,
gw-abc123
.
NetworkGcp, NetworkGcpArgs
- Private
Service Dictionary<string, string>Connect Service Attachments - (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are GCP Private Service Connect service attachment.
- Project string
- (Required String) The GCP Project ID associated with the Confluent Cloud VPC.
- Vpc
Network string - (Required String) The network name of the Confluent Cloud VPC.
- Private
Service map[string]stringConnect Service Attachments - (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are GCP Private Service Connect service attachment.
- Project string
- (Required String) The GCP Project ID associated with the Confluent Cloud VPC.
- Vpc
Network string - (Required String) The network name of the Confluent Cloud VPC.
- private
Service Map<String,String>Connect Service Attachments - (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are GCP Private Service Connect service attachment.
- project String
- (Required String) The GCP Project ID associated with the Confluent Cloud VPC.
- vpc
Network String - (Required String) The network name of the Confluent Cloud VPC.
- private
Service {[key: string]: string}Connect Service Attachments - (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are GCP Private Service Connect service attachment.
- project string
- (Required String) The GCP Project ID associated with the Confluent Cloud VPC.
- vpc
Network string - (Required String) The network name of the Confluent Cloud VPC.
- private_
service_ Mapping[str, str]connect_ service_ attachments - (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are GCP Private Service Connect service attachment.
- project str
- (Required String) The GCP Project ID associated with the Confluent Cloud VPC.
- vpc_
network str - (Required String) The network name of the Confluent Cloud VPC.
- private
Service Map<String>Connect Service Attachments - (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are GCP Private Service Connect service attachment.
- project String
- (Required String) The GCP Project ID associated with the Confluent Cloud VPC.
- vpc
Network String - (Required String) The network name of the Confluent Cloud VPC.
NetworkZoneInfo, NetworkZoneInfoArgs
- Cidr string
The IPv4 CIDR block to be used for the network. Must be
/27
. Required for VPC peering and AWS TransitGateway.Note: The
zone_info
configuration block andreserved_cidr
are in a Limited Availability lifecycle stage, and it's available only for AWS networks with PEERING connection type.- Zone
Id string - Cloud provider zone ID.
- Cidr string
The IPv4 CIDR block to be used for the network. Must be
/27
. Required for VPC peering and AWS TransitGateway.Note: The
zone_info
configuration block andreserved_cidr
are in a Limited Availability lifecycle stage, and it's available only for AWS networks with PEERING connection type.- Zone
Id string - Cloud provider zone ID.
- cidr String
The IPv4 CIDR block to be used for the network. Must be
/27
. Required for VPC peering and AWS TransitGateway.Note: The
zone_info
configuration block andreserved_cidr
are in a Limited Availability lifecycle stage, and it's available only for AWS networks with PEERING connection type.- zone
Id String - Cloud provider zone ID.
- cidr string
The IPv4 CIDR block to be used for the network. Must be
/27
. Required for VPC peering and AWS TransitGateway.Note: The
zone_info
configuration block andreserved_cidr
are in a Limited Availability lifecycle stage, and it's available only for AWS networks with PEERING connection type.- zone
Id string - Cloud provider zone ID.
- cidr str
The IPv4 CIDR block to be used for the network. Must be
/27
. Required for VPC peering and AWS TransitGateway.Note: The
zone_info
configuration block andreserved_cidr
are in a Limited Availability lifecycle stage, and it's available only for AWS networks with PEERING connection type.- zone_
id str - Cloud provider zone ID.
- cidr String
The IPv4 CIDR block to be used for the network. Must be
/27
. Required for VPC peering and AWS TransitGateway.Note: The
zone_info
configuration block andreserved_cidr
are in a Limited Availability lifecycle stage, and it's available only for AWS networks with PEERING connection type.- zone
Id String - Cloud provider zone ID.
Import
You can import a Network by using Environment ID and Network ID, in the format <Environment ID>/<Network ID>
. The following example shows how to import a Network:
$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
$ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
$ pulumi import confluentcloud:index/network:Network my_network env-abc123/n-abc123
!> Warning: Do not forget to delete terminal command history afterwards for security purposes.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Confluent Cloud pulumi/pulumi-confluentcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
confluent
Terraform Provider.