Skip to content

HoneypotProbe

This class encapsulates and extends the ROS resource type ALIYUN::ThreatDetection::HoneypotProbe.

Initializers

import com.aliyun.ros.cdk.threatdetection.HoneypotProbe;
HoneypotProbe.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .controlNodeId(java.lang.String)
    .controlNodeId(IResolvable)
    .displayName(java.lang.String)
    .displayName(IResolvable)
    .probeType(java.lang.String)
    .probeType(IResolvable)
//  .arp(java.lang.Boolean)
//  .arp(IResolvable)
//  .businessGroupId(java.lang.String)
//  .businessGroupId(IResolvable)
//  .honeypotBindList(IResolvable)
//  .honeypotBindList(java.util.List<IResolvable)
//  .honeypotBindList(HoneypotBindListProperty>)
//  .ping(java.lang.Boolean)
//  .ping(IResolvable)
//  .probeVersion(java.lang.String)
//  .probeVersion(IResolvable)
//  .proxyIp(java.lang.String)
//  .proxyIp(IResolvable)
//  .serviceIpList(IResolvable)
//  .serviceIpList(java.util.List<java.lang.String)
//  .serviceIpList(IResolvable>)
//  .uuid(java.lang.String)
//  .uuid(IResolvable)
//  .vpcId(java.lang.String)
//  .vpcId(IResolvable)
    .build();
Name Type Description
scope com.aliyun.ros.cdk.core.Construct No description.
id java.lang.String No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
controlNodeId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property controlNodeId: The ID of the management node.
displayName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property displayName: The name of the probe.
probeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property probeType: The type of the probe.
arp java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property arp: Specifies whether to enable Address Resolution Protocol (ARP) spoofing.
businessGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property businessGroupId: Business grouping.
honeypotBindList com.aliyun.ros.cdk.core.IResolvable OR java.util.ListHoneypotBindListProperty> Property honeypotBindList: The configuration of the probe.
ping java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property ping: Specifies whether to enable ping scan.
probeVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property probeVersion: The version of the probe.
proxyIp java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property proxyIp: The IP address of the proxy.
serviceIpList com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property serviceIpList: Listen to the IP address list.
uuid java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property uuid: The UUID of the instance.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The ID of the VPC.

scopeRequired

  • Type: com.aliyun.ros.cdk.core.Construct

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

controlNodeIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property controlNodeId: The ID of the management node.

You can call the ListHoneypotNode operation to query the IDs of management nodes.


displayNameRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property displayName: The name of the probe.


probeTypeRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property probeType: The type of the probe.

Valid values:

  • host_probe: host probe
  • vpc_black_hole_probe: virtual private cloud (VPC) probe.

arpOptional

  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property arp: Specifies whether to enable Address Resolution Protocol (ARP) spoofing.

Valid values:

  • true: yes
  • false: no.

businessGroupIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property businessGroupId: Business grouping.


honeypotBindListOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListHoneypotBindListProperty>

Property honeypotBindList: The configuration of the probe.


pingOptional

  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property ping: Specifies whether to enable ping scan.

Valid values:

  • true: yes
  • false: no.

probeVersionOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property probeVersion: The version of the probe.


proxyIpOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property proxyIp: The IP address of the proxy.


serviceIpListOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property serviceIpList: Listen to the IP address list.


uuidOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property uuid: The UUID of the instance.

If ProbeType is set to host_probe, this parameter is required.


vpcIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vpcId: The ID of the VPC.

ProbeType is vpc_Black _hole_probe. This value cannot be empty. You can call the DescribeVpcHoneyPotList interface to obtain the value.


Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
fetchCondition No description.
fetchDependency No description.
fetchResourceDesc No description.
getAtt No description.
setMetadata No description.

toString

public java.lang.String toString()

Returns a string representation of this construct.

synthesize

public void synthesize(ISynthesisSession session)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: com.aliyun.ros.cdk.core.ISynthesisSession

The synthesis session.


addCondition

public void addCondition(RosCondition condition)

conditionRequired

  • Type: com.aliyun.ros.cdk.core.RosCondition

addCount

public void addCount(java.lang.Number OR IResolvable count)

countRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

addDependency

public void addDependency(Resource resource)

resourceRequired

  • Type: com.aliyun.ros.cdk.core.Resource

addResourceDesc

public void addResourceDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy(RemovalPolicy policy)

policyRequired

  • Type: com.aliyun.ros.cdk.core.RemovalPolicy

fetchCondition

public RosCondition fetchCondition()

fetchDependency

public java.util.List<java.lang.String> fetchDependency()

fetchResourceDesc

public java.lang.String fetchResourceDesc()

getAtt

public IResolvable getAtt(java.lang.String name)

nameRequired

  • Type: java.lang.String

setMetadata

public void setMetadata(java.lang.String key, java.lang.Object value)

keyRequired

  • Type: java.lang.String

valueRequired

  • Type: java.lang.Object

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import com.aliyun.ros.cdk.threatdetection.HoneypotProbe;
HoneypotProbe.isConstruct(java.lang.Object x)

Return whether the given object is a Construct.

xRequired

  • Type: java.lang.Object

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node associated with this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
ref java.lang.String No description.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
resource com.aliyun.ros.cdk.core.RosResource No description.
attrArp java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Arp: Specifies whether to enable Address Resolution Protocol (ARP) spoofing.
attrControlNodeId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ControlNodeId: The ID of the management node.
attrDisplayName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DisplayName: The name of the probe.
attrHoneypotBindList java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute HoneypotBindList: The configuration of the probe.
attrHoneypotProbeId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute HoneypotProbeId: The ID of the probe.
attrPing java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Ping: Specifies whether to enable ping scan.
attrProbeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ProbeType: The type of the probe.
attrProbeVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ProbeVersion: The version of the probe.
attrServiceIpList java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ServiceIpList: Listen to the IP address list.
attrUuid java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Uuid: The UUID of the instance.
attrVpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VpcId: The ID of the VPC.
props HoneypotProbeProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node associated with this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.ros.cdk.core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


refRequired

public java.lang.String getRef();
  • Type: java.lang.String

stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


resourceOptional

public RosResource getResource();
  • Type: com.aliyun.ros.cdk.core.RosResource

attrArpRequired

public java.lang.Object getAttrArp();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Arp: Specifies whether to enable Address Resolution Protocol (ARP) spoofing.


attrControlNodeIdRequired

public java.lang.Object getAttrControlNodeId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ControlNodeId: The ID of the management node.


attrDisplayNameRequired

public java.lang.Object getAttrDisplayName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DisplayName: The name of the probe.


attrHoneypotBindListRequired

public java.lang.Object getAttrHoneypotBindList();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute HoneypotBindList: The configuration of the probe.


attrHoneypotProbeIdRequired

public java.lang.Object getAttrHoneypotProbeId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute HoneypotProbeId: The ID of the probe.


attrPingRequired

public java.lang.Object getAttrPing();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Ping: Specifies whether to enable ping scan.


attrProbeTypeRequired

public java.lang.Object getAttrProbeType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ProbeType: The type of the probe.


attrProbeVersionRequired

public java.lang.Object getAttrProbeVersion();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ProbeVersion: The version of the probe.


attrServiceIpListRequired

public java.lang.Object getAttrServiceIpList();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ServiceIpList: Listen to the IP address list.


attrUuidRequired

public java.lang.Object getAttrUuid();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Uuid: The UUID of the instance.


attrVpcIdRequired

public java.lang.Object getAttrVpcId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute VpcId: The ID of the VPC.


propsRequired

public HoneypotProbeProps getProps();