Skip to content

IPrometheus

  • Extends: ros_cdk_core.IResource

  • Implemented By: ros_cdk_arms.datasource.Prometheus, ros_cdk_arms.datasource.IPrometheus

Represents a Prometheus.

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_cluster_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ClusterId: The ID of the Prometheus instance.
attr_cluster_type typing.Union[str, ros_cdk_core.IResolvable] Attribute ClusterType: The type of the instance.
attr_grafana_instance_id typing.Union[str, ros_cdk_core.IResolvable] Attribute GrafanaInstanceId: The ID of the Grafana workspace.
attr_payment_type typing.Union[str, ros_cdk_core.IResolvable] Attribute PaymentType: The billing method.
attr_prometheus_name typing.Union[str, ros_cdk_core.IResolvable] Attribute PrometheusName: The name of the instance.
attr_resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ResourceGroupId: The ID of the resource group to which the instance belongs.
attr_security_group_id typing.Union[str, ros_cdk_core.IResolvable] Attribute SecurityGroupId: The ID of the security group.
attr_sub_clusters_json typing.Union[str, ros_cdk_core.IResolvable] Attribute SubClustersJson: The child instances of the Prometheus instance for GlobalView.
attr_tags typing.Union[str, ros_cdk_core.IResolvable] Attribute Tags: The tags of the instance.
attr_user_id typing.Union[str, ros_cdk_core.IResolvable] Attribute UserId: The user ID.
attr_vpc_id typing.Union[str, ros_cdk_core.IResolvable] Attribute VpcId: The VPC ID.
attr_v_switch_id typing.Union[str, ros_cdk_core.IResolvable] Attribute VSwitchId: The vSwitch ID.
props PrometheusProps 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_cluster_idRequired

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

Attribute ClusterId: The ID of the Prometheus instance.


attr_cluster_typeRequired

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

Attribute ClusterType: The type of the instance.


attr_grafana_instance_idRequired

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

Attribute GrafanaInstanceId: The ID of the Grafana workspace.


attr_payment_typeRequired

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

Attribute PaymentType: The billing method.


attr_prometheus_nameRequired

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

Attribute PrometheusName: The name of the instance.


attr_resource_group_idRequired

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

Attribute ResourceGroupId: The ID of the resource group to which the instance belongs.


attr_security_group_idRequired

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

Attribute SecurityGroupId: The ID of the security group.

This parameter is returned only for Prometheus instances for ECS.


attr_sub_clusters_jsonRequired

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

Attribute SubClustersJson: The child instances of the Prometheus instance for GlobalView.


attr_tagsRequired

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

Attribute Tags: The tags of the instance.


attr_user_idRequired

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

Attribute UserId: The user ID.


attr_vpc_idRequired

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

Attribute VpcId: The VPC ID.

This parameter is returned only for Prometheus instances for ECS.


attr_v_switch_idRequired

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

Attribute VSwitchId: The vSwitch ID.

This parameter is returned only for Prometheus instances for ECS.


propsRequired

props: PrometheusProps