Concepts

Concepts used in AWS EC2 BDK Book.

Ec2 security group

Represents an EC2 security group.

Field Name
Description
Type

id

The ID of the security group.

text

name

The name of the security group.

text

description

The description of the security group.

text

vpc_id

The ID of the VPC to which the security group belongs.

text

A list of tags associated with the security group.

list of aws tag

Aws tag

Represents an AWS tag.

Field Name
Description
Type

key

The key of the tag.

text

value

The value of the tag.

text

Ec2 ip permission

Represents an IP permission for an EC2 security group.

Field Name
Description
Type

ip_protocol

The IP protocol for the permission.

text

from_port

The start port for the permission.

number

to_port

The end port for the permission.

number

The list of IP ranges for the permission.

optional[list of ip_ranges]

The list of IPv6 ranges for the permission.

optional[list of ipv6_ranges]

The list of prefix list IDs for the permission.

optional[list of prefix_list_ids]

Ip_ranges

Represents an IP range for an EC2 security group.

Field Name
Description
Type

description

The description of the IP range.

optional[text]

cidr_ip

The CIDR IP address range.

optional[text]

Ipv6_ranges

Represents an IPv6 range for an EC2 security group.

Field Name
Description
Type

description

The description of the IPv6 range.

optional[text]

cidr_ipv6

The CIDR IPv6 address range.

optional[text]

Prefix_list_ids

Represents a prefix list ID for an EC2 security group.

Field Name
Description
Type

description

The description of the prefix list ID.

optional[text]

prefix_list_id

The prefix list ID.

optional[text]

Ec2 security group rule

Represents an EC2 security group rule.

Field Name
Description
Type

rule_id

The ID of the security group rule.

text

group_id

The ID of the security group.

text

group_owner_id

The AWS account ID of the security group owner.

text

is_egress

Whether the rule is an egress rule (True) or ingress rule (False).

boolean

ip_protocol

The IP protocol for the rule.

text

from_port

The start port (or ICMP type) for the rule.

number

to_port

The end port (or ICMP code) for the rule.

number

A list of tags associated with the security group rule.

list of aws tag

rule_arn

The ARN of the security group rule.

text

cidr_ipv4

The IPv4 CIDR range for the rule, if applicable.

optional[text]

Last updated

Was this helpful?