alicloud.threatdetection.HoneypotNode
Explore with Pulumi AI
Provides a Threat Detection Honeypot Node resource.
For information about Threat Detection Honeypot Node and how to use it, see What is Honeypot Node.
NOTE: Available in v1.195.0+.
Example Usage
Basic Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = new AliCloud.ThreatDetection.HoneypotNode("default", new()
{
AvailableProbeNum = 20,
NodeName = "apispec_test",
SecurityGroupProbeIpLists = new[]
{
"0.0.0.0/0",
},
});
});
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/threatdetection"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := threatdetection.NewHoneypotNode(ctx, "default", &threatdetection.HoneypotNodeArgs{
AvailableProbeNum: pulumi.Int(20),
NodeName: pulumi.String("apispec_test"),
SecurityGroupProbeIpLists: pulumi.StringArray{
pulumi.String("0.0.0.0/0"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.threatdetection.HoneypotNode;
import com.pulumi.alicloud.threatdetection.HoneypotNodeArgs;
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 default_ = new HoneypotNode("default", HoneypotNodeArgs.builder()
.availableProbeNum(20)
.nodeName("apispec_test")
.securityGroupProbeIpLists("0.0.0.0/0")
.build());
}
}
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.threatdetection.HoneypotNode("default",
available_probe_num=20,
node_name="apispec_test",
security_group_probe_ip_lists=["0.0.0.0/0"])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = new alicloud.threatdetection.HoneypotNode("default", {
availableProbeNum: 20,
nodeName: "apispec_test",
securityGroupProbeIpLists: ["0.0.0.0/0"],
});
resources:
default:
type: alicloud:threatdetection:HoneypotNode
properties:
availableProbeNum: 20
nodeName: apispec_test
securityGroupProbeIpLists:
- 0.0.0.0/0
Create HoneypotNode Resource
new HoneypotNode(name: string, args: HoneypotNodeArgs, opts?: CustomResourceOptions);
@overload
def HoneypotNode(resource_name: str,
opts: Optional[ResourceOptions] = None,
allow_honeypot_access_internet: Optional[bool] = None,
available_probe_num: Optional[int] = None,
node_name: Optional[str] = None,
security_group_probe_ip_lists: Optional[Sequence[str]] = None)
@overload
def HoneypotNode(resource_name: str,
args: HoneypotNodeArgs,
opts: Optional[ResourceOptions] = None)
func NewHoneypotNode(ctx *Context, name string, args HoneypotNodeArgs, opts ...ResourceOption) (*HoneypotNode, error)
public HoneypotNode(string name, HoneypotNodeArgs args, CustomResourceOptions? opts = null)
public HoneypotNode(String name, HoneypotNodeArgs args)
public HoneypotNode(String name, HoneypotNodeArgs args, CustomResourceOptions options)
type: alicloud:threatdetection:HoneypotNode
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HoneypotNodeArgs
- 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 HoneypotNodeArgs
- 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 HoneypotNodeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HoneypotNodeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HoneypotNodeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
HoneypotNode Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The HoneypotNode resource accepts the following input properties:
- Available
Probe intNum Number of probes available.
- Node
Name string Management node name.
- Allow
Honeypot boolAccess Internet Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- Security
Group List<string>Probe Ip Lists Release the collection of network segments.
- Available
Probe intNum Number of probes available.
- Node
Name string Management node name.
- Allow
Honeypot boolAccess Internet Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- Security
Group []stringProbe Ip Lists Release the collection of network segments.
- available
Probe IntegerNum Number of probes available.
- node
Name String Management node name.
- allow
Honeypot BooleanAccess Internet Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- security
Group List<String>Probe Ip Lists Release the collection of network segments.
- available
Probe numberNum Number of probes available.
- node
Name string Management node name.
- allow
Honeypot booleanAccess Internet Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- security
Group string[]Probe Ip Lists Release the collection of network segments.
- available_
probe_ intnum Number of probes available.
- node_
name str Management node name.
- allow_
honeypot_ boolaccess_ internet Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- security_
group_ Sequence[str]probe_ ip_ lists Release the collection of network segments.
- available
Probe NumberNum Number of probes available.
- node
Name String Management node name.
- allow
Honeypot BooleanAccess Internet Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- security
Group List<String>Probe Ip Lists Release the collection of network segments.
Outputs
All input properties are implicitly available as output properties. Additionally, the HoneypotNode resource produces the following output properties:
- Create
Time string The creation time of the resource
- Id string
The provider-assigned unique ID for this managed resource.
- Status int
The status of the resource
- Create
Time string The creation time of the resource
- Id string
The provider-assigned unique ID for this managed resource.
- Status int
The status of the resource
- create
Time String The creation time of the resource
- id String
The provider-assigned unique ID for this managed resource.
- status Integer
The status of the resource
- create
Time string The creation time of the resource
- id string
The provider-assigned unique ID for this managed resource.
- status number
The status of the resource
- create_
time str The creation time of the resource
- id str
The provider-assigned unique ID for this managed resource.
- status int
The status of the resource
- create
Time String The creation time of the resource
- id String
The provider-assigned unique ID for this managed resource.
- status Number
The status of the resource
Look up Existing HoneypotNode Resource
Get an existing HoneypotNode 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?: HoneypotNodeState, opts?: CustomResourceOptions): HoneypotNode
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_honeypot_access_internet: Optional[bool] = None,
available_probe_num: Optional[int] = None,
create_time: Optional[str] = None,
node_name: Optional[str] = None,
security_group_probe_ip_lists: Optional[Sequence[str]] = None,
status: Optional[int] = None) -> HoneypotNode
func GetHoneypotNode(ctx *Context, name string, id IDInput, state *HoneypotNodeState, opts ...ResourceOption) (*HoneypotNode, error)
public static HoneypotNode Get(string name, Input<string> id, HoneypotNodeState? state, CustomResourceOptions? opts = null)
public static HoneypotNode get(String name, Output<String> id, HoneypotNodeState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Allow
Honeypot boolAccess Internet Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- Available
Probe intNum Number of probes available.
- Create
Time string The creation time of the resource
- Node
Name string Management node name.
- Security
Group List<string>Probe Ip Lists Release the collection of network segments.
- Status int
The status of the resource
- Allow
Honeypot boolAccess Internet Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- Available
Probe intNum Number of probes available.
- Create
Time string The creation time of the resource
- Node
Name string Management node name.
- Security
Group []stringProbe Ip Lists Release the collection of network segments.
- Status int
The status of the resource
- allow
Honeypot BooleanAccess Internet Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- available
Probe IntegerNum Number of probes available.
- create
Time String The creation time of the resource
- node
Name String Management node name.
- security
Group List<String>Probe Ip Lists Release the collection of network segments.
- status Integer
The status of the resource
- allow
Honeypot booleanAccess Internet Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- available
Probe numberNum Number of probes available.
- create
Time string The creation time of the resource
- node
Name string Management node name.
- security
Group string[]Probe Ip Lists Release the collection of network segments.
- status number
The status of the resource
- allow_
honeypot_ boolaccess_ internet Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- available_
probe_ intnum Number of probes available.
- create_
time str The creation time of the resource
- node_
name str Management node name.
- security_
group_ Sequence[str]probe_ ip_ lists Release the collection of network segments.
- status int
The status of the resource
- allow
Honeypot BooleanAccess Internet Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- available
Probe NumberNum Number of probes available.
- create
Time String The creation time of the resource
- node
Name String Management node name.
- security
Group List<String>Probe Ip Lists Release the collection of network segments.
- status Number
The status of the resource
Import
Threat Detection Honeypot Node can be imported using the id, e.g.
$ pulumi import alicloud:threatdetection/honeypotNode:HoneypotNode example <id>
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.