IOriginRule
-
Extends: @alicloud/ros-cdk-core.IResource
-
Implemented By: OriginRule, IOriginRule
Represents a OriginRule.
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. |
attrConfigId | string | @alicloud/ros-cdk-core.IResolvable | Attribute ConfigId: Back-to-source rule configuration ID. |
attrConfigType | string | @alicloud/ros-cdk-core.IResolvable | Attribute ConfigType: The configuration type. |
attrDnsRecord | string | @alicloud/ros-cdk-core.IResolvable | Attribute DnsRecord: Overwrite the DNS resolution record of the origin request. |
attrFollow302Enable | string | @alicloud/ros-cdk-core.IResolvable | Attribute Follow302Enable: Return Source 302 follow switch. |
attrFollow302MaxTries | string | @alicloud/ros-cdk-core.IResolvable | Attribute Follow302MaxTries: 302 follows the upper limit of the number of times, with a value range of [1-5]. |
attrFollow302RetainArgs | string | @alicloud/ros-cdk-core.IResolvable | Attribute Follow302RetainArgs: Retain the original request parameter switch. |
attrFollow302RetainHeader | string | @alicloud/ros-cdk-core.IResolvable | Attribute Follow302RetainHeader: Retain the original request header switch. |
attrFollow302TargetHost | string | @alicloud/ros-cdk-core.IResolvable | Attribute Follow302TargetHost: Modify the source host after 302. |
attrOriginHost | string | @alicloud/ros-cdk-core.IResolvable | Attribute OriginHost: The HOST carried in the back-to-origin request. |
attrOriginHttpPort | string | @alicloud/ros-cdk-core.IResolvable | Attribute OriginHttpPort: The port of the origin station accessed when the HTTP protocol is used to return to the origin. |
attrOriginHttpsPort | string | @alicloud/ros-cdk-core.IResolvable | Attribute OriginHttpsPort: The port of the origin station accessed when the HTTPS protocol is used to return to the origin. |
attrOriginMtls | string | @alicloud/ros-cdk-core.IResolvable | Attribute OriginMtls: The mtls switch. |
attrOriginReadTimeout | string | @alicloud/ros-cdk-core.IResolvable | Attribute OriginReadTimeout: Read timeout interval of the source station (s). |
attrOriginScheme | string | @alicloud/ros-cdk-core.IResolvable | Attribute OriginScheme: The protocol used by the back-to-origin request. |
attrOriginSni | string | @alicloud/ros-cdk-core.IResolvable | Attribute OriginSni: SNI carried in the back-to-origin request. |
attrOriginVerify | string | @alicloud/ros-cdk-core.IResolvable | Attribute OriginVerify: Source station certificate verification switch. |
attrRange | string | @alicloud/ros-cdk-core.IResolvable | Attribute Range: Use the range sharding method to download the file from the source. |
attrRangeChunkSize | string | @alicloud/ros-cdk-core.IResolvable | Attribute RangeChunkSize: range shard size. |
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. |
props | OriginRuleProps | 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.
attrConfigIdRequired
public readonly attrConfigId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ConfigId: Back-to-source rule configuration ID.
attrConfigTypeRequired
public readonly attrConfigType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ConfigType: The configuration type.
You can use this parameter to check the global configuration or rule configuration.
attrDnsRecordRequired
public readonly attrDnsRecord: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute DnsRecord: Overwrite the DNS resolution record of the origin request.
attrFollow302EnableRequired
public readonly attrFollow302Enable: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Follow302Enable: Return Source 302 follow switch.
attrFollow302MaxTriesRequired
public readonly attrFollow302MaxTries: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Follow302MaxTries: 302 follows the upper limit of the number of times, with a value range of [1-5].
attrFollow302RetainArgsRequired
public readonly attrFollow302RetainArgs: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Follow302RetainArgs: Retain the original request parameter switch.
attrFollow302RetainHeaderRequired
public readonly attrFollow302RetainHeader: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Follow302RetainHeader: Retain the original request header switch.
attrFollow302TargetHostRequired
public readonly attrFollow302TargetHost: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Follow302TargetHost: Modify the source host after 302.
attrOriginHostRequired
public readonly attrOriginHost: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute OriginHost: The HOST carried in the back-to-origin request.
attrOriginHttpPortRequired
public readonly attrOriginHttpPort: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute OriginHttpPort: The port of the origin station accessed when the HTTP protocol is used to return to the origin.
attrOriginHttpsPortRequired
public readonly attrOriginHttpsPort: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute OriginHttpsPort: The port of the origin station accessed when the HTTPS protocol is used to return to the origin.
attrOriginMtlsRequired
public readonly attrOriginMtls: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute OriginMtls: The mtls switch.
attrOriginReadTimeoutRequired
public readonly attrOriginReadTimeout: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute OriginReadTimeout: Read timeout interval of the source station (s).
attrOriginSchemeRequired
public readonly attrOriginScheme: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute OriginScheme: The protocol used by the back-to-origin request.
attrOriginSniRequired
public readonly attrOriginSni: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute OriginSni: SNI carried in the back-to-origin request.
attrOriginVerifyRequired
public readonly attrOriginVerify: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute OriginVerify: Source station certificate verification switch.
attrRangeRequired
public readonly attrRange: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Range: Use the range sharding method to download the file from the source.
attrRangeChunkSizeRequired
public readonly attrRangeChunkSize: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute RangeChunkSize: range shard size.
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.
propsRequired
public readonly props: OriginRuleProps;
- Type: OriginRuleProps