Skip to content

IContainerDefenseRule

Represents a ContainerDefenseRule.

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node for this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
attrDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Description: Rule description.
attrRuleAction java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RuleAction: The action that is performed when the rule is hit.
attrRuleId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RuleId: Rule Id.
attrRuleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RuleName: The name of the rule.
attrRuleSwitch java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RuleSwitch: The switch of the rule.
attrRuleType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RuleType: The rule type.
attrScope java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Scope: Rule scope.
attrWhitelist java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Whitelist: The whitelist of rule.
props ContainerDefenseRuleProps No description.

nodeRequired

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

The construct tree node for 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.


stackRequired

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

The stack in which this resource is defined.


attrDescriptionRequired

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

Attribute Description: Rule description.


attrRuleActionRequired

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

Attribute RuleAction: The action that is performed when the rule is hit.


attrRuleIdRequired

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

Attribute RuleId: Rule Id.


attrRuleNameRequired

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

Attribute RuleName: The name of the rule.


attrRuleSwitchRequired

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

Attribute RuleSwitch: The switch of the rule.


attrRuleTypeRequired

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

Attribute RuleType: The rule type.


attrScopeRequired

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

Attribute Scope: Rule scope.


attrWhitelistRequired

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

Attribute Whitelist: The whitelist of rule.


propsRequired

public ContainerDefenseRuleProps getProps();