Show / Hide Table of Contents

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 Source

CidrBlocks

List of CIDR blocks.

Declaration
public readonly ImmutableArray<string> CidrBlocks
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

Description

Description of this egress rule.

Declaration
public readonly string Description
Field Value
Type Description
System.String
View Source

FromPort

The start port (or ICMP type number if protocol is "icmp")

Declaration
public readonly int FromPort
Field Value
Type Description
System.Int32
View Source

Ipv6CidrBlocks

List of IPv6 CIDR blocks.

Declaration
public readonly ImmutableArray<string> Ipv6CidrBlocks
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

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>
View Source

Protocol

The protocol. If you select a protocol of "-1" (semantically equivalent to &quot;all&quot;, 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
View Source

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>
View Source

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>
View Source

ToPort

The end range port (or ICMP code if protocol is "icmp").

Declaration
public readonly int ToPort
Field Value
Type Description
System.Int32
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.