Skip to content

EC2  >  Structures  >  RevokedSecurityGroupRule

RevokedSecurityGroupRule

Structure Class

RevokedSecurityGroupRule dataclass

Bases: _SerdeShape

A security group rule removed with RevokeSecurityGroupEgress or RevokeSecurityGroupIngress.

Attributes

cidr_ipv4 class-attribute instance-attribute
cidr_ipv4: str | None = ...

The IPv4 CIDR of the traffic source.

cidr_ipv6 class-attribute instance-attribute
cidr_ipv6: str | None = ...

The IPv6 CIDR of the traffic source.

description class-attribute instance-attribute
description: str | None = ...

A description of the revoked security group rule.

from_port class-attribute instance-attribute
from_port: int | None = ...

The 'from' port number of the security group rule.

group_id class-attribute instance-attribute
group_id: str | None = ...

A security group ID.

ip_protocol class-attribute instance-attribute
ip_protocol: str | None = ...

The security group rule's protocol.

is_egress class-attribute instance-attribute
is_egress: bool | None = ...

Defines if a security group rule is an outbound rule.

prefix_list_id class-attribute instance-attribute
prefix_list_id: str | None = ...

The ID of a prefix list that's the traffic source.

referenced_group_id class-attribute instance-attribute
referenced_group_id: str | None = ...

The ID of a referenced security group.

security_group_rule_id class-attribute instance-attribute
security_group_rule_id: str | None = ...

A security group rule ID.

to_port class-attribute instance-attribute
to_port: int | None = ...

The 'to' port number of the security group rule.