1. Packages
  2. Azure Native
  3. API Docs
  4. awsconnector
  5. Ec2VpcPeeringConnection
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.awsconnector.Ec2VpcPeeringConnection

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

A Microsoft.AwsConnector resource

Uses Azure REST API version 2024-12-01. In version 2.x of the Azure Native provider, it used API version 2024-12-01.

Example Usage

Ec2VpcPeeringConnections_CreateOrReplace

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var ec2VpcPeeringConnection = new AzureNative.AwsConnector.Ec2VpcPeeringConnection("ec2VpcPeeringConnection", new()
    {
        Location = "lqfmwbb",
        Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
        Properties = new AzureNative.AwsConnector.Inputs.Ec2VPCPeeringConnectionPropertiesArgs
        {
            Arn = "dxhchlgpyvhsexomfqaj",
            AwsAccountId = "digeyffuemunjngxz",
            AwsProperties = new AzureNative.AwsConnector.Inputs.AwsEc2VPCPeeringConnectionPropertiesArgs
            {
                Id = "emsfznbbfejdwouyracpg",
                PeerOwnerId = "ddjymdvquwsrdt",
                PeerRegion = "qcbhjmbddzbcs",
                PeerRoleArn = "kaophgngiqxorpifcluz",
                PeerVpcId = "ccurncyuawhicumwcxxnmuq",
                Tags = new[]
                {
                    new AzureNative.AwsConnector.Inputs.TagArgs
                    {
                        Key = "quljgbamnwrovfxsxjeyymnt",
                        Value = "xgzluroiobmj",
                    },
                },
                VpcId = "lkitywfkos",
            },
            AwsRegion = "qgrfrceaszbzvo",
            AwsSourceSchema = "pfevychrftkuamvlorm",
            AwsTags = 
            {
                { "key8493", "juqefkwaorgfmwqzktgjos" },
            },
            PublicCloudConnectorsResourceId = "jlenaffdnxswiytzyfvbfjfghuf",
            PublicCloudResourceName = "ackzpztj",
        },
        ResourceGroupName = "rgec2VPCPeeringConnection",
        Tags = 
        {
            { "key6160", "pgblenahxpyuppjtrhgaqsoabsr" },
        },
    });

});
Copy
package main

