AWS EC2

Create security group

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Create a security group. A security group acts as a virtual firewall for your instance to control inbound and outbound traffic.

Inputs

Champ

Type

Description

region [required]

enum

default: us-east-1

groupName [required]

string

The name of the security group.
Constraints: Up to 255 characters in length. Cannot start with sg-.
Constraints for EC2-Classic: ASCII characters Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*.

groupDescription [required]

string

A description for the security group. This is for informational purposes only.

vpcId

string

The ID of the VPC.

Outputs

Expand All

Champ

Type

Description

groupId [required]

string

createdTags [required]

[object]

Key

string

The key of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

Value

string

The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.

amzRequestId [required]

string