Skip to content

KeyPairsProps

Properties for defining a KeyPairs.

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

Initializer

from ros_cdk_ecs import datasource
datasource.KeyPairsProps(
  key_pair_finger_print: typing.Union[str, IResolvable] = None,
  key_pair_name: typing.Union[str, IResolvable] = None,
  refresh_options: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
key_pair_finger_print typing.Union[str, ros_cdk_core.IResolvable] Property keyPairFingerPrint: The fingerprint of the key pair.
key_pair_name typing.Union[str, ros_cdk_core.IResolvable] Property keyPairName: he name of the key pair.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group to which the key pair belongs.
tags typing.List[ros_cdk_ecs.datasource.RosKeyPairs.TagsProperty] Property tags: Tags of keypair.

key_pair_finger_printOptional

key_pair_finger_print: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


key_pair_nameOptional

key_pair_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


refresh_optionsOptional

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.

resource_group_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

tags: typing.List[TagsProperty]
  • Type: typing.List[ros_cdk_ecs.datasource.RosKeyPairs.TagsProperty]

Property tags: Tags of keypair.