| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.Types.AnalysisSecurityGroupRule
Description
Synopsis
- data AnalysisSecurityGroupRule = AnalysisSecurityGroupRule' {}
- newAnalysisSecurityGroupRule :: AnalysisSecurityGroupRule
- analysisSecurityGroupRule_cidr :: Lens' AnalysisSecurityGroupRule (Maybe Text)
- analysisSecurityGroupRule_direction :: Lens' AnalysisSecurityGroupRule (Maybe Text)
- analysisSecurityGroupRule_portRange :: Lens' AnalysisSecurityGroupRule (Maybe PortRange)
- analysisSecurityGroupRule_prefixListId :: Lens' AnalysisSecurityGroupRule (Maybe Text)
- analysisSecurityGroupRule_protocol :: Lens' AnalysisSecurityGroupRule (Maybe Text)
- analysisSecurityGroupRule_securityGroupId :: Lens' AnalysisSecurityGroupRule (Maybe Text)
Documentation
data AnalysisSecurityGroupRule Source #
Describes a security group rule.
See: newAnalysisSecurityGroupRule smart constructor.
Constructors
| AnalysisSecurityGroupRule' | |
Fields
| |
Instances
newAnalysisSecurityGroupRule :: AnalysisSecurityGroupRule Source #
Create a value of AnalysisSecurityGroupRule 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:cidr:AnalysisSecurityGroupRule', analysisSecurityGroupRule_cidr - The IPv4 address range, in CIDR notation.
$sel:direction:AnalysisSecurityGroupRule', analysisSecurityGroupRule_direction - The direction. The following are the possible values:
- egress
- ingress
$sel:portRange:AnalysisSecurityGroupRule', analysisSecurityGroupRule_portRange - The port range.
$sel:prefixListId:AnalysisSecurityGroupRule', analysisSecurityGroupRule_prefixListId - The prefix list ID.
$sel:protocol:AnalysisSecurityGroupRule', analysisSecurityGroupRule_protocol - The protocol name.
$sel:securityGroupId:AnalysisSecurityGroupRule', analysisSecurityGroupRule_securityGroupId - The security group ID.
analysisSecurityGroupRule_cidr :: Lens' AnalysisSecurityGroupRule (Maybe Text) Source #
The IPv4 address range, in CIDR notation.
analysisSecurityGroupRule_direction :: Lens' AnalysisSecurityGroupRule (Maybe Text) Source #
The direction. The following are the possible values:
- egress
- ingress
analysisSecurityGroupRule_portRange :: Lens' AnalysisSecurityGroupRule (Maybe PortRange) Source #
The port range.
analysisSecurityGroupRule_prefixListId :: Lens' AnalysisSecurityGroupRule (Maybe Text) Source #
The prefix list ID.
analysisSecurityGroupRule_protocol :: Lens' AnalysisSecurityGroupRule (Maybe Text) Source #
The protocol name.
analysisSecurityGroupRule_securityGroupId :: Lens' AnalysisSecurityGroupRule (Maybe Text) Source #
The security group ID.