Skip to content

KeyPairsProps

Properties for defining a KeyPairs.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-keypairs

Initializer

import { datasource } from '@alicloud/ros-cdk-ecs'
const keyPairsProps: datasource.KeyPairsProps = { ... }

Properties

Name Type Description
keyPairFingerPrint string | @alicloud/ros-cdk-core.IResolvable Property keyPairFingerPrint: The fingerprint of the key pair.
keyPairName string | @alicloud/ros-cdk-core.IResolvable Property keyPairName: he name of the key pair.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: The ID of the resource group to which the key pair belongs.
tags @alicloud/ros-cdk-ecs.datasource.RosKeyPairs.TagsProperty[] Property tags: Tags of keypair.

keyPairFingerPrintOptional

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

Property keyPairFingerPrint: The fingerprint of the key pair.

The message-digest algorithm 5 (MD5) is used based on the public key fingerprint format defined in RFC 4716. For more information, see RFC 4716.


keyPairNameOptional

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

Property keyPairName: he name of the key pair.

You can use the asterisk () symbol as a wildcard in regular expressions to query key pairs by performing a fuzzy search. Sample patterns: SshKey: queries key pairs whose names end with SshKey, including the key pair named SshKey. SshKey: queries key pairs whose names start with SshKey, including the key pair named SshKey. SshKey*: queries key pairs whose names include SshKey, including the key pair named SshKey. SshKey: queries the key pair named SshKey.


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.


resourceGroupIdOptional

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

Property resourceGroupId: The ID of the resource group to which the key pair belongs.

If this parameter is specified to query resources, up to 1,000 resources that belong to the specified resource group can be displayed in the response.


tagsOptional

public readonly tags: TagsProperty[];
  • Type: @alicloud/ros-cdk-ecs.datasource.RosKeyPairs.TagsProperty[]

Property tags: Tags of keypair.