Class SecGroupRuleArgs


  • public final class SecGroupRuleArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SecGroupRuleArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static SecGroupRuleArgs.Builder builder()  
      static SecGroupRuleArgs.Builder builder​(SecGroupRuleArgs defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> cidr()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> fromGroupId()  
      com.pulumi.core.Output<java.lang.Integer> fromPort()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> id()  
      com.pulumi.core.Output<java.lang.String> ipProtocol()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> self()  
      com.pulumi.core.Output<java.lang.Integer> toPort()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • cidr

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> cidr()
        Returns:
        Required if `from_group_id` or `self` is empty. The IP range that will be the source of network traffic to the security group. Use 0.0.0.0/0 to allow all IP addresses. Changing this creates a new security group rule. Cannot be combined with `from_group_id` or `self`.
      • fromGroupId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> fromGroupId()
        Returns:
        Required if `cidr` or `self` is empty. The ID of a group from which to forward traffic to the parent group. Changing this creates a new security group rule. Cannot be combined with `cidr` or `self`.
      • fromPort

        public com.pulumi.core.Output<java.lang.Integer> fromPort()
        Returns:
        An integer representing the lower bound of the port range to open. Changing this creates a new security group rule.
      • id

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> id()
      • ipProtocol

        public com.pulumi.core.Output<java.lang.String> ipProtocol()
        Returns:
        The protocol type that will be allowed. Changing this creates a new security group rule.
      • self

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> self()
        Returns:
        Required if `cidr` and `from_group_id` is empty. If true, the security group itself will be added as a source to this ingress rule. Cannot be combined with `cidr` or `from_group_id`.
      • toPort

        public com.pulumi.core.Output<java.lang.Integer> toPort()
        Returns:
        An integer representing the upper bound of the port range to open. Changing this creates a new security group rule.