Class SecurityGroupIngress
Inheritance
System.Object
SecurityGroupIngress
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.Outputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class SecurityGroupIngress
Fields
View SourceCidrBlocks
List of CIDR blocks.
Declaration
public readonly ImmutableArray<string> CidrBlocks
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
Description
Description of this egress rule.
Declaration
public readonly string Description
Field Value
| Type | Description |
|---|---|
| System.String |
FromPort
The start port (or ICMP type number if protocol is "icmp")
Declaration
public readonly int FromPort
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Ipv6CidrBlocks
List of IPv6 CIDR blocks.
Declaration
public readonly ImmutableArray<string> Ipv6CidrBlocks
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
PrefixListIds
List of prefix list IDs (for allowing access to VPC endpoints)
Declaration
public readonly ImmutableArray<string> PrefixListIds
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<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 readonly string Protocol
Field Value
| Type | Description |
|---|---|
| System.String |
SecurityGroups
List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
Declaration
public readonly ImmutableArray<string> SecurityGroups
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
Self
If true, the security group itself will be added as a source to this egress rule.
Declaration
public readonly bool? Self
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
ToPort
The end range port (or ICMP code if protocol is "icmp").
Declaration
public readonly int ToPort
Field Value
| Type | Description |
|---|---|
| System.Int32 |