ClusterApplicationResourcesProps
Properties for defining a ClusterApplicationResources
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-cs-clusterapplicationresources
Initializer
from ros_cdk_cs import datasource
datasource.ClusterApplicationResourcesProps(
cluster_id: typing.Union[str, IResolvable],
kind: typing.Union[str, IResolvable],
first_match: typing.Union[bool, IResolvable] = None,
json_path: typing.Union[str, IResolvable] = None,
name: typing.Union[str, IResolvable] = None,
namespace: typing.Union[str, IResolvable] = None,
refresh_options: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
cluster_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property clusterId: The ID of the kubernetes cluster. |
kind |
typing.Union[str, ros_cdk_core.IResolvable] |
Property kind: The kind of kubernetes resources to query. |
first_match |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property firstMatch: Only the first matching result in jsonpath's filtered results is returned. |
json_path |
typing.Union[str, ros_cdk_core.IResolvable] |
Property jsonPath: Json path expression to filter the output. |
name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property name: The name of the kubernetes resource to query. |
namespace |
typing.Union[str, ros_cdk_core.IResolvable] |
Property namespace: The namespace of kubernetes containing the resource. |
refresh_options |
typing.Union[str, ros_cdk_core.IResolvable] |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
cluster_id
Required
cluster_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property clusterId: The ID of the kubernetes cluster.
kind
Required
kind: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property kind: The kind of kubernetes resources to query.
first_match
Optional
first_match: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property firstMatch: Only the first matching result in jsonpath's filtered results is returned.
Default False
json_path
Optional
json_path: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property jsonPath: Json path expression to filter the output.
name
Optional
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property name: The name of the kubernetes resource to query.
namespace
Optional
namespace: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property namespace: The namespace of kubernetes containing the resource.
Default value is default
refresh_options
Optional
refresh_options: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.