You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::UpdateSecurityGroupRuleDescriptionsIngressRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::UpdateSecurityGroupRuleDescriptionsIngressRequest
- Defined in:
- (unknown)
Overview
When passing UpdateSecurityGroupRuleDescriptionsIngressRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
dry_run: false,
group_id: "SecurityGroupId",
group_name: "SecurityGroupName",
ip_permissions: [ # required
{
from_port: 1,
ip_protocol: "String",
ip_ranges: [
{
cidr_ip: "String",
description: "String",
},
],
ipv_6_ranges: [
{
cidr_ipv_6: "String",
description: "String",
},
],
prefix_list_ids: [
{
description: "String",
prefix_list_id: "String",
},
],
to_port: 1,
user_id_group_pairs: [
{
description: "String",
group_id: "String",
group_name: "String",
peering_status: "String",
user_id: "String",
vpc_id: "String",
vpc_peering_connection_id: "String",
},
],
},
],
}
Instance Attribute Summary collapse
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#group_id ⇒ String
The ID of the security group.
-
#group_name ⇒ String
[EC2-Classic, default VPC] The name of the security group.
-
#ip_permissions ⇒ Array<Types::IpPermission>
The IP permissions for the security group rule.
Instance Attribute Details
#dry_run ⇒ Boolean
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
.
#group_id ⇒ String
The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.
#group_name ⇒ String
[EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.
#ip_permissions ⇒ Array<Types::IpPermission>
The IP permissions for the security group rule.