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 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",
})
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",
},
});
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:
- Resource
Group 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.
- Resource
Group 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
Ec2Security
Group Properties Args - The resource-specific properties for this resource.
- map[string]string
- Resource tags.
- resource
Group 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
Ec2Security
Group Properties - The resource-specific properties for this resource.
- Map<String,String>
- Resource tags.
- resource
Group 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
Ec2Security
Group 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
Ec2Security
Group Properties Args - The resource-specific properties for this resource.
- Mapping[str, str]
- Resource tags.
- resource
Group 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.
- System
Data 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.
- System
Data 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.
- system
Data 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.
- system
Data 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.
- system
Data 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
- Group
Id string - Group
Name string - Ip
Permissions []IpPermission - Ip
Permissions []IpEgress Permission - Owner
Id string - []Tag
- Vpc
Id string
- description String
- group
Id String - group
Name String - ip
Permissions List<IpPermission> - ip
Permissions List<IpEgress Permission> - owner
Id String - List<Tag>
- vpc
Id String
- description string
- group
Id string - group
Name string - ip
Permissions IpPermission[] - ip
Permissions IpEgress Permission[] - owner
Id string - Tag[]
- vpc
Id string
- description String
- group
Id String - group
Name String - ip
Permissions List<Property Map> - ip
Permissions List<Property Map>Egress - owner
Id String - List<Property Map>
- vpc
Id String
AwsEc2SecurityGroupPropertiesResponse, AwsEc2SecurityGroupPropertiesResponseArgs
- Description string
- Group
Id string - Group
Name string - Ip
Permissions []IpPermission Response - Ip
Permissions []IpEgress Permission Response - Owner
Id string - []Tag
Response - Vpc
Id string
- description String
- group
Id String - group
Name String - ip
Permissions List<IpPermission Response> - ip
Permissions List<IpEgress Permission Response> - owner
Id String - List<Tag
Response> - vpc
Id String
- description string
- group
Id string - group
Name string - ip
Permissions IpPermission Response[] - ip
Permissions IpEgress Permission Response[] - owner
Id string - Tag
Response[] - vpc
Id string
- description String
- group
Id String - group
Name String - ip
Permissions List<Property Map> - ip
Permissions List<Property Map>Egress - owner
Id String - List<Property Map>
- vpc
Id String
Ec2SecurityGroupProperties, Ec2SecurityGroupPropertiesArgs
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties Pulumi.Azure Native. Aws Connector. Inputs. Aws Ec2Security Group Properties - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties AwsEc2Security Group Properties - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- map[string]string
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties AwsEc2Security Group Properties - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String,String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
- arn string
- Amazon Resource Name (ARN)
- aws
Account stringId - AWS Account ID
- aws
Properties AwsEc2Security Group Properties - AWS Properties
- aws
Region string - AWS Region
- aws
Source stringSchema - AWS Source Schema
- {[key: string]: string}
- AWS Tags
- public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud 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)
- aws
Account StringId - AWS Account ID
- aws
Properties Property Map - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
Ec2SecurityGroupPropertiesResponse, Ec2SecurityGroupPropertiesResponseArgs
- Provisioning
State string - The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties Pulumi.Azure Native. Aws Connector. Inputs. Aws Ec2Security Group Properties Response - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- Provisioning
State string - The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties AwsEc2Security Group Properties Response - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- map[string]string
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- provisioning
State String - The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties AwsEc2Security Group Properties Response - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String,String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
- provisioning
State string - The status of the last operation.
- arn string
- Amazon Resource Name (ARN)
- aws
Account stringId - AWS Account ID
- aws
Properties AwsEc2Security Group Properties Response - AWS Properties
- aws
Region string - AWS Region
- aws
Source stringSchema - AWS Source Schema
- {[key: string]: string}
- AWS Tags
- public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud 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
- provisioning
State String - The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties Property Map - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
IpPermission, IpPermissionArgs
- From
Port int - Ip
Protocol string - Ip
Ranges List<Pulumi.Azure Native. Aws Connector. Inputs. Ip Range> - Ipv6Ranges
List<Pulumi.
Azure Native. Aws Connector. Inputs. Ipv6Range> - Prefix
List List<Pulumi.Ids Azure Native. Aws Connector. Inputs. Prefix List Id> - To
Port int - User
Id List<Pulumi.Group Pairs Azure Native. Aws Connector. Inputs. User Id Group Pair>
IpPermissionResponse, IpPermissionResponseArgs
- From
Port int - Ip
Protocol string - Ip
Ranges List<Pulumi.Azure Native. Aws Connector. Inputs. Ip Range Response> - Ipv6Ranges
List<Pulumi.
Azure Native. Aws Connector. Inputs. Ipv6Range Response> - Prefix
List List<Pulumi.Ids Azure Native. Aws Connector. Inputs. Prefix List Id Response> - To
Port int - User
Id List<Pulumi.Group Pairs Azure Native. Aws Connector. Inputs. User Id Group Pair Response>
IpRange, IpRangeArgs
- Cidr
Ip string - Description string
- Cidr
Ip string - Description string
- cidr
Ip String - description String
- cidr
Ip string - description string
- cidr_
ip str - description str
- cidr
Ip String - description String
IpRangeResponse, IpRangeResponseArgs
- Cidr
Ip string - Description string
- Cidr
Ip string - Description string
- cidr
Ip String - description String
- cidr
Ip string - description string
- cidr_
ip str - description str
- cidr
Ip String - description String
Ipv6Range, Ipv6RangeArgs
- Cidr
Ipv6 string - Description string
- Cidr
Ipv6 string - Description string
- cidr
Ipv6 String - description String
- cidr
Ipv6 string - description string
- cidr_
ipv6 str - description str
- cidr
Ipv6 String - description String
Ipv6RangeResponse, Ipv6RangeResponseArgs
- Cidr
Ipv6 string - Description string
- Cidr
Ipv6 string - Description string
- cidr
Ipv6 String - description String
- cidr
Ipv6 string - description string
- cidr_
ipv6 str - description str
- cidr
Ipv6 String - description String
PrefixListId, PrefixListIdArgs
- Description string
- Prefix
List stringId
- Description string
- Prefix
List stringId
- description String
- prefix
List StringId
- description string
- prefix
List stringId
- description str
- prefix_
list_ strid
- description String
- prefix
List StringId
PrefixListIdResponse, PrefixListIdResponseArgs
- Description string
- Prefix
List stringId
- Description string
- Prefix
List stringId
- description String
- prefix
List StringId
- description string
- prefix
List stringId
- description str
- prefix_
list_ strid
- description String
- prefix
List StringId
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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
- Group
Id string - Group
Name string - Peering
Status string - User
Id string - Vpc
Id string - Vpc
Peering stringConnection Id
- Description string
- Group
Id string - Group
Name string - Peering
Status string - User
Id string - Vpc
Id string - Vpc
Peering stringConnection Id
- description String
- group
Id String - group
Name String - peering
Status String - user
Id String - vpc
Id String - vpc
Peering StringConnection Id
- description string
- group
Id string - group
Name string - peering
Status string - user
Id string - vpc
Id string - vpc
Peering 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
- group
Id String - group
Name String - peering
Status String - user
Id String - vpc
Id String - vpc
Peering StringConnection Id
UserIdGroupPairResponse, UserIdGroupPairResponseArgs
- Description string
- Group
Id string - Group
Name string - Peering
Status string - User
Id string - Vpc
Id string - Vpc
Peering stringConnection Id
- Description string
- Group
Id string - Group
Name string - Peering
Status string - User
Id string - Vpc
Id string - Vpc
Peering stringConnection Id
- description String
- group
Id String - group
Name String - peering
Status String - user
Id String - vpc
Id String - vpc
Peering StringConnection Id
- description string
- group
Id string - group
Name string - peering
Status string - user
Id string - vpc
Id string - vpc
Peering 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
- group
Id String - group
Name String - peering
Status String - user
Id String - vpc
Id String - vpc
Peering 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