alicloud.threatdetection.HoneyPot
Explore with Pulumi AI
Provides a Threat Detection Honey Pot resource.
For information about Threat Detection Honey Pot and how to use it, see What is Honey Pot.
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.HoneyPot("default", new()
{
HoneypotImageId = "sha256:007095d6de9c7a343e9fc1f74a7efc9c5de9d5454789d2fa505a1b3fc623730c",
HoneypotImageName = "ruoyi",
HoneypotName = "huangtiong-test",
NodeId = "a44e1ab3-6945-444c-889d-5bacee7056e8",
});
});
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.NewHoneyPot(ctx, "default", &threatdetection.HoneyPotArgs{
HoneypotImageId: pulumi.String("sha256:007095d6de9c7a343e9fc1f74a7efc9c5de9d5454789d2fa505a1b3fc623730c"),
HoneypotImageName: pulumi.String("ruoyi"),
HoneypotName: pulumi.String("huangtiong-test"),
NodeId: pulumi.String("a44e1ab3-6945-444c-889d-5bacee7056e8"),
})
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.HoneyPot;
import com.pulumi.alicloud.threatdetection.HoneyPotArgs;
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 HoneyPot("default", HoneyPotArgs.builder()
.honeypotImageId("sha256:007095d6de9c7a343e9fc1f74a7efc9c5de9d5454789d2fa505a1b3fc623730c")
.honeypotImageName("ruoyi")
.honeypotName("huangtiong-test")
.nodeId("a44e1ab3-6945-444c-889d-5bacee7056e8")
.build());
}
}
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.threatdetection.HoneyPot("default",
honeypot_image_id="sha256:007095d6de9c7a343e9fc1f74a7efc9c5de9d5454789d2fa505a1b3fc623730c",
honeypot_image_name="ruoyi",
honeypot_name="huangtiong-test",
node_id="a44e1ab3-6945-444c-889d-5bacee7056e8")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = new alicloud.threatdetection.HoneyPot("default", {
honeypotImageId: "sha256:007095d6de9c7a343e9fc1f74a7efc9c5de9d5454789d2fa505a1b3fc623730c",
honeypotImageName: "ruoyi",
honeypotName: "huangtiong-test",
nodeId: "a44e1ab3-6945-444c-889d-5bacee7056e8",
});
resources:
default:
type: alicloud:threatdetection:HoneyPot
properties:
honeypotImageId: sha256:007095d6de9c7a343e9fc1f74a7efc9c5de9d5454789d2fa505a1b3fc623730c
honeypotImageName: ruoyi
honeypotName: huangtiong-test
nodeId: a44e1ab3-6945-444c-889d-5bacee7056e8
Create HoneyPot Resource
new HoneyPot(name: string, args: HoneyPotArgs, opts?: CustomResourceOptions);
@overload
def HoneyPot(resource_name: str,
opts: Optional[ResourceOptions] = None,
honeypot_image_id: Optional[str] = None,
honeypot_image_name: Optional[str] = None,
honeypot_name: Optional[str] = None,
node_id: Optional[str] = None)
@overload
def HoneyPot(resource_name: str,
args: HoneyPotArgs,
opts: Optional[ResourceOptions] = None)
func NewHoneyPot(ctx *Context, name string, args HoneyPotArgs, opts ...ResourceOption) (*HoneyPot, error)
public HoneyPot(string name, HoneyPotArgs args, CustomResourceOptions? opts = null)
public HoneyPot(String name, HoneyPotArgs args)
public HoneyPot(String name, HoneyPotArgs args, CustomResourceOptions options)
type: alicloud:threatdetection:HoneyPot
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HoneyPotArgs
- 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 HoneyPotArgs
- 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 HoneyPotArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HoneyPotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HoneyPotArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
HoneyPot 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 HoneyPot resource accepts the following input properties:
- Honeypot
Image stringId The image ID of the honeypot.
- Honeypot
Image stringName Honeypot mirror name.
- Honeypot
Name string Honeypot custom name.
- Node
Id string The ID of the honeypot management node.
- Honeypot
Image stringId The image ID of the honeypot.
- Honeypot
Image stringName Honeypot mirror name.
- Honeypot
Name string Honeypot custom name.
- Node
Id string The ID of the honeypot management node.
- honeypot
Image StringId The image ID of the honeypot.
- honeypot
Image StringName Honeypot mirror name.
- honeypot
Name String Honeypot custom name.
- node
Id String The ID of the honeypot management node.
- honeypot
Image stringId The image ID of the honeypot.
- honeypot
Image stringName Honeypot mirror name.
- honeypot
Name string Honeypot custom name.
- node
Id string The ID of the honeypot management node.
- honeypot_
image_ strid The image ID of the honeypot.
- honeypot_
image_ strname Honeypot mirror name.
- honeypot_
name str Honeypot custom name.
- node_
id str The ID of the honeypot management node.
- honeypot
Image StringId The image ID of the honeypot.
- honeypot
Image StringName Honeypot mirror name.
- honeypot
Name String Honeypot custom name.
- node
Id String The ID of the honeypot management node.
Outputs
All input properties are implicitly available as output properties. Additionally, the HoneyPot resource produces the following output properties:
- Honeypot
Id string Honeypot ID.
- Id string
The provider-assigned unique ID for this managed resource.
- Preset
Id string The custom parameter ID of honeypot.
- States List<string>
Honeypot status.
- Status string
The status of the resource.
- Honeypot
Id string Honeypot ID.
- Id string
The provider-assigned unique ID for this managed resource.
- Preset
Id string The custom parameter ID of honeypot.
- States []string
Honeypot status.
- Status string
The status of the resource.
- honeypot
Id String Honeypot ID.
- id String
The provider-assigned unique ID for this managed resource.
- preset
Id String The custom parameter ID of honeypot.
- states List<String>
Honeypot status.
- status String
The status of the resource.
- honeypot
Id string Honeypot ID.
- id string
The provider-assigned unique ID for this managed resource.
- preset
Id string The custom parameter ID of honeypot.
- states string[]
Honeypot status.
- status string
The status of the resource.
- honeypot_
id str Honeypot ID.
- id str
The provider-assigned unique ID for this managed resource.
- preset_
id str The custom parameter ID of honeypot.
- states Sequence[str]
Honeypot status.
- status str
The status of the resource.
- honeypot
Id String Honeypot ID.
- id String
The provider-assigned unique ID for this managed resource.
- preset
Id String The custom parameter ID of honeypot.
- states List<String>
Honeypot status.
- status String
The status of the resource.
Look up Existing HoneyPot Resource
Get an existing HoneyPot 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?: HoneyPotState, opts?: CustomResourceOptions): HoneyPot
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
honeypot_id: Optional[str] = None,
honeypot_image_id: Optional[str] = None,
honeypot_image_name: Optional[str] = None,
honeypot_name: Optional[str] = None,
node_id: Optional[str] = None,
preset_id: Optional[str] = None,
states: Optional[Sequence[str]] = None,
status: Optional[str] = None) -> HoneyPot
func GetHoneyPot(ctx *Context, name string, id IDInput, state *HoneyPotState, opts ...ResourceOption) (*HoneyPot, error)
public static HoneyPot Get(string name, Input<string> id, HoneyPotState? state, CustomResourceOptions? opts = null)
public static HoneyPot get(String name, Output<String> id, HoneyPotState 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.
- Honeypot
Id string Honeypot ID.
- Honeypot
Image stringId The image ID of the honeypot.
- Honeypot
Image stringName Honeypot mirror name.
- Honeypot
Name string Honeypot custom name.
- Node
Id string The ID of the honeypot management node.
- Preset
Id string The custom parameter ID of honeypot.
- States List<string>
Honeypot status.
- Status string
The status of the resource.
- Honeypot
Id string Honeypot ID.
- Honeypot
Image stringId The image ID of the honeypot.
- Honeypot
Image stringName Honeypot mirror name.
- Honeypot
Name string Honeypot custom name.
- Node
Id string The ID of the honeypot management node.
- Preset
Id string The custom parameter ID of honeypot.
- States []string
Honeypot status.
- Status string
The status of the resource.
- honeypot
Id String Honeypot ID.
- honeypot
Image StringId The image ID of the honeypot.
- honeypot
Image StringName Honeypot mirror name.
- honeypot
Name String Honeypot custom name.
- node
Id String The ID of the honeypot management node.
- preset
Id String The custom parameter ID of honeypot.
- states List<String>
Honeypot status.
- status String
The status of the resource.
- honeypot
Id string Honeypot ID.
- honeypot
Image stringId The image ID of the honeypot.
- honeypot
Image stringName Honeypot mirror name.
- honeypot
Name string Honeypot custom name.
- node
Id string The ID of the honeypot management node.
- preset
Id string The custom parameter ID of honeypot.
- states string[]
Honeypot status.
- status string
The status of the resource.
- honeypot_
id str Honeypot ID.
- honeypot_
image_ strid The image ID of the honeypot.
- honeypot_
image_ strname Honeypot mirror name.
- honeypot_
name str Honeypot custom name.
- node_
id str The ID of the honeypot management node.
- preset_
id str The custom parameter ID of honeypot.
- states Sequence[str]
Honeypot status.
- status str
The status of the resource.
- honeypot
Id String Honeypot ID.
- honeypot
Image StringId The image ID of the honeypot.
- honeypot
Image StringName Honeypot mirror name.
- honeypot
Name String Honeypot custom name.
- node
Id String The ID of the honeypot management node.
- preset
Id String The custom parameter ID of honeypot.
- states List<String>
Honeypot status.
- status String
The status of the resource.
Import
Threat Detection Honey Pot can be imported using the id, e.g.
$ pulumi import alicloud:threatdetection/honeyPot:HoneyPot 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.