AwsSecurityGroupPlainIngressRuleArgs

interface AwsSecurityGroupPlainIngressRuleArgs extends Omit<aws.vpc.SecurityGroupIngressRuleArgs, 'referencedSecurityGroupId' | 'securityGroupId'> { cidrIpv4?: Input<string | undefined>; cidrIpv6?: Input<string | undefined>; description?: Input<string | undefined>; fromPort?: Input<number | undefined>; groupName?: Input<string>; ipProtocol: Input<string>; prefixListId?: Input<string | undefined>; referencedSecurityGroupId?: Input<string>; region?: Input<string | undefined>; tags?: Input<{ [key: string]: Input<string> } | undefined>; toPort?: Input<number | undefined>; }

Hierarchy

  • SecurityGroupIngressRuleArgs, "referencedSecurityGroupId" | "securityGroupId">
  • AwsSecurityGroupPlainIngressRuleArgs

Properties

cidrIpv4: Input<string | undefined>

Inherited from cidrIpv4

The source IPv4 CIDR range.

cidrIpv6: Input<string | undefined>

Inherited from cidrIpv6

The source IPv6 CIDR range.

description: Input<string | undefined>

Inherited from description

The security group rule description.

fromPort: Input<number | undefined>

Inherited from fromPort

The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.

groupName: Input<string>

ipProtocol: Input<string>

Inherited from ipProtocol

The IP protocol name or number. Use -1 to specify all protocols. Note that if ipProtocol is set to -1, it translates to all protocols, all port ranges, and fromPort and toPort values should not be defined.

prefixListId: Input<string | undefined>

Inherited from prefixListId

The ID of the source prefix list.

referencedSecurityGroupId: Input<string>

region: Input<string | undefined>

Inherited from region

Region where this resource will be managed. Defaults to the Region set in the provider configuration.

tags: Input<{ [key: string]: Input<string> } | undefined>

Inherited from tags

A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

toPort: Input<number | undefined>

Inherited from toPort

The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.

Note Although cidrIpv4, cidrIpv6, prefixListId, and referencedSecurityGroupId are all marked as optional, you must provide one of them in order to configure the destination of the traffic. The fromPort and toPort arguments are required unless ipProtocol is set to -1 or icmpv6.