import (
	awsconnector "github.com/pulumi/pulumi-azure-native-sdk/awsconnector/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := awsconnector.NewEc2VpcPeeringConnection(ctx, "ec2VpcPeeringConnection", &awsconnector.Ec2VpcPeeringConnectionArgs{
			Location: pulumi.String("lqfmwbb"),
			Name:     pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
			Properties: &awsconnector.Ec2VPCPeeringConnectionPropertiesArgs{
				Arn:          pulumi.String("dxhchlgpyvhsexomfqaj"),
				AwsAccountId: pulumi.String("digeyffuemunjngxz"),
				AwsProperties: &awsconnector.AwsEc2VPCPeeringConnectionPropertiesArgs{
					Id:          pulumi.String("emsfznbbfejdwouyracpg"),
					PeerOwnerId: pulumi.String("ddjymdvquwsrdt"),
					PeerRegion:  pulumi.String("qcbhjmbddzbcs"),
					PeerRoleArn: pulumi.String("kaophgngiqxorpifcluz"),
					PeerVpcId:   pulumi.String("ccurncyuawhicumwcxxnmuq"),
					Tags: awsconnector.TagArray{
						&awsconnector.TagArgs{
							Key:   pulumi.String("quljgbamnwrovfxsxjeyymnt"),
							Value: pulumi.String("xgzluroiobmj"),
						},
					},
					VpcId: pulumi.String("lkitywfkos"),
				},
				AwsRegion:       pulumi.String("qgrfrceaszbzvo"),
				AwsSourceSchema: pulumi.String("pfevychrftkuamvlorm"),
				AwsTags: pulumi.StringMap{
					"key8493": pulumi.String("juqefkwaorgfmwqzktgjos"),
				},
				PublicCloudConnectorsResourceId: pulumi.String("jlenaffdnxswiytzyfvbfjfghuf"),
				PublicCloudResourceName:         pulumi.String("ackzpztj"),
			},
			ResourceGroupName: pulumi.String("rgec2VPCPeeringConnection"),
			Tags: pulumi.StringMap{
				"key6160": pulumi.String("pgblenahxpyuppjtrhgaqsoabsr"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.awsconnector.Ec2VpcPeeringConnection;
import com.pulumi.azurenative.awsconnector.Ec2VpcPeeringConnectionArgs;
import com.pulumi.azurenative.awsconnector.inputs.Ec2VPCPeeringConnectionPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsEc2VPCPeeringConnectionPropertiesArgs;
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 ec2VpcPeeringConnection = new Ec2VpcPeeringConnection("ec2VpcPeeringConnection", Ec2VpcPeeringConnectionArgs.builder()
            .location("lqfmwbb")
            .name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
            .properties(Ec2VPCPeeringConnectionPropertiesArgs.builder()
                .arn("dxhchlgpyvhsexomfqaj")
                .awsAccountId("digeyffuemunjngxz")
                .awsProperties(AwsEc2VPCPeeringConnectionPropertiesArgs.builder()
                    .id("emsfznbbfejdwouyracpg")
                    .peerOwnerId("ddjymdvquwsrdt")
                    .peerRegion("qcbhjmbddzbcs")
                    .peerRoleArn("kaophgngiqxorpifcluz")
                    .peerVpcId("ccurncyuawhicumwcxxnmuq")
                    .tags(TagArgs.builder()
                        .key("quljgbamnwrovfxsxjeyymnt")
                        .value("xgzluroiobmj")
                        .build())
                    .vpcId("lkitywfkos")
                    .build())
                .awsRegion("qgrfrceaszbzvo")
                .awsSourceSchema("pfevychrftkuamvlorm")
                .awsTags(Map.of("key8493", "juqefkwaorgfmwqzktgjos"))
                .publicCloudConnectorsResourceId("jlenaffdnxswiytzyfvbfjfghuf")
                .publicCloudResourceName("ackzpztj")
                .build())
            .resourceGroupName("rgec2VPCPeeringConnection")
            .tags(Map.of("key6160", "pgblenahxpyuppjtrhgaqsoabsr"))
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const ec2VpcPeeringConnection = new azure_native.awsconnector.Ec2VpcPeeringConnection("ec2VpcPeeringConnection", {
    location: "lqfmwbb",
    name: "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
    properties: {
        arn: "dxhchlgpyvhsexomfqaj",
        awsAccountId: "digeyffuemunjngxz",
        awsProperties: {
            id: "emsfznbbfejdwouyracpg",
            peerOwnerId: "ddjymdvquwsrdt",
            peerRegion: "qcbhjmbddzbcs",
            peerRoleArn: "kaophgngiqxorpifcluz",
            peerVpcId: "ccurncyuawhicumwcxxnmuq",
            tags: [{
                key: "quljgbamnwrovfxsxjeyymnt",
                value: "xgzluroiobmj",
            }],
            vpcId: "lkitywfkos",
        },
        awsRegion: "qgrfrceaszbzvo",
        awsSourceSchema: "pfevychrftkuamvlorm",
        awsTags: {
            key8493: "juqefkwaorgfmwqzktgjos",
        },
        publicCloudConnectorsResourceId: "jlenaffdnxswiytzyfvbfjfghuf",
        publicCloudResourceName: "ackzpztj",
    },
    resourceGroupName: "rgec2VPCPeeringConnection",
    tags: {
        key6160: "pgblenahxpyuppjtrhgaqsoabsr",
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

ec2_vpc_peering_connection = azure_native.awsconnector.Ec2VpcPeeringConnection("ec2VpcPeeringConnection",
    location="lqfmwbb",
    name="Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
    properties={
        "arn": "dxhchlgpyvhsexomfqaj",
        "aws_account_id": "digeyffuemunjngxz",
        "aws_properties": {
            "id": "emsfznbbfejdwouyracpg",
            "peer_owner_id": "ddjymdvquwsrdt",
            "peer_region": "qcbhjmbddzbcs",
            "peer_role_arn": "kaophgngiqxorpifcluz",
            "peer_vpc_id": "ccurncyuawhicumwcxxnmuq",
            "tags": [{
                "key": "quljgbamnwrovfxsxjeyymnt",
                "value": "xgzluroiobmj",
            }],
            "vpc_id": "lkitywfkos",
        },
        "aws_region": "qgrfrceaszbzvo",
        "aws_source_schema": "pfevychrftkuamvlorm",
        "aws_tags": {
            "key8493": "juqefkwaorgfmwqzktgjos",
        },
        "public_cloud_connectors_resource_id": "jlenaffdnxswiytzyfvbfjfghuf",
        "public_cloud_resource_name": "ackzpztj",
    },
    resource_group_name="rgec2VPCPeeringConnection",
    tags={
        "key6160": "pgblenahxpyuppjtrhgaqsoabsr",
    })
Copy
resources:
  ec2VpcPeeringConnection:
    type: azure-native:awsconnector:Ec2VpcPeeringConnection
    properties:
      location: lqfmwbb
      name: Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])
      properties:
        arn: dxhchlgpyvhsexomfqaj
        awsAccountId: digeyffuemunjngxz
        awsProperties:
          id: emsfznbbfejdwouyracpg
          peerOwnerId: ddjymdvquwsrdt
          peerRegion: qcbhjmbddzbcs
          peerRoleArn: kaophgngiqxorpifcluz
          peerVpcId: ccurncyuawhicumwcxxnmuq
          tags:
            - key: quljgbamnwrovfxsxjeyymnt
              value: xgzluroiobmj
          vpcId: lkitywfkos
        awsRegion: qgrfrceaszbzvo
        awsSourceSchema: pfevychrftkuamvlorm
        awsTags:
          key8493: juqefkwaorgfmwqzktgjos
        publicCloudConnectorsResourceId: jlenaffdnxswiytzyfvbfjfghuf
        publicCloudResourceName: ackzpztj
      resourceGroupName: rgec2VPCPeeringConnection
      tags:
        key6160: pgblenahxpyuppjtrhgaqsoabsr
Copy

Create Ec2VpcPeeringConnection Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Ec2VpcPeeringConnection(name: string, args: Ec2VpcPeeringConnectionArgs, opts?: CustomResourceOptions);
@overload
def Ec2VpcPeeringConnection(resource_name: str,
                            args: Ec2VpcPeeringConnectionArgs,
                            opts: Optional[ResourceOptions] = None)

@overload
def Ec2VpcPeeringConnection(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            resource_group_name: Optional[str] = None,
                            location: Optional[str] = None,
                            name: Optional[str] = None,
                            properties: Optional[Ec2VPCPeeringConnectionPropertiesArgs] = None,
                            tags: Optional[Mapping[str, str]] = None)
func NewEc2VpcPeeringConnection(ctx *Context, name string, args Ec2VpcPeeringConnectionArgs, opts ...ResourceOption) (*Ec2VpcPeeringConnection, error)
public Ec2VpcPeeringConnection(string name, Ec2VpcPeeringConnectionArgs args, CustomResourceOptions? opts = null)
public Ec2VpcPeeringConnection(String name, Ec2VpcPeeringConnectionArgs args)
public Ec2VpcPeeringConnection(String name, Ec2VpcPeeringConnectionArgs args, CustomResourceOptions options)
type: azure-native:awsconnector:Ec2VpcPeeringConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. Ec2VpcPeeringConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. Ec2VpcPeeringConnectionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. Ec2VpcPeeringConnectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. Ec2VpcPeeringConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. Ec2VpcPeeringConnectionArgs
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 ec2VpcPeeringConnectionResource = new AzureNative.AwsConnector.Ec2VpcPeeringConnection("ec2VpcPeeringConnectionResource", new()
{
    ResourceGroupName = "string",
    Location = "string",
    Name = "string",
    Properties = new AzureNative.AwsConnector.Inputs.Ec2VPCPeeringConnectionPropertiesArgs
    {
        Arn = "string",
        AwsAccountId = "string",
        AwsProperties = new AzureNative.AwsConnector.Inputs.AwsEc2VPCPeeringConnectionPropertiesArgs
        {
            Id = "string",
            PeerOwnerId = "string",
            PeerRegion = "string",
            PeerRoleArn = "string",
            PeerVpcId = "string",
            Tags = new[]
            {
                new AzureNative.AwsConnector.Inputs.TagArgs
                {
                    Key = "string",
                    Value = "string",
                },
            },
            VpcId = "string",
        },
        AwsRegion = "string",
        AwsSourceSchema = "string",
        AwsTags = 
        {
            { "string", "string" },
        },
        PublicCloudConnectorsResourceId = "string",
        PublicCloudResourceName = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := awsconnector.NewEc2VpcPeeringConnection(ctx, "ec2VpcPeeringConnectionResource", &awsconnector.Ec2VpcPeeringConnectionArgs{
	ResourceGroupName: pulumi.String("string"),
	Location:          pulumi.String("string"),
	Name:              pulumi.String("string"),
	Properties: &awsconnector.Ec2VPCPeeringConnectionPropertiesArgs{
		Arn:          pulumi.String("string"),
		AwsAccountId: pulumi.String("string"),
		AwsProperties: &awsconnector.AwsEc2VPCPeeringConnectionPropertiesArgs{
			Id:          pulumi.String("string"),
			PeerOwnerId: pulumi.String("string"),
			PeerRegion:  pulumi.String("string"),
			PeerRoleArn: pulumi.String("string"),
			PeerVpcId:   pulumi.String("string"),
			Tags: awsconnector.TagArray{
				&awsconnector.TagArgs{
					Key:   pulumi.String("string"),
					Value: pulumi.String("string"),
				},
			},
			VpcId: pulumi.String("string"),
		},
		AwsRegion:       pulumi.String("string"),
		AwsSourceSchema: pulumi.String("string"),
		AwsTags: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		PublicCloudConnectorsResourceId: pulumi.String("string"),
		PublicCloudResourceName:         pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var ec2VpcPeeringConnectionResource = new Ec2VpcPeeringConnection("ec2VpcPeeringConnectionResource", Ec2VpcPeeringConnectionArgs.builder()
    .resourceGroupName("string")
    .location("string")
    .name("string")
    .properties(Ec2VPCPeeringConnectionPropertiesArgs.builder()
        .arn("string")
        .awsAccountId("string")
        .awsProperties(AwsEc2VPCPeeringConnectionPropertiesArgs.builder()
            .id("string")
            .peerOwnerId("string")
            .peerRegion("string")
            .peerRoleArn("string")
            .peerVpcId("string")
            .tags(TagArgs.builder()
                .key("string")
                .value("string")
                .build())
            .vpcId("string")
            .build())
        .awsRegion("string")
        .awsSourceSchema("string")
        .awsTags(Map.of("string", "string"))
        .publicCloudConnectorsResourceId("string")
        .publicCloudResourceName("string")
        .build())
    .tags(Map.of("string", "string"))
    .build());
Copy
ec2_vpc_peering_connection_resource = azure_native.awsconnector.Ec2VpcPeeringConnection("ec2VpcPeeringConnectionResource",
    resource_group_name="string",
    location="string",
    name="string",
    properties={
        "arn": "string",
        "aws_account_id": "string",
        "aws_properties": {
            "id": "string",
            "peer_owner_id": "string",
            "peer_region": "string",
            "peer_role_arn": "string",
            "peer_vpc_id": "string",
            "tags": [{
                "key": "string",
                "value": "string",
            }],
            "vpc_id": "string",
        },
        "aws_region": "string",
        "aws_source_schema": "string",
        "aws_tags": {
            "string": "string",
        },
        "public_cloud_connectors_resource_id": "string",
        "public_cloud_resource_name": "string",
    },
    tags={
        "string": "string",
    })
Copy
const ec2VpcPeeringConnectionResource = new azure_native.awsconnector.Ec2VpcPeeringConnection("ec2VpcPeeringConnectionResource", {
    resourceGroupName: "string",
    location: "string",
    name: "string",
    properties: {
        arn: "string",
        awsAccountId: "string",
        awsProperties: {
            id: "string",
            peerOwnerId: "string",
            peerRegion: "string",
            peerRoleArn: "string",
            peerVpcId: "string",
            tags: [{
                key: "string",
                value: "string",
            }],
            vpcId: "string",
        },
        awsRegion: "string",
        awsSourceSchema: "string",
        awsTags: {
            string: "string",
        },
        publicCloudConnectorsResourceId: "string",
        publicCloudResourceName: "string",
    },
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:awsconnector:Ec2VpcPeeringConnection
properties:
    location: string
    name: string
    properties:
        arn: string
        awsAccountId: string
        awsProperties:
            id: string
            peerOwnerId: string
            peerRegion: string
            peerRoleArn: string
            peerVpcId: string
            tags:
                - key: string
                  value: string
            vpcId: string
        awsRegion: string
        awsSourceSchema: string
        awsTags:
            string: string
        publicCloudConnectorsResourceId: string
        publicCloudResourceName: string
    resourceGroupName: string
    tags:
        string: string
Copy

Ec2VpcPeeringConnection 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 Ec2VpcPeeringConnection resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Name Changes to this property will trigger replacement. string
Name of Ec2VPCPeeringConnection
Properties Pulumi.AzureNative.AwsConnector.Inputs.Ec2VPCPeeringConnectionProperties
The resource-specific properties for this resource.
Tags Dictionary<string, string>
Resource tags.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Name Changes to this property will trigger replacement. string
Name of Ec2VPCPeeringConnection
Properties Ec2VPCPeeringConnectionPropertiesArgs
The resource-specific properties for this resource.
Tags map[string]string
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
name Changes to this property will trigger replacement. String
Name of Ec2VPCPeeringConnection
properties Ec2VPCPeeringConnectionProperties
The resource-specific properties for this resource.
tags Map<String,String>
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
name Changes to this property will trigger replacement. string
Name of Ec2VPCPeeringConnection
properties Ec2VPCPeeringConnectionProperties
The resource-specific properties for this resource.
tags {[key: string]: string}
Resource tags.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
name Changes to this property will trigger replacement. str
Name of Ec2VPCPeeringConnection
properties Ec2VPCPeeringConnectionPropertiesArgs
The resource-specific properties for this resource.
tags Mapping[str, str]
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
name Changes to this property will trigger replacement. String
Name of Ec2VPCPeeringConnection
properties Property Map
The resource-specific properties for this resource.
tags Map<String>
Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the Ec2VpcPeeringConnection resource produces the following output properties:

AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
SystemData Pulumi.AzureNative.AwsConnector.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

AwsEc2VPCPeeringConnectionProperties
, AwsEc2VPCPeeringConnectionPropertiesArgs

Id string
Property id
PeerOwnerId string
The AWS account ID of the owner of the accepter VPC.
PeerRegion string
The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
PeerRoleArn string
The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
PeerVpcId string
The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
Tags List<Pulumi.AzureNative.AwsConnector.Inputs.Tag>
Property tags
VpcId string
The ID of the VPC.
Id string
Property id
PeerOwnerId string
The AWS account ID of the owner of the accepter VPC.
PeerRegion string
The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
PeerRoleArn string
The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
PeerVpcId string
The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
Tags []Tag
Property tags
VpcId string
The ID of the VPC.
id String
Property id
peerOwnerId String
The AWS account ID of the owner of the accepter VPC.
peerRegion String
The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
peerRoleArn String
The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
peerVpcId String
The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
tags List<Tag>
Property tags
vpcId String
The ID of the VPC.
id string
Property id
peerOwnerId string
The AWS account ID of the owner of the accepter VPC.
peerRegion string
The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
peerRoleArn string
The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
peerVpcId string
The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
tags Tag[]
Property tags
vpcId string
The ID of the VPC.
id str
Property id
peer_owner_id str
The AWS account ID of the owner of the accepter VPC.
peer_region str
The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
peer_role_arn str
The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
peer_vpc_id str
The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
tags Sequence[Tag]
Property tags
vpc_id str
The ID of the VPC.
id String
Property id
peerOwnerId String
The AWS account ID of the owner of the accepter VPC.
peerRegion String
The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
peerRoleArn String
The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
peerVpcId String
The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
tags List<Property Map>
Property tags
vpcId String
The ID of the VPC.

AwsEc2VPCPeeringConnectionPropertiesResponse
, AwsEc2VPCPeeringConnectionPropertiesResponseArgs

Id string
Property id
PeerOwnerId string
The AWS account ID of the owner of the accepter VPC.
PeerRegion string
The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
PeerRoleArn string
The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
PeerVpcId string
The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
Tags List<Pulumi.AzureNative.AwsConnector.Inputs.TagResponse>
Property tags
VpcId string
The ID of the VPC.
Id string
Property id
PeerOwnerId string
The AWS account ID of the owner of the accepter VPC.
PeerRegion string
The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
PeerRoleArn string
The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
PeerVpcId string
The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
Tags []TagResponse
Property tags
VpcId string
The ID of the VPC.
id String
Property id
peerOwnerId String
The AWS account ID of the owner of the accepter VPC.
peerRegion String
The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
peerRoleArn String
The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
peerVpcId String
The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
tags List<TagResponse>
Property tags
vpcId String
The ID of the VPC.
id string
Property id
peerOwnerId string
The AWS account ID of the owner of the accepter VPC.
peerRegion string
The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
peerRoleArn string
The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
peerVpcId string
The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
tags TagResponse[]
Property tags
vpcId string
The ID of the VPC.
id str
Property id
peer_owner_id str
The AWS account ID of the owner of the accepter VPC.
peer_region str
The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
peer_role_arn str
The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
peer_vpc_id str
The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
tags Sequence[TagResponse]
Property tags
vpc_id str
The ID of the VPC.
id String
Property id
peerOwnerId String
The AWS account ID of the owner of the accepter VPC.
peerRegion String
The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
peerRoleArn String
The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
peerVpcId String
The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
tags List<Property Map>
Property tags
vpcId String
The ID of the VPC.

Ec2VPCPeeringConnectionProperties
, Ec2VPCPeeringConnectionPropertiesArgs

Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties Pulumi.AzureNative.AwsConnector.Inputs.AwsEc2VPCPeeringConnectionProperties
AWS Properties
AwsRegion string
AWS Region
AwsSourceSchema string
AWS Source Schema
AwsTags Dictionary<string, string>
AWS Tags
PublicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
PublicCloudResourceName string
Public Cloud Resource Name
Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties AwsEc2VPCPeeringConnectionProperties
AWS Properties
AwsRegion string
AWS Region
AwsSourceSchema string
AWS Source Schema
AwsTags map[string]string
AWS Tags
PublicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
PublicCloudResourceName string
Public Cloud Resource Name
arn String
Amazon Resource Name (ARN)
awsAccountId String
AWS Account ID
awsProperties AwsEc2VPCPeeringConnectionProperties
AWS Properties
awsRegion String
AWS Region
awsSourceSchema String
AWS Source Schema
awsTags Map<String,String>
AWS Tags
publicCloudConnectorsResourceId String
Public Cloud Connectors Resource ID
publicCloudResourceName String
Public Cloud Resource Name
arn string
Amazon Resource Name (ARN)
awsAccountId string
AWS Account ID
awsProperties AwsEc2VPCPeeringConnectionProperties
AWS Properties
awsRegion string
AWS Region
awsSourceSchema string
AWS Source Schema
awsTags {[key: string]: string}
AWS Tags
publicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
publicCloudResourceName string
Public Cloud Resource Name
arn str
Amazon Resource Name (ARN)
aws_account_id str
AWS Account ID
aws_properties AwsEc2VPCPeeringConnectionProperties
AWS Properties
aws_region str
AWS Region
aws_source_schema str
AWS Source Schema
aws_tags Mapping[str, str]
AWS Tags
public_cloud_connectors_resource_id str
Public Cloud Connectors Resource ID
public_cloud_resource_name str
Public Cloud Resource Name
arn String
Amazon Resource Name (ARN)
awsAccountId String
AWS Account ID
awsProperties Property Map
AWS Properties
awsRegion String
AWS Region
awsSourceSchema String
AWS Source Schema
awsTags Map<String>
AWS Tags
publicCloudConnectorsResourceId String
Public Cloud Connectors Resource ID
publicCloudResourceName String
Public Cloud Resource Name

Ec2VPCPeeringConnectionPropertiesResponse
, Ec2VPCPeeringConnectionPropertiesResponseArgs

ProvisioningState This property is required. string
The status of the last operation.
Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties Pulumi.AzureNative.AwsConnector.Inputs.AwsEc2VPCPeeringConnectionPropertiesResponse
AWS Properties
AwsRegion string
AWS Region
AwsSourceSchema string
AWS Source Schema
AwsTags Dictionary<string, string>
AWS Tags
PublicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
PublicCloudResourceName string
Public Cloud Resource Name
ProvisioningState This property is required. string
The status of the last operation.
Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties AwsEc2VPCPeeringConnectionPropertiesResponse
AWS Properties
AwsRegion string
AWS Region
AwsSourceSchema string
AWS Source Schema
AwsTags map[string]string
AWS Tags
PublicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
PublicCloudResourceName string
Public Cloud Resource Name
provisioningState This property is required. String
The status of the last operation.
arn String
Amazon Resource Name (ARN)
awsAccountId String
AWS Account ID
awsProperties AwsEc2VPCPeeringConnectionPropertiesResponse
AWS Properties
awsRegion String
AWS Region
awsSourceSchema String
AWS Source Schema
awsTags Map<String,String>
AWS Tags
publicCloudConnectorsResourceId String
Public Cloud Connectors Resource ID
publicCloudResourceName String
Public Cloud Resource Name
provisioningState This property is required. string
The status of the last operation.
arn string
Amazon Resource Name (ARN)
awsAccountId string
AWS Account ID
awsProperties AwsEc2VPCPeeringConnectionPropertiesResponse
AWS Properties
awsRegion string
AWS Region
awsSourceSchema string
AWS Source Schema
awsTags {[key: string]: string}
AWS Tags
publicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
publicCloudResourceName string
Public Cloud Resource Name
provisioning_state This property is required. str
The status of the last operation.
arn str
Amazon Resource Name (ARN)
aws_account_id str
AWS Account ID
aws_properties AwsEc2VPCPeeringConnectionPropertiesResponse
AWS Properties
aws_region str
AWS Region
aws_source_schema str
AWS Source Schema
aws_tags Mapping[str, str]
AWS Tags
public_cloud_connectors_resource_id str
Public Cloud Connectors Resource ID
public_cloud_resource_name str
Public Cloud Resource Name
provisioningState This property is required. String
The status of the last operation.
arn String
Amazon Resource Name (ARN)
awsAccountId String
AWS Account ID
awsProperties Property Map
AWS Properties
awsRegion String
AWS Region
awsSourceSchema String
AWS Source Schema
awsTags Map<String>
AWS Tags
publicCloudConnectorsResourceId String
Public Cloud Connectors Resource ID
publicCloudResourceName String
Public Cloud Resource Name

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Tag
, TagArgs

Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key str
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value str
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

TagResponse
, TagResponseArgs

Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key str
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value str
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:awsconnector:Ec2VpcPeeringConnection iqnkjibwefldpplqrvzjt /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/ec2VPCPeeringConnections/{name} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi