Class ResourcePolicyState.Builder

  • Enclosing class:
    ResourcePolicyState

    public static final class ResourcePolicyState.Builder
    extends java.lang.Object
    • Method Detail

      • policy

        public ResourcePolicyState.Builder policy​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> policy)
        Parameters:
        policy - JSON formatted policy document that controls access to the Network Firewall resource. The policy must be provided **without whitespaces**. We recommend using jsonencode for formatting as seen in the examples above. For more details, including available policy statement Actions, see the [Policy](https://docs.aws.amazon.com/network-firewall/latest/APIReference/API_PutResourcePolicy.html#API_PutResourcePolicy_RequestSyntax) parameter in the AWS API documentation.
        Returns:
        builder
      • policy

        public ResourcePolicyState.Builder policy​(java.lang.String policy)
        Parameters:
        policy - JSON formatted policy document that controls access to the Network Firewall resource. The policy must be provided **without whitespaces**. We recommend using jsonencode for formatting as seen in the examples above. For more details, including available policy statement Actions, see the [Policy](https://docs.aws.amazon.com/network-firewall/latest/APIReference/API_PutResourcePolicy.html#API_PutResourcePolicy_RequestSyntax) parameter in the AWS API documentation.
        Returns:
        builder
      • resourceArn

        public ResourcePolicyState.Builder resourceArn​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> resourceArn)
        Parameters:
        resourceArn - The Amazon Resource Name (ARN) of the rule group or firewall policy.
        Returns:
        builder
      • resourceArn

        public ResourcePolicyState.Builder resourceArn​(java.lang.String resourceArn)
        Parameters:
        resourceArn - The Amazon Resource Name (ARN) of the rule group or firewall policy.
        Returns:
        builder