libZSservicesZSamazonka-fmsZSamazonka-fms
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.FMS.Types.SecurityGroupRuleDescription

Description

 
Synopsis

Documentation

data SecurityGroupRuleDescription Source #

Describes a set of permissions for a security group rule.

See: newSecurityGroupRuleDescription smart constructor.

Constructors

SecurityGroupRuleDescription' 

Fields

  • fromPort :: Maybe Natural

    The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of -1 indicates all ICMP/ICMPv6 types.

  • protocol :: Maybe Text

    The IP protocol name (tcp, udp, icmp, icmpv6) or number.

  • iPV4Range :: Maybe Text

    The IPv4 ranges for the security group rule.

  • prefixListId :: Maybe Text

    The ID of the prefix list for the security group rule.

  • toPort :: Maybe Natural

    The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes.

  • iPV6Range :: Maybe Text

    The IPv6 ranges for the security group rule.

Instances

Instances details
Eq SecurityGroupRuleDescription Source # 
Instance details

Defined in Amazonka.FMS.Types.SecurityGroupRuleDescription

Read SecurityGroupRuleDescription Source # 
Instance details

Defined in Amazonka.FMS.Types.SecurityGroupRuleDescription

Show SecurityGroupRuleDescription Source # 
Instance details

Defined in Amazonka.FMS.Types.SecurityGroupRuleDescription

Generic SecurityGroupRuleDescription Source # 
Instance details

Defined in Amazonka.FMS.Types.SecurityGroupRuleDescription

Associated Types

type Rep SecurityGroupRuleDescription :: Type -> Type #

NFData SecurityGroupRuleDescription Source # 
Instance details

Defined in Amazonka.FMS.Types.SecurityGroupRuleDescription

Hashable SecurityGroupRuleDescription Source # 
Instance details

Defined in Amazonka.FMS.Types.SecurityGroupRuleDescription

FromJSON SecurityGroupRuleDescription Source # 
Instance details

Defined in Amazonka.FMS.Types.SecurityGroupRuleDescription

type Rep SecurityGroupRuleDescription Source # 
Instance details

Defined in Amazonka.FMS.Types.SecurityGroupRuleDescription

type Rep SecurityGroupRuleDescription = D1 ('MetaData "SecurityGroupRuleDescription" "Amazonka.FMS.Types.SecurityGroupRuleDescription" "libZSservicesZSamazonka-fmsZSamazonka-fms" 'False) (C1 ('MetaCons "SecurityGroupRuleDescription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fromPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iPV4Range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "prefixListId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "toPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "iPV6Range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newSecurityGroupRuleDescription :: SecurityGroupRuleDescription Source #

Create a value of SecurityGroupRuleDescription with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:fromPort:SecurityGroupRuleDescription', securityGroupRuleDescription_fromPort - The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of -1 indicates all ICMP/ICMPv6 types.

$sel:protocol:SecurityGroupRuleDescription', securityGroupRuleDescription_protocol - The IP protocol name (tcp, udp, icmp, icmpv6) or number.

$sel:iPV4Range:SecurityGroupRuleDescription', securityGroupRuleDescription_iPV4Range - The IPv4 ranges for the security group rule.

$sel:prefixListId:SecurityGroupRuleDescription', securityGroupRuleDescription_prefixListId - The ID of the prefix list for the security group rule.

$sel:toPort:SecurityGroupRuleDescription', securityGroupRuleDescription_toPort - The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes.

$sel:iPV6Range:SecurityGroupRuleDescription', securityGroupRuleDescription_iPV6Range - The IPv6 ranges for the security group rule.

securityGroupRuleDescription_fromPort :: Lens' SecurityGroupRuleDescription (Maybe Natural) Source #

The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of -1 indicates all ICMP/ICMPv6 types.

securityGroupRuleDescription_protocol :: Lens' SecurityGroupRuleDescription (Maybe Text) Source #

The IP protocol name (tcp, udp, icmp, icmpv6) or number.

securityGroupRuleDescription_prefixListId :: Lens' SecurityGroupRuleDescription (Maybe Text) Source #

The ID of the prefix list for the security group rule.

securityGroupRuleDescription_toPort :: Lens' SecurityGroupRuleDescription (Maybe Natural) Source #

The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes.