Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 2.38 KB

File metadata and controls

22 lines (14 loc) · 2.38 KB

CreateSecurityGroupRuleRequest

Properties

Name Type Description Notes
dryRun Boolean If true, checks whether you have the required permissions to perform the action. [optional]
flow String The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only.
fromPortRange Integer The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. If you specify this parameter, you cannot specify the `Rules` parameter and its subparameters. [optional]
ipProtocol String The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the IANA.org website. If you specify this parameter, you cannot specify the `Rules` parameter and its subparameters. [optional]
ipRange String The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `Rules` parameter and its subparameters. [optional]
rules List<SecurityGroupRule> Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `FromPortRange`, `IpProtocol`, `IpRange`, and `ToPortRange`. [optional]
securityGroupAccountIdToLink String The account ID that owns the source or destination security group specified in the `SecurityGroupNameToLink` parameter. [optional]
securityGroupId String The ID of the security group for which you want to create a rule.
securityGroupNameToLink String The ID of a source or destination security group that you want to link to the security group of the rule. [optional]
toPortRange Integer The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `Rules` parameter and its subparameters. [optional]