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¶
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
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
Value¶
A list with the following syntax:
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
)