Optional
Readonly
description(OPTIONAL) A description for the security group.
Readonly
inboundAn array of security group rule configurations for ingress rules.
Readonly
nameThe friendly name of the security group.
Readonly
outboundAn array of security group rule configurations for egress rules.
Optional
Readonly
tags(OPTIONAL) An array of tag objects for the security group.
NetworkConfig / VpcConfig | VpcTemplatesConfig / SecurityGroupConfig
Security group configuration.
Description
Use this configuration to define security groups in your VPC. A security group acts as a firewall that controls the traffic allowed to and from the resources in your VPC. You can choose the ports and protocols to allow for inbound and outbound traffic.
The following example creates a security group that allows inbound RDP and SSH traffic from source CIDR 10.0.0.0/16. It also allows all outbound traffic.
Example