Class ResourcePolicyArgs.Builder

  • Enclosing class:
    ResourcePolicyArgs

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

      • policyDocument

        public ResourcePolicyArgs.Builder policyDocument​(com.pulumi.core.Output<java.lang.String> policyDocument)
        Parameters:
        policyDocument - JSON policy document to use as the resource-based policy. This policy defines the permissions that other AWS accounts or services have to access your workspace.
        Returns:
        builder
      • policyDocument

        public ResourcePolicyArgs.Builder policyDocument​(java.lang.String policyDocument)
        Parameters:
        policyDocument - JSON policy document to use as the resource-based policy. This policy defines the permissions that other AWS accounts or services have to access your workspace.
        Returns:
        builder
      • region

        public ResourcePolicyArgs.Builder region​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public ResourcePolicyArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • revisionId

        public ResourcePolicyArgs.Builder revisionId​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> revisionId)
        Parameters:
        revisionId - Revision ID of the current resource-based policy.
        Returns:
        builder
      • revisionId

        public ResourcePolicyArgs.Builder revisionId​(java.lang.String revisionId)
        Parameters:
        revisionId - Revision ID of the current resource-based policy.
        Returns:
        builder
      • workspaceId

        public ResourcePolicyArgs.Builder workspaceId​(com.pulumi.core.Output<java.lang.String> workspaceId)
        Parameters:
        workspaceId - ID of the workspace to attach the resource-based policy to. The following arguments are optional:
        Returns:
        builder
      • workspaceId

        public ResourcePolicyArgs.Builder workspaceId​(java.lang.String workspaceId)
        Parameters:
        workspaceId - ID of the workspace to attach the resource-based policy to. The following arguments are optional:
        Returns:
        builder