azure-native.awsconnector.Ec2KeyPair
Explore with Pulumi AI
A Microsoft.AwsConnector resource
Uses 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 * 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",
    },
});
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",
    })
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:
- ResourceGroup 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.
- ResourceGroup 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
Ec2KeyPair Properties Args 
- The resource-specific properties for this resource.
- map[string]string
- Resource tags.
- resourceGroup 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
Ec2KeyPair Properties 
- The resource-specific properties for this resource.
- Map<String,String>
- Resource tags.
- resourceGroup 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
Ec2KeyPair 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
Ec2KeyPair Properties Args 
- The resource-specific properties for this resource.
- Mapping[str, str]
- Resource tags.
- resourceGroup 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.
- SystemData 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.
- SystemData 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.
- systemData 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.
- systemData 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.
- systemData 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        
- KeyFingerprint string
- Property keyFingerprint
- KeyFormat string | Pulumi.Azure Native. Aws Connector. Key Format 
- The format of the key pair. Default: pem
- KeyName string
- A unique name for the key pair. Constraints: Up to 255 ASCII characters
- KeyPair stringId 
- Property keyPairId
- KeyType 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 PublicKeyMaterialproperty is specified, theKeyTypeproperty is ignored, and the key type is inferred from thePublicKeyMaterialvalue. Default:rsa
- PublicKey stringMaterial 
- The public key material. The PublicKeyMaterialproperty 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.
- KeyFingerprint string
- Property keyFingerprint
- KeyFormat string | KeyFormat 
- The format of the key pair. Default: pem
- KeyName string
- A unique name for the key pair. Constraints: Up to 255 ASCII characters
- KeyPair stringId 
- Property keyPairId
- KeyType string | KeyType 
- The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the PublicKeyMaterialproperty is specified, theKeyTypeproperty is ignored, and the key type is inferred from thePublicKeyMaterialvalue. Default:rsa
- PublicKey stringMaterial 
- The public key material. The PublicKeyMaterialproperty 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.
- keyFingerprint String
- Property keyFingerprint
- keyFormat String | KeyFormat 
- The format of the key pair. Default: pem
- keyName String
- A unique name for the key pair. Constraints: Up to 255 ASCII characters
- keyPair StringId 
- Property keyPairId
- keyType String | KeyType 
- The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the PublicKeyMaterialproperty is specified, theKeyTypeproperty is ignored, and the key type is inferred from thePublicKeyMaterialvalue. Default:rsa
- publicKey StringMaterial 
- The public key material. The PublicKeyMaterialproperty 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.
- keyFingerprint string
- Property keyFingerprint
- keyFormat string | KeyFormat 
- The format of the key pair. Default: pem
- keyName string
- A unique name for the key pair. Constraints: Up to 255 ASCII characters
- keyPair stringId 
- Property keyPairId
- keyType string | KeyType 
- The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the PublicKeyMaterialproperty is specified, theKeyTypeproperty is ignored, and the key type is inferred from thePublicKeyMaterialvalue. Default:rsa
- publicKey stringMaterial 
- The public key material. The PublicKeyMaterialproperty 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 PublicKeyMaterialproperty is specified, theKeyTypeproperty is ignored, and the key type is inferred from thePublicKeyMaterialvalue. Default:rsa
- public_key_ strmaterial 
- The public key material. The PublicKeyMaterialproperty 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.
- keyFingerprint String
- Property keyFingerprint
- keyFormat String | "pem" | "ppk"
- The format of the key pair. Default: pem
- keyName String
- A unique name for the key pair. Constraints: Up to 255 ASCII characters
- keyPair StringId 
- Property keyPairId
- keyType String | "ed25519" | "rsa"
- The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the PublicKeyMaterialproperty is specified, theKeyTypeproperty is ignored, and the key type is inferred from thePublicKeyMaterialvalue. Default:rsa
- publicKey StringMaterial 
- The public key material. The PublicKeyMaterialproperty 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          
- KeyFingerprint string
- Property keyFingerprint
- KeyFormat string
- The format of the key pair. Default: pem
- KeyName string
- A unique name for the key pair. Constraints: Up to 255 ASCII characters
- KeyPair stringId 
- Property keyPairId
- KeyType string
- The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the PublicKeyMaterialproperty is specified, theKeyTypeproperty is ignored, and the key type is inferred from thePublicKeyMaterialvalue. Default:rsa
- PublicKey stringMaterial 
- The public key material. The PublicKeyMaterialproperty 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.
- KeyFingerprint string
- Property keyFingerprint
- KeyFormat string
- The format of the key pair. Default: pem
- KeyName string
- A unique name for the key pair. Constraints: Up to 255 ASCII characters
- KeyPair stringId 
- Property keyPairId
- KeyType string
- The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the PublicKeyMaterialproperty is specified, theKeyTypeproperty is ignored, and the key type is inferred from thePublicKeyMaterialvalue. Default:rsa
- PublicKey stringMaterial 
- The public key material. The PublicKeyMaterialproperty is used to import a key pair. If this property is not specified, then a new key pair will be created.
- 
[]TagResponse 
- The tags to apply to the key pair.
- keyFingerprint String
- Property keyFingerprint
- keyFormat String
- The format of the key pair. Default: pem
- keyName String
- A unique name for the key pair. Constraints: Up to 255 ASCII characters
- keyPair StringId 
- Property keyPairId
- keyType String
- The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the PublicKeyMaterialproperty is specified, theKeyTypeproperty is ignored, and the key type is inferred from thePublicKeyMaterialvalue. Default:rsa
- publicKey StringMaterial 
- The public key material. The PublicKeyMaterialproperty is used to import a key pair. If this property is not specified, then a new key pair will be created.
- 
List<TagResponse> 
- The tags to apply to the key pair.
- keyFingerprint string
- Property keyFingerprint
- keyFormat string
- The format of the key pair. Default: pem
- keyName string
- A unique name for the key pair. Constraints: Up to 255 ASCII characters
- keyPair stringId 
- Property keyPairId
- keyType string
- The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the PublicKeyMaterialproperty is specified, theKeyTypeproperty is ignored, and the key type is inferred from thePublicKeyMaterialvalue. Default:rsa
- publicKey stringMaterial 
- The public key material. The PublicKeyMaterialproperty is used to import a key pair. If this property is not specified, then a new key pair will be created.
- 
TagResponse[] 
- 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 PublicKeyMaterialproperty is specified, theKeyTypeproperty is ignored, and the key type is inferred from thePublicKeyMaterialvalue. Default:rsa
- public_key_ strmaterial 
- The public key material. The PublicKeyMaterialproperty is used to import a key pair. If this property is not specified, then a new key pair will be created.
- 
Sequence[TagResponse] 
- The tags to apply to the key pair.
- keyFingerprint String
- Property keyFingerprint
- keyFormat String
- The format of the key pair. Default: pem
- keyName String
- A unique name for the key pair. Constraints: Up to 255 ASCII characters
- keyPair StringId 
- Property keyPairId
- keyType String
- The type of key pair. Note that ED25519 keys are not supported for Windows instances. If the PublicKeyMaterialproperty is specified, theKeyTypeproperty is ignored, and the key type is inferred from thePublicKeyMaterialvalue. Default:rsa
- publicKey StringMaterial 
- The public key material. The PublicKeyMaterialproperty 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)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties Pulumi.Azure Native. Aws Connector. Inputs. Aws Ec2Key Pair Properties 
- AWS Properties
- AwsRegion string
- AWS Region
- AwsSource stringSchema 
- AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- PublicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- PublicCloud stringResource Name 
- Public Cloud Resource Name
- Arn string
- Amazon Resource Name (ARN)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties AwsEc2Key Pair Properties 
- AWS Properties
- AwsRegion string
- AWS Region
- AwsSource stringSchema 
- AWS Source Schema
- map[string]string
- AWS Tags
- PublicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- PublicCloud stringResource Name 
- Public Cloud Resource Name
- arn String
- Amazon Resource Name (ARN)
- awsAccount StringId 
- AWS Account ID
- awsProperties AwsEc2Key Pair Properties 
- AWS Properties
- awsRegion String
- AWS Region
- awsSource StringSchema 
- AWS Source Schema
- Map<String,String>
- AWS Tags
- publicCloud StringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud StringResource Name 
- Public Cloud Resource Name
- arn string
- Amazon Resource Name (ARN)
- awsAccount stringId 
- AWS Account ID
- awsProperties AwsEc2Key Pair Properties 
- AWS Properties
- awsRegion string
- AWS Region
- awsSource stringSchema 
- AWS Source Schema
- {[key: string]: string}
- AWS Tags
- publicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud 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)
- awsAccount StringId 
- AWS Account ID
- awsProperties Property Map
- AWS Properties
- awsRegion String
- AWS Region
- awsSource StringSchema 
- AWS Source Schema
- Map<String>
- AWS Tags
- publicCloud StringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud StringResource Name 
- Public Cloud Resource Name
Ec2KeyPairPropertiesResponse, Ec2KeyPairPropertiesResponseArgs        
- ProvisioningState string
- The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties Pulumi.Azure Native. Aws Connector. Inputs. Aws Ec2Key Pair Properties Response 
- AWS Properties
- AwsRegion string
- AWS Region
- AwsSource stringSchema 
- AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- PublicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- PublicCloud stringResource Name 
- Public Cloud Resource Name
- ProvisioningState string
- The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties AwsEc2Key Pair Properties Response 
- AWS Properties
- AwsRegion string
- AWS Region
- AwsSource stringSchema 
- AWS Source Schema
- map[string]string
- AWS Tags
- PublicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- PublicCloud stringResource Name 
- Public Cloud Resource Name
- provisioningState String
- The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- awsAccount StringId 
- AWS Account ID
- awsProperties AwsEc2Key Pair Properties Response 
- AWS Properties
- awsRegion String
- AWS Region
- awsSource StringSchema 
- AWS Source Schema
- Map<String,String>
- AWS Tags
- publicCloud StringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud StringResource Name 
- Public Cloud Resource Name
- provisioningState string
- The status of the last operation.
- arn string
- Amazon Resource Name (ARN)
- awsAccount stringId 
- AWS Account ID
- awsProperties AwsEc2Key Pair Properties Response 
- AWS Properties
- awsRegion string
- AWS Region
- awsSource stringSchema 
- AWS Source Schema
- {[key: string]: string}
- AWS Tags
- publicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud 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
- provisioningState String
- The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- awsAccount StringId 
- AWS Account ID
- awsProperties Property Map
- AWS Properties
- awsRegion String
- AWS Region
- awsSource StringSchema 
- AWS Source Schema
- Map<String>
- AWS Tags
- publicCloud StringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud StringResource Name 
- Public Cloud Resource Name
KeyFormat, KeyFormatArgs    
- Pem
- pemKeyFormat enum pem
- Ppk
- ppkKeyFormat enum ppk
- KeyFormat Pem 
- pemKeyFormat enum pem
- KeyFormat 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
- KeyType Ed25519 
- ed25519KeyType enum ed25519
- KeyType 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      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified 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