Acl

Provides a Application Load Balancer (ALB) Acl resource. For information about ALB Acl and how to use it, see What is Acl.

NOTE: Available in v1.133.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.alb.Acl;
import com.pulumi.alicloud.alb.AclArgs;
import com.pulumi.alicloud.alb.inputs.AclAclEntryArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Acl("example", AclArgs.builder()
.aclEntries(AclAclEntryArgs.builder()
.description("example_value")
.entry("10.0.0.0/24")
.build())
.aclName("example_value")
.build());
}
}

Import

ALB Acl can be imported using the id, e.g.

$ pulumi import alicloud:alb/acl:Acl example <id>

Properties

Link copied to clipboard

The list of the ACL entries. You can add up to 20 entries in each call. NOTE: "Field 'acl_entries' has been deprecated from provider version 1.166.0 and it will be removed in the future version. Please use the new resource 'alicloud_alb_acl_entry_attachment'.",

Link copied to clipboard
val aclName: Output<String>

The name of the ACL. The name must be 2 to 128 characters in length, and can contain letters, digits, hyphens (-) and underscores (_). It must start with a letter.

Link copied to clipboard
val dryRun: Output<Boolean>?

Specifies whether to precheck the API request.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceGroupId: Output<String>

The ID of the resource group.

Link copied to clipboard
val status: Output<String>

The state of the ACL. Valid values:Provisioning, Available and Configuring. Provisioning: The ACL is being created. Available: The ACL is available. Configuring: The ACL is being configured.

Link copied to clipboard
val tags: Output<Map<String, Any>>?

A mapping of tags to assign to the resource.

Link copied to clipboard
val urn: Output<String>