Skip to content

ServiceMesh

This class encapsulates and extends the ROS resource type ALIYUN::ASM::ServiceMesh, which is used to create a Service Mesh (ASM) instance.

Initializers

import ros_cdk_asm
ros_cdk_asm.ServiceMesh(
  scope: Construct,
  id: str,
  vpc_id: typing.Union[str, IResolvable],
  v_switches: typing.Union[typing.List[typing.Any], IResolvable],
  access_log_enabled: typing.Union[bool, IResolvable] = None,
  access_log_file: typing.Union[str, IResolvable] = None,
  access_log_format: typing.Union[str, IResolvable] = None,
  access_log_project: typing.Union[str, IResolvable] = None,
  access_log_service_enabled: typing.Union[bool, IResolvable] = None,
  access_log_service_host: typing.Union[str, IResolvable] = None,
  access_log_service_port: typing.Union[typing.Union[int, float], IResolvable] = None,
  api_server_load_balancer_spec: typing.Union[str, IResolvable] = None,
  api_server_public_eip: typing.Union[bool, IResolvable] = None,
  audit_project: typing.Union[str, IResolvable] = None,
  auto_renew: typing.Union[bool, IResolvable] = None,
  auto_renew_period: typing.Union[typing.Union[int, float], IResolvable] = None,
  cert_chain: typing.Union[str, IResolvable] = None,
  charge_type: typing.Union[str, IResolvable] = None,
  cluster_spec: typing.Union[str, IResolvable] = None,
  config_source_enabled: typing.Union[bool, IResolvable] = None,
  config_source_nacos_id: typing.Union[str, IResolvable] = None,
  control_plane_log_enabled: typing.Union[bool, IResolvable] = None,
  control_plane_log_project: typing.Union[str, IResolvable] = None,
  cr_aggregation_enabled: typing.Union[bool, IResolvable] = None,
  customized_prometheus: typing.Union[bool, IResolvable] = None,
  customized_zipkin: typing.Union[bool, IResolvable] = None,
  dns_proxying_enabled: typing.Union[bool, IResolvable] = None,
  dubbo_filter_enabled: typing.Union[bool, IResolvable] = None,
  edition: typing.Union[str, IResolvable] = None,
  enable_acmg: typing.Union[bool, IResolvable] = None,
  enable_ambient: typing.Union[bool, IResolvable] = None,
  enable_audit: typing.Union[bool, IResolvable] = None,
  enable_cr_history: typing.Union[bool, IResolvable] = None,
  enable_sds_server: typing.Union[bool, IResolvable] = None,
  exclude_inbound_ports: typing.Union[str, IResolvable] = None,
  exclude_ip_ranges: typing.Union[str, IResolvable] = None,
  exclude_outbound_ports: typing.Union[str, IResolvable] = None,
  existing_ca_cert: typing.Union[str, IResolvable] = None,
  existing_ca_key: typing.Union[str, IResolvable] = None,
  existing_ca_type: typing.Union[str, IResolvable] = None,
  existing_root_ca_cert: typing.Union[str, IResolvable] = None,
  existing_root_ca_key: typing.Union[str, IResolvable] = None,
  filter_gateway_cluster_config: typing.Union[bool, IResolvable] = None,
  gateway_api_enabled: typing.Union[bool, IResolvable] = None,
  guest_cluster: typing.Union[str, IResolvable] = None,
  include_ip_ranges: typing.Union[str, IResolvable] = None,
  istio_version: typing.Union[str, IResolvable] = None,
  kiali_enabled: typing.Union[bool, IResolvable] = None,
  locality_lb_conf: typing.Union[str, IResolvable] = None,
  locality_load_balancing: typing.Union[bool, IResolvable] = None,
  mse_enabled: typing.Union[bool, IResolvable] = None,
  multi_buffer_enabled: typing.Union[bool, IResolvable] = None,
  multi_buffer_poll_delay: typing.Union[str, IResolvable] = None,
  mysql_filter_enabled: typing.Union[bool, IResolvable] = None,
  name: typing.Union[str, IResolvable] = None,
  opa: typing.Union[IResolvable, OPAProperty] = None,
  opa_enabled: typing.Union[bool, IResolvable] = None,
  outbound_traffic_policy: typing.Union[str, IResolvable] = None,
  period: typing.Union[typing.Union[int, float], IResolvable] = None,
  pilot_load_balancer_spec: typing.Union[str, IResolvable] = None,
  pilot_public_eip: typing.Union[bool, IResolvable] = None,
  playground_scene: typing.Union[str, IResolvable] = None,
  prometheus_url: typing.Union[str, IResolvable] = None,
  proxy: typing.Union[IResolvable, ProxyProperty] = None,
  telemetry: typing.Union[bool, IResolvable] = None,
  trace_sampling: typing.Union[typing.Union[int, float], IResolvable] = None,
  tracing: typing.Union[bool, IResolvable] = None,
  use_existing_ca: typing.Union[bool, IResolvable] = None,
  web_assembly_filter_enabled: typing.Union[bool, IResolvable] = None,
  enable_resource_property_constraint: bool = None
)
Name Type Description
scope ros_cdk_core.Construct No description.
id str No description.
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: The ID of the virtual private cloud (VPC).
v_switches typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] Property vSwitches: The ID of the vSwitch, eg: ["vsw-xzegf5dndkbf4m6eg****"].
access_log_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property accessLogEnabled: Specifies whether to enable access logging.
access_log_file typing.Union[str, ros_cdk_core.IResolvable] Property accessLogFile: Enable and disable access logs.
access_log_format typing.Union[str, ros_cdk_core.IResolvable] Property accessLogFormat: The format of access logs.
access_log_project typing.Union[str, ros_cdk_core.IResolvable] Property accessLogProject: The Log Service project for access logs.
access_log_service_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property accessLogServiceEnabled: Whether Envoy's gRPC logging service (ALS) is enabled.
access_log_service_host typing.Union[str, ros_cdk_core.IResolvable] Property accessLogServiceHost: Address where Envoy's gRPC logging service (ALS) is enabled.
access_log_service_port typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property accessLogServicePort: Port on which Envoy's gRPC logging service (ALS) is enabled.
api_server_load_balancer_spec typing.Union[str, ros_cdk_core.IResolvable] Property apiServerLoadBalancerSpec: CLB specification for the APIServer binding.
api_server_public_eip typing.Union[bool, ros_cdk_core.IResolvable] Property apiServerPublicEip: Specifies whether to expose the API server to the Internet.
audit_project typing.Union[str, ros_cdk_core.IResolvable] Property auditProject: The name of the Log Service project that is used for mesh audit.
auto_renew typing.Union[bool, ros_cdk_core.IResolvable] Property autoRenew: If CLB is annual and monthly, whether it will be automatically renewed.
auto_renew_period typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property autoRenewPeriod: ChargeType is a PrePay.
cert_chain typing.Union[str, ros_cdk_core.IResolvable] Property certChain: The certificate chain from CaCert to RootCert contains at least two certificates.
charge_type typing.Union[str, ros_cdk_core.IResolvable] Property chargeType: CLB payment type.
cluster_spec typing.Union[str, ros_cdk_core.IResolvable] Property clusterSpec: Service grid instance specification, value: - standard: The standard version.
config_source_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property configSourceEnabled: Whether to enable an external service registry.
config_source_nacos_id typing.Union[str, ros_cdk_core.IResolvable] Property configSourceNacosId: The Nacos ID for config source.
control_plane_log_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property controlPlaneLogEnabled: Specifies whether to enable control plane logging.
control_plane_log_project typing.Union[str, ros_cdk_core.IResolvable] Property controlPlaneLogProject: The Log Service project for control plane logs.
cr_aggregation_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property crAggregationEnabled: Whether to enable Kubernetes API for data plane cluster to access Istio resources (ASM instance v1.9.7.93 or later). Value: - true: Enable data plane cluster Kubernetes API to access Istio resources. - false: Data plane cluster Kubernetes API is not enabled to access Istio resources. Default value: false.
customized_prometheus typing.Union[bool, ros_cdk_core.IResolvable] Property customizedPrometheus: Specifies whether to use a customized Prometheus system.
customized_zipkin typing.Union[bool, ros_cdk_core.IResolvable] Property customizedZipkin: Specifies whether to use a user-created Zipkin system.
dns_proxying_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property dnsProxyingEnabled: Specifies whether to enable DNS proxying.
dubbo_filter_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property dubboFilterEnabled: Specifies whether to enable Dubbo filter.
edition typing.Union[str, ros_cdk_core.IResolvable] Property edition: The edition of the ASM instance.
enable_acmg typing.Union[bool, ros_cdk_core.IResolvable] Property enableAcmg: Specifies whether to enable ACMG.
enable_ambient typing.Union[bool, ros_cdk_core.IResolvable] Property enableAmbient: Specifies whether to enable ambient mode.
enable_audit typing.Union[bool, ros_cdk_core.IResolvable] Property enableAudit: Specifies whether to enable the mesh audit feature.
enable_cr_history typing.Union[bool, ros_cdk_core.IResolvable] Property enableCrHistory: Specifies whether to enable CR history.
enable_sds_server typing.Union[bool, ros_cdk_core.IResolvable] Property enableSdsServer: Specifies whether to enable SDS server.
exclude_inbound_ports typing.Union[str, ros_cdk_core.IResolvable] Property excludeInboundPorts: The inbound ports to exclude from traffic management.
exclude_ip_ranges typing.Union[str, ros_cdk_core.IResolvable] Property excludeIpRanges: The IP ranges to exclude from traffic management.
exclude_outbound_ports typing.Union[str, ros_cdk_core.IResolvable] Property excludeOutboundPorts: The outbound ports to exclude from traffic management.
existing_ca_cert typing.Union[str, ros_cdk_core.IResolvable] Property existingCaCert: The existing CA certificate.
existing_ca_key typing.Union[str, ros_cdk_core.IResolvable] Property existingCaKey: The existing CA key.
existing_ca_type typing.Union[str, ros_cdk_core.IResolvable] Property existingCaType: The type of existing CA.
existing_root_ca_cert typing.Union[str, ros_cdk_core.IResolvable] Property existingRootCaCert: The existing root CA certificate.
existing_root_ca_key typing.Union[str, ros_cdk_core.IResolvable] Property existingRootCaKey: The existing root CA key.
filter_gateway_cluster_config typing.Union[bool, ros_cdk_core.IResolvable] Property filterGatewayClusterConfig: Specifies whether to filter gateway cluster configuration.
gateway_api_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property gatewayApiEnabled: Specifies whether to enable Gateway API.
guest_cluster typing.Union[str, ros_cdk_core.IResolvable] Property guestCluster: The guest cluster configuration.
include_ip_ranges typing.Union[str, ros_cdk_core.IResolvable] Property includeIpRanges: The Classless Inter-Domain Routing (CIDR) block in the ASM instance that are denied to access external services.
istio_version typing.Union[str, ros_cdk_core.IResolvable] Property istioVersion: The Istio version of the ASM instance.
kiali_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property kialiEnabled: Specifies whether to enable Kiali.
locality_lb_conf typing.Union[str, ros_cdk_core.IResolvable] Property localityLbConf: The locality load balancing configuration.
locality_load_balancing typing.Union[bool, ros_cdk_core.IResolvable] Property localityLoadBalancing: Specifies whether to route traffic to the nearest instance.
mse_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property mseEnabled: Specifies whether to enable MSE.
multi_buffer_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property multiBufferEnabled: Specifies whether to enable multi-buffer.
multi_buffer_poll_delay typing.Union[str, ros_cdk_core.IResolvable] Property multiBufferPollDelay: The poll delay for multi-buffer.
mysql_filter_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property mysqlFilterEnabled: Specifies whether to enable MySQL filter.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the ASM instance.
opa typing.Union[ros_cdk_core.IResolvable, OPAProperty] Property opa: OPA settings.
opa_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property opaEnabled: Specifies whether to enable OPA.
outbound_traffic_policy typing.Union[str, ros_cdk_core.IResolvable] Property outboundTrafficPolicy: The outbound traffic policy of the ASM instance.
period typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property period: The subscription period.
pilot_load_balancer_spec typing.Union[str, ros_cdk_core.IResolvable] Property pilotLoadBalancerSpec: The specification for the pilot load balancer.
pilot_public_eip typing.Union[bool, ros_cdk_core.IResolvable] Property pilotPublicEip: Specifies whether to expose Istio Pilot to the Internet.
playground_scene typing.Union[str, ros_cdk_core.IResolvable] Property playgroundScene: The playground scene configuration.
prometheus_url typing.Union[str, ros_cdk_core.IResolvable] Property prometheusUrl: The URL for Prometheus.
proxy typing.Union[ros_cdk_core.IResolvable, ProxyProperty] Property proxy: Proxy settings.
telemetry typing.Union[bool, ros_cdk_core.IResolvable] Property telemetry: Specifies whether to enable Prometheus monitoring.
trace_sampling typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property traceSampling: The sampling percentage of tracing.
tracing typing.Union[bool, ros_cdk_core.IResolvable] Property tracing: Specifies whether to enable the tracing feature.
use_existing_ca typing.Union[bool, ros_cdk_core.IResolvable] Property useExistingCa: Specifies whether to use an existing CA.
web_assembly_filter_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property webAssemblyFilterEnabled: Specifies whether to enable WebAssembly filter.
enable_resource_property_constraint bool No description.

scopeRequired

  • Type: ros_cdk_core.Construct

idRequired

  • Type: str

vpc_idRequired

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

Property vpcId: The ID of the virtual private cloud (VPC).


v_switchesRequired

  • Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]

Property vSwitches: The ID of the vSwitch, eg: ["vsw-xzegf5dndkbf4m6eg****"].


access_log_enabledOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property accessLogEnabled: Specifies whether to enable access logging.


access_log_fileOptional

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

Property accessLogFile: Enable and disable access logs.

Value:

  • "" : Turn off access logs.
  • /dev/stdout: Enables access logging

access_log_formatOptional

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

Property accessLogFormat: The format of access logs.


access_log_projectOptional

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

Property accessLogProject: The Log Service project for access logs.


access_log_service_enabledOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property accessLogServiceEnabled: Whether Envoy's gRPC logging service (ALS) is enabled.

Value:

  • true: Enables Envoy's gRPC logging service.
  • false: Envoy's gRPC logging service is not enabled. Default value: false

access_log_service_hostOptional

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

Property accessLogServiceHost: Address where Envoy's gRPC logging service (ALS) is enabled.


access_log_service_portOptional

  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property accessLogServicePort: Port on which Envoy's gRPC logging service (ALS) is enabled.


api_server_load_balancer_specOptional

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

