confluentcloud.TransitGatewayAttachment
Explore with Pulumi AI
Example Usage
Example Transit Gateway Attachment on AWS
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-2",
cidr: "10.10.0.0/16",
connectionTypes: ["TRANSITGATEWAY"],
environment: {
id: development.id,
},
});
const aws = new confluentcloud.TransitGatewayAttachment("aws", {
displayName: "AWS Transit Gateway Attachment",
aws: {
ramResourceShareArn: "arn:aws:ram:us-east-2:000000000000:resource-share/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx",
transitGatewayId: "tgw-xxxxxxxxxxxxxxxxx",
routes: [
"192.168.0.0/16",
"172.16.0.0/12",
"100.64.0.0/10",
"10.0.0.0/8",
],
},
environment: {
id: development.id,
},
network: {
id: aws_transit_gateway_attachment.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-2",
cidr="10.10.0.0/16",
connection_types=["TRANSITGATEWAY"],
environment={
"id": development.id,
})
aws = confluentcloud.TransitGatewayAttachment("aws",
display_name="AWS Transit Gateway Attachment",
aws={
"ram_resource_share_arn": "arn:aws:ram:us-east-2:000000000000:resource-share/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx",
"transit_gateway_id": "tgw-xxxxxxxxxxxxxxxxx",
"routes": [
"192.168.0.0/16",
"172.16.0.0/12",
"100.64.0.0/10",
"10.0.0.0/8",
],
},
environment={
"id": development.id,
},
network={
"id": aws_transit_gateway_attachment.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-transit-gateway-attachment", &confluentcloud.NetworkArgs{
DisplayName: pulumi.String("AWS Transit Gateway Attachment Network"),
Cloud: pulumi.String("AWS"),
Region: pulumi.String("us-east-2"),
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
}
_, err = confluentcloud.NewTransitGatewayAttachment(ctx, "aws", &confluentcloud.TransitGatewayAttachmentArgs{
DisplayName: pulumi.String("AWS Transit Gateway Attachment"),
Aws: &confluentcloud.TransitGatewayAttachmentAwsArgs{
RamResourceShareArn: pulumi.String("arn:aws:ram:us-east-2:000000000000:resource-share/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx"),
TransitGatewayId: pulumi.String("tgw-xxxxxxxxxxxxxxxxx"),
Routes: pulumi.StringArray{
pulumi.String("192.168.0.0/16"),
pulumi.String("172.16.0.0/12"),
pulumi.String("100.64.0.0/10"),
pulumi.String("10.0.0.0/8"),
},
},
Environment: &confluentcloud.TransitGatewayAttachmentEnvironmentArgs{
Id: development.ID(),
},
Network: &confluentcloud.TransitGatewayAttachmentNetworkArgs{
Id: aws_transit_gateway_attachment.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-2",
Cidr = "10.10.0.0/16",
ConnectionTypes = new[]
{
"TRANSITGATEWAY",
},
Environment = new ConfluentCloud.Inputs.NetworkEnvironmentArgs
{
Id = development.Id,
},
});
var aws = new ConfluentCloud.TransitGatewayAttachment("aws", new()
{
DisplayName = "AWS Transit Gateway Attachment",
Aws = new ConfluentCloud.Inputs.TransitGatewayAttachmentAwsArgs
{
RamResourceShareArn = "arn:aws:ram:us-east-2:000000000000:resource-share/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx",
TransitGatewayId = "tgw-xxxxxxxxxxxxxxxxx",
Routes = new[]
{
"192.168.0.0/16",
"172.16.0.0/12",
"100.64.0.0/10",
"10.0.0.0/8",
},
},
Environment = new ConfluentCloud.Inputs.TransitGatewayAttachmentEnvironmentArgs
{
Id = development.Id,
},
Network = new ConfluentCloud.Inputs.TransitGatewayAttachmentNetworkArgs
{
Id = aws_transit_gateway_attachment.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.TransitGatewayAttachment;
import com.pulumi.confluentcloud.TransitGatewayAttachmentArgs;
import com.pulumi.confluentcloud.inputs.TransitGatewayAttachmentAwsArgs;
import com.pulumi.confluentcloud.inputs.TransitGatewayAttachmentEnvironmentArgs;
import com.pulumi.confluentcloud.inputs.TransitGatewayAttachmentNetworkArgs;
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-2")
.cidr("10.10.0.0/16")
.connectionTypes("TRANSITGATEWAY")
.environment(NetworkEnvironmentArgs.builder()
.id(development.id())
.build())
.build());
var aws = new TransitGatewayAttachment("aws", TransitGatewayAttachmentArgs.builder()
.displayName("AWS Transit Gateway Attachment")
.aws(TransitGatewayAttachmentAwsArgs.builder()
.ramResourceShareArn("arn:aws:ram:us-east-2:000000000000:resource-share/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx")
.transitGatewayId("tgw-xxxxxxxxxxxxxxxxx")
.routes(
"192.168.0.0/16",
"172.16.0.0/12",
"100.64.0.0/10",
"10.0.0.0/8")
.build())
.environment(TransitGatewayAttachmentEnvironmentArgs.builder()
.id(development.id())
.build())
.network(TransitGatewayAttachmentNetworkArgs.builder()
.id(aws_transit_gateway_attachment.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-2
cidr: 10.10.0.0/16
connectionTypes:
- TRANSITGATEWAY
environment:
id: ${development.id}
aws:
type: confluentcloud:TransitGatewayAttachment
properties:
displayName: AWS Transit Gateway Attachment
aws:
ramResourceShareArn: arn:aws:ram:us-east-2:000000000000:resource-share/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx
transitGatewayId: tgw-xxxxxxxxxxxxxxxxx
routes:
- 192.168.0.0/16
- 172.16.0.0/12
- 100.64.0.0/10
- 10.0.0.0/8
environment:
id: ${development.id}
network:
id: ${["aws-transit-gateway-attachment"].id}
Getting Started
The following end-to-end examples might help to get started with confluentcloud.TransitGatewayAttachment
resource:
dedicated-transit-gateway-attachment-aws-kafka-acls
: Dedicated Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs- enterprise-privatelinkattachment-aws-kafka-acls
Create TransitGatewayAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransitGatewayAttachment(name: string, args: TransitGatewayAttachmentArgs, opts?: CustomResourceOptions);
@overload
def TransitGatewayAttachment(resource_name: str,
args: TransitGatewayAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TransitGatewayAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
environment: Optional[TransitGatewayAttachmentEnvironmentArgs] = None,
network: Optional[TransitGatewayAttachmentNetworkArgs] = None,
aws: Optional[TransitGatewayAttachmentAwsArgs] = None,
display_name: Optional[str] = None)
func NewTransitGatewayAttachment(ctx *Context, name string, args TransitGatewayAttachmentArgs, opts ...ResourceOption) (*TransitGatewayAttachment, error)
public TransitGatewayAttachment(string name, TransitGatewayAttachmentArgs args, CustomResourceOptions? opts = null)
public TransitGatewayAttachment(String name, TransitGatewayAttachmentArgs args)
public TransitGatewayAttachment(String name, TransitGatewayAttachmentArgs args, CustomResourceOptions options)
type: confluentcloud:TransitGatewayAttachment
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 TransitGatewayAttachmentArgs
- 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 TransitGatewayAttachmentArgs
- 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 TransitGatewayAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitGatewayAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransitGatewayAttachmentArgs
- 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 transitGatewayAttachmentResource = new ConfluentCloud.TransitGatewayAttachment("transitGatewayAttachmentResource", new()
{
Environment = new ConfluentCloud.Inputs.TransitGatewayAttachmentEnvironmentArgs
{
Id = "string",
},
Network = new ConfluentCloud.Inputs.TransitGatewayAttachmentNetworkArgs
{
Id = "string",
},
Aws = new ConfluentCloud.Inputs.TransitGatewayAttachmentAwsArgs
{
RamResourceShareArn = "string",
Routes = new[]
{
"string",
},
TransitGatewayId = "string",
TransitGatewayAttachmentId = "string",
},
DisplayName = "string",
});
example, err := confluentcloud.NewTransitGatewayAttachment(ctx, "transitGatewayAttachmentResource", &confluentcloud.TransitGatewayAttachmentArgs{
Environment: &confluentcloud.TransitGatewayAttachmentEnvironmentArgs{
Id: pulumi.String("string"),
},
Network: &confluentcloud.TransitGatewayAttachmentNetworkArgs{
Id: pulumi.String("string"),
},
Aws: &confluentcloud.TransitGatewayAttachmentAwsArgs{
RamResourceShareArn: pulumi.String("string"),
Routes: pulumi.StringArray{
pulumi.String("string"),
},
TransitGatewayId: pulumi.String("string"),
TransitGatewayAttachmentId: pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
})
var transitGatewayAttachmentResource = new TransitGatewayAttachment("transitGatewayAttachmentResource", TransitGatewayAttachmentArgs.builder()
.environment(TransitGatewayAttachmentEnvironmentArgs.builder()
.id("string")
.build())
.network(TransitGatewayAttachmentNetworkArgs.builder()
.id("string")
.build())
.aws(TransitGatewayAttachmentAwsArgs.builder()
.ramResourceShareArn("string")
.routes("string")
.transitGatewayId("string")
.transitGatewayAttachmentId("string")
.build())
.displayName("string")
.build());
transit_gateway_attachment_resource = confluentcloud.TransitGatewayAttachment("transitGatewayAttachmentResource",
environment={
"id": "string",
},
network={
"id": "string",
},
aws={
"ram_resource_share_arn": "string",
"routes": ["string"],
"transit_gateway_id": "string",
"transit_gateway_attachment_id": "string",
},
display_name="string")
const transitGatewayAttachmentResource = new confluentcloud.TransitGatewayAttachment("transitGatewayAttachmentResource", {
environment: {
id: "string",
},
network: {
id: "string",
},
aws: {
ramResourceShareArn: "string",
routes: ["string"],
transitGatewayId: "string",
transitGatewayAttachmentId: "string",
},
displayName: "string",
});
type: confluentcloud:TransitGatewayAttachment
properties:
aws:
ramResourceShareArn: string
routes:
- string
transitGatewayAttachmentId: string
transitGatewayId: string
displayName: string
environment:
id: string
network:
id: string
TransitGatewayAttachment 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 TransitGatewayAttachment resource accepts the following input properties:
- Environment
Pulumi.
Confluent Cloud. Inputs. Transit Gateway Attachment Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- Network
Pulumi.
Confluent Cloud. Inputs. Transit Gateway Attachment Network - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- Aws
Pulumi.
Confluent Cloud. Inputs. Transit Gateway Attachment Aws - (Required Configuration Block) The AWS-specific Transit Gateway Attachment details. It supports the following:
- Display
Name string - The name of the Transit Gateway Attachment.
- Environment
Transit
Gateway Attachment Environment Args - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- Network
Transit
Gateway Attachment Network Args - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- Aws
Transit
Gateway Attachment Aws Args - (Required Configuration Block) The AWS-specific Transit Gateway Attachment details. It supports the following:
- Display
Name string - The name of the Transit Gateway Attachment.
- environment
Transit
Gateway Attachment Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- network
Transit
Gateway Attachment Network - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- aws
Transit
Gateway Attachment Aws - (Required Configuration Block) The AWS-specific Transit Gateway Attachment details. It supports the following:
- display
Name String - The name of the Transit Gateway Attachment.
- environment
Transit
Gateway Attachment Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- network
Transit
Gateway Attachment Network - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- aws
Transit
Gateway Attachment Aws - (Required Configuration Block) The AWS-specific Transit Gateway Attachment details. It supports the following:
- display
Name string - The name of the Transit Gateway Attachment.
- environment
Transit
Gateway Attachment Environment Args - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- network
Transit
Gateway Attachment Network Args - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- aws
Transit
Gateway Attachment Aws Args - (Required Configuration Block) The AWS-specific Transit Gateway Attachment details. It supports the following:
- display_
name str - The name of the Transit Gateway Attachment.
- 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
- (Required Configuration Block) The AWS-specific Transit Gateway Attachment details. It supports the following:
- display
Name String - The name of the Transit Gateway Attachment.
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitGatewayAttachment 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 TransitGatewayAttachment Resource
Get an existing TransitGatewayAttachment 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?: TransitGatewayAttachmentState, opts?: CustomResourceOptions): TransitGatewayAttachment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aws: Optional[TransitGatewayAttachmentAwsArgs] = None,
display_name: Optional[str] = None,
environment: Optional[TransitGatewayAttachmentEnvironmentArgs] = None,
network: Optional[TransitGatewayAttachmentNetworkArgs] = None) -> TransitGatewayAttachment
func GetTransitGatewayAttachment(ctx *Context, name string, id IDInput, state *TransitGatewayAttachmentState, opts ...ResourceOption) (*TransitGatewayAttachment, error)
public static TransitGatewayAttachment Get(string name, Input<string> id, TransitGatewayAttachmentState? state, CustomResourceOptions? opts = null)
public static TransitGatewayAttachment get(String name, Output<String> id, TransitGatewayAttachmentState 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. Transit Gateway Attachment Aws - (Required Configuration Block) The AWS-specific Transit Gateway Attachment details. It supports the following:
- Display
Name string - The name of the Transit Gateway Attachment.
- Environment
Pulumi.
Confluent Cloud. Inputs. Transit Gateway Attachment Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- Network
Pulumi.
Confluent Cloud. Inputs. Transit Gateway Attachment Network - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- Aws
Transit
Gateway Attachment Aws Args - (Required Configuration Block) The AWS-specific Transit Gateway Attachment details. It supports the following:
- Display
Name string - The name of the Transit Gateway Attachment.
- Environment
Transit
Gateway Attachment Environment Args - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- Network
Transit
Gateway Attachment Network Args - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- aws
Transit
Gateway Attachment Aws - (Required Configuration Block) The AWS-specific Transit Gateway Attachment details. It supports the following:
- display
Name String - The name of the Transit Gateway Attachment.
- environment
Transit
Gateway Attachment Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- network
Transit
Gateway Attachment Network - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- aws
Transit
Gateway Attachment Aws - (Required Configuration Block) The AWS-specific Transit Gateway Attachment details. It supports the following:
- display
Name string - The name of the Transit Gateway Attachment.
- environment
Transit
Gateway Attachment Environment - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- network
Transit
Gateway Attachment Network - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- aws
Transit
Gateway Attachment Aws Args - (Required Configuration Block) The AWS-specific Transit Gateway Attachment details. It supports the following:
- display_
name str - The name of the Transit Gateway Attachment.
- environment
Transit
Gateway Attachment Environment Args - Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
- network
Transit
Gateway Attachment Network Args - Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider accounts.
- aws Property Map
- (Required Configuration Block) The AWS-specific Transit Gateway Attachment details. It supports the following:
- display
Name String - The name of the Transit Gateway Attachment.
- 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.
Supporting Types
TransitGatewayAttachmentAws, TransitGatewayAttachmentAwsArgs
- string
- The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to.
- Routes List<string>
List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway.
Note: Learn more about Transit Gateway Attachment limitations on AWS here.
- Transit
Gateway stringId - The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with
tgw-
. - Transit
Gateway stringAttachment Id - (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway.
- string
- The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to.
- Routes []string
List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway.
Note: Learn more about Transit Gateway Attachment limitations on AWS here.
- Transit
Gateway stringId - The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with
tgw-
. - Transit
Gateway stringAttachment Id - (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway.
- String
- The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to.
- routes List<String>
List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway.
Note: Learn more about Transit Gateway Attachment limitations on AWS here.
- transit
Gateway StringId - The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with
tgw-
. - transit
Gateway StringAttachment Id - (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway.
- string
- The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to.
- routes string[]
List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway.
Note: Learn more about Transit Gateway Attachment limitations on AWS here.
- transit
Gateway stringId - The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with
tgw-
. - transit
Gateway stringAttachment Id - (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway.
- str
- The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to.
- routes Sequence[str]
List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway.
Note: Learn more about Transit Gateway Attachment limitations on AWS here.
- transit_
gateway_ strid - The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with
tgw-
. - transit_
gateway_ strattachment_ id - (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway.
- String
- The Amazon Resource Name (ARN) of the Resource Access Manager (RAM) Resource Share of the transit gateway your Confluent Cloud network attaches to.
- routes List<String>
List of destination routes for traffic from Confluent VPC to customer VPC via Transit Gateway.
Note: Learn more about Transit Gateway Attachment limitations on AWS here.
- transit
Gateway StringId - The ID of the AWS Transit Gateway that you want Confluent CLoud to be attached to. Must start with
tgw-
. - transit
Gateway StringAttachment Id - (Required String) The ID of the AWS Transit Gateway VPC Attachment that attaches Confluent VPC to Transit Gateway.
TransitGatewayAttachmentEnvironment, TransitGatewayAttachmentEnvironmentArgs
- Id string
- The ID of the Environment that the Transit Gateway Attachment belongs to, for example,
env-abc123
.
- Id string
- The ID of the Environment that the Transit Gateway Attachment belongs to, for example,
env-abc123
.
- id String
- The ID of the Environment that the Transit Gateway Attachment belongs to, for example,
env-abc123
.
- id string
- The ID of the Environment that the Transit Gateway Attachment belongs to, for example,
env-abc123
.
- id str
- The ID of the Environment that the Transit Gateway Attachment belongs to, for example,
env-abc123
.
- id String
- The ID of the Environment that the Transit Gateway Attachment belongs to, for example,
env-abc123
.
TransitGatewayAttachmentNetwork, TransitGatewayAttachmentNetworkArgs
- Id string
- The ID of the Network that the Transit Gateway Attachment belongs to, for example,
n-abc123
.
- Id string
- The ID of the Network that the Transit Gateway Attachment belongs to, for example,
n-abc123
.
- id String
- The ID of the Network that the Transit Gateway Attachment belongs to, for example,
n-abc123
.
- id string
- The ID of the Network that the Transit Gateway Attachment belongs to, for example,
n-abc123
.
- id str
- The ID of the Network that the Transit Gateway Attachment belongs to, for example,
n-abc123
.
- id String
- The ID of the Network that the Transit Gateway Attachment belongs to, for example,
n-abc123
.
Import
You can import a Transit Gateway Attachment by using Environment ID and Transit Gateway Attachment ID, in the format <Environment ID>/<Transit Gateway Attachment ID>
. The following example shows how to import a Transit Gateway Attachment:
$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
$ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
$ pulumi import confluentcloud:index/transitGatewayAttachment:TransitGatewayAttachment my_tgwa env-abc123/tgwa-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.