getEc2KeyPair

Get a Ec2KeyPair Uses Azure REST API version 2024-12-01.

Return

A Microsoft.AwsConnector resource

Parameters

argument

null


suspend fun getEc2KeyPair(name: String, resourceGroupName: String): GetEc2KeyPairResult

Return

A Microsoft.AwsConnector resource

Parameters

name

Name of Ec2KeyPair

resourceGroupName

The name of the resource group. The name is case insensitive.

See also


Return

A Microsoft.AwsConnector resource

Parameters

argument

Builder for com.pulumi.azurenative.awsconnector.kotlin.inputs.GetEc2KeyPairPlainArgs.

See also