1. Registry
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. threatdetection
  6. AttackPathWhitelist
Viewing docs for Alibaba Cloud v3.108.0
published on Thursday, Sep 17, 2026 by Pulumi
alicloud logo alicloud logo
Viewing docs for Alibaba Cloud v3.108.0
published on Thursday, Sep 17, 2026 by Pulumi

    Provides a Threat Detection Attack Path Whitelist resource.

    Attack Path Whitelist.

    For information about Threat Detection Attack Path Whitelist and how to use it, see What is Attack Path Whitelist.

    NOTE: Available since v1.292.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const _default = new alicloud.threatdetection.AttackPathWhitelist("default", {
        pathType: "role_escalation",
        whitelistType: "PART_ASSET",
        whitelistName: "example-1",
        pathName: "ecs_get_credential_by_create_login_profile",
        remark: "example-1",
        attackPathAssetLists: [{
            instanceId: "AliyunYundunSASReadOnlyAccess::System",
            regionId: "cn-hangzhou",
            vendor: 0,
            assetType: 15,
            assetSubType: 2,
            nodeType: "end",
        }],
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default = alicloud.threatdetection.AttackPathWhitelist("default",
        path_type="role_escalation",
        whitelist_type="PART_ASSET",
        whitelist_name="example-1",
        path_name="ecs_get_credential_by_create_login_profile",
        remark="example-1",
        attack_path_asset_lists=[{
            "instance_id": "AliyunYundunSASReadOnlyAccess::System",
            "region_id": "cn-hangzhou",
            "vendor": 0,
            "asset_type": 15,
            "asset_sub_type": 2,
            "node_type": "end",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/threatdetection"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		_, err := threatdetection.NewAttackPathWhitelist(ctx, "default", &threatdetection.AttackPathWhitelistArgs{
    			PathType:      pulumi.String("role_escalation"),
    			WhitelistType: pulumi.String("PART_ASSET"),
    			WhitelistName: pulumi.String("example-1"),
    			PathName:      pulumi.String("ecs_get_credential_by_create_login_profile"),
    			Remark:        pulumi.String("example-1"),
    			AttackPathAssetLists: threatdetection.AttackPathWhitelistAttackPathAssetListArray{
    				&threatdetection.AttackPathWhitelistAttackPathAssetListArgs{
    					InstanceId:   pulumi.String("AliyunYundunSASReadOnlyAccess::System"),
    					RegionId:     pulumi.String("cn-hangzhou"),
    					Vendor:       pulumi.Int(0),
    					AssetType:    pulumi.Int(15),
    					AssetSubType: pulumi.Int(2),
    					NodeType:     pulumi.String("end"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var @default = new AliCloud.ThreatDetection.AttackPathWhitelist("default", new()
        {
            PathType = "role_escalation",
            WhitelistType = "PART_ASSET",
            WhitelistName = "example-1",
            PathName = "ecs_get_credential_by_create_login_profile",
            Remark = "example-1",
            AttackPathAssetLists = new[]
            {
                new AliCloud.ThreatDetection.Inputs.AttackPathWhitelistAttackPathAssetListArgs
                {
                    InstanceId = "AliyunYundunSASReadOnlyAccess::System",
                    RegionId = "cn-hangzhou",
                    Vendor = 0,
                    AssetType = 15,
                    AssetSubType = 2,
                    NodeType = "end",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.threatdetection.AttackPathWhitelist;
    import com.pulumi.alicloud.threatdetection.AttackPathWhitelistArgs;
    import com.pulumi.alicloud.threatdetection.inputs.AttackPathWhitelistAttackPathAssetListArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            final var config = ctx.config();
            final var name = config.get("name").orElse("terraform-example");
            var default_ = new AttackPathWhitelist("default", AttackPathWhitelistArgs.builder()
                .pathType("role_escalation")
                .whitelistType("PART_ASSET")
                .whitelistName("example-1")
                .pathName("ecs_get_credential_by_create_login_profile")
                .remark("example-1")
                .attackPathAssetLists(AttackPathWhitelistAttackPathAssetListArgs.builder()
                    .instanceId("AliyunYundunSASReadOnlyAccess::System")
                    .regionId("cn-hangzhou")
                    .vendor(0)
                    .assetType(15)
                    .assetSubType(2)
                    .nodeType("end")
                    .build())
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      default:
        type: alicloud:threatdetection:AttackPathWhitelist
        properties:
          pathType: role_escalation
          whitelistType: PART_ASSET
          whitelistName: example-1
          pathName: ecs_get_credential_by_create_login_profile
          remark: example-1
          attackPathAssetLists:
            - instanceId: AliyunYundunSASReadOnlyAccess::System
              regionId: cn-hangzhou
              vendor: 0
              assetType: 15
              assetSubType: 2
              nodeType: end
    
    pulumi {
      required_providers {
        alicloud = {
          source = "pulumi/alicloud"
        }
      }
    }
    
    resource "alicloud_threatdetection_attackpathwhitelist" "default" {
      path_type      = "role_escalation"
      whitelist_type = "PART_ASSET"
      whitelist_name = "example-1"
      path_name      = "ecs_get_credential_by_create_login_profile"
      remark         = "example-1"
      attack_path_asset_lists {
        instance_id    = "AliyunYundunSASReadOnlyAccess::System"
        region_id      = "cn-hangzhou"
        vendor         = 0
        asset_type     = 15
        asset_sub_type = 2
        node_type      = "end"
      }
    }
    variable "name" {
      type    = string
      default = "terraform-example"
    }
    

    📚 Need more examples? VIEW MORE EXAMPLES

    Create AttackPathWhitelist Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AttackPathWhitelist(name: string, args: AttackPathWhitelistArgs, opts?: CustomResourceOptions);
    @overload
    def AttackPathWhitelist(resource_name: str,
                            args: AttackPathWhitelistArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def AttackPathWhitelist(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            path_name: Optional[str] = None,
                            path_type: Optional[str] = None,
                            whitelist_name: Optional[str] = None,
                            whitelist_type: Optional[str] = None,
                            attack_path_asset_lists: Optional[Sequence[AttackPathWhitelistAttackPathAssetListArgs]] = None,
                            remark: Optional[str] = None)
    func NewAttackPathWhitelist(ctx *Context, name string, args AttackPathWhitelistArgs, opts ...ResourceOption) (*AttackPathWhitelist, error)
    public AttackPathWhitelist(string name, AttackPathWhitelistArgs args, CustomResourceOptions? opts = null)
    public AttackPathWhitelist(String name, AttackPathWhitelistArgs args)
    public AttackPathWhitelist(String name, AttackPathWhitelistArgs args, CustomResourceOptions options)
    
    type: alicloud:threatdetection:AttackPathWhitelist
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "alicloud_threatdetection_attack_path_whitelist" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AttackPathWhitelistArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AttackPathWhitelistArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AttackPathWhitelistArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AttackPathWhitelistArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AttackPathWhitelistArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var attackPathWhitelistResource = new AliCloud.ThreatDetection.AttackPathWhitelist("attackPathWhitelistResource", new()
    {
        PathName = "string",
        PathType = "string",
        WhitelistName = "string",
        WhitelistType = "string",
        AttackPathAssetLists = new[]
        {
            new AliCloud.ThreatDetection.Inputs.AttackPathWhitelistAttackPathAssetListArgs
            {
                Vendor = 0,
                AssetSubType = 0,
                AssetType = 0,
                InstanceId = "string",
                NodeType = "string",
                RegionId = "string",
            },
        },
        Remark = "string",
    });
    
    example, err := threatdetection.NewAttackPathWhitelist(ctx, "attackPathWhitelistResource", &threatdetection.AttackPathWhitelistArgs{
    	PathName:      pulumi.String("string"),
    	PathType:      pulumi.String("string"),
    	WhitelistName: pulumi.String("string"),
    	WhitelistType: pulumi.String("string"),
    	AttackPathAssetLists: threatdetection.AttackPathWhitelistAttackPathAssetListArray{
    		&threatdetection.AttackPathWhitelistAttackPathAssetListArgs{
    			Vendor:       pulumi.Int(0),
    			AssetSubType: pulumi.Int(0),
    			AssetType:    pulumi.Int(0),
    			InstanceId:   pulumi.String("string"),
    			NodeType:     pulumi.String("string"),
    			RegionId:     pulumi.String("string"),
    		},
    	},
    	Remark: pulumi.String("string"),
    })
    
    resource "alicloud_threatdetection_attack_path_whitelist" "attackPathWhitelistResource" {
      lifecycle {
        create_before_destroy = true
      }
      path_name      = "string"
      path_type      = "string"
      whitelist_name = "string"
      whitelist_type = "string"
      attack_path_asset_lists {
        vendor         = 0
        asset_sub_type = 0
        asset_type     = 0
        instance_id    = "string"
        node_type      = "string"
        region_id      = "string"
      }
      remark = "string"
    }
    
    var attackPathWhitelistResource = new AttackPathWhitelist("attackPathWhitelistResource", AttackPathWhitelistArgs.builder()
        .pathName("string")
        .pathType("string")
        .whitelistName("string")
        .whitelistType("string")
        .attackPathAssetLists(AttackPathWhitelistAttackPathAssetListArgs.builder()
            .vendor(0)
            .assetSubType(0)
            .assetType(0)
            .instanceId("string")
            .nodeType("string")
            .regionId("string")
            .build())
        .remark("string")
        .build());
    
    attack_path_whitelist_resource = alicloud.threatdetection.AttackPathWhitelist("attackPathWhitelistResource",
        path_name="string",
        path_type="string",
        whitelist_name="string",
        whitelist_type="string",
        attack_path_asset_lists=[{
            "vendor": 0,
            "asset_sub_type": 0,
            "asset_type": 0,
            "instance_id": "string",
            "node_type": "string",
            "region_id": "string",
        }],
        remark="string")
    
    const attackPathWhitelistResource = new alicloud.threatdetection.AttackPathWhitelist("attackPathWhitelistResource", {
        pathName: "string",
        pathType: "string",
        whitelistName: "string",
        whitelistType: "string",
        attackPathAssetLists: [{
            vendor: 0,
            assetSubType: 0,
            assetType: 0,
            instanceId: "string",
            nodeType: "string",
            regionId: "string",
        }],
        remark: "string",
    });
    
    type: alicloud:threatdetection:AttackPathWhitelist
    properties:
        attackPathAssetLists:
            - assetSubType: 0
              assetType: 0
              instanceId: string
              nodeType: string
              regionId: string
              vendor: 0
        pathName: string
        pathType: string
        remark: string
        whitelistName: string
        whitelistType: string
    

    AttackPathWhitelist Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AttackPathWhitelist resource accepts the following input properties:

    PathName string
    The path name of the whitelist. You can call ListAvailableAttackPath to query the available path names.
    PathType string
    The path type of the whitelist. You can call ListAvailableAttackPath to query the available path types.
    WhitelistName string
    The name of the whitelist.
    WhitelistType string
    The type of the whitelist. Valid values: ALL_ASSET (all assets), PART_ASSET (partial assets).
    AttackPathAssetLists List<Pulumi.AliCloud.ThreatDetection.Inputs.AttackPathWhitelistAttackPathAssetList>
    The list of attack path cloud product assets. See attackPathAssetList below.
    Remark string
    The remarks of the whitelist.
    PathName string
    The path name of the whitelist. You can call ListAvailableAttackPath to query the available path names.
    PathType string
    The path type of the whitelist. You can call ListAvailableAttackPath to query the available path types.
    WhitelistName string
    The name of the whitelist.
    WhitelistType string
    The type of the whitelist. Valid values: ALL_ASSET (all assets), PART_ASSET (partial assets).
    AttackPathAssetLists []AttackPathWhitelistAttackPathAssetListArgs
    The list of attack path cloud product assets. See attackPathAssetList below.
    Remark string
    The remarks of the whitelist.
    path_name string
    The path name of the whitelist. You can call ListAvailableAttackPath to query the available path names.
    path_type string
    The path type of the whitelist. You can call ListAvailableAttackPath to query the available path types.
    whitelist_name string
    The name of the whitelist.
    whitelist_type string
    The type of the whitelist. Valid values: ALL_ASSET (all assets), PART_ASSET (partial assets).
    attack_path_asset_lists list(object)
    The list of attack path cloud product assets. See attackPathAssetList below.
    remark string
    The remarks of the whitelist.
    pathName String
    The path name of the whitelist. You can call ListAvailableAttackPath to query the available path names.
    pathType String
    The path type of the whitelist. You can call ListAvailableAttackPath to query the available path types.
    whitelistName String
    The name of the whitelist.
    whitelistType String
    The type of the whitelist. Valid values: ALL_ASSET (all assets), PART_ASSET (partial assets).
    attackPathAssetLists List<AttackPathWhitelistAttackPathAssetList>
    The list of attack path cloud product assets. See attackPathAssetList below.
    remark String
    The remarks of the whitelist.
    pathName string
    The path name of the whitelist. You can call ListAvailableAttackPath to query the available path names.
    pathType string
    The path type of the whitelist. You can call ListAvailableAttackPath to query the available path types.
    whitelistName string
    The name of the whitelist.
    whitelistType string
    The type of the whitelist. Valid values: ALL_ASSET (all assets), PART_ASSET (partial assets).
    attackPathAssetLists AttackPathWhitelistAttackPathAssetList[]
    The list of attack path cloud product assets. See attackPathAssetList below.
    remark string
    The remarks of the whitelist.
    path_name str
    The path name of the whitelist. You can call ListAvailableAttackPath to query the available path names.
    path_type str
    The path type of the whitelist. You can call ListAvailableAttackPath to query the available path types.
    whitelist_name str
    The name of the whitelist.
    whitelist_type str
    The type of the whitelist. Valid values: ALL_ASSET (all assets), PART_ASSET (partial assets).
    attack_path_asset_lists Sequence[AttackPathWhitelistAttackPathAssetListArgs]
    The list of attack path cloud product assets. See attackPathAssetList below.
    remark str
    The remarks of the whitelist.
    pathName String
    The path name of the whitelist. You can call ListAvailableAttackPath to query the available path names.
    pathType String
    The path type of the whitelist. You can call ListAvailableAttackPath to query the available path types.
    whitelistName String
    The name of the whitelist.
    whitelistType String
    The type of the whitelist. Valid values: ALL_ASSET (all assets), PART_ASSET (partial assets).
    attackPathAssetLists List<Property Map>
    The list of attack path cloud product assets. See attackPathAssetList below.
    remark String
    The remarks of the whitelist.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AttackPathWhitelist resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AttackPathWhitelist Resource

    Get an existing AttackPathWhitelist resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AttackPathWhitelistState, opts?: CustomResourceOptions): AttackPathWhitelist
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            attack_path_asset_lists: Optional[Sequence[AttackPathWhitelistAttackPathAssetListArgs]] = None,
            path_name: Optional[str] = None,
            path_type: Optional[str] = None,
            remark: Optional[str] = None,
            whitelist_name: Optional[str] = None,
            whitelist_type: Optional[str] = None) -> AttackPathWhitelist
    func GetAttackPathWhitelist(ctx *Context, name string, id IDInput, state *AttackPathWhitelistState, opts ...ResourceOption) (*AttackPathWhitelist, error)
    public static AttackPathWhitelist Get(string name, Input<string> id, AttackPathWhitelistState? state, CustomResourceOptions? opts = null)
    public static AttackPathWhitelist get(String name, Output<String> id, AttackPathWhitelistState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:threatdetection:AttackPathWhitelist    get:      id: ${id}
    import {
      to = alicloud_threatdetection_attack_path_whitelist.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AttackPathAssetLists List<Pulumi.AliCloud.ThreatDetection.Inputs.AttackPathWhitelistAttackPathAssetList>
    The list of attack path cloud product assets. See attackPathAssetList below.
    PathName string
    The path name of the whitelist. You can call ListAvailableAttackPath to query the available path names.
    PathType string
    The path type of the whitelist. You can call ListAvailableAttackPath to query the available path types.
    Remark string
    The remarks of the whitelist.
    WhitelistName string
    The name of the whitelist.
    WhitelistType string
    The type of the whitelist. Valid values: ALL_ASSET (all assets), PART_ASSET (partial assets).
    AttackPathAssetLists []AttackPathWhitelistAttackPathAssetListArgs
    The list of attack path cloud product assets. See attackPathAssetList below.
    PathName string
    The path name of the whitelist. You can call ListAvailableAttackPath to query the available path names.
    PathType string
    The path type of the whitelist. You can call ListAvailableAttackPath to query the available path types.
    Remark string
    The remarks of the whitelist.
    WhitelistName string
    The name of the whitelist.
    WhitelistType string
    The type of the whitelist. Valid values: ALL_ASSET (all assets), PART_ASSET (partial assets).
    attack_path_asset_lists list(object)
    The list of attack path cloud product assets. See attackPathAssetList below.
    path_name string
    The path name of the whitelist. You can call ListAvailableAttackPath to query the available path names.
    path_type string
    The path type of the whitelist. You can call ListAvailableAttackPath to query the available path types.
    remark string
    The remarks of the whitelist.
    whitelist_name string
    The name of the whitelist.
    whitelist_type string
    The type of the whitelist. Valid values: ALL_ASSET (all assets), PART_ASSET (partial assets).
    attackPathAssetLists List<AttackPathWhitelistAttackPathAssetList>
    The list of attack path cloud product assets. See attackPathAssetList below.
    pathName String
    The path name of the whitelist. You can call ListAvailableAttackPath to query the available path names.
    pathType String
    The path type of the whitelist. You can call ListAvailableAttackPath to query the available path types.
    remark String
    The remarks of the whitelist.
    whitelistName String
    The name of the whitelist.
    whitelistType String
    The type of the whitelist. Valid values: ALL_ASSET (all assets), PART_ASSET (partial assets).
    attackPathAssetLists AttackPathWhitelistAttackPathAssetList[]
    The list of attack path cloud product assets. See attackPathAssetList below.
    pathName string
    The path name of the whitelist. You can call ListAvailableAttackPath to query the available path names.
    pathType string
    The path type of the whitelist. You can call ListAvailableAttackPath to query the available path types.
    remark string
    The remarks of the whitelist.
    whitelistName string
    The name of the whitelist.
    whitelistType string
    The type of the whitelist. Valid values: ALL_ASSET (all assets), PART_ASSET (partial assets).
    attack_path_asset_lists Sequence[AttackPathWhitelistAttackPathAssetListArgs]
    The list of attack path cloud product assets. See attackPathAssetList below.
    path_name str
    The path name of the whitelist. You can call ListAvailableAttackPath to query the available path names.
    path_type str
    The path type of the whitelist. You can call ListAvailableAttackPath to query the available path types.
    remark str
    The remarks of the whitelist.
    whitelist_name str
    The name of the whitelist.
    whitelist_type str
    The type of the whitelist. Valid values: ALL_ASSET (all assets), PART_ASSET (partial assets).
    attackPathAssetLists List<Property Map>
    The list of attack path cloud product assets. See attackPathAssetList below.
    pathName String
    The path name of the whitelist. You can call ListAvailableAttackPath to query the available path names.
    pathType String
    The path type of the whitelist. You can call ListAvailableAttackPath to query the available path types.
    remark String
    The remarks of the whitelist.
    whitelistName String
    The name of the whitelist.
    whitelistType String
    The type of the whitelist. Valid values: ALL_ASSET (all assets), PART_ASSET (partial assets).

    Supporting Types

    AttackPathWhitelistAttackPathAssetList, AttackPathWhitelistAttackPathAssetListArgs

    Vendor int
    The vendor of the cloud product asset. You can call ListCloudAssetInstances to query the vendors.
    AssetSubType int
    The subtype of the cloud product asset. You can call ListCloudAssetInstances to query the asset subtypes.
    AssetType int
    The type of the cloud product asset. You can call ListCloudAssetInstances to query the asset types.
    InstanceId string
    The instance ID of the cloud product asset. You can call ListCloudAssetInstances to query the instance IDs.
    NodeType string
    The type of the whitelist node. Valid values: start (starting point), end (end point).
    RegionId string
    The region ID of the cloud product asset instance.
    Vendor int
    The vendor of the cloud product asset. You can call ListCloudAssetInstances to query the vendors.
    AssetSubType int
    The subtype of the cloud product asset. You can call ListCloudAssetInstances to query the asset subtypes.
    AssetType int
    The type of the cloud product asset. You can call ListCloudAssetInstances to query the asset types.
    InstanceId string
    The instance ID of the cloud product asset. You can call ListCloudAssetInstances to query the instance IDs.
    NodeType string
    The type of the whitelist node. Valid values: start (starting point), end (end point).
    RegionId string
    The region ID of the cloud product asset instance.
    vendor number
    The vendor of the cloud product asset. You can call ListCloudAssetInstances to query the vendors.
    asset_sub_type number
    The subtype of the cloud product asset. You can call ListCloudAssetInstances to query the asset subtypes.
    asset_type number
    The type of the cloud product asset. You can call ListCloudAssetInstances to query the asset types.
    instance_id string
    The instance ID of the cloud product asset. You can call ListCloudAssetInstances to query the instance IDs.
    node_type string
    The type of the whitelist node. Valid values: start (starting point), end (end point).
    region_id string
    The region ID of the cloud product asset instance.
    vendor Integer
    The vendor of the cloud product asset. You can call ListCloudAssetInstances to query the vendors.
    assetSubType Integer
    The subtype of the cloud product asset. You can call ListCloudAssetInstances to query the asset subtypes.
    assetType Integer
    The type of the cloud product asset. You can call ListCloudAssetInstances to query the asset types.
    instanceId String
    The instance ID of the cloud product asset. You can call ListCloudAssetInstances to query the instance IDs.
    nodeType String
    The type of the whitelist node. Valid values: start (starting point), end (end point).
    regionId String
    The region ID of the cloud product asset instance.
    vendor number
    The vendor of the cloud product asset. You can call ListCloudAssetInstances to query the vendors.
    assetSubType number
    The subtype of the cloud product asset. You can call ListCloudAssetInstances to query the asset subtypes.
    assetType number
    The type of the cloud product asset. You can call ListCloudAssetInstances to query the asset types.
    instanceId string
    The instance ID of the cloud product asset. You can call ListCloudAssetInstances to query the instance IDs.
    nodeType string
    The type of the whitelist node. Valid values: start (starting point), end (end point).
    regionId string
    The region ID of the cloud product asset instance.
    vendor int
    The vendor of the cloud product asset. You can call ListCloudAssetInstances to query the vendors.
    asset_sub_type int
    The subtype of the cloud product asset. You can call ListCloudAssetInstances to query the asset subtypes.
    asset_type int
    The type of the cloud product asset. You can call ListCloudAssetInstances to query the asset types.
    instance_id str
    The instance ID of the cloud product asset. You can call ListCloudAssetInstances to query the instance IDs.
    node_type str
    The type of the whitelist node. Valid values: start (starting point), end (end point).
    region_id str
    The region ID of the cloud product asset instance.
    vendor Number
    The vendor of the cloud product asset. You can call ListCloudAssetInstances to query the vendors.
    assetSubType Number
    The subtype of the cloud product asset. You can call ListCloudAssetInstances to query the asset subtypes.
    assetType Number
    The type of the cloud product asset. You can call ListCloudAssetInstances to query the asset types.
    instanceId String
    The instance ID of the cloud product asset. You can call ListCloudAssetInstances to query the instance IDs.
    nodeType String
    The type of the whitelist node. Valid values: start (starting point), end (end point).
    regionId String
    The region ID of the cloud product asset instance.

    Import

    Threat Detection Attack Path Whitelist can be imported using the id, e.g.

    $ pulumi import alicloud:threatdetection/attackPathWhitelist:AttackPathWhitelist example <attack_path_whitelist_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo alicloud logo
    Viewing docs for Alibaba Cloud v3.108.0
    published on Thursday, Sep 17, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial