Builder

class Builder

Properties

Link copied to clipboard

The IPv4 address range, in CIDR format.

Link copied to clipboard

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Link copied to clipboard

If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP, this is the ICMP type or -1 (all ICMP types).

Link copied to clipboard

The ID of the security group.

Link copied to clipboard

[Default VPC] The name of the security group. For security groups for a default VPC you can specify either the ID or the name of the security group. For security groups for a nondefault VPC, you must specify the ID of the security group.

Link copied to clipboard

The permissions for the security group rules.

Link copied to clipboard

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). To specify all protocols, use -1.

Link copied to clipboard

[Default VPC] The name of the source security group.

Link copied to clipboard

The Amazon Web Services account ID for the source security group, if the source security group is in a different account.

Link copied to clipboard

The tags applied to the security group rule.

Link copied to clipboard
var toPort: Int?

If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP, this is the ICMP code or -1 (all ICMP codes). If the start port is -1 (all ICMP types), then the end port must be -1 (all ICMP codes).