DATASOURCE::EMR::Cluster2 is used to query E-MapReduce (EMR) clusters.
Syntax
{
"Type": "DATASOURCE::EMR::Cluster2",
"Properties": {
"PaymentTypes": List,
"ResourceGroupId": String,
"ClusterName": String,
"ClusterType": List,
"ClusterIds": List,
"Tags": List,
"ClusterStates": List
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
PaymentTypes | List | No | Yes | The billing methods. | Valid values:
|
ResourceGroupId | String | No | Yes | The ID of the resource group. | None. |
ClusterName | String | No | Yes | The cluster name. | The name must be 1 to 128 characters in length. It must start with a letter and cannot start with |
ClusterType | List | No | Yes | The cluster type. | Valid values:
|
ClusterIds | List | No | Yes | The IDs of the clusters. | None. |
Tags | List | No | Yes | The custom tags. | You can add up to five custom tags. For more information, see Tags properties. |
ClusterStates | List | No | Yes | The states of the cluster. | None. |
Tags syntax
"Tags": [
{
"Value": String,
"Key": String
}
]
Tags properties
Property | Type | Required | Editable | Description | Constraint |
Value | String | No | No | The tag value. | This property is optional and can be an empty string. The tag value can be up to 128 characters in length. It cannot start with |
Key | String | Yes | No | The tag key. | This property is required and cannot be an empty string. The tag key can be up to 128 characters in length. It cannot start with |
Return values
Fn::GetAtt
Clusters: details of the clusters.
ClusterIds: the IDs of the clusters.
Property | Type | Description | Constraint |
ClusterIds | List | The IDs of the clusters. | None. |
Clusters | List | Details of the cluster. | None. |
DeployMode | String | The deployment mode of applications in the cluster. | None. |
FlowProjectName | String | The project name. | None. |
VpcId | String | The virtual private cloud (VPC) ID. | None. |
ClusterState | String | The state of the cluster. | None. |
EmrDefaultRole | String | The EMR service role. | None. |
ReadyTime | String | The time when the cluster is available. | None. |
CreateTime | String | The time when the cluster was created. | None. |
UserId | String | The user ID. | None. |
Status | String | The status of the cluster. | None. |
StateChangeReason | String | The reason for the failure. | None. |
Description | String | The description of the cluster. | None. |
ClusterName | String | The cluster name. | None. |
LogCollectStrategy | String | The policy based on which logs are collected. | None. |
FlowProjectId | String | The project ID. | None. |
GmtModified | String | The time when the cluster was modified. | None. |
SecurityMode | String | The Kerberos security mode of the cluster. | None. |
PaymentType | String | The billing method. | None. |
ReleaseVersion | String | The EMR version. | None. |
NodeAttributes | String | The node attributes. | None. |
ClusterType | String | The cluster type. | None. |
SubscriptionConfig | String | The subscription configurations. | None. |
ResourceGroupId | String | The ID of the resource group. | None. |