Property apiServerLoadBalancerSpec: CLB specification for the APIServer binding.

Value: Compact type I (slb.s1.small), Standard type I (slb.s2.small), Standard Type II (slb.s2.medium), high-order type I (slb.s3.small), high-order type II (slb.s3.medium), Super type I (slb.s3.large).


api_server_public_eipOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property apiServerPublicEip: Specifies whether to expose the API server to the Internet.

Valid values: true and false. Default value: false. If you do not set this parameter, the API server of clusters added to the ASM instance cannot be accessed from the Internet.


audit_projectOptional

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

Property auditProject: The name of the Log Service project that is used for mesh audit.

Default value: mesh-log-{meshId}.


auto_renewOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property autoRenew: If CLB is annual and monthly, whether it will be automatically renewed.

Value:

  • true: Automatic renewal.
  • false: No automatic renewal.

auto_renew_periodOptional

  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property autoRenewPeriod: ChargeType is a PrePay.

Indicates the automatic renewal time when purchasing a CLB of the year and month type. If the purchase is less than 1 year old, this parameter indicates how many months the auto-renewal will take. If the purchase is longer than 1 year, this parameter indicates how many years the automatic renewal will be made.


cert_chainOptional

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

Property certChain: The certificate chain from CaCert to RootCert contains at least two certificates.


