IBM::EC2::SecurityGroup

This resource type represents a security group on Amazon EC2. It extends the type OS::Neutron::SecurityGroup.
Table 1. Properties
Name Type Required Description
description String False Description of the security group.
name String False A string specifying a symbolic name for the security group, which is not required to be unique.
rules Map False List of security group rules.
vpc_id String True The VPC ID in which to create the security group.
The rules parameter requires a list of rules for the security group. The following table shows the properties in each list item.
Table 2. rules list properties
Property Type Required Description
direction String False The direction in which the security group rule is applied. For a compute instance, an ingress security group rule matches traffic that is incoming (ingress) for that instance. An egress rule is applied to traffic leaving the instance. Valid values are ingress and egress.
ethertype String False Ethertype of the traffic. Valid values are IPv4 and IPv6.
port_range_max Integer False The maximum port number in the range that is matched by the security group rule. The port_range_min attribute constrains the port_range_max attribute. If the protocol is ICMP, this value must be an ICMP type.
port_range_min Integer False The minimum port number in the range that is matched by the security group rule. If the protocol is TCP or UDP, this value must be less than or equal to the value of the port_range_max attribute. If the protocol is ICMP, this value must be an ICMP type.
protocol String False The protocol that is matched by the security group rule. Valid values include tcp, udp, and icmp.
remote_group_id String False The remote group ID to be associated with this security group rule. If no value is specified then this rule will use this security group for the remote_group_id.
remote_ip_prefix String False The remote IP prefix (CIDR) to be associated with this security group rule.
remote_mode String False Whether to specify a remote group or a remote IP prefix. Valid values are remote_ip_prefix and remote_group_id.
This resource type has no attributes.

Feedback