Skip to content

ClusterUserKubeconfigProps

Properties for defining a ClusterUserKubeconfig.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-cs-clusteruserkubeconfig

Initializer

import { datasource } from '@alicloud/ros-cdk-cs'
const clusterUserKubeconfigProps: datasource.ClusterUserKubeconfigProps = { ... }

Properties

Name Type Description
clusterId string | @alicloud/ros-cdk-core.IResolvable Property clusterId: The ID of the ACK cluster.
privateIpAddress boolean | @alicloud/ros-cdk-core.IResolvable Property privateIpAddress: Specifies whether to obtain the credential that is used to connect to the cluster over the internal network.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
temporaryDurationMinutes number | @alicloud/ros-cdk-core.IResolvable Property temporaryDurationMinutes: The validity period of a temporary kubeconfig file.

clusterIdRequired

public readonly clusterId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property clusterId: The ID of the ACK cluster.


privateIpAddressOptional

public readonly privateIpAddress: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property privateIpAddress: Specifies whether to obtain the credential that is used to connect to the cluster over the internal network.

Valid values: true: obtains the credential that is used to connect to the cluster over the internal network. false: obtains the credential that is used to connect to the cluster over the Internet. Default value: false.


refreshOptionsOptional

public readonly refreshOptions: string | IResolvable;
  • Type: string | @alicloud/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.


temporaryDurationMinutesOptional

public readonly temporaryDurationMinutes: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property temporaryDurationMinutes: The validity period of a temporary kubeconfig file.

Unit: minutes. Valid values: 15 to 4320. Note If you do not specify this parameter, the system automatically specifies a validity period, which is indicated by the expiration field in the response.