azure-native.awsconnector.Ec2SecurityGroup
Explore with Pulumi AI
A Microsoft.AwsConnector resource Azure REST API version: 2024-12-01.
Example Usage
Ec2SecurityGroups_CreateOrReplace
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var ec2SecurityGroup = new AzureNative.AwsConnector.Ec2SecurityGroup("ec2SecurityGroup", new()
    {
        Location = "vzuwiygrafixnatwfk",
        Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
        Properties = new AzureNative.AwsConnector.Inputs.Ec2SecurityGroupPropertiesArgs
        {
            Arn = "wmn",
            AwsAccountId = "opjbipitrztwvqiwhvypn",
            AwsProperties = new AzureNative.AwsConnector.Inputs.AwsEc2SecurityGroupPropertiesArgs
            {
                Description = "hrrgskumwbylhgekdhngxjvwdnwt",
                GroupId = "ljankmjnfyn",
                GroupName = "btdfjlqbavbhlssltk",
                IpPermissions = new[]
                {
                    new AzureNative.AwsConnector.Inputs.IpPermissionArgs
                    {
                        FromPort = 20,
                        IpProtocol = "kgjdillfenc",
                        IpRanges = new[]
                        {
                            new AzureNative.AwsConnector.Inputs.IpRangeArgs
                            {
                                CidrIp = "bvmbvmljqvxtixhffwasjzntbuc",
                                Description = "shzjegnqjhifwjai",
                            },
                        },
                        Ipv6Ranges = new[]
                        {
                            new AzureNative.AwsConnector.Inputs.Ipv6RangeArgs
                            {
                                CidrIpv6 = "uxlvmqqyfplqdqzolxmmnclvmtd",
                                Description = "iqaupyjrvko",
                            },
                        },
                        PrefixListIds = new[]
                        {
                            new AzureNative.AwsConnector.Inputs.PrefixListIdArgs
                            {
                                Description = "chukmrsgeaica",
                                PrefixListId = "abvyhxeqhgiuwfmdproas",
                            },
                        },
                        ToPort = 22,
                        UserIdGroupPairs = new[]
                        {
                            new AzureNative.AwsConnector.Inputs.UserIdGroupPairArgs
                            {
                                Description = "ltskpjkztpi",
                                GroupId = "laktgsfwgfj",
                                GroupName = "rrnebynwgsv",
                                PeeringStatus = "t",
                                UserId = "chhl",
                                VpcId = "jxcofqkxxcehakoymxojgpra",
                                VpcPeeringConnectionId = "vdqrycsnfuwkgftprwierfwv",
                            },
                        },
                    },
                },
                IpPermissionsEgress = new[]
                {
                    new AzureNative.AwsConnector.Inputs.IpPermissionArgs
                    {
                        FromPort = 20,
                        IpProtocol = "kgjdillfenc",
                        IpRanges = new[]
                        {
                            new AzureNative.AwsConnector.Inputs.IpRangeArgs
                            {
                                CidrIp = "bvmbvmljqvxtixhffwasjzntbuc",
                                Description = "shzjegnqjhifwjai",
                            },
                        },
                        Ipv6Ranges = new[]
                        {
                            new AzureNative.AwsConnector.Inputs.Ipv6RangeArgs
                            {
                                CidrIpv6 = "uxlvmqqyfplqdqzolxmmnclvmtd",
                                Description = "iqaupyjrvko",
                            },
                        },
                        PrefixListIds = new[]
                        {
                            new AzureNative.AwsConnector.Inputs.PrefixListIdArgs
                            {
                                Description = "chukmrsgeaica",
                                PrefixListId = "abvyhxeqhgiuwfmdproas",
                            },
                        },
                        ToPort = 22,
                        UserIdGroupPairs = new[]
                        {
                            new AzureNative.AwsConnector.Inputs.UserIdGroupPairArgs
                            {
                                Description = "ltskpjkztpi",
                                GroupId = "laktgsfwgfj",
                                GroupName = "rrnebynwgsv",
                                PeeringStatus = "t",
                                UserId = "chhl",
                                VpcId = "jxcofqkxxcehakoymxojgpra",
                                VpcPeeringConnectionId = "vdqrycsnfuwkgftprwierfwv",
                            },
                        },
                    },
                },
                OwnerId = "zjetpuydwcwvcujxzfp",
                Tags = new[]
                {
                    new AzureNative.AwsConnector.Inputs.TagArgs
                    {
                        Key = "qujkc",
                        Value = "jflpondfk",
                    },
                },
                VpcId = "prgpmjbyqcuinimbjrzfmpmme",
            },
            AwsRegion = "hqrasnkghl",
            AwsSourceSchema = "qdcuf",
            AwsTags = 
            {
                { "key5646", "rkutxmprvwlawcnhzsmyyujz" },
            },
            PublicCloudConnectorsResourceId = "fuzo",
            PublicCloudResourceName = "laxwpziyjookzz",
        },
        ResourceGroupName = "rgec2SecurityGroup",
        Tags = 
        {
            { "key9265", "ixznafanbltkovpv" },
        },
    });
});
package main
import (
	awsconnector "github.com/pulumi/pulumi-azure-native-sdk/awsconnector/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := awsconnector.NewEc2SecurityGroup(ctx, "ec2SecurityGroup", &awsconnector.Ec2SecurityGroupArgs{
			Location: pulumi.String("vzuwiygrafixnatwfk"),
			Name:     pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
			Properties: &awsconnector.Ec2SecurityGroupPropertiesArgs{
				Arn:          pulumi.String("wmn"),
				AwsAccountId: pulumi.String("opjbipitrztwvqiwhvypn"),
				AwsProperties: &awsconnector.AwsEc2SecurityGroupPropertiesArgs{
					Description: pulumi.String("hrrgskumwbylhgekdhngxjvwdnwt"),
					GroupId:     pulumi.String("ljankmjnfyn"),
					GroupName:   pulumi.String("btdfjlqbavbhlssltk"),
					IpPermissions: awsconnector.IpPermissionArray{
						&awsconnector.IpPermissionArgs{
							FromPort:   pulumi.Int(20),
							IpProtocol: pulumi.String("kgjdillfenc"),
							IpRanges: awsconnector.IpRangeArray{
								&awsconnector.IpRangeArgs{
									CidrIp:      pulumi.String("bvmbvmljqvxtixhffwasjzntbuc"),
									Description: pulumi.String("shzjegnqjhifwjai"),
								},
							},
							Ipv6Ranges: awsconnector.Ipv6RangeArray{
								&awsconnector.Ipv6RangeArgs{
									CidrIpv6:    pulumi.String("uxlvmqqyfplqdqzolxmmnclvmtd"),
									Description: pulumi.String("iqaupyjrvko"),
								},
							},
							PrefixListIds: awsconnector.PrefixListIdArray{
								&awsconnector.PrefixListIdArgs{
									Description:  pulumi.String("chukmrsgeaica"),
									PrefixListId: pulumi.String("abvyhxeqhgiuwfmdproas"),
								},
							},
							ToPort: pulumi.Int(22),
							UserIdGroupPairs: awsconnector.UserIdGroupPairArray{
								&awsconnector.UserIdGroupPairArgs{
									Description:            pulumi.String("ltskpjkztpi"),
									GroupId:                pulumi.String("laktgsfwgfj"),
									GroupName:              pulumi.String("rrnebynwgsv"),
									PeeringStatus:          pulumi.String("t"),
									UserId:                 pulumi.String("chhl"),
									VpcId:                  pulumi.String("jxcofqkxxcehakoymxojgpra"),
									VpcPeeringConnectionId: pulumi.String("vdqrycsnfuwkgftprwierfwv"),
								},
							},
						},
					},
					IpPermissionsEgress: awsconnector.IpPermissionArray{
						&awsconnector.IpPermissionArgs{
							FromPort:   pulumi.Int(20),
							IpProtocol: pulumi.String("kgjdillfenc"),
							IpRanges: awsconnector.IpRangeArray{
								&awsconnector.IpRangeArgs{
									CidrIp:      pulumi.String("bvmbvmljqvxtixhffwasjzntbuc"),
									Description: pulumi.String("shzjegnqjhifwjai"),
								},
							},
							Ipv6Ranges: awsconnector.Ipv6RangeArray{
								&awsconnector.Ipv6RangeArgs{
									CidrIpv6:    pulumi.String("uxlvmqqyfplqdqzolxmmnclvmtd"),
									Description: pulumi.String("iqaupyjrvko"),
								},
							},
							PrefixListIds: awsconnector.PrefixListIdArray{
								&awsconnector.PrefixListIdArgs{
									Description:  pulumi.String("chukmrsgeaica"),
									PrefixListId: pulumi.String("abvyhxeqhgiuwfmdproas"),
								},
							},
							ToPort: pulumi.Int(22),
							UserIdGroupPairs: awsconnector.UserIdGroupPairArray{
								&awsconnector.UserIdGroupPairArgs{
									Description:            pulumi.String("ltskpjkztpi"),
									GroupId:                pulumi.String("laktgsfwgfj"),
									GroupName:              pulumi.String("rrnebynwgsv"),
									PeeringStatus:          pulumi.String("t"),
									UserId:                 pulumi.String("chhl"),
									VpcId:                  pulumi.String("jxcofqkxxcehakoymxojgpra"),
									VpcPeeringConnectionId: pulumi.String("vdqrycsnfuwkgftprwierfwv"),
								},
							},
						},
					},
					OwnerId: pulumi.String("zjetpuydwcwvcujxzfp"),
					Tags: awsconnector.TagArray{
						&awsconnector.TagArgs{
							Key:   pulumi.String("qujkc"),
							Value: pulumi.String("jflpondfk"),
						},
					},
					VpcId: pulumi.String("prgpmjbyqcuinimbjrzfmpmme"),
				},
				AwsRegion:       pulumi.String("hqrasnkghl"),
				AwsSourceSchema: pulumi.String("qdcuf"),
				AwsTags: pulumi.StringMap{
					"key5646": pulumi.String("rkutxmprvwlawcnhzsmyyujz"),
				},
				PublicCloudConnectorsResourceId: pulumi.String("fuzo"),
				PublicCloudResourceName:         pulumi.String("laxwpziyjookzz"),
			},
			ResourceGroupName: pulumi.String("rgec2SecurityGroup"),
			Tags: pulumi.StringMap{
				"key9265": pulumi.String("ixznafanbltkovpv"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.awsconnector.Ec2SecurityGroup;
import com.pulumi.azurenative.awsconnector.Ec2SecurityGroupArgs;
import com.pulumi.azurenative.awsconnector.inputs.Ec2SecurityGroupPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsEc2SecurityGroupPropertiesArgs;
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 ec2SecurityGroup = new Ec2SecurityGroup("ec2SecurityGroup", Ec2SecurityGroupArgs.builder()
            .location("vzuwiygrafixnatwfk")
            .name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
            .properties(Ec2SecurityGroupPropertiesArgs.builder()
                .arn("wmn")
                .awsAccountId("opjbipitrztwvqiwhvypn")
                .awsProperties(AwsEc2SecurityGroupPropertiesArgs.builder()
                    .description("hrrgskumwbylhgekdhngxjvwdnwt")
                    .groupId("ljankmjnfyn")
                    .groupName("btdfjlqbavbhlssltk")
                    .ipPermissions(IpPermissionArgs.builder()
                        .fromPort(20)
                        .ipProtocol("kgjdillfenc")
                        .ipRanges(IpRangeArgs.builder()
                            .cidrIp("bvmbvmljqvxtixhffwasjzntbuc")
                            .description("shzjegnqjhifwjai")
                            .build())
                        .ipv6Ranges(Ipv6RangeArgs.builder()
                            .cidrIpv6("uxlvmqqyfplqdqzolxmmnclvmtd")
                            .description("iqaupyjrvko")
                            .build())
                        .prefixListIds(PrefixListIdArgs.builder()
                            .description("chukmrsgeaica")
                            .prefixListId("abvyhxeqhgiuwfmdproas")
                            .build())
                        .toPort(22)
                        .userIdGroupPairs(UserIdGroupPairArgs.builder()
                            .description("ltskpjkztpi")
                            .groupId("laktgsfwgfj")
                            .groupName("rrnebynwgsv")
                            .peeringStatus("t")
                            .userId("chhl")
                            .vpcId("jxcofqkxxcehakoymxojgpra")
                            .vpcPeeringConnectionId("vdqrycsnfuwkgftprwierfwv")
                            .build())
                        .build())
                    .ipPermissionsEgress(IpPermissionArgs.builder()
                        .fromPort(20)
                        .ipProtocol("kgjdillfenc")
                        .ipRanges(IpRangeArgs.builder()
                            .cidrIp("bvmbvmljqvxtixhffwasjzntbuc")
                            .description("shzjegnqjhifwjai")
                            .build())
                        .ipv6Ranges(Ipv6RangeArgs.builder()
                            .cidrIpv6("uxlvmqqyfplqdqzolxmmnclvmtd")
                            .description("iqaupyjrvko")
                            .build())
                        .prefixListIds(PrefixListIdArgs.builder()
                            .description("chukmrsgeaica")
                            .prefixListId("abvyhxeqhgiuwfmdproas")
                            .build())
                        .toPort(22)
                        .userIdGroupPairs(UserIdGroupPairArgs.builder()
                            .description("ltskpjkztpi")
                            .groupId("laktgsfwgfj")
                            .groupName("rrnebynwgsv")
                            .peeringStatus("t")
                            .userId("chhl")
                            .vpcId("jxcofqkxxcehakoymxojgpra")
                            .vpcPeeringConnectionId("vdqrycsnfuwkgftprwierfwv")
                            .build())
                        .build())
                    .ownerId("zjetpuydwcwvcujxzfp")
                    .tags(TagArgs.builder()
                        .key("qujkc")
                        .value("jflpondfk")
                        .build())
                    .vpcId("prgpmjbyqcuinimbjrzfmpmme")
                    .build())
                .awsRegion("hqrasnkghl")
                .awsSourceSchema("qdcuf")
                .awsTags(Map.of("key5646", "rkutxmprvwlawcnhzsmyyujz"))
                .publicCloudConnectorsResourceId("fuzo")
                .publicCloudResourceName("laxwpziyjookzz")
                .build())
            .resourceGroupName("rgec2SecurityGroup")
            .tags(Map.of("key9265", "ixznafanbltkovpv"))
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const ec2SecurityGroup = new azure_native.awsconnector.Ec2SecurityGroup("ec2SecurityGroup", {
    location: "vzuwiygrafixnatwfk",
    name: "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
    properties: {
        arn: "wmn",
        awsAccountId: "opjbipitrztwvqiwhvypn",
        awsProperties: {
            description: "hrrgskumwbylhgekdhngxjvwdnwt",
            groupId: "ljankmjnfyn",
            groupName: "btdfjlqbavbhlssltk",
            ipPermissions: [{
                fromPort: 20,
                ipProtocol: "kgjdillfenc",
                ipRanges: [{
                    cidrIp: "bvmbvmljqvxtixhffwasjzntbuc",
                    description: "shzjegnqjhifwjai",
                }],
                ipv6Ranges: [{
                    cidrIpv6: "uxlvmqqyfplqdqzolxmmnclvmtd",
                    description: "iqaupyjrvko",
                }],
                prefixListIds: [{
                    description: "chukmrsgeaica",
                    prefixListId: "abvyhxeqhgiuwfmdproas",
                }],
                toPort: 22,
                userIdGroupPairs: [{
                    description: "ltskpjkztpi",
                    groupId: "laktgsfwgfj",
                    groupName: "rrnebynwgsv",
                    peeringStatus: "t",
                    userId: "chhl",
                    vpcId: "jxcofqkxxcehakoymxojgpra",
                    vpcPeeringConnectionId: "vdqrycsnfuwkgftprwierfwv",
                }],
            }],
            ipPermissionsEgress: [{
                fromPort: 20,
                ipProtocol: "kgjdillfenc",
                ipRanges: [{
                    cidrIp: "bvmbvmljqvxtixhffwasjzntbuc",
                    description: "shzjegnqjhifwjai",
                }],
                ipv6Ranges: [{
                    cidrIpv6: "uxlvmqqyfplqdqzolxmmnclvmtd",
                    description: "iqaupyjrvko",
                }],
                prefixListIds: [{
                    description: "chukmrsgeaica",
                    prefixListId: "abvyhxeqhgiuwfmdproas",
                }],
                toPort: 22,
                userIdGroupPairs: [{
                    description: "ltskpjkztpi",
                    groupId: "laktgsfwgfj",
                    groupName: "rrnebynwgsv",
                    peeringStatus: "t",
                    userId: "chhl",
                    vpcId: "jxcofqkxxcehakoymxojgpra",
                    vpcPeeringConnectionId: "vdqrycsnfuwkgftprwierfwv",
                }],
            }],
            ownerId: "zjetpuydwcwvcujxzfp",
            tags: [{
                key: "qujkc",
                value: "jflpondfk",
            }],
            vpcId: "prgpmjbyqcuinimbjrzfmpmme",
        },
        awsRegion: "hqrasnkghl",
        awsSourceSchema: "qdcuf",
        awsTags: {
            key5646: "rkutxmprvwlawcnhzsmyyujz",
        },
        publicCloudConnectorsResourceId: "fuzo",
        publicCloudResourceName: "laxwpziyjookzz",
    },
    resourceGroupName: "rgec2SecurityGroup",
    tags: {
        key9265: "ixznafanbltkovpv",
    },
});
import pulumi
import pulumi_azure_native as azure_native
ec2_security_group = azure_native.awsconnector.Ec2SecurityGroup("ec2SecurityGroup",
    location="vzuwiygrafixnatwfk",
    name="Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
    properties={
        "arn": "wmn",
        "aws_account_id": "opjbipitrztwvqiwhvypn",
        "aws_properties": {
            "description": "hrrgskumwbylhgekdhngxjvwdnwt",
            "group_id": "ljankmjnfyn",
            "group_name": "btdfjlqbavbhlssltk",
            "ip_permissions": [{
                "from_port": 20,
                "ip_protocol": "kgjdillfenc",
                "ip_ranges": [{
                    "cidr_ip": "bvmbvmljqvxtixhffwasjzntbuc",
                    "description": "shzjegnqjhifwjai",
                }],
                "ipv6_ranges": [{
                    "cidr_ipv6": "uxlvmqqyfplqdqzolxmmnclvmtd",
                    "description": "iqaupyjrvko",
                }],
                "prefix_list_ids": [{
                    "description": "chukmrsgeaica",
                    "prefix_list_id": "abvyhxeqhgiuwfmdproas",
                }],
                "to_port": 22,
                "user_id_group_pairs": [{
                    "description": "ltskpjkztpi",
                    "group_id": "laktgsfwgfj",
                    "group_name": "rrnebynwgsv",
                    "peering_status": "t",
                    "user_id": "chhl",
                    "vpc_id": "jxcofqkxxcehakoymxojgpra",
                    "vpc_peering_connection_id": "vdqrycsnfuwkgftprwierfwv",
                }],
            }],
            "ip_permissions_egress": [{
                "from_port": 20,
                "ip_protocol": "kgjdillfenc",
                "ip_ranges": [{
                    "cidr_ip": "bvmbvmljqvxtixhffwasjzntbuc",
                    "description": "shzjegnqjhifwjai",
                }],
                "ipv6_ranges": [{
                    "cidr_ipv6": "uxlvmqqyfplqdqzolxmmnclvmtd",
                    "description": "iqaupyjrvko",
                }],
                "prefix_list_ids": [{
                    "description": "chukmrsgeaica",
                    "prefix_list_id": "abvyhxeqhgiuwfmdproas",
                }],
                "to_port": 22,
                "user_id_group_pairs": [{
                    "description": "ltskpjkztpi",
                    "group_id": "laktgsfwgfj",
                    "group_name": "rrnebynwgsv",
                    "peering_status": "t",
                    "user_id": "chhl",
                    "vpc_id": "jxcofqkxxcehakoymxojgpra",
                    "vpc_peering_connection_id": "vdqrycsnfuwkgftprwierfwv",
                }],
            }],
            "owner_id": "zjetpuydwcwvcujxzfp",
            "tags": [{
                "key": "qujkc",
                "value": "jflpondfk",
            }],
            "vpc_id": "prgpmjbyqcuinimbjrzfmpmme",
        },
        "aws_region": "hqrasnkghl",
        "aws_source_schema": "qdcuf",
        "aws_tags": {
            "key5646": "rkutxmprvwlawcnhzsmyyujz",
        },
        "public_cloud_connectors_resource_id": "fuzo",
        "public_cloud_resource_name": "laxwpziyjookzz",
    },
    resource_group_name="rgec2SecurityGroup",
    tags={
        "key9265": "ixznafanbltkovpv",
    })
resources:
  ec2SecurityGroup:
    type: azure-native:awsconnector:Ec2SecurityGroup
    properties:
      location: vzuwiygrafixnatwfk
      name: Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])
      properties:
        arn: wmn
        awsAccountId: opjbipitrztwvqiwhvypn
        awsProperties:
          description: hrrgskumwbylhgekdhngxjvwdnwt
          groupId: ljankmjnfyn
          groupName: btdfjlqbavbhlssltk
          ipPermissions:
            - fromPort: 20
              ipProtocol: kgjdillfenc
              ipRanges:
                - cidrIp: bvmbvmljqvxtixhffwasjzntbuc
                  description: shzjegnqjhifwjai
              ipv6Ranges:
                - cidrIpv6: uxlvmqqyfplqdqzolxmmnclvmtd
                  description: iqaupyjrvko
              prefixListIds:
                - description: chukmrsgeaica
                  prefixListId: abvyhxeqhgiuwfmdproas
              toPort: 22
              userIdGroupPairs:
                - description: ltskpjkztpi
                  groupId: laktgsfwgfj
                  groupName: rrnebynwgsv
                  peeringStatus: t
                  userId: chhl
                  vpcId: jxcofqkxxcehakoymxojgpra
                  vpcPeeringConnectionId: vdqrycsnfuwkgftprwierfwv
          ipPermissionsEgress:
            - fromPort: 20
              ipProtocol: kgjdillfenc
              ipRanges:
                - cidrIp: bvmbvmljqvxtixhffwasjzntbuc
                  description: shzjegnqjhifwjai
              ipv6Ranges:
                - cidrIpv6: uxlvmqqyfplqdqzolxmmnclvmtd
                  description: iqaupyjrvko
              prefixListIds:
                - description: chukmrsgeaica
                  prefixListId: abvyhxeqhgiuwfmdproas
              toPort: 22
              userIdGroupPairs:
                - description: ltskpjkztpi
                  groupId: laktgsfwgfj
                  groupName: rrnebynwgsv
                  peeringStatus: t
                  userId: chhl
                  vpcId: jxcofqkxxcehakoymxojgpra
                  vpcPeeringConnectionId: vdqrycsnfuwkgftprwierfwv
          ownerId: zjetpuydwcwvcujxzfp
          tags:
            - key: qujkc
              value: jflpondfk
          vpcId: prgpmjbyqcuinimbjrzfmpmme
        awsRegion: hqrasnkghl
        awsSourceSchema: qdcuf
        awsTags:
          key5646: rkutxmprvwlawcnhzsmyyujz
        publicCloudConnectorsResourceId: fuzo
        publicCloudResourceName: laxwpziyjookzz
      resourceGroupName: rgec2SecurityGroup
      tags:
        key9265: ixznafanbltkovpv
Create Ec2SecurityGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Ec2SecurityGroup(name: string, args: Ec2SecurityGroupArgs, opts?: CustomResourceOptions);@overload
def Ec2SecurityGroup(resource_name: str,
                     args: Ec2SecurityGroupArgs,
                     opts: Optional[ResourceOptions] = None)
@overload
def Ec2SecurityGroup(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     resource_group_name: Optional[str] = None,
                     location: Optional[str] = None,
                     name: Optional[str] = None,
                     properties: Optional[Ec2SecurityGroupPropertiesArgs] = None,
                     tags: Optional[Mapping[str, str]] = None)func NewEc2SecurityGroup(ctx *Context, name string, args Ec2SecurityGroupArgs, opts ...ResourceOption) (*Ec2SecurityGroup, error)public Ec2SecurityGroup(string name, Ec2SecurityGroupArgs args, CustomResourceOptions? opts = null)
public Ec2SecurityGroup(String name, Ec2SecurityGroupArgs args)
public Ec2SecurityGroup(String name, Ec2SecurityGroupArgs args, CustomResourceOptions options)
type: azure-native:awsconnector:Ec2SecurityGroup
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 Ec2SecurityGroupArgs
- 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 Ec2SecurityGroupArgs
- 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 Ec2SecurityGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args Ec2SecurityGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args Ec2SecurityGroupArgs
- 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 ec2SecurityGroupResource = new AzureNative.AwsConnector.Ec2SecurityGroup("ec2SecurityGroupResource", new()
{
    ResourceGroupName = "string",
    Location = "string",
    Name = "string",
    Properties = new AzureNative.AwsConnector.Inputs.Ec2SecurityGroupPropertiesArgs
    {
        Arn = "string",
        AwsAccountId = "string",
        AwsProperties = new AzureNative.AwsConnector.Inputs.AwsEc2SecurityGroupPropertiesArgs
        {
            Description = "string",
            GroupId = "string",
            GroupName = "string",
            IpPermissions = new[]
            {
                new AzureNative.AwsConnector.Inputs.IpPermissionArgs
                {
                    FromPort = 0,
                    IpProtocol = "string",
                    IpRanges = new[]
                    {
                        new AzureNative.AwsConnector.Inputs.IpRangeArgs
                        {
                            CidrIp = "string",
                            Description = "string",
                        },
                    },
                    Ipv6Ranges = new[]
                    {
                        new AzureNative.AwsConnector.Inputs.Ipv6RangeArgs
                        {
                            CidrIpv6 = "string",
                            Description = "string",
                        },
                    },
                    PrefixListIds = new[]
                    {
                        new AzureNative.AwsConnector.Inputs.PrefixListIdArgs
                        {
                            Description = "string",
                            PrefixListId = "string",
                        },
                    },
                    ToPort = 0,
                    UserIdGroupPairs = new[]
                    {
                        new AzureNative.AwsConnector.Inputs.UserIdGroupPairArgs
                        {
                            Description = "string",
                            GroupId = "string",
                            GroupName = "string",
                            PeeringStatus = "string",
                            UserId = "string",
                            VpcId = "string",
                            VpcPeeringConnectionId = "string",
                        },
                    },
                },
            },
            IpPermissionsEgress = new[]
            {
                new AzureNative.AwsConnector.Inputs.IpPermissionArgs
                {
                    FromPort = 0,
                    IpProtocol = "string",
                    IpRanges = new[]
                    {
                        new AzureNative.AwsConnector.Inputs.IpRangeArgs
                        {
                            CidrIp = "string",
                            Description = "string",
                        },
                    },
                    Ipv6Ranges = new[]
                    {
                        new AzureNative.AwsConnector.Inputs.Ipv6RangeArgs
                        {
                            CidrIpv6 = "string",
                            Description = "string",
                        },
                    },
                    PrefixListIds = new[]
                    {
                        new AzureNative.AwsConnector.Inputs.PrefixListIdArgs
                        {
                            Description = "string",
                            PrefixListId = "string",
                        },
                    },
                    ToPort = 0,
                    UserIdGroupPairs = new[]
                    {
                        new AzureNative.AwsConnector.Inputs.UserIdGroupPairArgs
                        {
                            Description = "string",
                            GroupId = "string",
                            GroupName = "string",
                            PeeringStatus = "string",
                            UserId = "string",
                            VpcId = "string",
                            VpcPeeringConnectionId = "string",
                        },
                    },
                },
            },
            OwnerId = "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" },
    },
});
example, err := awsconnector.NewEc2SecurityGroup(ctx, "ec2SecurityGroupResource", &awsconnector.Ec2SecurityGroupArgs{
	ResourceGroupName: pulumi.String("string"),
	Location:          pulumi.String("string"),
	Name:              pulumi.String("string"),
	Properties: &awsconnector.Ec2SecurityGroupPropertiesArgs{
		Arn:          pulumi.String("string"),
		AwsAccountId: pulumi.String("string"),
		AwsProperties: &awsconnector.AwsEc2SecurityGroupPropertiesArgs{
			Description: pulumi.String("string"),
			GroupId:     pulumi.String("string"),
			GroupName:   pulumi.String("string"),
			IpPermissions: awsconnector.IpPermissionArray{
				&awsconnector.IpPermissionArgs{
					FromPort:   pulumi.Int(0),
					IpProtocol: pulumi.String("string"),
					IpRanges: awsconnector.IpRangeArray{
						&awsconnector.IpRangeArgs{
							CidrIp:      pulumi.String("string"),
							Description: pulumi.String("string"),
						},
					},
					Ipv6Ranges: awsconnector.Ipv6RangeArray{
						&awsconnector.Ipv6RangeArgs{
							CidrIpv6:    pulumi.String("string"),
							Description: pulumi.String("string"),
						},
					},
					PrefixListIds: awsconnector.PrefixListIdArray{
						&awsconnector.PrefixListIdArgs{
							Description:  pulumi.String("string"),
							PrefixListId: pulumi.String("string"),
						},
					},
					ToPort: pulumi.Int(0),
					UserIdGroupPairs: awsconnector.UserIdGroupPairArray{
						&awsconnector.UserIdGroupPairArgs{
							Description:            pulumi.String("string"),
							GroupId:                pulumi.String("string"),
							GroupName:              pulumi.String("string"),
							PeeringStatus:          pulumi.String("string"),
							UserId:                 pulumi.String("string"),
							VpcId:                  pulumi.String("string"),
							VpcPeeringConnectionId: pulumi.String("string"),
						},
					},
				},
			},
			IpPermissionsEgress: awsconnector.IpPermissionArray{
				&awsconnector.IpPermissionArgs{
					FromPort:   pulumi.Int(0),
					IpProtocol: pulumi.String("string"),
					IpRanges: awsconnector.IpRangeArray{
						&awsconnector.IpRangeArgs{
							CidrIp:      pulumi.String("string"),
							Description: pulumi.String("string"),
						},
					},
					Ipv6Ranges: awsconnector.Ipv6RangeArray{
						&awsconnector.Ipv6RangeArgs{
							CidrIpv6:    pulumi.String("string"),
							Description: pulumi.String("string"),
						},
					},
					PrefixListIds: awsconnector.PrefixListIdArray{
						&awsconnector.PrefixListIdArgs{
							Description:  pulumi.String("string"),
							PrefixListId: pulumi.String("string"),
						},
					},
					ToPort: pulumi.Int(0),
					UserIdGroupPairs: awsconnector.UserIdGroupPairArray{
						&awsconnector.UserIdGroupPairArgs{
							Description:            pulumi.String("string"),
							GroupId:                pulumi.String("string"),
							GroupName:              pulumi.String("string"),
							PeeringStatus:          pulumi.String("string"),
							UserId:                 pulumi.String("string"),
							VpcId:                  pulumi.String("string"),
							VpcPeeringConnectionId: pulumi.String("string"),
						},
					},
				},
			},
			OwnerId: 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"),
	},
})
var ec2SecurityGroupResource = new Ec2SecurityGroup("ec2SecurityGroupResource", Ec2SecurityGroupArgs.builder()
    .resourceGroupName("string")
    .location("string")
    .name("string")
    .properties(Ec2SecurityGroupPropertiesArgs.builder()
        .arn("string")
        .awsAccountId("string")
        .awsProperties(AwsEc2SecurityGroupPropertiesArgs.builder()
            .description("string")
            .groupId("string")
            .groupName("string")
            .ipPermissions(IpPermissionArgs.builder()
                .fromPort(0)
                .ipProtocol("string")
                .ipRanges(IpRangeArgs.builder()
                    .cidrIp("string")
                    .description("string")
                    .build())
                .ipv6Ranges(Ipv6RangeArgs.builder()
                    .cidrIpv6("string")
                    .description("string")
                    .build())
                .prefixListIds(PrefixListIdArgs.builder()
                    .description("string")
                    .prefixListId("string")
                    .build())
                .toPort(0)
                .userIdGroupPairs(UserIdGroupPairArgs.builder()
                    .description("string")
                    .groupId("string")
                    .groupName("string")
                    .peeringStatus("string")
                    .userId("string")
                    .vpcId("string")
                    .vpcPeeringConnectionId("string")
                    .build())
                .build())
            .ipPermissionsEgress(IpPermissionArgs.builder()
                .fromPort(0)
                .ipProtocol("string")
                .ipRanges(IpRangeArgs.builder()
                    .cidrIp("string")
                    .description("string")
                    .build())
                .ipv6Ranges(Ipv6RangeArgs.builder()
                    .cidrIpv6("string")
                    .description("string")
                    .build())
                .prefixListIds(PrefixListIdArgs.builder()
                    .description("string")
                    .prefixListId("string")
                    .build())
                .toPort(0)
                .userIdGroupPairs(UserIdGroupPairArgs.builder()
                    .description("string")
                    .groupId("string")
                    .groupName("string")
                    .peeringStatus("string")
                    .userId("string")
                    .vpcId("string")
                    .vpcPeeringConnectionId("string")
                    .build())
                .build())
            .ownerId("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());
ec2_security_group_resource = azure_native.awsconnector.Ec2SecurityGroup("ec2SecurityGroupResource",
    resource_group_name="string",
    location="string",
    name="string",
    properties={
        "arn": "string",
        "aws_account_id": "string",
        "aws_properties": {
            "description": "string",
            "group_id": "string",
            "group_name": "string",
            "ip_permissions": [{
                "from_port": 0,
                "ip_protocol": "string",
                "ip_ranges": [{
                    "cidr_ip": "string",
                    "description": "string",
                }],
                "ipv6_ranges": [{
                    "cidr_ipv6": "string",
                    "description": "string",
                }],
                "prefix_list_ids": [{
                    "description": "string",
                    "prefix_list_id": "string",
                }],
                "to_port": 0,
                "user_id_group_pairs": [{
                    "description": "string",
                    "group_id": "string",
                    "group_name": "string",
                    "peering_status": "string",
                    "user_id": "string",
                    "vpc_id": "string",
                    "vpc_peering_connection_id": "string",
                }],
            }],
            "ip_permissions_egress": [{
                "from_port": 0,
                "ip_protocol": "string",
                "ip_ranges": [{
                    "cidr_ip": "string",
                    "description": "string",
                }],
                "ipv6_ranges": [{
                    "cidr_ipv6": "string",
                    "description": "string",
                }],
                "prefix_list_ids": [{
                    "description": "string",
                    "prefix_list_id": "string",
                }],
                "to_port": 0,
                "user_id_group_pairs": [{
                    "description": "string",
                    "group_id": "string",
                    "group_name": "string",
                    "peering_status": "string",
                    "user_id": "string",
                    "vpc_id": "string",
                    "vpc_peering_connection_id": "string",
                }],
            }],
            "owner_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",
    })
const ec2SecurityGroupResource = new azure_native.awsconnector.Ec2SecurityGroup("ec2SecurityGroupResource", {
    resourceGroupName: "string",
    location: "string",
    name: "string",
    properties: {
        arn: "string",
        awsAccountId: "string",
        awsProperties: {
            description: "string",
            groupId: "string",
            groupName: "string",
            ipPermissions: [{
                fromPort: 0,
                ipProtocol: "string",
                ipRanges: [{
                    cidrIp: "string",
                    description: "string",
                }],
                ipv6Ranges: [{
                    cidrIpv6: "string",
                    description: "string",
                }],
                prefixListIds: [{
                    description: "string",
                    prefixListId: "string",
                }],
                toPort: 0,
                userIdGroupPairs: [{
                    description: "string",
                    groupId: "string",
                    groupName: "string",
                    peeringStatus: "string",
                    userId: "string",
                    vpcId: "string",
                    vpcPeeringConnectionId: "string",
                }],
            }],
            ipPermissionsEgress: [{
                fromPort: 0,
                ipProtocol: "string",
                ipRanges: [{
                    cidrIp: "string",
                    description: "string",
                }],
                ipv6Ranges: [{
                    cidrIpv6: "string",
                    description: "string",
                }],
                prefixListIds: [{
                    description: "string",
                    prefixListId: "string",
                }],
                toPort: 0,
                userIdGroupPairs: [{
                    description: "string",
                    groupId: "string",
                    groupName: "string",
                    peeringStatus: "string",
                    userId: "string",
                    vpcId: "string",
                    vpcPeeringConnectionId: "string",
                }],
            }],
            ownerId: "string",
            tags: [{
                key: "string",
                value: "string",
            }],
            vpcId: "string",
        },
        awsRegion: "string",
        awsSourceSchema: "string",
        awsTags: {
            string: "string",
        },
        publicCloudConnectorsResourceId: "string",
        publicCloudResourceName: "string",
    },
    tags: {
        string: "string",
    },
});
type: azure-native:awsconnector:Ec2SecurityGroup
properties:
    location: string
    name: string
    properties:
        arn: string
        awsAccountId: string
        awsProperties:
            description: string
            groupId: string
            groupName: string
            ipPermissions:
                - fromPort: 0
                  ipProtocol: string
                  ipRanges:
                    - cidrIp: string
                      description: string
                  ipv6Ranges:
                    - cidrIpv6: string
                      description: string
                  prefixListIds:
                    - description: string
                      prefixListId: string
                  toPort: 0
                  userIdGroupPairs:
                    - description: string
                      groupId: string
                      groupName: string
                      peeringStatus: string
                      userId: string
                      vpcId: string
                      vpcPeeringConnectionId: string
            ipPermissionsEgress:
                - fromPort: 0
                  ipProtocol: string
                  ipRanges:
                    - cidrIp: string
                      description: string
                  ipv6Ranges:
                    - cidrIpv6: string
                      description: string
                  prefixListIds:
                    - description: string
                      prefixListId: string
                  toPort: 0
                  userIdGroupPairs:
                    - description: string
                      groupId: string
                      groupName: string
                      peeringStatus: string
                      userId: string
                      vpcId: string
                      vpcPeeringConnectionId: string
            ownerId: string
            tags:
                - key: string
                  value: string
            vpcId: string
        awsRegion: string
        awsSourceSchema: string
        awsTags:
            string: string
        publicCloudConnectorsResourceId: string
        publicCloudResourceName: string
    resourceGroupName: string
    tags:
        string: string
Ec2SecurityGroup 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 Ec2SecurityGroup resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Name string
- Name of Ec2SecurityGroup
- Properties
Pulumi.Azure Native. Aws Connector. Inputs. Ec2Security Group Properties 
- The resource-specific properties for this resource.
- Dictionary<string, string>
- Resource tags.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Name string
- Name of Ec2SecurityGroup
- Properties
Ec2SecurityGroup Properties Args 
- The resource-specific properties for this resource.
- map[string]string
- Resource tags.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- name String
- Name of Ec2SecurityGroup
- properties
Ec2SecurityGroup Properties 
- The resource-specific properties for this resource.
- Map<String,String>
- Resource tags.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- location string
- The geo-location where the resource lives
- name string
- Name of Ec2SecurityGroup
- properties
Ec2SecurityGroup Properties 
- The resource-specific properties for this resource.
- {[key: string]: string}
- Resource tags.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- location str
- The geo-location where the resource lives
- name str
- Name of Ec2SecurityGroup
- properties
Ec2SecurityGroup Properties Args 
- The resource-specific properties for this resource.
- Mapping[str, str]
- Resource tags.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- name String
- Name of Ec2SecurityGroup
- properties Property Map
- The resource-specific properties for this resource.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the Ec2SecurityGroup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- SystemData Pulumi.Azure Native. Aws Connector. Outputs. System Data Response 
- 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"
- Id string
- The provider-assigned unique ID for this managed resource.
- SystemData SystemData Response 
- 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"
- id String
- The provider-assigned unique ID for this managed resource.
- systemData SystemData Response 
- 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"
- id string
- The provider-assigned unique ID for this managed resource.
- systemData SystemData Response 
- 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"
- id str
- The provider-assigned unique ID for this managed resource.
- system_data SystemData Response 
- 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"
- 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
AwsEc2SecurityGroupProperties, AwsEc2SecurityGroupPropertiesArgs        
- Description string
- GroupId string
- GroupName string
- IpPermissions []IpPermission 
- IpPermissions []IpEgress Permission 
- OwnerId string
- []Tag
- VpcId string
- description String
- groupId String
- groupName String
- ipPermissions List<IpPermission> 
- ipPermissions List<IpEgress Permission> 
- ownerId String
- List<Tag>
- vpcId String
- description string
- groupId string
- groupName string
- ipPermissions IpPermission[] 
- ipPermissions IpEgress Permission[] 
- ownerId string
- Tag[]
- vpcId string
- description String
- groupId String
- groupName String
- ipPermissions List<Property Map>
- ipPermissions List<Property Map>Egress 
- ownerId String
- List<Property Map>
- vpcId String
AwsEc2SecurityGroupPropertiesResponse, AwsEc2SecurityGroupPropertiesResponseArgs          
- Description string
- GroupId string
- GroupName string
- IpPermissions []IpPermission Response 
- IpPermissions []IpEgress Permission Response 
- OwnerId string
- 
[]TagResponse 
- VpcId string
- description String
- groupId String
- groupName String
- ipPermissions List<IpPermission Response> 
- ipPermissions List<IpEgress Permission Response> 
- ownerId String
- 
List<TagResponse> 
- vpcId String
- description string
- groupId string
- groupName string
- ipPermissions IpPermission Response[] 
- ipPermissions IpEgress Permission Response[] 
- ownerId string
- 
TagResponse[] 
- vpcId string
- description String
- groupId String
- groupName String
- ipPermissions List<Property Map>
- ipPermissions List<Property Map>Egress 
- ownerId String
- List<Property Map>
- vpcId String
Ec2SecurityGroupProperties, Ec2SecurityGroupPropertiesArgs      
- Arn string
- Amazon Resource Name (ARN)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties Pulumi.Azure Native. Aws Connector. Inputs. Aws Ec2Security Group Properties 
- AWS Properties
- AwsRegion string
- AWS Region
- AwsSource stringSchema 
- AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- PublicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- PublicCloud stringResource Name 
- Public Cloud Resource Name
- Arn string
- Amazon Resource Name (ARN)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties AwsEc2Security Group Properties 
- AWS Properties
- AwsRegion string
- AWS Region
- AwsSource stringSchema 
- AWS Source Schema
- map[string]string
- AWS Tags
- PublicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- PublicCloud stringResource Name 
- Public Cloud Resource Name
- arn String
- Amazon Resource Name (ARN)
- awsAccount StringId 
- AWS Account ID
- awsProperties AwsEc2Security Group Properties 
- AWS Properties
- awsRegion String
- AWS Region
- awsSource StringSchema 
- AWS Source Schema
- Map<String,String>
- AWS Tags
- publicCloud StringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud StringResource Name 
- Public Cloud Resource Name
- arn string
- Amazon Resource Name (ARN)
- awsAccount stringId 
- AWS Account ID
- awsProperties AwsEc2Security Group Properties 
- AWS Properties
- awsRegion string
- AWS Region
- awsSource stringSchema 
- AWS Source Schema
- {[key: string]: string}
- AWS Tags
- publicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud stringResource Name 
- Public Cloud Resource Name
- arn str
- Amazon Resource Name (ARN)
- aws_account_ strid 
- AWS Account ID
- aws_properties AwsEc2Security Group Properties 
- AWS Properties
- aws_region str
- AWS Region
- aws_source_ strschema 
- AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_cloud_ strconnectors_ resource_ id 
- Public Cloud Connectors Resource ID
- public_cloud_ strresource_ name 
- Public Cloud Resource Name
- arn String
- Amazon Resource Name (ARN)
- awsAccount StringId 
- AWS Account ID
- awsProperties Property Map
- AWS Properties
- awsRegion String
- AWS Region
- awsSource StringSchema 
- AWS Source Schema
- Map<String>
- AWS Tags
- publicCloud StringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud StringResource Name 
- Public Cloud Resource Name
Ec2SecurityGroupPropertiesResponse, Ec2SecurityGroupPropertiesResponseArgs        
- ProvisioningState string
- The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties Pulumi.Azure Native. Aws Connector. Inputs. Aws Ec2Security Group Properties Response 
- AWS Properties
- AwsRegion string
- AWS Region
- AwsSource stringSchema 
- AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- PublicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- PublicCloud stringResource Name 
- Public Cloud Resource Name
- ProvisioningState string
- The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties AwsEc2Security Group Properties Response 
- AWS Properties
- AwsRegion string
- AWS Region
- AwsSource stringSchema 
- AWS Source Schema
- map[string]string
- AWS Tags
- PublicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- PublicCloud stringResource Name 
- Public Cloud Resource Name
- provisioningState String
- The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- awsAccount StringId 
- AWS Account ID
- awsProperties AwsEc2Security Group Properties Response 
- AWS Properties
- awsRegion String
- AWS Region
- awsSource StringSchema 
- AWS Source Schema
- Map<String,String>
- AWS Tags
- publicCloud StringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud StringResource Name 
- Public Cloud Resource Name
- provisioningState string
- The status of the last operation.
- arn string
- Amazon Resource Name (ARN)
- awsAccount stringId 
- AWS Account ID
- awsProperties AwsEc2Security Group Properties Response 
- AWS Properties
- awsRegion string
- AWS Region
- awsSource stringSchema 
- AWS Source Schema
- {[key: string]: string}
- AWS Tags
- publicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud stringResource Name 
- Public Cloud Resource Name
- provisioning_state str
- The status of the last operation.
- arn str
- Amazon Resource Name (ARN)
- aws_account_ strid 
- AWS Account ID
- aws_properties AwsEc2Security Group Properties Response 
- AWS Properties
- aws_region str
- AWS Region
- aws_source_ strschema 
- AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_cloud_ strconnectors_ resource_ id 
- Public Cloud Connectors Resource ID
- public_cloud_ strresource_ name 
- Public Cloud Resource Name
- provisioningState String
- The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- awsAccount StringId 
- AWS Account ID
- awsProperties Property Map
- AWS Properties
- awsRegion String
- AWS Region
- awsSource StringSchema 
- AWS Source Schema
- Map<String>
- AWS Tags
- publicCloud StringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud StringResource Name 
- Public Cloud Resource Name
IpPermission, IpPermissionArgs    
- FromPort int
- IpProtocol string
- IpRanges List<Pulumi.Azure Native. Aws Connector. Inputs. Ip Range> 
- Ipv6Ranges
List<Pulumi.Azure Native. Aws Connector. Inputs. Ipv6Range> 
- PrefixList List<Pulumi.Ids Azure Native. Aws Connector. Inputs. Prefix List Id> 
- ToPort int
- UserId List<Pulumi.Group Pairs Azure Native. Aws Connector. Inputs. User Id Group Pair> 
IpPermissionResponse, IpPermissionResponseArgs      
- FromPort int
- IpProtocol string
- IpRanges List<Pulumi.Azure Native. Aws Connector. Inputs. Ip Range Response> 
- Ipv6Ranges
List<Pulumi.Azure Native. Aws Connector. Inputs. Ipv6Range Response> 
- PrefixList List<Pulumi.Ids Azure Native. Aws Connector. Inputs. Prefix List Id Response> 
- ToPort int
- UserId List<Pulumi.Group Pairs Azure Native. Aws Connector. Inputs. User Id Group Pair Response> 
IpRange, IpRangeArgs    
- CidrIp string
- Description string
- CidrIp string
- Description string
- cidrIp String
- description String
- cidrIp string
- description string
- cidr_ip str
- description str
- cidrIp String
- description String
IpRangeResponse, IpRangeResponseArgs      
- CidrIp string
- Description string
- CidrIp string
- Description string
- cidrIp String
- description String
- cidrIp string
- description string
- cidr_ip str
- description str
- cidrIp String
- description String
Ipv6Range, Ipv6RangeArgs  
- CidrIpv6 string
- Description string
- CidrIpv6 string
- Description string
- cidrIpv6 String
- description String
- cidrIpv6 string
- description string
- cidr_ipv6 str
- description str
- cidrIpv6 String
- description String
Ipv6RangeResponse, Ipv6RangeResponseArgs    
- CidrIpv6 string
- Description string
- CidrIpv6 string
- Description string
- cidrIpv6 String
- description String
- cidrIpv6 string
- description string
- cidr_ipv6 str
- description str
- cidrIpv6 String
- description String
PrefixListId, PrefixListIdArgs      
- Description string
- PrefixList stringId 
- Description string
- PrefixList stringId 
- description String
- prefixList StringId 
- description string
- prefixList stringId 
- description str
- prefix_list_ strid 
- description String
- prefixList StringId 
PrefixListIdResponse, PrefixListIdResponseArgs        
- Description string
- PrefixList stringId 
- Description string
- PrefixList stringId 
- description String
- prefixList StringId 
- description string
- prefixList stringId 
- description str
- prefix_list_ strid 
- description String
- prefixList StringId 
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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 -.
UserIdGroupPair, UserIdGroupPairArgs        
- Description string
- GroupId string
- GroupName string
- PeeringStatus string
- UserId string
- VpcId string
- VpcPeering stringConnection Id 
- Description string
- GroupId string
- GroupName string
- PeeringStatus string
- UserId string
- VpcId string
- VpcPeering stringConnection Id 
- description String
- groupId String
- groupName String
- peeringStatus String
- userId String
- vpcId String
- vpcPeering StringConnection Id 
- description string
- groupId string
- groupName string
- peeringStatus string
- userId string
- vpcId string
- vpcPeering stringConnection Id 
- description str
- group_id str
- group_name str
- peering_status str
- user_id str
- vpc_id str
- vpc_peering_ strconnection_ id 
- description String
- groupId String
- groupName String
- peeringStatus String
- userId String
- vpcId String
- vpcPeering StringConnection Id 
UserIdGroupPairResponse, UserIdGroupPairResponseArgs          
- Description string
- GroupId string
- GroupName string
- PeeringStatus string
- UserId string
- VpcId string
- VpcPeering stringConnection Id 
- Description string
- GroupId string
- GroupName string
- PeeringStatus string
- UserId string
- VpcId string
- VpcPeering stringConnection Id 
- description String
- groupId String
- groupName String
- peeringStatus String
- userId String
- vpcId String
- vpcPeering StringConnection Id 
- description string
- groupId string
- groupName string
- peeringStatus string
- userId string
- vpcId string
- vpcPeering stringConnection Id 
- description str
- group_id str
- group_name str
- peering_status str
- user_id str
- vpc_id str
- vpc_peering_ strconnection_ id 
- description String
- groupId String
- groupName String
- peeringStatus String
- userId String
- vpcId String
- vpcPeering StringConnection Id 
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:awsconnector:Ec2SecurityGroup oakxphunkdsdpxwzzb /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/ec2SecurityGroups/{name} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0