SecurityGroup

Import

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

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

Properties

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

The security group description. Defaults to null.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val innerAccess: Output<Boolean>

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

Link copied to clipboard

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>

The name of the security group. Defaults to null.

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

The Id of resource group which the security_group belongs.

Link copied to clipboard

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>>?

A mapping of tags to assign to the resource.

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

The VPC ID.