SecurityGroupArgs

data class SecurityGroupArgs(val description: Output<String>? = null, val innerAccess: Output<Boolean>? = null, val innerAccessPolicy: Output<String>? = null, val name: Output<String>? = null, val resourceGroupId: Output<String>? = null, val securityGroupType: Output<String>? = null, val tags: Output<Map<String, Any>>? = null, val vpcId: Output<String>? = null) : ConvertibleToJava<SecurityGroupArgs>

Import

Security Group can be imported using the id, e.g.

$ pulumi import alicloud:ecs/securityGroup:SecurityGroup example sg-abc123456

Constructors

Link copied to clipboard
fun SecurityGroupArgs(description: Output<String>? = null, innerAccess: Output<Boolean>? = null, innerAccessPolicy: Output<String>? = null, name: Output<String>? = null, resourceGroupId: Output<String>? = null, securityGroupType: Output<String>? = null, tags: Output<Map<String, Any>>? = null, vpcId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SecurityGroupArgs

Properties

Link copied to clipboard
val description: Output<String>? = null

The security group description. Defaults to null.

Link copied to clipboard
val innerAccess: Output<Boolean>? = null

Field 'inner_access' has been deprecated from provider version 1.55.3. Use 'inner_access_policy' replaces it.

Link copied to clipboard
val innerAccessPolicy: Output<String>? = null

Whether to allow both machines to access each other on all ports in the same security group. Valid values: "Accept", "Drop"

Link copied to clipboard
val name: Output<String>? = null

The name of the security group. Defaults to null.

Link copied to clipboard
val resourceGroupId: Output<String>? = null

The Id of resource group which the security_group belongs.

Link copied to clipboard
val securityGroupType: Output<String>? = null

The type of the security group. Valid values: normal: basic security group. enterprise: advanced security group For more information.

Link copied to clipboard
val tags: Output<Map<String, Any>>? = null

A mapping of tags to assign to the resource.

Link copied to clipboard
val vpcId: Output<String>? = null

The VPC ID.