Skip to content

INetworkOptimization

Represents a NetworkOptimization.

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: ConfigId of the configuration, which can be obtained by calling the ListNetworkOptimizations.
attr_config_type typing.Union[str, ros_cdk_core.IResolvable] Attribute ConfigType: Configuration type, which can be used to query global or rule configurations.
attr_grpc typing.Union[str, ros_cdk_core.IResolvable] Attribute Grpc: Whether to enable GRPC, default is disabled.
attr_http2_origin typing.Union[str, ros_cdk_core.IResolvable] Attribute Http2Origin: Whether to enable HTTP2 origin, default is disabled.
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: Order of rule execution.
attr_site_version typing.Union[str, ros_cdk_core.IResolvable] Attribute SiteVersion: The version number of the site configuration.
attr_smart_routing typing.Union[str, ros_cdk_core.IResolvable] Attribute SmartRouting: Whether to enable smart routing service, default is disabled.
attr_upload_max_filesize typing.Union[str, ros_cdk_core.IResolvable] Attribute UploadMaxFilesize: Maximum upload file size, in MB, value range: 100~500.
attr_websocket typing.Union[str, ros_cdk_core.IResolvable] Attribute Websocket: Whether to enable Websocket, default is enabled.
props NetworkOptimizationProps 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: ConfigId of the configuration, which can be obtained by calling the ListNetworkOptimizations.


attr_config_typeRequired

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

Attribute ConfigType: Configuration type, which can be used to query global or rule configurations.


attr_grpcRequired

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

Attribute Grpc: Whether to enable GRPC, default is disabled.


attr_http2_originRequired

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

Attribute Http2Origin: Whether to enable HTTP2 origin, default is disabled.


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.


attr_sequenceRequired

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

Attribute Sequence: Order of rule execution.

The smaller the value, the higher the priority for execution.


attr_site_versionRequired

attr_site_version: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


attr_smart_routingRequired

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

Attribute SmartRouting: Whether to enable smart routing service, default is disabled.


attr_upload_max_filesizeRequired

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

Attribute UploadMaxFilesize: Maximum upload file size, in MB, value range: 100~500.


attr_websocketRequired

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

Attribute Websocket: Whether to enable Websocket, default is enabled.


propsRequired

props: NetworkOptimizationProps