yandex.VpcSecurityGroup
Explore with Pulumi AI
Manages a Security Group within the Yandex.Cloud. For more information, see the official documentation.
Example Usage
using Pulumi;
using Yandex = Pulumi.Yandex;
class MyStack : Stack
{
public MyStack()
{
var lab_net = new Yandex.VpcNetwork("lab-net", new Yandex.VpcNetworkArgs
{
});
var group1 = new Yandex.VpcSecurityGroup("group1", new Yandex.VpcSecurityGroupArgs
{
Description = "description for my security group",
Egresses =
{
new Yandex.Inputs.VpcSecurityGroupEgressArgs
{
Description = "rule2 description",
FromPort = 8090,
Protocol = "ANY",
ToPort = 8099,
V4CidrBlocks =
{
"10.0.1.0/24",
"10.0.2.0/24",
},
},
new Yandex.Inputs.VpcSecurityGroupEgressArgs
{
Description = "rule3 description",
FromPort = 8090,
Protocol = "UDP",
ToPort = 8099,
V4CidrBlocks =
{
"10.0.1.0/24",
},
},
},
Ingresses =
{
new Yandex.Inputs.VpcSecurityGroupIngressArgs
{
Description = "rule1 description",
Port = 8080,
Protocol = "TCP",
V4CidrBlocks =
{
"10.0.1.0/24",
"10.0.2.0/24",
},
},
},
Labels =
{
{ "my-label", "my-label-value" },
},
NetworkId = lab_net.Id,
});
}
}
package main
import (
"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := yandex.NewVpcNetwork(ctx, "lab-net", nil)
if err != nil {
return err
}
_, err = yandex.NewVpcSecurityGroup(ctx, "group1", &yandex.VpcSecurityGroupArgs{
Description: pulumi.String("description for my security group"),
Egresses: VpcSecurityGroupEgressArray{
&VpcSecurityGroupEgressArgs{
Description: pulumi.String("rule2 description"),
FromPort: pulumi.Int(8090),
Protocol: pulumi.String("ANY"),
ToPort: pulumi.Int(8099),
V4CidrBlocks: pulumi.StringArray{
pulumi.String("10.0.1.0/24"),
pulumi.String("10.0.2.0/24"),
},
},
&VpcSecurityGroupEgressArgs{
Description: pulumi.String("rule3 description"),
FromPort: pulumi.Int(8090),
Protocol: pulumi.String("UDP"),
ToPort: pulumi.Int(8099),
V4CidrBlocks: pulumi.StringArray{
pulumi.String("10.0.1.0/24"),
},
},
},
Ingresses: VpcSecurityGroupIngressArray{
&VpcSecurityGroupIngressArgs{
Description: pulumi.String("rule1 description"),
Port: pulumi.Int(8080),
Protocol: pulumi.String("TCP"),
V4CidrBlocks: pulumi.StringArray{
pulumi.String("10.0.1.0/24"),
pulumi.String("10.0.2.0/24"),
},
},
},
Labels: pulumi.StringMap{
"my-label": pulumi.String("my-label-value"),
},
NetworkId: lab_net.ID(),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_yandex as yandex
lab_net = yandex.VpcNetwork("lab-net")
group1 = yandex.VpcSecurityGroup("group1",
description="description for my security group",
egresses=[
yandex.VpcSecurityGroupEgressArgs(
description="rule2 description",
from_port=8090,
protocol="ANY",
to_port=8099,
v4_cidr_blocks=[
"10.0.1.0/24",
"10.0.2.0/24",
],
),
yandex.VpcSecurityGroupEgressArgs(
description="rule3 description",
from_port=8090,
protocol="UDP",
to_port=8099,
v4_cidr_blocks=["10.0.1.0/24"],
),
],
ingresses=[yandex.VpcSecurityGroupIngressArgs(
description="rule1 description",
port=8080,
protocol="TCP",
v4_cidr_blocks=[
"10.0.1.0/24",
"10.0.2.0/24",
],
)],
labels={
"my-label": "my-label-value",
},
network_id=lab_net.id)
import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";
const lab_net = new yandex.VpcNetwork("lab-net", {});
const group1 = new yandex.VpcSecurityGroup("group1", {
description: "description for my security group",
egresses: [
{
description: "rule2 description",
fromPort: 8090,
protocol: "ANY",
toPort: 8099,
v4CidrBlocks: [
"10.0.1.0/24",
"10.0.2.0/24",
],
},
{
description: "rule3 description",
fromPort: 8090,
protocol: "UDP",
toPort: 8099,
v4CidrBlocks: ["10.0.1.0/24"],
},
],
ingresses: [{
description: "rule1 description",
port: 8080,
protocol: "TCP",
v4CidrBlocks: [
"10.0.1.0/24",
"10.0.2.0/24",
],
}],
labels: {
"my-label": "my-label-value",
},
networkId: lab_net.id,
});
Coming soon!
Create VpcSecurityGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcSecurityGroup(name: string, args: VpcSecurityGroupArgs, opts?: CustomResourceOptions);
@overload
def VpcSecurityGroup(resource_name: str,
args: VpcSecurityGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcSecurityGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
description: Optional[str] = None,
egresses: Optional[Sequence[VpcSecurityGroupEgressArgs]] = None,
folder_id: Optional[str] = None,
ingresses: Optional[Sequence[VpcSecurityGroupIngressArgs]] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None)
func NewVpcSecurityGroup(ctx *Context, name string, args VpcSecurityGroupArgs, opts ...ResourceOption) (*VpcSecurityGroup, error)
public VpcSecurityGroup(string name, VpcSecurityGroupArgs args, CustomResourceOptions? opts = null)
public VpcSecurityGroup(String name, VpcSecurityGroupArgs args)
public VpcSecurityGroup(String name, VpcSecurityGroupArgs args, CustomResourceOptions options)
type: yandex:VpcSecurityGroup
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 VpcSecurityGroupArgs
- 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 VpcSecurityGroupArgs
- 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 VpcSecurityGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcSecurityGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcSecurityGroupArgs
- 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 vpcSecurityGroupResource = new Yandex.VpcSecurityGroup("vpcSecurityGroupResource", new()
{
NetworkId = "string",
Description = "string",
Egresses = new[]
{
new Yandex.Inputs.VpcSecurityGroupEgressArgs
{
Protocol = "string",
Description = "string",
FromPort = 0,
Id = "string",
Labels =
{
{ "string", "string" },
},
Port = 0,
PredefinedTarget = "string",
SecurityGroupId = "string",
ToPort = 0,
V4CidrBlocks = new[]
{
"string",
},
V6CidrBlocks = new[]
{
"string",
},
},
},
FolderId = "string",
Ingresses = new[]
{
new Yandex.Inputs.VpcSecurityGroupIngressArgs
{
Protocol = "string",
Description = "string",
FromPort = 0,
Id = "string",
Labels =
{
{ "string", "string" },
},
Port = 0,
PredefinedTarget = "string",
SecurityGroupId = "string",
ToPort = 0,
V4CidrBlocks = new[]
{
"string",
},
V6CidrBlocks = new[]
{
"string",
},
},
},
Labels =
{
{ "string", "string" },
},
Name = "string",
});
example, err := yandex.NewVpcSecurityGroup(ctx, "vpcSecurityGroupResource", &yandex.VpcSecurityGroupArgs{
NetworkId: pulumi.String("string"),
Description: pulumi.String("string"),
Egresses: yandex.VpcSecurityGroupEgressArray{
&yandex.VpcSecurityGroupEgressArgs{
Protocol: pulumi.String("string"),
Description: pulumi.String("string"),
FromPort: pulumi.Int(0),
Id: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Port: pulumi.Int(0),
PredefinedTarget: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
ToPort: pulumi.Int(0),
V4CidrBlocks: pulumi.StringArray{
pulumi.String("string"),
},
V6CidrBlocks: pulumi.StringArray{
pulumi.String("string"),
},
},
},
FolderId: pulumi.String("string"),
Ingresses: yandex.VpcSecurityGroupIngressArray{
&yandex.VpcSecurityGroupIngressArgs{
Protocol: pulumi.String("string"),
Description: pulumi.String("string"),
FromPort: pulumi.Int(0),
Id: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Port: pulumi.Int(0),
PredefinedTarget: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
ToPort: pulumi.Int(0),
V4CidrBlocks: pulumi.StringArray{
pulumi.String("string"),
},
V6CidrBlocks: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
})
var vpcSecurityGroupResource = new VpcSecurityGroup("vpcSecurityGroupResource", VpcSecurityGroupArgs.builder()
.networkId("string")
.description("string")
.egresses(VpcSecurityGroupEgressArgs.builder()
.protocol("string")
.description("string")
.fromPort(0)
.id("string")
.labels(Map.of("string", "string"))
.port(0)
.predefinedTarget("string")
.securityGroupId("string")
.toPort(0)
.v4CidrBlocks("string")
.v6CidrBlocks("string")
.build())
.folderId("string")
.ingresses(VpcSecurityGroupIngressArgs.builder()
.protocol("string")
.description("string")
.fromPort(0)
.id("string")
.labels(Map.of("string", "string"))
.port(0)
.predefinedTarget("string")
.securityGroupId("string")
.toPort(0)
.v4CidrBlocks("string")
.v6CidrBlocks("string")
.build())
.labels(Map.of("string", "string"))
.name("string")
.build());
vpc_security_group_resource = yandex.VpcSecurityGroup("vpcSecurityGroupResource",
network_id="string",
description="string",
egresses=[yandex.VpcSecurityGroupEgressArgs(
protocol="string",
description="string",
from_port=0,
id="string",
labels={
"string": "string",
},
port=0,
predefined_target="string",
security_group_id="string",
to_port=0,
v4_cidr_blocks=["string"],
v6_cidr_blocks=["string"],
)],
folder_id="string",
ingresses=[yandex.VpcSecurityGroupIngressArgs(
protocol="string",
description="string",
from_port=0,
id="string",
labels={
"string": "string",
},
port=0,
predefined_target="string",
security_group_id="string",
to_port=0,
v4_cidr_blocks=["string"],
v6_cidr_blocks=["string"],
)],
labels={
"string": "string",
},
name="string")
const vpcSecurityGroupResource = new yandex.VpcSecurityGroup("vpcSecurityGroupResource", {
networkId: "string",
description: "string",
egresses: [{
protocol: "string",
description: "string",
fromPort: 0,
id: "string",
labels: {
string: "string",
},
port: 0,
predefinedTarget: "string",
securityGroupId: "string",
toPort: 0,
v4CidrBlocks: ["string"],
v6CidrBlocks: ["string"],
}],
folderId: "string",
ingresses: [{
protocol: "string",
description: "string",
fromPort: 0,
id: "string",
labels: {
string: "string",
},
port: 0,
predefinedTarget: "string",
securityGroupId: "string",
toPort: 0,
v4CidrBlocks: ["string"],
v6CidrBlocks: ["string"],
}],
labels: {
string: "string",
},
name: "string",
});
type: yandex:VpcSecurityGroup
properties:
description: string
egresses:
- description: string
fromPort: 0
id: string
labels:
string: string
port: 0
predefinedTarget: string
protocol: string
securityGroupId: string
toPort: 0
v4CidrBlocks:
- string
v6CidrBlocks:
- string
folderId: string
ingresses:
- description: string
fromPort: 0
id: string
labels:
string: string
port: 0
predefinedTarget: string
protocol: string
securityGroupId: string
toPort: 0
v4CidrBlocks:
- string
v6CidrBlocks:
- string
labels:
string: string
name: string
networkId: string
VpcSecurityGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The VpcSecurityGroup resource accepts the following input properties:
- Network
Id string - ID of the network this security group belongs to.
- Description string
- Description of the security group.
- Egresses
List<Vpc
Security Group Egress> - A list of egress rules. The structure is documented below.
- Folder
Id string - ID of the folder this security group belongs to.
- Ingresses
List<Vpc
Security Group Ingress> - A list of ingress rules.
- Labels Dictionary<string, string>
- Labels to assign to this security group.
- Name string
- Name of the security group.
- Network
Id string - ID of the network this security group belongs to.
- Description string
- Description of the security group.
- Egresses
[]Vpc
Security Group Egress Args - A list of egress rules. The structure is documented below.
- Folder
Id string - ID of the folder this security group belongs to.
- Ingresses
[]Vpc
Security Group Ingress Args - A list of ingress rules.
- Labels map[string]string
- Labels to assign to this security group.
- Name string
- Name of the security group.
- network
Id String - ID of the network this security group belongs to.
- description String
- Description of the security group.
- egresses
List<Vpc
Security Group Egress> - A list of egress rules. The structure is documented below.
- folder
Id String - ID of the folder this security group belongs to.
- ingresses
List<Vpc
Security Group Ingress> - A list of ingress rules.
- labels Map<String,String>
- Labels to assign to this security group.
- name String
- Name of the security group.
- network
Id string - ID of the network this security group belongs to.
- description string
- Description of the security group.
- egresses
Vpc
Security Group Egress[] - A list of egress rules. The structure is documented below.
- folder
Id string - ID of the folder this security group belongs to.
- ingresses
Vpc
Security Group Ingress[] - A list of ingress rules.
- labels {[key: string]: string}
- Labels to assign to this security group.
- name string
- Name of the security group.
- network_
id str - ID of the network this security group belongs to.
- description str
- Description of the security group.
- egresses
Sequence[Vpc
Security Group Egress Args] - A list of egress rules. The structure is documented below.
- folder_
id str - ID of the folder this security group belongs to.
- ingresses
Sequence[Vpc
Security Group Ingress Args] - A list of ingress rules.
- labels Mapping[str, str]
- Labels to assign to this security group.
- name str
- Name of the security group.
- network
Id String - ID of the network this security group belongs to.
- description String
- Description of the security group.
- egresses List<Property Map>
- A list of egress rules. The structure is documented below.
- folder
Id String - ID of the folder this security group belongs to.
- ingresses List<Property Map>
- A list of ingress rules.
- labels Map<String>
- Labels to assign to this security group.
- name String
- Name of the security group.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcSecurityGroup resource produces the following output properties:
- created_
at str - Creation timestamp of this security group.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Status of this security group.
Look up Existing VpcSecurityGroup Resource
Get an existing VpcSecurityGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VpcSecurityGroupState, opts?: CustomResourceOptions): VpcSecurityGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
egresses: Optional[Sequence[VpcSecurityGroupEgressArgs]] = None,
folder_id: Optional[str] = None,
ingresses: Optional[Sequence[VpcSecurityGroupIngressArgs]] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
status: Optional[str] = None) -> VpcSecurityGroup
func GetVpcSecurityGroup(ctx *Context, name string, id IDInput, state *VpcSecurityGroupState, opts ...ResourceOption) (*VpcSecurityGroup, error)
public static VpcSecurityGroup Get(string name, Input<string> id, VpcSecurityGroupState? state, CustomResourceOptions? opts = null)
public static VpcSecurityGroup get(String name, Output<String> id, VpcSecurityGroupState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Created
At string - Creation timestamp of this security group.
- Description string
- Description of the security group.
- Egresses
List<Vpc
Security Group Egress> - A list of egress rules. The structure is documented below.
- Folder
Id string - ID of the folder this security group belongs to.
- Ingresses
List<Vpc
Security Group Ingress> - A list of ingress rules.
- Labels Dictionary<string, string>
- Labels to assign to this security group.
- Name string
- Name of the security group.
- Network
Id string - ID of the network this security group belongs to.
- Status string
- Status of this security group.
- Created
At string - Creation timestamp of this security group.
- Description string
- Description of the security group.
- Egresses
[]Vpc
Security Group Egress Args - A list of egress rules. The structure is documented below.
- Folder
Id string - ID of the folder this security group belongs to.
- Ingresses
[]Vpc
Security Group Ingress Args - A list of ingress rules.
- Labels map[string]string
- Labels to assign to this security group.
- Name string
- Name of the security group.
- Network
Id string - ID of the network this security group belongs to.
- Status string
- Status of this security group.
- created
At String - Creation timestamp of this security group.
- description String
- Description of the security group.
- egresses
List<Vpc
Security Group Egress> - A list of egress rules. The structure is documented below.
- folder
Id String - ID of the folder this security group belongs to.
- ingresses
List<Vpc
Security Group Ingress> - A list of ingress rules.
- labels Map<String,String>
- Labels to assign to this security group.
- name String
- Name of the security group.
- network
Id String - ID of the network this security group belongs to.
- status String
- Status of this security group.
- created
At string - Creation timestamp of this security group.
- description string
- Description of the security group.
- egresses
Vpc
Security Group Egress[] - A list of egress rules. The structure is documented below.
- folder
Id string - ID of the folder this security group belongs to.
- ingresses
Vpc
Security Group Ingress[] - A list of ingress rules.
- labels {[key: string]: string}
- Labels to assign to this security group.
- name string
- Name of the security group.
- network
Id string - ID of the network this security group belongs to.
- status string
- Status of this security group.
- created_
at str - Creation timestamp of this security group.
- description str
- Description of the security group.
- egresses
Sequence[Vpc
Security Group Egress Args] - A list of egress rules. The structure is documented below.
- folder_
id str - ID of the folder this security group belongs to.
- ingresses
Sequence[Vpc
Security Group Ingress Args] - A list of ingress rules.
- labels Mapping[str, str]
- Labels to assign to this security group.
- name str
- Name of the security group.
- network_
id str - ID of the network this security group belongs to.
- status str
- Status of this security group.
- created
At String - Creation timestamp of this security group.
- description String
- Description of the security group.
- egresses List<Property Map>
- A list of egress rules. The structure is documented below.
- folder
Id String - ID of the folder this security group belongs to.
- ingresses List<Property Map>
- A list of ingress rules.
- labels Map<String>
- Labels to assign to this security group.
- name String
- Name of the security group.
- network
Id String - ID of the network this security group belongs to.
- status String
- Status of this security group.
Supporting Types
VpcSecurityGroupEgress, VpcSecurityGroupEgressArgs
- Protocol string
- Description string
- Description of the security group.
- From
Port int - Id string
- Id of the rule.
- Labels Dictionary<string, string>
- Labels to assign to this security group.
- Port int
- Predefined
Target string - Security
Group stringId - To
Port int - V4Cidr
Blocks List<string> - V6Cidr
Blocks List<string>
- Protocol string
- Description string
- Description of the security group.
- From
Port int - Id string
- Id of the rule.
- Labels map[string]string
- Labels to assign to this security group.
- Port int
- Predefined
Target string - Security
Group stringId - To
Port int - V4Cidr
Blocks []string - V6Cidr
Blocks []string
- protocol String
- description String
- Description of the security group.
- from
Port Integer - id String
- Id of the rule.
- labels Map<String,String>
- Labels to assign to this security group.
- port Integer
- predefined
Target String - security
Group StringId - to
Port Integer - v4Cidr
Blocks List<String> - v6Cidr
Blocks List<String>
- protocol string
- description string
- Description of the security group.
- from
Port number - id string
- Id of the rule.
- labels {[key: string]: string}
- Labels to assign to this security group.
- port number
- predefined
Target string - security
Group stringId - to
Port number - v4Cidr
Blocks string[] - v6Cidr
Blocks string[]
- protocol str
- description str
- Description of the security group.
- from_
port int - id str
- Id of the rule.
- labels Mapping[str, str]
- Labels to assign to this security group.
- port int
- predefined_
target str - security_
group_ strid - to_
port int - v4_
cidr_ Sequence[str]blocks - v6_
cidr_ Sequence[str]blocks
- protocol String
- description String
- Description of the security group.
- from
Port Number - id String
- Id of the rule.
- labels Map<String>
- Labels to assign to this security group.
- port Number
- predefined
Target String - security
Group StringId - to
Port Number - v4Cidr
Blocks List<String> - v6Cidr
Blocks List<String>
VpcSecurityGroupIngress, VpcSecurityGroupIngressArgs
- Protocol string
- Description string
- Description of the security group.
- From
Port int - Id string
- Id of the rule.
- Labels Dictionary<string, string>
- Labels to assign to this security group.
- Port int
- Predefined
Target string - Security
Group stringId - To
Port int - V4Cidr
Blocks List<string> - V6Cidr
Blocks List<string>
- Protocol string
- Description string
- Description of the security group.
- From
Port int - Id string
- Id of the rule.
- Labels map[string]string
- Labels to assign to this security group.
- Port int
- Predefined
Target string - Security
Group stringId - To
Port int - V4Cidr
Blocks []string - V6Cidr
Blocks []string
- protocol String
- description String
- Description of the security group.
- from
Port Integer - id String
- Id of the rule.
- labels Map<String,String>
- Labels to assign to this security group.
- port Integer
- predefined
Target String - security
Group StringId - to
Port Integer - v4Cidr
Blocks List<String> - v6Cidr
Blocks List<String>
- protocol string
- description string
- Description of the security group.
- from
Port number - id string
- Id of the rule.
- labels {[key: string]: string}
- Labels to assign to this security group.
- port number
- predefined
Target string - security
Group stringId - to
Port number - v4Cidr
Blocks string[] - v6Cidr
Blocks string[]
- protocol str
- description str
- Description of the security group.
- from_
port int - id str
- Id of the rule.
- labels Mapping[str, str]
- Labels to assign to this security group.
- port int
- predefined_
target str - security_
group_ strid - to_
port int - v4_
cidr_ Sequence[str]blocks - v6_
cidr_ Sequence[str]blocks
- protocol String
- description String
- Description of the security group.
- from
Port Number - id String
- Id of the rule.
- labels Map<String>
- Labels to assign to this security group.
- port Number
- predefined
Target String - security
Group StringId - to
Port Number - v4Cidr
Blocks List<String> - v6Cidr
Blocks List<String>
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
yandex
Terraform Provider.