confluentcloud.Peering
Explore with Pulumi AI
Example Usage
Example Peering on AWS
import * as pulumi from "@pulumi/pulumi";
import * as confluentcloud from "@pulumi/confluentcloud";
const development = new confluentcloud.Environment("development", {displayName: "Development"});
const aws_peering = new confluentcloud.Network("aws-peering", {
displayName: "AWS Peering Network",
cloud: "AWS",
region: "us-east-2",
cidr: "10.10.0.0/16",
connectionTypes: ["PEERING"],
environment: {
id: development.id,
},
});
const aws = new confluentcloud.Peering("aws", {
displayName: "AWS Peering",
aws: {
account: "012345678901",
vpc: "vpc-abcdef0123456789a",
routes: ["172.31.0.0/16"],
customerRegion: "us-east-2",
},
environment: {
id: development.id,
},
network: {
id: aws_peering.id,
},
});
import pulumi
import pulumi_confluentcloud as confluentcloud
development = confluentcloud.Environment("development", display_name="Development")
aws_peering = confluentcloud.Network("aws-peering",
display_name="AWS Peering Network",
cloud="AWS",
region="us-east-2",
cidr="10.10.0.0/16",
connection_types=["PEERING"],
environment={
"id": development.id,
})
aws = confluentcloud.Peering("aws",
display_name="AWS Peering",
aws={
"account": "012345678901",
"vpc": "vpc-abcdef0123456789a",
"routes": ["172.31.0.0/16"],
"customer_region": "us-east-2",
},
environment={
"id": development.id,
},
network={
"id": aws_peering.id,
})
package main
import (
"github.com/pulumi/pulumi-confluentcloud/sdk/v2/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-peering", &confluentcloud.NetworkArgs{
DisplayName: pulumi.String("AWS Peering Network"),
Cloud: pulumi.String("AWS"),
Region: pulumi.String("us-east-2"),
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
}
_, err = confluentcloud.NewPeering(ctx, "aws", &confluentcloud.PeeringArgs{
DisplayName: pulumi.String("AWS Peering"),
Aws: &confluentcloud.PeeringAwsArgs{
Account: pulumi.String("012345678901"),
Vpc: pulumi.String("vpc-abcdef0123456789a"),
Routes: pulumi.StringArray{
pulumi.String("172.31.0.0/16"),
},
CustomerRegion: pulumi.String("us-east-2"),
},
Environment: &confluentcloud.PeeringEnvironmentArgs{
Id: development.ID(),
},
Network: &confluentcloud.PeeringNetworkArgs{
Id: aws_peering.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_peering = new ConfluentCloud.Network("aws-peering", new()
{
DisplayName = "AWS Peering Network",
Cloud = "AWS",
Region = "us-east-2",
Cidr = "10.10.0.0/16",
ConnectionTypes = new[]
{
"PEERING",
},
Environment = new ConfluentCloud.Inputs.NetworkEnvironmentArgs
{
Id = development.Id,
},
});
var aws = new ConfluentCloud.Peering("aws", new()
{
DisplayName = "AWS Peering",
Aws = new ConfluentCloud.Inputs.PeeringAwsArgs
{
Account = "012345678901",
Vpc = "vpc-abcdef0123456789a",
Routes = new[]
{
"172.31.0.0/16",
},
CustomerRegion = "us-east-2",
},
Environment = new ConfluentCloud.Inputs.PeeringEnvironmentArgs
{
Id = development.Id,
},
Network = new ConfluentCloud.Inputs.PeeringNetworkArgs
{
Id = aws_peering.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 com.pulumi.confluentcloud.Peering;
import com.pulumi.confluentcloud.PeeringArgs;
import com.pulumi.confluentcloud.inputs.PeeringAwsArgs;
import com.pulumi.confluentcloud.inputs.PeeringEnvironmentArgs;
import com.pulumi.confluentcloud.inputs.PeeringNetworkArgs;
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_peering = new Network("aws-peering", NetworkArgs.builder()
.displayName("AWS Peering Network")
.cloud("AWS")
.region("us-east-2")
.cidr("10.10.0.0/16")
.connectionTypes("PEERING")
.environment(NetworkEnvironmentArgs.builder()
.id(development.id())
.build())
.build());
var aws = new Peering("aws", PeeringArgs.builder()
.displayName("AWS Peering")
.aws(PeeringAwsArgs.builder()
.account("012345678901")
.vpc("vpc-abcdef0123456789a")
.routes("172.31.0.0/16")
.customerRegion("us-east-2")
.build())
.environment(PeeringEnvironmentArgs.builder()
.id(development.id())
.build())
.network(PeeringNetworkArgs.builder()
.id(aws_peering.id())
.build())
.build());
}
}
resources:
development:
type: confluentcloud:Environment
properties:
displayName: Development
aws-peering:
type: confluentcloud:Network
properties:
displayName: AWS Peering Network
cloud: AWS
region: us-east-2
cidr: 10.10.0.0/16
connectionTypes:
- PEERING
environment:
id: ${development.id}
aws:
type: confluentcloud:Peering
properties:
displayName: AWS Peering
aws:
account: '012345678901'
vpc: vpc-abcdef0123456789a
routes:
- 172.31.0.0/16
customerRegion: us-east-2
environment:
id: ${development.id}
network:
id: ${["aws-peering"].id}
Example Peering on Azure
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: "centralus",
cidr: "10.10.0.0/16",
connectionTypes: ["PEERING"],
environment: {
id: development.id,
},
});
const azure = new confluentcloud.Peering("azure", {
displayName: "Azure Peering",
azure: {
tenant: "1111tttt-1111-1111-1111-111111tttttt",
vnet: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet",
customerRegion: "centralus",
},
environment: {
id: development.id,
},
network: {
id: azure_peering.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="centralus",
cidr="10.10.0.0/16",
connection_types=["PEERING"],
environment={
"id": development.id,
})
azure = confluentcloud.Peering("azure",
display_name="Azure Peering",
azure={
"tenant": "1111tttt-1111-1111-1111-111111tttttt",
"vnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet",
"customer_region": "centralus",
},
environment={
"id": development.id,
},
network={
"id": azure_peering.id,
})
package main
import (
"github.com/pulumi/pulumi-confluentcloud/sdk/v2/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("centralus"),
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
}
_, err = confluentcloud.NewPeering(ctx, "azure", &confluentcloud.PeeringArgs{
DisplayName: pulumi.String("Azure Peering"),
Azure: &confluentcloud.PeeringAzureArgs{
Tenant: pulumi.String("1111tttt-1111-1111-1111-111111tttttt"),
Vnet: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet"),
CustomerRegion: pulumi.String("centralus"),
},
Environment: &confluentcloud.PeeringEnvironmentArgs{
Id: development.ID(),
},
Network: &confluentcloud.PeeringNetworkArgs{
Id: azure_peering.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 = "centralus",
Cidr = "10.10.0.0/16",
ConnectionTypes = new[]
{
"PEERING",
},
Environment = new ConfluentCloud.Inputs.NetworkEnvironmentArgs
{
Id = development.Id,
},
});
var azure = new ConfluentCloud.Peering("azure", new()
{
DisplayName = "Azure Peering",
Azure = new ConfluentCloud.Inputs.PeeringAzureArgs
{
Tenant = "1111tttt-1111-1111-1111-111111tttttt",
Vnet = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet",
CustomerRegion = "centralus",
},
Environment = new ConfluentCloud.Inputs.PeeringEnvironmentArgs
{
Id = development.Id,
},
Network = new ConfluentCloud.Inputs.PeeringNetworkArgs
{
Id = azure_peering.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 com.pulumi.confluentcloud.Peering;
import com.pulumi.confluentcloud.PeeringArgs;
import com.pulumi.confluentcloud.inputs.PeeringAzureArgs;
import com.pulumi.confluentcloud.inputs.PeeringEnvironmentArgs;
import com.pulumi.confluentcloud.inputs.PeeringNetworkArgs;
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("centralus")
.cidr("10.10.0.0/16")
.connectionTypes("PEERING")
.environment(NetworkEnvironmentArgs.builder()
.id(development.id())
.build())
.build());
var azure = new Peering("azure", PeeringArgs.builder()
.displayName("Azure Peering")
.azure(PeeringAzureArgs.builder()
.tenant("1111tttt-1111-1111-1111-111111tttttt")
.vnet("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet")
.customerRegion("centralus")
.build())
.environment(PeeringEnvironmentArgs.builder()
.id(development.id())
.build())
.network(PeeringNetworkArgs.builder()
.id(azure_peering.id())
.build())
.build());
}
}
resources:
development:
type: confluentcloud:Environment
properties:
displayName: Development
azure-peering:
type: confluentcloud:Network
properties:
displayName: Azure Peering Network
cloud: AZURE
region: centralus
cidr: 10.10.0.0/16
connectionTypes:
- PEERING
environment:
id: ${development.id}
azure:
type: confluentcloud:Peering
properties:
displayName: Azure Peering
azure:
tenant: 1111tttt-1111-1111-1111-111111tttttt
vnet: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet
customerRegion: centralus
environment:
id: ${development.id}
network:
id: ${["azure-peering"].id}
Example Peering on GCP
Coming soon!
Coming soon!
Coming soon!
Coming soon!
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.Peering;
import com.pulumi.confluentcloud.PeeringArgs;
import com.pulumi.confluentcloud.inputs.PeeringGcpArgs;
import com.pulumi.confluentcloud.inputs.PeeringEnvironmentArgs;
import com.pulumi.confluentcloud.inputs.PeeringNetworkArgs;
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_peering = new Network("gcp-peering", NetworkArgs.builder()
.displayName("GCP Peering Network")
.cloud("GCP")
.region("us-west4")
.cidr("10.10.0.0/16")
.connectionTypes("PEERING")
.environment(NetworkEnvironmentArgs.builder()
.id(development.id())
.build())
.build());
var gcp = new Peering("gcp", PeeringArgs.builder()
.displayName("GCP Peering")
.gcp(PeeringGcpArgs.builder()
.project("temp-gear-123456")
.vpcNetwork("customer-test-vpc-network")
.customerRegion("us-west4")
.build())
.environment(PeeringEnvironmentArgs.builder()
.id(development.id())
.build())
.network(PeeringNetworkArgs.builder()
.id(gcp_peering.id())
.build())
.build());
}
}
resources:
development:
type: confluentcloud:Environment
properties:
displayName: Development
gcp-peering:
type: confluentcloud:Network
properties:
displayName: GCP Peering Network
cloud: GCP
region: us-west4
cidr: 10.10.0.0/16
connectionTypes:
- PEERING
environment:
id: ${development.id}
gcp:
type: confluentcloud:Peering
properties:
displayName: GCP Peering
gcp:
project: temp-gear-123456
vpcNetwork: customer-test-vpc-network
customerRegion: us-west4
environment:
id: ${development.id}
network:
id: ${["gcp-peering"].id}
Getting Started
The following end-to-end examples might help to get started with confluentcloud.Peering
resource:
dedicated-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 Peering Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Peering(name: string, args: PeeringArgs, opts?: CustomResourceOptions);
@overload
def Peering(resource_name: str,
args: PeeringArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Peering(resource_name: str,
opts: Optional[ResourceOptions] = None,
environment: Optional[PeeringEnvironmentArgs] = None,
network: Optional[PeeringNetworkArgs] = None,
aws: Optional[PeeringAwsArgs] = None,
azure: Optional[PeeringAzureArgs] = None,
display_name: Optional[str] = None,
gcp: Optional[PeeringGcpArgs] = None)
func NewPeering(ctx *Context, name string, args PeeringArgs, opts ...ResourceOption) (*Peering, error)
public Peering(string name, PeeringArgs args, CustomResourceOptions? opts = null)
public Peering(String name, PeeringArgs args)
public Peering(String name, PeeringArgs args, CustomResourceOptions options)
type: confluentcloud:Peering
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 PeeringArgs
- 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 PeeringArgs
- 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 PeeringArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PeeringArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PeeringArgs
- 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 peeringResource = new ConfluentCloud.Peering("peeringResource", new()
{
Environment = new ConfluentCloud.Inputs.PeeringEnvironmentArgs
{
Id = "string",
},
Network = new ConfluentCloud.Inputs.PeeringNetworkArgs
{
Id = "string",
},
Aws = new ConfluentCloud.Inputs.PeeringAwsArgs
{
Account = "string",
CustomerRegion = "string",
Routes = new[]
{
"string",
},
Vpc = "string",
},
Azure = new ConfluentCloud.Inputs.PeeringAzureArgs
{
CustomerRegion = "string",
Tenant = "string",
Vnet = "string",
},
DisplayName = "string",
Gcp = new ConfluentCloud.Inputs.PeeringGcpArgs
{
Project = "string",
VpcNetwork = "string",
ImportCustomRoutes = false,
},
});
example, err := confluentcloud.NewPeering(ctx, "peeringResource", &confluentcloud.PeeringArgs{
Environment: &confluentcloud.PeeringEnvironmentArgs{
Id: pulumi.String("string"),
},
Network: &confluentcloud.PeeringNetworkArgs{
Id: pulumi.String("string"),
},
Aws: &confluentcloud.PeeringAwsArgs{
Account: pulumi.String("string"),
CustomerRegion: pulumi.String("string"),
Routes: pulumi.StringArray{
pulumi.String("string"),
},
Vpc: pulumi.String("string"),
},
Azure: &confluentcloud.PeeringAzureArgs{
CustomerRegion: pulumi.String("string"),
Tenant: pulumi.String("string"),
Vnet: pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
Gcp: &confluentcloud.PeeringGcpArgs{
Project: pulumi.String("string"),
VpcNetwork: pulumi.String("string"),
ImportCustomRoutes: pulumi.Bool(false),
},
})
var peeringResource = new Peering("peeringResource", PeeringArgs.builder()
.environment(PeeringEnvironmentArgs.builder()
.id("string")
.build())
.network(PeeringNetworkArgs.builder()
.id("string")
.build())
.aws(PeeringAwsArgs.builder()
.account("string")
.customerRegion("string")
.routes("string")
.vpc("string")
.build())
.azure(PeeringAzureArgs.builder()
.customerRegion("string")
.tenant("string")
.vnet("string")
.build())
.displayName("string")
.gcp(PeeringGcpArgs.builder()
.project("string")
.vpcNetwork("string")
.importCustomRoutes(false)
.build())
.build());
peering_resource = confluentcloud.Peering("peeringResource",
environment={
"id": "string",
},
network={
"id": "string",
},
aws={
"account": "string",
"customer_region": "string",
"routes": ["string"],
"vpc": "string",
},
azure={
"customer_region": "string",
"tenant": "string",
"vnet": "string",
},
display_name="string",
gcp={
"project": "string",
"vpc_network": "string",
"import_custom_routes": False,
})
const peeringResource = new confluentcloud.Peering("peeringResource", {
environment: {
id: "string",
},
network: {
id: "string",
},
aws: {
account: "string",
customerRegion: "string",
routes: ["string"],
vpc: "string",
},
azure: {
customerRegion: "string",
tenant: "string",
vnet: "string",
},
displayName: "string",
gcp: {
project: "string",
vpcNetwork: "string",
importCustomRoutes: false,
},
});
type: confluentcloud:Peering
properties:
aws:
account: string
customerRegion: string
routes:
- string
vpc: string
azure:
customerRegion: string
tenant: string
vnet: string
displayName: string
environment:
id: string
gcp:
importCustomRoutes: false
project: string
vpcNetwork: string
network:
id: string
Peering Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Peering resource accepts the following input properties:
- Environment
Pulumi.
Confluent Cloud. Inputs. Peering Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- Network
Pulumi.
Confluent Cloud. Inputs. Peering Network - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- Aws
Pulumi.
Confluent Cloud. Inputs. Peering Aws - Azure
Pulumi.
Confluent Cloud. Inputs. Peering Azure - Display
Name string - The name of the Peering.
- Gcp
Pulumi.
Confluent Cloud. Inputs. Peering Gcp
- Environment
Peering
Environment Args - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- Network
Peering
Network Args - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- Aws
Peering
Aws Args - Azure
Peering
Azure Args - Display
Name string - The name of the Peering.
- Gcp
Peering
Gcp Args
- environment
Peering
Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- network
Peering
Network - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- aws
Peering
Aws - azure
Peering
Azure - display
Name String - The name of the Peering.
- gcp
Peering
Gcp
- environment
Peering
Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- network
Peering
Network - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- aws
Peering
Aws - azure
Peering
Azure - display
Name string - The name of the Peering.
- gcp
Peering
Gcp
- environment
Peering
Environment Args - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- network
Peering
Network Args - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- aws
Peering
Aws Args - azure
Peering
Azure Args - display_
name str - The name of the Peering.
- gcp
Peering
Gcp Args
- environment Property Map
- Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- network Property Map
- Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- aws Property Map
- azure Property Map
- display
Name String - The name of the Peering.
- gcp Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Peering resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Peering Resource
Get an existing Peering 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?: PeeringState, opts?: CustomResourceOptions): Peering
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aws: Optional[PeeringAwsArgs] = None,
azure: Optional[PeeringAzureArgs] = None,
display_name: Optional[str] = None,
environment: Optional[PeeringEnvironmentArgs] = None,
gcp: Optional[PeeringGcpArgs] = None,
network: Optional[PeeringNetworkArgs] = None) -> Peering
func GetPeering(ctx *Context, name string, id IDInput, state *PeeringState, opts ...ResourceOption) (*Peering, error)
public static Peering Get(string name, Input<string> id, PeeringState? state, CustomResourceOptions? opts = null)
public static Peering get(String name, Output<String> id, PeeringState 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
Pulumi.
Confluent Cloud. Inputs. Peering Aws - Azure
Pulumi.
Confluent Cloud. Inputs. Peering Azure - Display
Name string - The name of the Peering.
- Environment
Pulumi.
Confluent Cloud. Inputs. Peering Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- Gcp
Pulumi.
Confluent Cloud. Inputs. Peering Gcp - Network
Pulumi.
Confluent Cloud. Inputs. Peering Network - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- Aws
Peering
Aws Args - Azure
Peering
Azure Args - Display
Name string - The name of the Peering.
- Environment
Peering
Environment Args - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- Gcp
Peering
Gcp Args - Network
Peering
Network Args - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- aws
Peering
Aws - azure
Peering
Azure - display
Name String - The name of the Peering.
- environment
Peering
Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- gcp
Peering
Gcp - network
Peering
Network - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- aws
Peering
Aws - azure
Peering
Azure - display
Name string - The name of the Peering.
- environment
Peering
Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- gcp
Peering
Gcp - network
Peering
Network - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- aws
Peering
Aws Args - azure
Peering
Azure Args - display_
name str - The name of the Peering.
- environment
Peering
Environment Args - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- gcp
Peering
Gcp Args - network
Peering
Network Args - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- aws Property Map
- azure Property Map
- display
Name String - The name of the Peering.
- environment Property Map
- Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- gcp Property Map
- network Property Map
- Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
Supporting Types
PeeringAws, PeeringAwsArgs
- Account string
- The AWS Account ID of the peer VPC owner. You can find your AWS Account ID here under My Account section of the AWS Management Console. Must be a 12 character string.
- Customer
Region string - The region of the AWS peer VPC.
- Routes List<string>
- The AWS VPC CIDR blocks or subsets. This must be from the supported CIDR blocks and must not overlap with your Confluent Cloud CIDR block or any other network peering connection VPC CIDR (learn more about the requirements here). You can find AWS VPC CIDR here under Your VPCs > Target VPC > Details section of the AWS Management Console.
- Vpc string
- The AWS VPC ID of the peer VPC that you're peering with Confluent Cloud. You can find your AWS VPC ID here under Your VPCs section of the AWS Management Console. Must start with
vpc-
.
- Account string
- The AWS Account ID of the peer VPC owner. You can find your AWS Account ID here under My Account section of the AWS Management Console. Must be a 12 character string.
- Customer
Region string - The region of the AWS peer VPC.
- Routes []string
- The AWS VPC CIDR blocks or subsets. This must be from the supported CIDR blocks and must not overlap with your Confluent Cloud CIDR block or any other network peering connection VPC CIDR (learn more about the requirements here). You can find AWS VPC CIDR here under Your VPCs > Target VPC > Details section of the AWS Management Console.
- Vpc string
- The AWS VPC ID of the peer VPC that you're peering with Confluent Cloud. You can find your AWS VPC ID here under Your VPCs section of the AWS Management Console. Must start with
vpc-
.
- account String
- The AWS Account ID of the peer VPC owner. You can find your AWS Account ID here under My Account section of the AWS Management Console. Must be a 12 character string.
- customer
Region String - The region of the AWS peer VPC.
- routes List<String>
- The AWS VPC CIDR blocks or subsets. This must be from the supported CIDR blocks and must not overlap with your Confluent Cloud CIDR block or any other network peering connection VPC CIDR (learn more about the requirements here). You can find AWS VPC CIDR here under Your VPCs > Target VPC > Details section of the AWS Management Console.
- vpc String
- The AWS VPC ID of the peer VPC that you're peering with Confluent Cloud. You can find your AWS VPC ID here under Your VPCs section of the AWS Management Console. Must start with
vpc-
.
- account string
- The AWS Account ID of the peer VPC owner. You can find your AWS Account ID here under My Account section of the AWS Management Console. Must be a 12 character string.
- customer
Region string - The region of the AWS peer VPC.
- routes string[]
- The AWS VPC CIDR blocks or subsets. This must be from the supported CIDR blocks and must not overlap with your Confluent Cloud CIDR block or any other network peering connection VPC CIDR (learn more about the requirements here). You can find AWS VPC CIDR here under Your VPCs > Target VPC > Details section of the AWS Management Console.
- vpc string
- The AWS VPC ID of the peer VPC that you're peering with Confluent Cloud. You can find your AWS VPC ID here under Your VPCs section of the AWS Management Console. Must start with
vpc-
.
- account str
- The AWS Account ID of the peer VPC owner. You can find your AWS Account ID here under My Account section of the AWS Management Console. Must be a 12 character string.
- customer_
region str - The region of the AWS peer VPC.
- routes Sequence[str]
- The AWS VPC CIDR blocks or subsets. This must be from the supported CIDR blocks and must not overlap with your Confluent Cloud CIDR block or any other network peering connection VPC CIDR (learn more about the requirements here). You can find AWS VPC CIDR here under Your VPCs > Target VPC > Details section of the AWS Management Console.
- vpc str
- The AWS VPC ID of the peer VPC that you're peering with Confluent Cloud. You can find your AWS VPC ID here under Your VPCs section of the AWS Management Console. Must start with
vpc-
.
- account String
- The AWS Account ID of the peer VPC owner. You can find your AWS Account ID here under My Account section of the AWS Management Console. Must be a 12 character string.
- customer
Region String - The region of the AWS peer VPC.
- routes List<String>
- The AWS VPC CIDR blocks or subsets. This must be from the supported CIDR blocks and must not overlap with your Confluent Cloud CIDR block or any other network peering connection VPC CIDR (learn more about the requirements here). You can find AWS VPC CIDR here under Your VPCs > Target VPC > Details section of the AWS Management Console.
- vpc String
- The AWS VPC ID of the peer VPC that you're peering with Confluent Cloud. You can find your AWS VPC ID here under Your VPCs section of the AWS Management Console. Must start with
vpc-
.
PeeringAzure, PeeringAzureArgs
- Customer
Region string - The region of the Azure peer VNet.
- Tenant string
- The Tenant ID that represents an organization in Azure Active Directory. You can find your Azure Tenant ID in the Azure Portal under Azure Active Directory. Must be a valid 32 character UUID string.
- Vnet string
- The resource (composite) ID of the peer Virtual Network that you're peering with Confluent Cloud, in the format
/subscriptions/<Subscription ID>/resourceGroups/<Resource Group Name>/providers/Microsoft.Network/virtualNetworks/<VNet name>
. You can find Subscription ID, Resource Group Name and your VNet name under Virtual Networks > Target VNet > Essentials section of your Microsoft Azure Portal.
- Customer
Region string - The region of the Azure peer VNet.
- Tenant string
- The Tenant ID that represents an organization in Azure Active Directory. You can find your Azure Tenant ID in the Azure Portal under Azure Active Directory. Must be a valid 32 character UUID string.
- Vnet string
- The resource (composite) ID of the peer Virtual Network that you're peering with Confluent Cloud, in the format
/subscriptions/<Subscription ID>/resourceGroups/<Resource Group Name>/providers/Microsoft.Network/virtualNetworks/<VNet name>
. You can find Subscription ID, Resource Group Name and your VNet name under Virtual Networks > Target VNet > Essentials section of your Microsoft Azure Portal.
- customer
Region String - The region of the Azure peer VNet.
- tenant String
- The Tenant ID that represents an organization in Azure Active Directory. You can find your Azure Tenant ID in the Azure Portal under Azure Active Directory. Must be a valid 32 character UUID string.
- vnet String
- The resource (composite) ID of the peer Virtual Network that you're peering with Confluent Cloud, in the format
/subscriptions/<Subscription ID>/resourceGroups/<Resource Group Name>/providers/Microsoft.Network/virtualNetworks/<VNet name>
. You can find Subscription ID, Resource Group Name and your VNet name under Virtual Networks > Target VNet > Essentials section of your Microsoft Azure Portal.
- customer
Region string - The region of the Azure peer VNet.
- tenant string
- The Tenant ID that represents an organization in Azure Active Directory. You can find your Azure Tenant ID in the Azure Portal under Azure Active Directory. Must be a valid 32 character UUID string.
- vnet string
- The resource (composite) ID of the peer Virtual Network that you're peering with Confluent Cloud, in the format
/subscriptions/<Subscription ID>/resourceGroups/<Resource Group Name>/providers/Microsoft.Network/virtualNetworks/<VNet name>
. You can find Subscription ID, Resource Group Name and your VNet name under Virtual Networks > Target VNet > Essentials section of your Microsoft Azure Portal.
- customer_
region str - The region of the Azure peer VNet.
- tenant str
- The Tenant ID that represents an organization in Azure Active Directory. You can find your Azure Tenant ID in the Azure Portal under Azure Active Directory. Must be a valid 32 character UUID string.
- vnet str
- The resource (composite) ID of the peer Virtual Network that you're peering with Confluent Cloud, in the format
/subscriptions/<Subscription ID>/resourceGroups/<Resource Group Name>/providers/Microsoft.Network/virtualNetworks/<VNet name>
. You can find Subscription ID, Resource Group Name and your VNet name under Virtual Networks > Target VNet > Essentials section of your Microsoft Azure Portal.
- customer
Region String - The region of the Azure peer VNet.
- tenant String
- The Tenant ID that represents an organization in Azure Active Directory. You can find your Azure Tenant ID in the Azure Portal under Azure Active Directory. Must be a valid 32 character UUID string.
- vnet String
- The resource (composite) ID of the peer Virtual Network that you're peering with Confluent Cloud, in the format
/subscriptions/<Subscription ID>/resourceGroups/<Resource Group Name>/providers/Microsoft.Network/virtualNetworks/<VNet name>
. You can find Subscription ID, Resource Group Name and your VNet name under Virtual Networks > Target VNet > Essentials section of your Microsoft Azure Portal.
PeeringEnvironment, PeeringEnvironmentArgs
- Id string
- The ID of the Environment that the Peering belongs to, for example,
env-abc123
.
- Id string
- The ID of the Environment that the Peering belongs to, for example,
env-abc123
.
- id String
- The ID of the Environment that the Peering belongs to, for example,
env-abc123
.
- id string
- The ID of the Environment that the Peering belongs to, for example,
env-abc123
.
- id str
- The ID of the Environment that the Peering belongs to, for example,
env-abc123
.
- id String
- The ID of the Environment that the Peering belongs to, for example,
env-abc123
.
PeeringGcp, PeeringGcpArgs
- Project string
- The GCP Project ID. You can find your Google Cloud Project ID under Project ID section of your Google Cloud Console dashboard.
- Vpc
Network string - The VPC network name that you're peering to Confluent Cloud. You can find your VPC network name under VPC Networks section of your Google Cloud Console.
- Import
Custom boolRoutes The Import Custom Routes option enables connectivity to a Confluent Cloud cluster in Google Cloud from customer premise or other clouds, such as AWS and Azure, through a customer VPC that is peered with Confluent Cloud in the same region. Defaults to
false
. Learn more about considerations / limitations of the Import Custom Routes option here.Note: Exactly one from the
aws
,azure
, andgcp
configuration blocks must be specified.Note: Learn more about VPC Peering requirements on AWS here.
Note: Learn more about VNet Peering requirements on Azure here.
Note: Learn more about VPC Peering requirements on Google Cloud Platform here.
- Project string
- The GCP Project ID. You can find your Google Cloud Project ID under Project ID section of your Google Cloud Console dashboard.
- Vpc
Network string - The VPC network name that you're peering to Confluent Cloud. You can find your VPC network name under VPC Networks section of your Google Cloud Console.
- Import
Custom boolRoutes The Import Custom Routes option enables connectivity to a Confluent Cloud cluster in Google Cloud from customer premise or other clouds, such as AWS and Azure, through a customer VPC that is peered with Confluent Cloud in the same region. Defaults to
false
. Learn more about considerations / limitations of the Import Custom Routes option here.Note: Exactly one from the
aws
,azure
, andgcp
configuration blocks must be specified.Note: Learn more about VPC Peering requirements on AWS here.
Note: Learn more about VNet Peering requirements on Azure here.
Note: Learn more about VPC Peering requirements on Google Cloud Platform here.
- project String
- The GCP Project ID. You can find your Google Cloud Project ID under Project ID section of your Google Cloud Console dashboard.
- vpc
Network String - The VPC network name that you're peering to Confluent Cloud. You can find your VPC network name under VPC Networks section of your Google Cloud Console.
- import
Custom BooleanRoutes The Import Custom Routes option enables connectivity to a Confluent Cloud cluster in Google Cloud from customer premise or other clouds, such as AWS and Azure, through a customer VPC that is peered with Confluent Cloud in the same region. Defaults to
false
. Learn more about considerations / limitations of the Import Custom Routes option here.Note: Exactly one from the
aws
,azure
, andgcp
configuration blocks must be specified.Note: Learn more about VPC Peering requirements on AWS here.
Note: Learn more about VNet Peering requirements on Azure here.
Note: Learn more about VPC Peering requirements on Google Cloud Platform here.
- project string
- The GCP Project ID. You can find your Google Cloud Project ID under Project ID section of your Google Cloud Console dashboard.
- vpc
Network string - The VPC network name that you're peering to Confluent Cloud. You can find your VPC network name under VPC Networks section of your Google Cloud Console.
- import
Custom booleanRoutes The Import Custom Routes option enables connectivity to a Confluent Cloud cluster in Google Cloud from customer premise or other clouds, such as AWS and Azure, through a customer VPC that is peered with Confluent Cloud in the same region. Defaults to
false
. Learn more about considerations / limitations of the Import Custom Routes option here.Note: Exactly one from the
aws
,azure
, andgcp
configuration blocks must be specified.Note: Learn more about VPC Peering requirements on AWS here.
Note: Learn more about VNet Peering requirements on Azure here.
Note: Learn more about VPC Peering requirements on Google Cloud Platform here.
- project str
- The GCP Project ID. You can find your Google Cloud Project ID under Project ID section of your Google Cloud Console dashboard.
- vpc_
network str - The VPC network name that you're peering to Confluent Cloud. You can find your VPC network name under VPC Networks section of your Google Cloud Console.
- import_
custom_ boolroutes The Import Custom Routes option enables connectivity to a Confluent Cloud cluster in Google Cloud from customer premise or other clouds, such as AWS and Azure, through a customer VPC that is peered with Confluent Cloud in the same region. Defaults to
false
. Learn more about considerations / limitations of the Import Custom Routes option here.Note: Exactly one from the
aws
,azure
, andgcp
configuration blocks must be specified.Note: Learn more about VPC Peering requirements on AWS here.
Note: Learn more about VNet Peering requirements on Azure here.
Note: Learn more about VPC Peering requirements on Google Cloud Platform here.
- project String
- The GCP Project ID. You can find your Google Cloud Project ID under Project ID section of your Google Cloud Console dashboard.
- vpc
Network String - The VPC network name that you're peering to Confluent Cloud. You can find your VPC network name under VPC Networks section of your Google Cloud Console.
- import
Custom BooleanRoutes The Import Custom Routes option enables connectivity to a Confluent Cloud cluster in Google Cloud from customer premise or other clouds, such as AWS and Azure, through a customer VPC that is peered with Confluent Cloud in the same region. Defaults to
false
. Learn more about considerations / limitations of the Import Custom Routes option here.Note: Exactly one from the
aws
,azure
, andgcp
configuration blocks must be specified.Note: Learn more about VPC Peering requirements on AWS here.
Note: Learn more about VNet Peering requirements on Azure here.
Note: Learn more about VPC Peering requirements on Google Cloud Platform here.
PeeringNetwork, PeeringNetworkArgs
- Id string
- The ID of the Network that the Peering belongs to, for example,
n-abc123
.
- Id string
- The ID of the Network that the Peering belongs to, for example,
n-abc123
.
- id String
- The ID of the Network that the Peering belongs to, for example,
n-abc123
.
- id string
- The ID of the Network that the Peering belongs to, for example,
n-abc123
.
- id str
- The ID of the Network that the Peering belongs to, for example,
n-abc123
.
- id String
- The ID of the Network that the Peering belongs to, for example,
n-abc123
.
Import
You can import a Peering by using Environment ID and Peering ID, in the format <Environment ID>/<Peering ID>
. The following example shows how to import a Peering:
$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
$ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
$ pulumi import confluentcloud:index/peering:Peering my_peer env-abc123/peer-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.