azure-native.awsconnector.Ec2KeyPair
Explore with Pulumi AI
A Microsoft.AwsConnector resource Azure REST API version: 2024-12-01.
Example Usage
Ec2KeyPairs_CreateOrReplace
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var ec2KeyPair = new AzureNative.AwsConnector.Ec2KeyPair("ec2KeyPair", new()
{
Location = "okgykmqgdqfktczzwnisgblxjor",
Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
Properties = new AzureNative.AwsConnector.Inputs.Ec2KeyPairPropertiesArgs
{
Arn = "hbplblilwwscgwiaifygy",
AwsAccountId = "iamyich",
AwsProperties = new AzureNative.AwsConnector.Inputs.AwsEc2KeyPairPropertiesArgs
{
KeyFingerprint = "xamuanffyhal",
KeyFormat = AzureNative.AwsConnector.KeyFormat.Pem,
KeyName = "jsltsdchgdrtwidgfy",
KeyPairId = "tqtfcaqdmookxfgpvbzkyzzgstwqh",
KeyType = AzureNative.AwsConnector.KeyType.Ed25519,
PublicKeyMaterial = "wewhsgvwdbsygwbukotmsiu",
Tags = new[]
{
new AzureNative.AwsConnector.Inputs.TagArgs
{
Key = "tthjjmap",
Value = "fcqkvmxnvgkszsjglbmc",
},
},
},
AwsRegion = "zkxhveyqnzcmihgmancphtwumisld",
AwsSourceSchema = "qbl",
AwsTags =
{
{ "key6629", "qrszxqxtlbgttasepkymnkamqvw" },
},
PublicCloudConnectorsResourceId = "dtqfffijdvwrjascztihbhcjfo",
PublicCloudResourceName = "nyywppatxodspls",
},
ResourceGroupName = "rgec2KeyPair",
Tags =
{
{ "key7076", "hevuyqs" },
},
});
});
package main
import (
awsconnector "github.com/pulumi/pulumi-azure-native-sdk/awsconnector/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := awsconnector.NewEc2KeyPair(ctx, "ec2KeyPair", &awsconnector.Ec2KeyPairArgs{
Location: pulumi.String("okgykmqgdqfktczzwnisgblxjor"),
Name: pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
Properties: &awsconnector.Ec2KeyPairPropertiesArgs{
Arn: pulumi.String("hbplblilwwscgwiaifygy"),
AwsAccountId: pulumi.String("iamyich"),
AwsProperties: &awsconnector.AwsEc2KeyPairPropertiesArgs{
KeyFingerprint: pulumi.String("xamuanffyhal"),
KeyFormat: pulumi.String(awsconnector.KeyFormatPem),
KeyName: pulumi.String("jsltsdchgdrtwidgfy"),
KeyPairId: pulumi.String("tqtfcaqdmookxfgpvbzkyzzgstwqh"),
KeyType: pulumi.String(awsconnector.KeyTypeEd25519),
PublicKeyMaterial: pulumi.String("wewhsgvwdbsygwbukotmsiu"),
Tags: awsconnector.TagArray{
&awsconnector.TagArgs{
Key: pulumi.String("tthjjmap"),
Value: pulumi.String("fcqkvmxnvgkszsjglbmc"),
},
},
},
AwsRegion: pulumi.String("zkxhveyqnzcmihgmancphtwumisld"),
AwsSourceSchema: pulumi.String("qbl"),
AwsTags: pulumi.StringMap{
"key6629": pulumi.String("qrszxqxtlbgttasepkymnkamqvw"),
},
PublicCloudConnectorsResourceId: pulumi.String("dtqfffijdvwrjascztihbhcjfo"),
PublicCloudResourceName: pulumi.String("nyywppatxodspls"),
},
ResourceGroupName: pulumi.String("rgec2KeyPair"),
Tags: pulumi.StringMap{
"key7076": pulumi.String("hevuyqs"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.awsconnector.Ec2KeyPair;
import com.pulumi.azurenative.awsconnector.Ec2KeyPairArgs;
import com.pulumi.azurenative.awsconnector.inputs.Ec2KeyPairPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsEc2KeyPairPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var ec2KeyPair = new Ec2KeyPair("ec2KeyPair", Ec2KeyPairArgs.builder()
.location("okgykmqgdqfktczzwnisgblxjor")
.name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
.properties(Ec2KeyPairPropertiesArgs.builder()
.arn("hbplblilwwscgwiaifygy")
.awsAccountId("iamyich")
.awsProperties(AwsEc2KeyPairPropertiesArgs.builder()
.keyFingerprint("xamuanffyhal")
.keyFormat("pem")
.keyName("jsltsdchgdrtwidgfy")
.keyPairId("tqtfcaqdmookxfgpvbzkyzzgstwqh")
.keyType("ed25519")
.publicKeyMaterial("wewhsgvwdbsygwbukotmsiu")
.tags(TagArgs.builder()
.key("tthjjmap")
.value("fcqkvmxnvgkszsjglbmc")
.build())
.build())
.awsRegion("zkxhveyqnzcmihgmancphtwumisld")
.awsSourceSchema("qbl")
.awsTags(Map.of("key6629", "qrszxqxtlbgttasepkymnkamqvw"))
.publicCloudConnectorsResourceId("dtqfffijdvwrjascztihbhcjfo")
.publicCloudResourceName("nyywppatxodspls")
.build())
.resourceGroupName("rgec2KeyPair")
.tags(Map.of("key7076", "hevuyqs"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
ec2_key_pair = azure_native.awsconnector.Ec2KeyPair("ec2KeyPair",
location="okgykmqgdqfktczzwnisgblxjor",
name="Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
properties={
"arn": "hbplblilwwscgwiaifygy",
"aws_account_id": "iamyich",
"aws_properties": {
"key_fingerprint": "xamuanffyhal",
"key_format": azure_native.awsconnector.KeyFormat.PEM,
"key_name": "jsltsdchgdrtwidgfy",
"key_pair_id": "tqtfcaqdmookxfgpvbzkyzzgstwqh",
"key_type": azure_native.awsconnector.KeyType.ED25519,
"public_key_material": "wewhsgvwdbsygwbukotmsiu",
"tags": [{
"key": "tthjjmap",
"value": "fcqkvmxnvgkszsjglbmc",
}],
},
"aws_region": "zkxhveyqnzcmihgmancphtwumisld",
"aws_source_schema": "qbl",
"aws_tags": {
"key6629": "qrszxqxtlbgttasepkymnkamqvw",
},
"public_cloud_connectors_resource_id": "dtqfffijdvwrjascztihbhcjfo",
"public_cloud_resource_name": "nyywppatxodspls",
},
resource_group_name="rgec2KeyPair",
tags={
"key7076": "hevuyqs",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const ec2KeyPair = new azure_native.awsconnector.Ec2KeyPair("ec2KeyPair", {
location: "okgykmqgdqfktczzwnisgblxjor",
name: "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
properties: {
arn: "hbplblilwwscgwiaifygy",
awsAccountId: "iamyich",
awsProperties: {
keyFingerprint: "xamuanffyhal",
keyFormat: azure_native.awsconnector.KeyFormat.Pem,
keyName: "jsltsdchgdrtwidgfy",
keyPairId: "tqtfcaqdmookxfgpvbzkyzzgstwqh",
keyType: azure_native.awsconnector.KeyType.Ed25519,
publicKeyMaterial: "wewhsgvwdbsygwbukotmsiu",
tags: [{
key: "tthjjmap",
value: "fcqkvmxnvgkszsjglbmc",
}],
},
awsRegion: "zkxhveyqnzcmihgmancphtwumisld",
awsSourceSchema: "qbl",
awsTags: {
key6629: "qrszxqxtlbgttasepkymnkamqvw",
},
publicCloudConnectorsResourceId: "dtqfffijdvwrjascztihbhcjfo",
publicCloudResourceName: "nyywppatxodspls",
},
resourceGroupName: "rgec2KeyPair",
tags: {
key7076: "hevuyqs",
},
});
resources:
ec2KeyPair:
type: azure-native:awsconnector:Ec2KeyPair
properties:
location: okgykmqgdqfktczzwnisgblxjor
name: Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])
properties:
arn: hbplblilwwscgwiaifygy
awsAccountId: iamyich
awsProperties:
keyFingerprint: xamuanffyhal
keyFormat: pem
keyName: jsltsdchgdrtwidgfy
keyPairId: tqtfcaqdmookxfgpvbzkyzzgstwqh
keyType: ed25519
publicKeyMaterial: wewhsgvwdbsygwbukotmsiu
tags:
- key: tthjjmap
value: fcqkvmxnvgkszsjglbmc
awsRegion: zkxhveyqnzcmihgmancphtwumisld
awsSourceSchema: qbl
awsTags:
key6629: qrszxqxtlbgttasepkymnkamqvw
publicCloudConnectorsResourceId: dtqfffijdvwrjascztihbhcjfo
publicCloudResourceName: nyywppatxodspls
resourceGroupName: rgec2KeyPair
tags:
key7076: hevuyqs
Create Ec2KeyPair Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Ec2KeyPair(name: string, args: Ec2KeyPairArgs, opts?: CustomResourceOptions);
@overload
def Ec2KeyPair(resource_name: str,
args: Ec2KeyPairArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Ec2KeyPair(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
properties: Optional[Ec2KeyPairPropertiesArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewEc2KeyPair(ctx *Context, name string, args Ec2KeyPairArgs, opts ...ResourceOption) (*Ec2KeyPair, error)
public Ec2KeyPair(string name, Ec2KeyPairArgs args, CustomResourceOptions? opts = null)
public Ec2KeyPair(String name, Ec2KeyPairArgs args)
public Ec2KeyPair(String name, Ec2KeyPairArgs args, CustomResourceOptions options)
type: azure-native:awsconnector:Ec2KeyPair
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args Ec2KeyPairArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args Ec2KeyPairArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args Ec2KeyPairArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args Ec2KeyPairArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args Ec2KeyPairArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var ec2KeyPairResource = new AzureNative.AwsConnector.Ec2KeyPair("ec2KeyPairResource", new()
{
ResourceGroupName = "string",
Location = "string",
Name = "string",
Properties = new AzureNative.AwsConnector.Inputs.Ec2KeyPairPropertiesArgs
{
Arn = "string",
AwsAccountId = "string",
AwsProperties = new AzureNative.AwsConnector.Inputs.AwsEc2KeyPairPropertiesArgs
{
KeyFingerprint = "string",
KeyFormat = "string",
KeyName = "string",
KeyPairId = "string",
KeyType = "string",
PublicKeyMaterial = "string",
Tags = new[]
{
new AzureNative.AwsConnector.Inputs.TagArgs
{
Key = "string",
Value = "string",
},
},
},
AwsRegion = "string",
AwsSourceSchema = "string",
AwsTags =
{
{ "string", "string" },
},
PublicCloudConnectorsResourceId = "string",
PublicCloudResourceName = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := awsconnector.NewEc2KeyPair(ctx, "ec2KeyPairResource", &awsconnector.Ec2KeyPairArgs{
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Properties: &awsconnector.Ec2KeyPairPropertiesArgs{
Arn: pulumi.String("string"),
AwsAccountId: pulumi.String("string"),
AwsProperties: &awsconnector.AwsEc2KeyPairPropertiesArgs{
KeyFingerprint: pulumi.String("string"),
KeyFormat: pulumi.String("string"),
KeyName: pulumi.String("string"),
KeyPairId: pulumi.String("string"),
KeyType: pulumi.String("string"),
PublicKeyMaterial: pulumi.String("string"),
Tags: awsconnector.TagArray{
&awsconnector.TagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
AwsRegion: pulumi.String("string"),
AwsSourceSchema: pulumi.String("string"),
AwsTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
PublicCloudConnectorsResourceId: pulumi.String("string"),
PublicCloudResourceName: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var ec2KeyPairResource = new Ec2KeyPair("ec2KeyPairResource", Ec2KeyPairArgs.builder()
.resourceGroupName("string")
.location("string")
.name("string")
.properties(Ec2KeyPairPropertiesArgs.builder()
.arn("string")
.awsAccountId("string")
.awsProperties(AwsEc2KeyPairPropertiesArgs.builder()
.keyFingerprint("string")
.keyFormat("string")
.keyName("string")
.keyPairId("string")
.keyType("string")
.publicKeyMaterial("string")
.tags(TagArgs.builder()
.key("string")
.value("string")
.build())
.build())
.awsRegion("string")
.awsSourceSchema("string")
.awsTags(Map.of("string", "string"))
.publicCloudConnectorsResourceId("string")
.publicCloudResourceName("string")
.build())
.tags(Map.of("string", "string"))
.build());
ec2_key_pair_resource = azure_native.awsconnector.Ec2KeyPair("ec2KeyPairResource",
resource_group_name="string",
location="string",
name="string",
properties={
"arn": "string",
"aws_account_id": "string",
"aws_properties": {
"key_fingerprint": "string",
"key_format": "string",
"key_name": "string",
"key_pair_id": "string",
"key_type": "string",
"public_key_material": "string",
"tags": [{
"key": "string",
"value": "string",
}],
},
"aws_region": "string",
"aws_source_schema": "string",
"aws_tags": {
"string": "string",
},
"public_cloud_connectors_resource_id": "string",
"public_cloud_resource_name": "string",
},
tags={
"string": "string",
})
const ec2KeyPairResource = new azure_native.awsconnector.Ec2KeyPair("ec2KeyPairResource", {
resourceGroupName: "string",
location: "string",
name: "string",
properties: {
arn: "string",
awsAccountId: "string",
awsProperties: {
keyFingerprint: "string",
keyFormat: "string",
keyName: "string",
keyPairId: "string",
keyType: "string",
publicKeyMaterial: "string",
tags: [{
key: "string",
value: "string",
}],
},
awsRegion: "string",
awsSourceSchema: "string",
awsTags: {
string: "string",
},
publicCloudConnectorsResourceId: "string",
publicCloudResourceName: "string",
},
tags: {
string: "string",
},
});
type: azure-native:awsconnector:Ec2KeyPair
properties:
location: string
name: string
properties:
arn: string
awsAccountId: string
awsProperties:
keyFingerprint: string
keyFormat: string
keyName: string
keyPairId: string
keyType: string
publicKeyMaterial: string
tags:
- key: string
value: string
awsRegion: string
awsSourceSchema: string
awsTags:
string: string
publicCloudConnectorsResourceId: string
publicCloudResourceName: string
resourceGroupName: string
tags:
string: string
Ec2KeyPair Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Ec2KeyPair resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Name string
- Name of Ec2KeyPair
- Properties
Pulumi.
Azure Native. Aws Connector. Inputs. Ec2Key Pair Properties - The resource-specific properties for this resource.
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Name string
- Name of Ec2KeyPair
- Properties
Ec2Key
Pair Properties Args - The resource-specific properties for this resource.
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- name String
- Name of Ec2KeyPair
- properties
Ec2Key
Pair Properties - The resource-specific properties for this resource.
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- location string
- The geo-location where the resource lives
- name string
- Name of Ec2KeyPair
- properties
Ec2Key
Pair Properties - The resource-specific properties for this resource.
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- location str
- The geo-location where the resource lives
- name str
- Name of Ec2KeyPair
- properties
Ec2Key
Pair Properties Args - The resource-specific properties for this resource.
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- name String
- Name of Ec2KeyPair
- properties Property Map
- The resource-specific properties for this resource.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the Ec2KeyPair resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- System
Data Pulumi.Azure Native. Aws Connector. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AwsEc2KeyPairProperties, AwsEc2KeyPairPropertiesArgs
- Key
Fingerprint string - Property keyFingerprint
- Key
Format string | Pulumi.Azure Native. Aws Connector. Key Format - The format of the key pair. Default:
pem
- Key
Name string - A unique name for the key pair. Constraints: Up to 255 ASCII characters
- Key
Pair stringId - Property keyPairId
- Key
Type string | Pulumi.Azure Native. Aws Connector. Key Type - The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the
PublicKeyMaterial
property is specified, theKeyType
property is ignored, and the key type is inferred from thePublicKeyMaterial
value. Default:rsa
- Public
Key stringMaterial - The public key material. The
PublicKeyMaterial
property is used to import a key pair. If this property is not specified, then a new key pair will be created. - List<Pulumi.
Azure Native. Aws Connector. Inputs. Tag> - The tags to apply to the key pair.
- Key
Fingerprint string - Property keyFingerprint
- Key
Format string | KeyFormat - The format of the key pair. Default:
pem
- Key
Name string - A unique name for the key pair. Constraints: Up to 255 ASCII characters
- Key
Pair stringId - Property keyPairId
- Key
Type string | KeyType - The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the
PublicKeyMaterial
property is specified, theKeyType
property is ignored, and the key type is inferred from thePublicKeyMaterial
value. Default:rsa
- Public
Key stringMaterial - The public key material. The
PublicKeyMaterial
property is used to import a key pair. If this property is not specified, then a new key pair will be created. - []Tag
- The tags to apply to the key pair.
- key
Fingerprint String - Property keyFingerprint
- key
Format String | KeyFormat - The format of the key pair. Default:
pem
- key
Name String - A unique name for the key pair. Constraints: Up to 255 ASCII characters
- key
Pair StringId - Property keyPairId
- key
Type String | KeyType - The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the
PublicKeyMaterial
property is specified, theKeyType
property is ignored, and the key type is inferred from thePublicKeyMaterial
value. Default:rsa
- public
Key StringMaterial - The public key material. The
PublicKeyMaterial
property is used to import a key pair. If this property is not specified, then a new key pair will be created. - List<Tag>
- The tags to apply to the key pair.
- key
Fingerprint string - Property keyFingerprint
- key
Format string | KeyFormat - The format of the key pair. Default:
pem
- key
Name string - A unique name for the key pair. Constraints: Up to 255 ASCII characters
- key
Pair stringId - Property keyPairId
- key
Type string | KeyType - The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the
PublicKeyMaterial
property is specified, theKeyType
property is ignored, and the key type is inferred from thePublicKeyMaterial
value. Default:rsa
- public
Key stringMaterial - The public key material. The
PublicKeyMaterial
property is used to import a key pair. If this property is not specified, then a new key pair will be created. - Tag[]
- The tags to apply to the key pair.
- key_
fingerprint str - Property keyFingerprint
- key_
format str | KeyFormat - The format of the key pair. Default:
pem
- key_
name str - A unique name for the key pair. Constraints: Up to 255 ASCII characters
- key_
pair_ strid - Property keyPairId
- key_
type str | KeyType - The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the
PublicKeyMaterial
property is specified, theKeyType
property is ignored, and the key type is inferred from thePublicKeyMaterial
value. Default:rsa
- public_
key_ strmaterial - The public key material. The
PublicKeyMaterial
property is used to import a key pair. If this property is not specified, then a new key pair will be created. - Sequence[Tag]
- The tags to apply to the key pair.
- key
Fingerprint String - Property keyFingerprint
- key
Format String | "pem" | "ppk" - The format of the key pair. Default:
pem
- key
Name String - A unique name for the key pair. Constraints: Up to 255 ASCII characters
- key
Pair StringId - Property keyPairId
- key
Type String | "ed25519" | "rsa" - The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the
PublicKeyMaterial
property is specified, theKeyType
property is ignored, and the key type is inferred from thePublicKeyMaterial
value. Default:rsa
- public
Key StringMaterial - The public key material. The
PublicKeyMaterial
property is used to import a key pair. If this property is not specified, then a new key pair will be created. - List<Property Map>
- The tags to apply to the key pair.
AwsEc2KeyPairPropertiesResponse, AwsEc2KeyPairPropertiesResponseArgs
- Key
Fingerprint string - Property keyFingerprint
- Key
Format string - The format of the key pair. Default:
pem
- Key
Name string - A unique name for the key pair. Constraints: Up to 255 ASCII characters
- Key
Pair stringId - Property keyPairId
- Key
Type string - The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the
PublicKeyMaterial
property is specified, theKeyType
property is ignored, and the key type is inferred from thePublicKeyMaterial
value. Default:rsa
- Public
Key stringMaterial - The public key material. The
PublicKeyMaterial
property is used to import a key pair. If this property is not specified, then a new key pair will be created. - List<Pulumi.
Azure Native. Aws Connector. Inputs. Tag Response> - The tags to apply to the key pair.
- Key
Fingerprint string - Property keyFingerprint
- Key
Format string - The format of the key pair. Default:
pem
- Key
Name string - A unique name for the key pair. Constraints: Up to 255 ASCII characters
- Key
Pair stringId - Property keyPairId
- Key
Type string - The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the
PublicKeyMaterial
property is specified, theKeyType
property is ignored, and the key type is inferred from thePublicKeyMaterial
value. Default:rsa
- Public
Key stringMaterial - The public key material. The
PublicKeyMaterial
property is used to import a key pair. If this property is not specified, then a new key pair will be created. - []Tag
Response - The tags to apply to the key pair.
- key
Fingerprint String - Property keyFingerprint
- key
Format String - The format of the key pair. Default:
pem
- key
Name String - A unique name for the key pair. Constraints: Up to 255 ASCII characters
- key
Pair StringId - Property keyPairId
- key
Type String - The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the
PublicKeyMaterial
property is specified, theKeyType
property is ignored, and the key type is inferred from thePublicKeyMaterial
value. Default:rsa
- public
Key StringMaterial - The public key material. The
PublicKeyMaterial
property is used to import a key pair. If this property is not specified, then a new key pair will be created. - List<Tag
Response> - The tags to apply to the key pair.
- key
Fingerprint string - Property keyFingerprint
- key
Format string - The format of the key pair. Default:
pem
- key
Name string - A unique name for the key pair. Constraints: Up to 255 ASCII characters
- key
Pair stringId - Property keyPairId
- key
Type string - The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the
PublicKeyMaterial
property is specified, theKeyType
property is ignored, and the key type is inferred from thePublicKeyMaterial
value. Default:rsa
- public
Key stringMaterial - The public key material. The
PublicKeyMaterial
property is used to import a key pair. If this property is not specified, then a new key pair will be created. - Tag
Response[] - The tags to apply to the key pair.
- key_
fingerprint str - Property keyFingerprint
- key_
format str - The format of the key pair. Default:
pem
- key_
name str - A unique name for the key pair. Constraints: Up to 255 ASCII characters
- key_
pair_ strid - Property keyPairId
- key_
type str - The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the
PublicKeyMaterial
property is specified, theKeyType
property is ignored, and the key type is inferred from thePublicKeyMaterial
value. Default:rsa
- public_
key_ strmaterial - The public key material. The
PublicKeyMaterial
property is used to import a key pair. If this property is not specified, then a new key pair will be created. - Sequence[Tag
Response] - The tags to apply to the key pair.
- key
Fingerprint String - Property keyFingerprint
- key
Format String - The format of the key pair. Default:
pem
- key
Name String - A unique name for the key pair. Constraints: Up to 255 ASCII characters
- key
Pair StringId - Property keyPairId
- key
Type String - The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the
PublicKeyMaterial
property is specified, theKeyType
property is ignored, and the key type is inferred from thePublicKeyMaterial
value. Default:rsa
- public
Key StringMaterial - The public key material. The
PublicKeyMaterial
property is used to import a key pair. If this property is not specified, then a new key pair will be created. - List<Property Map>
- The tags to apply to the key pair.
Ec2KeyPairProperties, Ec2KeyPairPropertiesArgs
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties Pulumi.Azure Native. Aws Connector. Inputs. Aws Ec2Key Pair Properties - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties AwsEc2Key Pair Properties - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- map[string]string
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties AwsEc2Key Pair Properties - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String,String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
- arn string
- Amazon Resource Name (ARN)
- aws
Account stringId - AWS Account ID
- aws
Properties AwsEc2Key Pair Properties - AWS Properties
- aws
Region string - AWS Region
- aws
Source stringSchema - AWS Source Schema
- {[key: string]: string}
- AWS Tags
- public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud stringResource Name - Public Cloud Resource Name
- arn str
- Amazon Resource Name (ARN)
- aws_
account_ strid - AWS Account ID
- aws_
properties AwsEc2Key Pair Properties - AWS Properties
- aws_
region str - AWS Region
- aws_
source_ strschema - AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_
cloud_ strconnectors_ resource_ id - Public Cloud Connectors Resource ID
- public_
cloud_ strresource_ name - Public Cloud Resource Name
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties Property Map - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
Ec2KeyPairPropertiesResponse, Ec2KeyPairPropertiesResponseArgs
- Provisioning
State string - The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties Pulumi.Azure Native. Aws Connector. Inputs. Aws Ec2Key Pair Properties Response - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- Provisioning
State string - The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties AwsEc2Key Pair Properties Response - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- map[string]string
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- provisioning
State String - The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties AwsEc2Key Pair Properties Response - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String,String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
- provisioning
State string - The status of the last operation.
- arn string
- Amazon Resource Name (ARN)
- aws
Account stringId - AWS Account ID
- aws
Properties AwsEc2Key Pair Properties Response - AWS Properties
- aws
Region string - AWS Region
- aws
Source stringSchema - AWS Source Schema
- {[key: string]: string}
- AWS Tags
- public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud stringResource Name - Public Cloud Resource Name
- provisioning_
state str - The status of the last operation.
- arn str
- Amazon Resource Name (ARN)
- aws_
account_ strid - AWS Account ID
- aws_
properties AwsEc2Key Pair Properties Response - AWS Properties
- aws_
region str - AWS Region
- aws_
source_ strschema - AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_
cloud_ strconnectors_ resource_ id - Public Cloud Connectors Resource ID
- public_
cloud_ strresource_ name - Public Cloud Resource Name
- provisioning
State String - The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties Property Map - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
KeyFormat, KeyFormatArgs
- Pem
- pemKeyFormat enum pem
- Ppk
- ppkKeyFormat enum ppk
- Key
Format Pem - pemKeyFormat enum pem
- Key
Format Ppk - ppkKeyFormat enum ppk
- Pem
- pemKeyFormat enum pem
- Ppk
- ppkKeyFormat enum ppk
- Pem
- pemKeyFormat enum pem
- Ppk
- ppkKeyFormat enum ppk
- PEM
- pemKeyFormat enum pem
- PPK
- ppkKeyFormat enum ppk
- "pem"
- pemKeyFormat enum pem
- "ppk"
- ppkKeyFormat enum ppk
KeyType, KeyTypeArgs
- Ed25519
- ed25519KeyType enum ed25519
- Rsa
- rsaKeyType enum rsa
- Key
Type Ed25519 - ed25519KeyType enum ed25519
- Key
Type Rsa - rsaKeyType enum rsa
- Ed25519
- ed25519KeyType enum ed25519
- Rsa
- rsaKeyType enum rsa
- Ed25519
- ed25519KeyType enum ed25519
- Rsa
- rsaKeyType enum rsa
- ED25519
- ed25519KeyType enum ed25519
- RSA
- rsaKeyType enum rsa
- "ed25519"
- ed25519KeyType enum ed25519
- "rsa"
- rsaKeyType enum rsa
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Tag, TagArgs
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
TagResponse, TagResponseArgs
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:awsconnector:Ec2KeyPair cu /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/ec2KeyPairs/{name}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0