Show / Hide Table of Contents

Class SecurityGroupIngressArgs

Inheritance
System.Object
InputArgs
ResourceArgs
SecurityGroupIngressArgs
Inherited Members
ResourceArgs.Empty
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 Source

SecurityGroupIngressArgs()

Declaration
public SecurityGroupIngressArgs()

Properties

View Source

CidrBlocks

List of CIDR blocks.

Declaration
public InputList<string> CidrBlocks { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

Description

Description of this egress rule.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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

Ipv6CidrBlocks

List of IPv6 CIDR blocks.

Declaration
public InputList<string> Ipv6CidrBlocks { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

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>
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 Input<string> Protocol { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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

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

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.