charge_typeOptional

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

Property chargeType: CLB payment type.

Value:

  • PayOnDemand: pay-as-you-go type
  • PrePay: Annual and monthly.

cluster_specOptional

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

Property clusterSpec: Service grid instance specification, value: - standard: The standard version.

  • enterprise: Enterprise Edition
  • ultimate: ultimate.

config_source_enabledOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property configSourceEnabled: Whether to enable an external service registry.

Value:

  • true: Enables the external service registry.
  • false: The external service registry is not enabled. Default value: false

config_source_nacos_idOptional

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

Property configSourceNacosId: The Nacos ID for config source.


control_plane_log_enabledOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property controlPlaneLogEnabled: Specifies whether to enable control plane logging.


control_plane_log_projectOptional

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

Property controlPlaneLogProject: The Log Service project for control plane logs.


cr_aggregation_enabledOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property crAggregationEnabled: Whether to enable Kubernetes API for data plane cluster to access Istio resources (ASM instance v1.9.7.93 or later). Value: - true: Enable data plane cluster Kubernetes API to access Istio resources. - false: Data plane cluster Kubernetes API is not enabled to access Istio resources. Default value: false.


customized_prometheusOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property customizedPrometheus: Specifies whether to use a customized Prometheus system.


customized_zipkinOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property customizedZipkin: Specifies whether to use a user-created Zipkin system.


