Skip to content

IContainerDefenseRule

Represents a ContainerDefenseRule.

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node for this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
stack ros_cdk_core.Stack The stack in which this resource is defined.
attr_description typing.Union[str, ros_cdk_core.IResolvable] Attribute Description: Rule description.
attr_rule_action typing.Union[str, ros_cdk_core.IResolvable] Attribute RuleAction: The action that is performed when the rule is hit.
attr_rule_id typing.Union[str, ros_cdk_core.IResolvable] Attribute RuleId: Rule Id.
attr_rule_name typing.Union[str, ros_cdk_core.IResolvable] Attribute RuleName: The name of the rule.
attr_rule_switch typing.Union[str, ros_cdk_core.IResolvable] Attribute RuleSwitch: The switch of the rule.
attr_rule_type typing.Union[str, ros_cdk_core.IResolvable] Attribute RuleType: The rule type.
attr_scope typing.Union[str, ros_cdk_core.IResolvable] Attribute Scope: Rule scope.
attr_whitelist typing.Union[str, ros_cdk_core.IResolvable] Attribute Whitelist: The whitelist of rule.
props ContainerDefenseRuleProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node for this construct.


envRequired

env: IResourceEnvironment
  • Type: 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

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


attr_descriptionRequired

attr_description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Description: Rule description.


attr_rule_actionRequired

attr_rule_action: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_rule_idRequired

attr_rule_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute RuleId: Rule Id.


attr_rule_nameRequired

attr_rule_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute RuleName: The name of the rule.


attr_rule_switchRequired

attr_rule_switch: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute RuleSwitch: The switch of the rule.


attr_rule_typeRequired

attr_rule_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute RuleType: The rule type.


attr_scopeRequired

attr_scope: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Scope: Rule scope.


attr_whitelistRequired

attr_whitelist: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Whitelist: The whitelist of rule.


propsRequired

props: ContainerDefenseRuleProps