Class SecurityGroupIngressRuleArgs


  • public final class SecurityGroupIngressRuleArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • cidrIpv4

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> cidrIpv4()
        Returns:
        The source IPv4 CIDR range.
      • cidrIpv6

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> cidrIpv6()
        Returns:
        The source IPv6 CIDR range.
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        The security group rule description.
      • fromPort

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> fromPort()
        Returns:
        The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.
      • ipProtocol

        public com.pulumi.core.Output<java.lang.String> ipProtocol()
        Returns:
        The IP protocol name or number. Use `-1` to specify all protocols. Note that if `ip_protocol` is set to `-1`, it translates to all protocols, all port ranges, and `from_port` and `to_port` values should not be defined.
      • prefixListId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> prefixListId()
        Returns:
        The ID of the source prefix list.
      • referencedSecurityGroupId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> referencedSecurityGroupId()
        Returns:
        The source security group that is referenced in the rule.
      • securityGroupId

        public com.pulumi.core.Output<java.lang.String> securityGroupId()
        Returns:
        The ID of the security group.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • toPort

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> toPort()
        Returns:
        The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.