dns_proxying_enabledOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property dnsProxyingEnabled: Specifies whether to enable DNS proxying.


dubbo_filter_enabledOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property dubboFilterEnabled: Specifies whether to enable Dubbo filter.


editionOptional

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

Property edition: The edition of the ASM instance.


enable_acmgOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property enableAcmg: Specifies whether to enable ACMG.


enable_ambientOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property enableAmbient: Specifies whether to enable ambient mode.


enable_auditOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property enableAudit: Specifies whether to enable the mesh audit feature.

To enable this feature, make sure that you have activated Alibaba Cloud Log Service. Valid values: true and false. Default value: false.


enable_cr_historyOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property enableCrHistory: Specifies whether to enable CR history.


enable_sds_serverOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property enableSdsServer: Specifies whether to enable SDS server.


exclude_inbound_portsOptional

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

Property excludeInboundPorts: The inbound ports to exclude from traffic management.


exclude_ip_rangesOptional

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

Property excludeIpRanges: The IP ranges to exclude from traffic management.


exclude_outbound_portsOptional

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

Property excludeOutboundPorts: The outbound ports to exclude from traffic management.


existing_ca_certOptional

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

Property existingCaCert: The existing CA certificate.


existing_ca_keyOptional

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

Property existingCaKey: The existing CA key.


existing_ca_typeOptional

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

Property existingCaType: The type of existing CA.


existing_root_ca_certOptional

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

Property existingRootCaCert: The existing root CA certificate.


existing_root_ca_keyOptional

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

Property existingRootCaKey: The existing root CA key.


filter_gateway_cluster_configOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property filterGatewayClusterConfig: Specifies whether to filter gateway cluster configuration.


gateway_api_enabledOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property gatewayApiEnabled: Specifies whether to enable Gateway API.


guest_clusterOptional

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

Property guestCluster: The guest cluster configuration.


include_ip_rangesOptional

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

Property includeIpRanges: The Classless Inter-Domain Routing (CIDR) block in the ASM instance that are denied to access external services.


istio_versionOptional

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

Property istioVersion: The Istio version of the ASM instance.


kiali_enabledOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property kialiEnabled: Specifies whether to enable Kiali.


locality_lb_confOptional

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

Property localityLbConf: The locality load balancing configuration.


locality_load_balancingOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property localityLoadBalancing: Specifies whether to route traffic to the nearest instance.

Valid values: true and false. Default value: false.


mse_enabledOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property mseEnabled: Specifies whether to enable MSE.


multi_buffer_enabledOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property multiBufferEnabled: Specifies whether to enable multi-buffer.


multi_buffer_poll_delayOptional

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

Property multiBufferPollDelay: The poll delay for multi-buffer.


mysql_filter_enabledOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property mysqlFilterEnabled: Specifies whether to enable MySQL filter.


nameOptional

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

Property name: The name of the ASM instance.


