DATASOURCE::CS::ClusterUserKubeconfig is used to query the kubeconfig
configurations of a Container Service for Kubernetes (ACK) cluster by cluster ID.
Syntax
{
"Type": "DATASOURCE::CS::ClusterUserKubeconfig",
"Properties": {
"PrivateIpAddress": Boolean,
"ClusterId": String,
"TemporaryDurationMinutes": Integer
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
PrivateIpAddress | Boolean | No | Yes | Specifies whether to only obtain the kubeconfig file that is used to access the cluster over an internal network. | Valid values:
|
ClusterId | String | Yes | Yes | The cluster ID. | None. |
TemporaryDurationMinutes | Integer | No | Yes | The validity period of the temporary kubeconfig file. | Unit: minutes. Valid values: 15 to 4320. Note If you leave this property empty, the system automatically specifies a validity period. You can obtain the validity period from the value of |
Return values
Fn::GetAtt
ClusterId: the cluster ID.
Config: the access configurations of the cluster.
Expiration: the expiration time of the kubeconfig file. The time follows the
RFC3339
format. The time is displayed in UTC.