Modify Security Group Rules
ec2_modify_security_group_rules | R Documentation |
Modifies the rules of a security group¶
Description¶
Modifies the rules of a security group.
Usage¶
ec2_modify_security_group_rules(GroupId, SecurityGroupRules, DryRun)
Arguments¶
GroupId |
[required] The ID of the security group. |
SecurityGroupRules |
[required] Information about the security group properties to update. |
DryRun |
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
|
Value¶
A list with the following syntax:
list(
Return = TRUE|FALSE
)
Request syntax¶
svc$modify_security_group_rules(
GroupId = "string",
SecurityGroupRules = list(
list(
SecurityGroupRuleId = "string",
SecurityGroupRule = list(
IpProtocol = "string",
FromPort = 123,
ToPort = 123,
CidrIpv4 = "string",
CidrIpv6 = "string",
PrefixListId = "string",
ReferencedGroupId = "string",
Description = "string"
)
)
),
DryRun = TRUE|FALSE
)