Class SecurityGroupIngressArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ec2.Inputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class SecurityGroupIngressArgs : ResourceArgs
Constructors
View SourceSecurityGroupIngressArgs()
Declaration
public SecurityGroupIngressArgs()
Properties
View SourceCidrBlocks
List of CIDR blocks.
Declaration
public InputList<string> CidrBlocks { get; set; }
Property Value
Type | Description |
---|---|
InputList<System.String> |
Description
Description of this egress rule.
Declaration
public Input<string> Description { get; set; }
Property Value
Type | Description |
---|---|
Input<System.String> |
FromPort
The start port (or ICMP type number if protocol is "icmp")
Declaration
public Input<int> FromPort { get; set; }
Property Value
Type | Description |
---|---|
Input<System.Int32> |
Ipv6CidrBlocks
List of IPv6 CIDR blocks.
Declaration
public InputList<string> Ipv6CidrBlocks { get; set; }
Property Value
Type | Description |
---|---|
InputList<System.String> |
PrefixListIds
List of prefix list IDs (for allowing access to VPC endpoints)
Declaration
public InputList<string> PrefixListIds { get; set; }
Property Value
Type | Description |
---|---|
InputList<System.String> |
Protocol
The protocol. If you select a protocol of
"-1" (semantically equivalent to "all"
, which is not a valid value here), you must specify a "from_port" and "to_port" equal to 0. If not icmp, tcp, udp, or "-1" use the protocol number
Declaration
public Input<string> Protocol { get; set; }
Property Value
Type | Description |
---|---|
Input<System.String> |
SecurityGroups
List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
Declaration
public InputList<string> SecurityGroups { get; set; }
Property Value
Type | Description |
---|---|
InputList<System.String> |
Self
If true, the security group itself will be added as a source to this egress rule.
Declaration
public Input<bool> Self { get; set; }
Property Value
Type | Description |
---|---|
Input<System.Boolean> |
ToPort
The end range port (or ICMP code if protocol is "icmp").
Declaration
public Input<int> ToPort { get; set; }
Property Value
Type | Description |
---|---|
Input<System.Int32> |