IScanRule
Represents a ScanRule.
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. |
attrCreateTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CreateTime: Creation time of the scan rule. |
attrInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute InstanceId: ACR Instance ID. |
attrNamespaces | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Namespaces: The list of namespaces. |
attrRepoNames | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute RepoNames: The list of repositories. |
attrRepoTagFilterPattern | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute RepoTagFilterPattern: The tag that triggers the scan matches the regular expression. |
attrRuleName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute RuleName: The scan rule name. |
attrScanRuleId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ScanRuleId: The ID of the scan rule. |
attrScanScope | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ScanScope: The scan scope. |
attrScanType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ScanType: The scan type. |
attrTriggerType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute TriggerType: Trigger type. |
attrUpdateTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute UpdateTime: Change time of the scan rule. |
props | ScanRuleProps | 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.
attrCreateTimeRequired
public java.lang.Object getAttrCreateTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CreateTime: Creation time of the scan rule.
attrInstanceIdRequired
public java.lang.Object getAttrInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute InstanceId: ACR Instance ID.
attrNamespacesRequired
public java.lang.Object getAttrNamespaces();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Namespaces: The list of namespaces.
attrRepoNamesRequired
public java.lang.Object getAttrRepoNames();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute RepoNames: The list of repositories.
attrRepoTagFilterPatternRequired
public java.lang.Object getAttrRepoTagFilterPattern();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute RepoTagFilterPattern: The tag that triggers the scan matches the regular expression.
attrRuleNameRequired
public java.lang.Object getAttrRuleName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute RuleName: The scan rule name.
attrScanRuleIdRequired
public java.lang.Object getAttrScanRuleId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ScanRuleId: The ID of the scan rule.
attrScanScopeRequired
public java.lang.Object getAttrScanScope();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ScanScope: The scan scope.
attrScanTypeRequired
public java.lang.Object getAttrScanType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ScanType: The scan type.
attrTriggerTypeRequired
public java.lang.Object getAttrTriggerType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute TriggerType: Trigger type.
attrUpdateTimeRequired
public java.lang.Object getAttrUpdateTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute UpdateTime: Change time of the scan rule.
propsRequired
public ScanRuleProps getProps();
- Type: ScanRuleProps