ICompressionRule
-
Extends: @alicloud/ros-cdk-core.IResource
-
Implemented By: CompressionRule, ICompressionRule
Represents a CompressionRule.
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. |
attrBrotli | string | @alicloud/ros-cdk-core.IResolvable | Attribute Brotli: Brotli compression. |
attrConfigId | string | @alicloud/ros-cdk-core.IResolvable | Attribute ConfigId: Config Id. |
attrConfigType | string | @alicloud/ros-cdk-core.IResolvable | Attribute ConfigType: The type of the configuration. |
attrGzip | string | @alicloud/ros-cdk-core.IResolvable | Attribute Gzip: Gzip compression. |
attrRule | string | @alicloud/ros-cdk-core.IResolvable | Attribute Rule: Rule content, using conditional expressions to match user requests. |
attrRuleEnable | string | @alicloud/ros-cdk-core.IResolvable | Attribute RuleEnable: Rule switch. |
attrRuleName | string | @alicloud/ros-cdk-core.IResolvable | Attribute RuleName: Rule name. |
attrSequence | string | @alicloud/ros-cdk-core.IResolvable | Attribute Sequence: Order of rule execution. |
attrSiteVersion | string | @alicloud/ros-cdk-core.IResolvable | Attribute SiteVersion: The version number of the site configuration. |
attrZstd | string | @alicloud/ros-cdk-core.IResolvable | Attribute Zstd: Zstd compression. |
props | CompressionRuleProps | 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.
attrBrotliRequired
public readonly attrBrotli: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Brotli: Brotli compression.
attrConfigIdRequired
public readonly attrConfigId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ConfigId: Config Id.
attrConfigTypeRequired
public readonly attrConfigType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ConfigType: The type of the configuration.
attrGzipRequired
public readonly attrGzip: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Gzip: Gzip compression.
attrRuleRequired
public readonly attrRule: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Rule: Rule content, using conditional expressions to match user requests.
When adding global configuration, this parameter does not need to be set.
attrRuleEnableRequired
public readonly attrRuleEnable: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute RuleEnable: Rule switch.
When adding global configuration, this parameter does not need to be set.
attrRuleNameRequired
public readonly attrRuleName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute RuleName: Rule name.
When adding global configuration, this parameter does not need to be set.
attrSequenceRequired
public readonly attrSequence: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Sequence: Order of rule execution.
The smaller the value, the higher the priority for execution.
attrSiteVersionRequired
public readonly attrSiteVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute SiteVersion: The version number of the site configuration.
For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
attrZstdRequired
public readonly attrZstd: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Zstd: Zstd compression.
propsRequired
public readonly props: CompressionRuleProps;
- Type: CompressionRuleProps