IRewriteUrlRule
-
Extends: ros_cdk_core.IResource
-
Implemented By: RewriteUrlRule, IRewriteUrlRule
Represents a RewriteUrlRule.
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_config_id | typing.Union[str, ros_cdk_core.IResolvable] | Attribute ConfigId: The configuration ID. |
attr_config_type | typing.Union[str, ros_cdk_core.IResolvable] | Attribute ConfigType: Configuration type. |
attr_query_string | typing.Union[str, ros_cdk_core.IResolvable] | Attribute QueryString: The desired query string to which you want to rewrite the query string in the original request. |
attr_rewrite_query_string_type | typing.Union[str, ros_cdk_core.IResolvable] | Attribute RewriteQueryStringType: Query string rewrite type. |
attr_rewrite_uri_type | typing.Union[str, ros_cdk_core.IResolvable] | Attribute RewriteUriType: URI rewrite type. |
attr_rule | typing.Union[str, ros_cdk_core.IResolvable] | Attribute Rule: Rule content, using conditional expressions to match user requests. |
attr_rule_enable | typing.Union[str, ros_cdk_core.IResolvable] | Attribute RuleEnable: Rule switch. |
attr_rule_name | typing.Union[str, ros_cdk_core.IResolvable] | Attribute RuleName: Rule name. |
attr_sequence | typing.Union[str, ros_cdk_core.IResolvable] | Attribute Sequence: Rule execution order. |
attr_site_version | typing.Union[str, ros_cdk_core.IResolvable] | Attribute SiteVersion: Version number of the site configuration. |
attr_uri | typing.Union[str, ros_cdk_core.IResolvable] | Attribute Uri: The desired URI to which you want to rewrite the path in the original request. |
props | RewriteUrlRuleProps | 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_config_idRequired
attr_config_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute ConfigId: The configuration ID.
attr_config_typeRequired
attr_config_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute ConfigType: Configuration type.
This parameter determines whether to query global configurations or feature-specific configurations. Note: This logic only takes effect if the functionName parameter is also provided.
attr_query_stringRequired
attr_query_string: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute QueryString: The desired query string to which you want to rewrite the query string in the original request.
attr_rewrite_query_string_typeRequired
attr_rewrite_query_string_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute RewriteQueryStringType: Query string rewrite type.
attr_rewrite_uri_typeRequired
attr_rewrite_uri_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute RewriteUriType: URI rewrite type.
attr_ruleRequired
attr_rule: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
attr_rule_enableRequired
attr_rule_enable: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute RuleEnable: Rule switch.
When adding global configuration, this parameter does not need to be set.
attr_rule_nameRequired
attr_rule_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute RuleName: Rule name.
When adding global configuration, this parameter does not need to be set.
attr_sequenceRequired
attr_sequence: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute Sequence: Rule execution order.
The smaller the value, the higher the priority of execution.
attr_site_versionRequired
attr_site_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute SiteVersion: Version number of the site configuration.
For a site with configuration version management enabled, you can use this parameter to specify the site version in which the configuration takes effect. The default version is 0.
attr_uriRequired
attr_uri: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute Uri: The desired URI to which you want to rewrite the path in the original request.
propsRequired
props: RewriteUrlRuleProps
- Type: RewriteUrlRuleProps