opaOptional

  • Type: typing.Union[ros_cdk_core.IResolvable, OPAProperty]

Property opa: OPA settings.


opa_enabledOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property opaEnabled: Specifies whether to enable OPA.


outbound_traffic_policyOptional

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

Property outboundTrafficPolicy: The outbound traffic policy of the ASM instance.


periodOptional

  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property period: The subscription period.


pilot_load_balancer_specOptional

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

Property pilotLoadBalancerSpec: The specification for the pilot load balancer.


pilot_public_eipOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property pilotPublicEip: Specifies whether to expose Istio Pilot to the Internet.

Valid values: true and false. Default value: false. If you do not set this parameter, only clusters in the same VPC as the ASM instance can access Istio Pilot of the instance.


playground_sceneOptional

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

Property playgroundScene: The playground scene configuration.


prometheus_urlOptional

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

Property prometheusUrl: The URL for Prometheus.


proxyOptional

Property proxy: Proxy settings.


telemetryOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property telemetry: Specifies whether to enable Prometheus monitoring.

We recommend that you use Application Real-Time Monitoring Service (ARMS).


trace_samplingOptional

  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property traceSampling: The sampling percentage of tracing.


tracingOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property tracing: Specifies whether to enable the tracing feature.

To enable this feature, make sure that you have activated Alibaba Cloud Tracing Analysis. Valid values: true and false. Default value: false.


use_existing_caOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property useExistingCa: Specifies whether to use an existing CA.


web_assembly_filter_enabledOptional

  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property webAssemblyFilterEnabled: Specifies whether to enable WebAssembly filter.


enable_resource_property_constraintOptional

  • Type: bool

Methods

Name Description
to_string Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
add_condition No description.
add_count No description.
add_dependency No description.
add_resource_desc No description.
apply_removal_policy No description.
fetch_condition No description.
fetch_dependency No description.
fetch_resource_desc No description.
get_att No description.
set_metadata No description.

to_string

def to_string() -> str

Returns a string representation of this construct.

synthesize

def synthesize(
  session: ISynthesisSession
) -> None

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: ros_cdk_core.ISynthesisSession

The synthesis session.


add_condition

def add_condition(
  condition: RosCondition
) -> None

conditionRequired

  • Type: ros_cdk_core.RosCondition

add_count

def add_count(
  count: typing.Union[typing.Union[int, float], IResolvable]
) -> None

countRequired

  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

add_dependency

def add_dependency(
  resource: Resource
) -> None

resourceRequired

  • Type: ros_cdk_core.Resource

add_resource_desc

def add_resource_desc(
  desc: str
) -> None

descRequired

  • Type: str

apply_removal_policy

def apply_removal_policy(
  policy: RemovalPolicy
) -> None

policyRequired

  • Type: ros_cdk_core.RemovalPolicy

fetch_condition

def fetch_condition() -> RosCondition

fetch_dependency

def fetch_dependency() -> typing.List[str]

fetch_resource_desc

def fetch_resource_desc() -> str

get_att

def get_att(
  name: str
) -> IResolvable

nameRequired

  • Type: str

set_metadata

def set_metadata(
  key: str,
  value: typing.Any
) -> None

keyRequired

  • Type: str

valueRequired

  • Type: typing.Any

Static Functions

Name Description
is_construct Return whether the given object is a Construct.

is_construct

import ros_cdk_asm
ros_cdk_asm.ServiceMesh.is_construct(
  x: typing.Any
)

Return whether the given object is a Construct.

xRequired

  • Type: typing.Any

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node associated with this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
ref str No description.
stack ros_cdk_core.Stack The stack in which this resource is defined.
resource ros_cdk_core.RosResource No description.
attr_service_mesh_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ServiceMeshId: The ID of the ASM instance.
props ServiceMeshProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node associated with 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.


refRequired

ref: str
  • Type: str

stackRequired

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


resourceOptional

resource: RosResource
  • Type: ros_cdk_core.RosResource

attr_service_mesh_idRequired

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

Attribute ServiceMeshId: The ID of the ASM instance.


propsRequired

props: ServiceMeshProps

Structs