Skip to content

IContainerDefenseRule

Represents a ContainerDefenseRule.

Properties

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

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node for this construct.


envRequired

public readonly env: IResourceEnvironment;
  • Type: @alicloud/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 readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


attrDescriptionRequired

public readonly attrDescription: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Description: Rule description.


attrRuleActionRequired

public readonly attrRuleAction: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


attrRuleIdRequired

public readonly attrRuleId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute RuleId: Rule Id.


attrRuleNameRequired

public readonly attrRuleName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute RuleName: The name of the rule.


attrRuleSwitchRequired

public readonly attrRuleSwitch: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute RuleSwitch: The switch of the rule.


attrRuleTypeRequired

public readonly attrRuleType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute RuleType: The rule type.


attrScopeRequired

public readonly attrScope: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Scope: Rule scope.


attrWhitelistRequired

public readonly attrWhitelist: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Whitelist: The whitelist of rule.


propsRequired

public readonly props: ContainerDefenseRuleProps;