Optional Readonlydescription(OPTIONAL) A description for the security group.
ReadonlyinboundAn array of security group rule configurations for ingress rules.
ReadonlynameThe friendly name of the security group.
ReadonlyoutboundAn array of security group rule configurations for egress rules.
Optional Readonlytags(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