IEnvironment
-
Extends: com.aliyun.ros.cdk.core.IResource
-
Implemented By: Environment, IEnvironment
Represents a Environment.
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node for this construct. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
stack | com.aliyun.ros.cdk.core.Stack | The stack in which this resource is defined. |
attrEnvironmentId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute EnvironmentId: The id of the environment. |
attrEnvironmentName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute EnvironmentName: The name of the environment. |
attrEnvironmentSubType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute EnvironmentSubType: The subtype of the environment. |
attrEnvironmentType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute EnvironmentType: The type of the environment. |
attrFeePackage | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute FeePackage: The payable resource plan. |
attrGrafanaWorkspaceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute GrafanaWorkspaceId: The ID of the grafana workspace bound to the environment. |
attrManagedType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ManagedType: Specifies whether agents or exporters are managed. |
attrPrometheusInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute PrometheusInstanceId: The ID of the Prometheus instance. |
attrResourceGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ResourceGroupId: The ID of the resource group. |
props | EnvironmentProps | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node for this construct.
envRequired
public IResourceEnvironment getEnv();
- Type: com.aliyun.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 Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
attrEnvironmentIdRequired
public java.lang.Object getAttrEnvironmentId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute EnvironmentId: The id of the environment.
attrEnvironmentNameRequired
public java.lang.Object getAttrEnvironmentName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute EnvironmentName: The name of the environment.
attrEnvironmentSubTypeRequired
public java.lang.Object getAttrEnvironmentSubType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute EnvironmentSubType: The subtype of the environment.
attrEnvironmentTypeRequired
public java.lang.Object getAttrEnvironmentType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute EnvironmentType: The type of the environment.
attrFeePackageRequired
public java.lang.Object getAttrFeePackage();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute FeePackage: The payable resource plan.
attrGrafanaWorkspaceIdRequired
public java.lang.Object getAttrGrafanaWorkspaceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute GrafanaWorkspaceId: The ID of the grafana workspace bound to the environment.
attrManagedTypeRequired
public java.lang.Object getAttrManagedType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ManagedType: Specifies whether agents or exporters are managed.
attrPrometheusInstanceIdRequired
public java.lang.Object getAttrPrometheusInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute PrometheusInstanceId: The ID of the Prometheus instance.
attrResourceGroupIdRequired
public java.lang.Object getAttrResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ResourceGroupId: The ID of the resource group.
propsRequired
public EnvironmentProps getProps();
- Type: EnvironmentProps