Class: Aws::EC2::Types::SecurityGroupRuleUpdate

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass SecurityGroupRuleUpdate data as a hash:

{
  security_group_rule_id: "SecurityGroupRuleId",
  security_group_rule: {
    ip_protocol: "String",
    from_port: 1,
    to_port: 1,
    cidr_ipv_4: "String",
    cidr_ipv_6: "String",
    prefix_list_id: "PrefixListResourceId",
    referenced_group_id: "SecurityGroupId",
    description: "String",
  },
}

Describes an update to a security group rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#security_group_ruleTypes::SecurityGroupRuleRequest

Information about the security group rule.



55916
55917
55918
55919
55920
55921
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 55916

class SecurityGroupRuleUpdate < Struct.new(
  :security_group_rule_id,
  :security_group_rule)
  SENSITIVE = []
  include Aws::Structure
end

#security_group_rule_idString

The ID of the security group rule.

Returns:

  • (String)


55916
55917
55918
55919
55920
55921
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 55916

class SecurityGroupRuleUpdate < Struct.new(
  :security_group_rule_id,
  :security_group_rule)
  SENSITIVE = []
  include Aws::Structure
end