azure-native.awsconnector.KmsAlias
Explore with Pulumi AI
A Microsoft.AwsConnector resource Azure REST API version: 2024-12-01.
Example Usage
KmsAliases_CreateOrReplace
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var kmsAlias = new AzureNative.AwsConnector.KmsAlias("kmsAlias", new()
    {
        Location = "zsrefx",
        Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
        Properties = new AzureNative.AwsConnector.Inputs.KmsAliasPropertiesArgs
        {
            Arn = "seecdsob",
            AwsAccountId = "mi",
            AwsProperties = new AzureNative.AwsConnector.Inputs.AwsKmsAliasPropertiesArgs
            {
                AliasName = "qpqfyfsgzbqqqwohdqogpksketglb",
                TargetKeyId = "fgiefgtmhdrvw",
            },
            AwsRegion = "zofqccwhxvtaeqhhtqwmruhcjkro",
            AwsSourceSchema = "iwkqjxnfjutfnhhocco",
            AwsTags = 
            {
                { "key6582", "wejhqyokgch" },
            },
            PublicCloudConnectorsResourceId = "n",
            PublicCloudResourceName = "qrdvkbofzddttwvcfunr",
        },
        ResourceGroupName = "rgkmsAlias",
        Tags = 
        {
            { "key1437", "lfgpfgxqkrvrlhnpwtzafonw" },
        },
    });
});
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.NewKmsAlias(ctx, "kmsAlias", &awsconnector.KmsAliasArgs{
			Location: pulumi.String("zsrefx"),
			Name:     pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
			Properties: &awsconnector.KmsAliasPropertiesArgs{
				Arn:          pulumi.String("seecdsob"),
				AwsAccountId: pulumi.String("mi"),
				AwsProperties: &awsconnector.AwsKmsAliasPropertiesArgs{
					AliasName:   pulumi.String("qpqfyfsgzbqqqwohdqogpksketglb"),
					TargetKeyId: pulumi.String("fgiefgtmhdrvw"),
				},
				AwsRegion:       pulumi.String("zofqccwhxvtaeqhhtqwmruhcjkro"),
				AwsSourceSchema: pulumi.String("iwkqjxnfjutfnhhocco"),
				AwsTags: pulumi.StringMap{
					"key6582": pulumi.String("wejhqyokgch"),
				},
				PublicCloudConnectorsResourceId: pulumi.String("n"),
				PublicCloudResourceName:         pulumi.String("qrdvkbofzddttwvcfunr"),
			},
			ResourceGroupName: pulumi.String("rgkmsAlias"),
			Tags: pulumi.StringMap{
				"key1437": pulumi.String("lfgpfgxqkrvrlhnpwtzafonw"),
			},
		})
		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.KmsAlias;
import com.pulumi.azurenative.awsconnector.KmsAliasArgs;
import com.pulumi.azurenative.awsconnector.inputs.KmsAliasPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsKmsAliasPropertiesArgs;
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 kmsAlias = new KmsAlias("kmsAlias", KmsAliasArgs.builder()
            .location("zsrefx")
            .name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
            .properties(KmsAliasPropertiesArgs.builder()
                .arn("seecdsob")
                .awsAccountId("mi")
                .awsProperties(AwsKmsAliasPropertiesArgs.builder()
                    .aliasName("qpqfyfsgzbqqqwohdqogpksketglb")
                    .targetKeyId("fgiefgtmhdrvw")
                    .build())
                .awsRegion("zofqccwhxvtaeqhhtqwmruhcjkro")
                .awsSourceSchema("iwkqjxnfjutfnhhocco")
                .awsTags(Map.of("key6582", "wejhqyokgch"))
                .publicCloudConnectorsResourceId("n")
                .publicCloudResourceName("qrdvkbofzddttwvcfunr")
                .build())
            .resourceGroupName("rgkmsAlias")
            .tags(Map.of("key1437", "lfgpfgxqkrvrlhnpwtzafonw"))
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const kmsAlias = new azure_native.awsconnector.KmsAlias("kmsAlias", {
    location: "zsrefx",
    name: "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
    properties: {
        arn: "seecdsob",
        awsAccountId: "mi",
        awsProperties: {
            aliasName: "qpqfyfsgzbqqqwohdqogpksketglb",
            targetKeyId: "fgiefgtmhdrvw",
        },
        awsRegion: "zofqccwhxvtaeqhhtqwmruhcjkro",
        awsSourceSchema: "iwkqjxnfjutfnhhocco",
        awsTags: {
            key6582: "wejhqyokgch",
        },
        publicCloudConnectorsResourceId: "n",
        publicCloudResourceName: "qrdvkbofzddttwvcfunr",
    },
    resourceGroupName: "rgkmsAlias",
    tags: {
        key1437: "lfgpfgxqkrvrlhnpwtzafonw",
    },
});
import pulumi
import pulumi_azure_native as azure_native
kms_alias = azure_native.awsconnector.KmsAlias("kmsAlias",
    location="zsrefx",
    name="Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
    properties={
        "arn": "seecdsob",
        "aws_account_id": "mi",
        "aws_properties": {
            "alias_name": "qpqfyfsgzbqqqwohdqogpksketglb",
            "target_key_id": "fgiefgtmhdrvw",
        },
        "aws_region": "zofqccwhxvtaeqhhtqwmruhcjkro",
        "aws_source_schema": "iwkqjxnfjutfnhhocco",
        "aws_tags": {
            "key6582": "wejhqyokgch",
        },
        "public_cloud_connectors_resource_id": "n",
        "public_cloud_resource_name": "qrdvkbofzddttwvcfunr",
    },
    resource_group_name="rgkmsAlias",
    tags={
        "key1437": "lfgpfgxqkrvrlhnpwtzafonw",
    })
resources:
  kmsAlias:
    type: azure-native:awsconnector:KmsAlias
    properties:
      location: zsrefx
      name: Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])
      properties:
        arn: seecdsob
        awsAccountId: mi
        awsProperties:
          aliasName: qpqfyfsgzbqqqwohdqogpksketglb
          targetKeyId: fgiefgtmhdrvw
        awsRegion: zofqccwhxvtaeqhhtqwmruhcjkro
        awsSourceSchema: iwkqjxnfjutfnhhocco
        awsTags:
          key6582: wejhqyokgch
        publicCloudConnectorsResourceId: n
        publicCloudResourceName: qrdvkbofzddttwvcfunr
      resourceGroupName: rgkmsAlias
      tags:
        key1437: lfgpfgxqkrvrlhnpwtzafonw
Create KmsAlias Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KmsAlias(name: string, args: KmsAliasArgs, opts?: CustomResourceOptions);@overload
def KmsAlias(resource_name: str,
             args: KmsAliasArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def KmsAlias(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             resource_group_name: Optional[str] = None,
             location: Optional[str] = None,
             name: Optional[str] = None,
             properties: Optional[KmsAliasPropertiesArgs] = None,
             tags: Optional[Mapping[str, str]] = None)func NewKmsAlias(ctx *Context, name string, args KmsAliasArgs, opts ...ResourceOption) (*KmsAlias, error)public KmsAlias(string name, KmsAliasArgs args, CustomResourceOptions? opts = null)
public KmsAlias(String name, KmsAliasArgs args)
public KmsAlias(String name, KmsAliasArgs args, CustomResourceOptions options)
type: azure-native:awsconnector:KmsAlias
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 KmsAliasArgs
- 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 KmsAliasArgs
- 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 KmsAliasArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KmsAliasArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KmsAliasArgs
- 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 kmsAliasResource = new AzureNative.AwsConnector.KmsAlias("kmsAliasResource", new()
{
    ResourceGroupName = "string",
    Location = "string",
    Name = "string",
    Properties = new AzureNative.AwsConnector.Inputs.KmsAliasPropertiesArgs
    {
        Arn = "string",
        AwsAccountId = "string",
        AwsProperties = new AzureNative.AwsConnector.Inputs.AwsKmsAliasPropertiesArgs
        {
            AliasName = "string",
            TargetKeyId = "string",
        },
        AwsRegion = "string",
        AwsSourceSchema = "string",
        AwsTags = 
        {
            { "string", "string" },
        },
        PublicCloudConnectorsResourceId = "string",
        PublicCloudResourceName = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := awsconnector.NewKmsAlias(ctx, "kmsAliasResource", &awsconnector.KmsAliasArgs{
	ResourceGroupName: pulumi.String("string"),
	Location:          pulumi.String("string"),
	Name:              pulumi.String("string"),
	Properties: &awsconnector.KmsAliasPropertiesArgs{
		Arn:          pulumi.String("string"),
		AwsAccountId: pulumi.String("string"),
		AwsProperties: &awsconnector.AwsKmsAliasPropertiesArgs{
			AliasName:   pulumi.String("string"),
			TargetKeyId: 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 kmsAliasResource = new KmsAlias("kmsAliasResource", KmsAliasArgs.builder()
    .resourceGroupName("string")
    .location("string")
    .name("string")
    .properties(KmsAliasPropertiesArgs.builder()
        .arn("string")
        .awsAccountId("string")
        .awsProperties(AwsKmsAliasPropertiesArgs.builder()
            .aliasName("string")
            .targetKeyId("string")
            .build())
        .awsRegion("string")
        .awsSourceSchema("string")
        .awsTags(Map.of("string", "string"))
        .publicCloudConnectorsResourceId("string")
        .publicCloudResourceName("string")
        .build())
    .tags(Map.of("string", "string"))
    .build());
kms_alias_resource = azure_native.awsconnector.KmsAlias("kmsAliasResource",
    resource_group_name="string",
    location="string",
    name="string",
    properties={
        "arn": "string",
        "aws_account_id": "string",
        "aws_properties": {
            "alias_name": "string",
            "target_key_id": "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 kmsAliasResource = new azure_native.awsconnector.KmsAlias("kmsAliasResource", {
    resourceGroupName: "string",
    location: "string",
    name: "string",
    properties: {
        arn: "string",
        awsAccountId: "string",
        awsProperties: {
            aliasName: "string",
            targetKeyId: "string",
        },
        awsRegion: "string",
        awsSourceSchema: "string",
        awsTags: {
            string: "string",
        },
        publicCloudConnectorsResourceId: "string",
        publicCloudResourceName: "string",
    },
    tags: {
        string: "string",
    },
});
type: azure-native:awsconnector:KmsAlias
properties:
    location: string
    name: string
    properties:
        arn: string
        awsAccountId: string
        awsProperties:
            aliasName: string
            targetKeyId: string
        awsRegion: string
        awsSourceSchema: string
        awsTags:
            string: string
        publicCloudConnectorsResourceId: string
        publicCloudResourceName: string
    resourceGroupName: string
    tags:
        string: string
KmsAlias 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 KmsAlias 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 KmsAlias
- Properties
Pulumi.Azure Native. Aws Connector. Inputs. Kms Alias 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 KmsAlias
- Properties
KmsAlias 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 KmsAlias
- properties
KmsAlias 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 KmsAlias
- properties
KmsAlias 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 KmsAlias
- properties
KmsAlias 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 KmsAlias
- 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 KmsAlias 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
AwsKmsAliasProperties, AwsKmsAliasPropertiesArgs        
- AliasName string
- Specifies the alias name. This value must begin with alias/followed by a name, such asalias/ExampleAlias. If you change the value of theAliasNameproperty, the existing alias is deleted and a new alias is created for the specified KMS key. This change can disrupt applications that use the alias. It can also allow or deny access to a KMS key affected by attribute-based access control (ABAC). The alias must be string of 1-256 characters. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). The alias name cannot begin withalias/aws/. Thealias/aws/prefix is reserved for .
- TargetKey stringId 
- Associates the alias with the specified . The KMS key must be in the same AWS-account and Region. A valid key ID is required. If you supply a null or empty string value, this operation returns an error. For help finding the key ID and ARN, see Finding the key ID and ARN in the Developer Guide. Specify the key ID or the key ARN of the KMS key. For example: + Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab+ Key ARN:arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890abTo get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
- AliasName string
- Specifies the alias name. This value must begin with alias/followed by a name, such asalias/ExampleAlias. If you change the value of theAliasNameproperty, the existing alias is deleted and a new alias is created for the specified KMS key. This change can disrupt applications that use the alias. It can also allow or deny access to a KMS key affected by attribute-based access control (ABAC). The alias must be string of 1-256 characters. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). The alias name cannot begin withalias/aws/. Thealias/aws/prefix is reserved for .
- TargetKey stringId 
- Associates the alias with the specified . The KMS key must be in the same AWS-account and Region. A valid key ID is required. If you supply a null or empty string value, this operation returns an error. For help finding the key ID and ARN, see Finding the key ID and ARN in the Developer Guide. Specify the key ID or the key ARN of the KMS key. For example: + Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab+ Key ARN:arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890abTo get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
- aliasName String
- Specifies the alias name. This value must begin with alias/followed by a name, such asalias/ExampleAlias. If you change the value of theAliasNameproperty, the existing alias is deleted and a new alias is created for the specified KMS key. This change can disrupt applications that use the alias. It can also allow or deny access to a KMS key affected by attribute-based access control (ABAC). The alias must be string of 1-256 characters. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). The alias name cannot begin withalias/aws/. Thealias/aws/prefix is reserved for .
- targetKey StringId 
- Associates the alias with the specified . The KMS key must be in the same AWS-account and Region. A valid key ID is required. If you supply a null or empty string value, this operation returns an error. For help finding the key ID and ARN, see Finding the key ID and ARN in the Developer Guide. Specify the key ID or the key ARN of the KMS key. For example: + Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab+ Key ARN:arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890abTo get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
- aliasName string
- Specifies the alias name. This value must begin with alias/followed by a name, such asalias/ExampleAlias. If you change the value of theAliasNameproperty, the existing alias is deleted and a new alias is created for the specified KMS key. This change can disrupt applications that use the alias. It can also allow or deny access to a KMS key affected by attribute-based access control (ABAC). The alias must be string of 1-256 characters. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). The alias name cannot begin withalias/aws/. Thealias/aws/prefix is reserved for .
- targetKey stringId 
- Associates the alias with the specified . The KMS key must be in the same AWS-account and Region. A valid key ID is required. If you supply a null or empty string value, this operation returns an error. For help finding the key ID and ARN, see Finding the key ID and ARN in the Developer Guide. Specify the key ID or the key ARN of the KMS key. For example: + Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab+ Key ARN:arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890abTo get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
- alias_name str
- Specifies the alias name. This value must begin with alias/followed by a name, such asalias/ExampleAlias. If you change the value of theAliasNameproperty, the existing alias is deleted and a new alias is created for the specified KMS key. This change can disrupt applications that use the alias. It can also allow or deny access to a KMS key affected by attribute-based access control (ABAC). The alias must be string of 1-256 characters. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). The alias name cannot begin withalias/aws/. Thealias/aws/prefix is reserved for .
- target_key_ strid 
- Associates the alias with the specified . The KMS key must be in the same AWS-account and Region. A valid key ID is required. If you supply a null or empty string value, this operation returns an error. For help finding the key ID and ARN, see Finding the key ID and ARN in the Developer Guide. Specify the key ID or the key ARN of the KMS key. For example: + Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab+ Key ARN:arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890abTo get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
- aliasName String
- Specifies the alias name. This value must begin with alias/followed by a name, such asalias/ExampleAlias. If you change the value of theAliasNameproperty, the existing alias is deleted and a new alias is created for the specified KMS key. This change can disrupt applications that use the alias. It can also allow or deny access to a KMS key affected by attribute-based access control (ABAC). The alias must be string of 1-256 characters. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). The alias name cannot begin withalias/aws/. Thealias/aws/prefix is reserved for .
- targetKey StringId 
- Associates the alias with the specified . The KMS key must be in the same AWS-account and Region. A valid key ID is required. If you supply a null or empty string value, this operation returns an error. For help finding the key ID and ARN, see Finding the key ID and ARN in the Developer Guide. Specify the key ID or the key ARN of the KMS key. For example: + Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab+ Key ARN:arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890abTo get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
AwsKmsAliasPropertiesResponse, AwsKmsAliasPropertiesResponseArgs          
- AliasName string
- Specifies the alias name. This value must begin with alias/followed by a name, such asalias/ExampleAlias. If you change the value of theAliasNameproperty, the existing alias is deleted and a new alias is created for the specified KMS key. This change can disrupt applications that use the alias. It can also allow or deny access to a KMS key affected by attribute-based access control (ABAC). The alias must be string of 1-256 characters. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). The alias name cannot begin withalias/aws/. Thealias/aws/prefix is reserved for .
- TargetKey stringId 
- Associates the alias with the specified . The KMS key must be in the same AWS-account and Region. A valid key ID is required. If you supply a null or empty string value, this operation returns an error. For help finding the key ID and ARN, see Finding the key ID and ARN in the Developer Guide. Specify the key ID or the key ARN of the KMS key. For example: + Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab+ Key ARN:arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890abTo get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
- AliasName string
- Specifies the alias name. This value must begin with alias/followed by a name, such asalias/ExampleAlias. If you change the value of theAliasNameproperty, the existing alias is deleted and a new alias is created for the specified KMS key. This change can disrupt applications that use the alias. It can also allow or deny access to a KMS key affected by attribute-based access control (ABAC). The alias must be string of 1-256 characters. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). The alias name cannot begin withalias/aws/. Thealias/aws/prefix is reserved for .
- TargetKey stringId 
- Associates the alias with the specified . The KMS key must be in the same AWS-account and Region. A valid key ID is required. If you supply a null or empty string value, this operation returns an error. For help finding the key ID and ARN, see Finding the key ID and ARN in the Developer Guide. Specify the key ID or the key ARN of the KMS key. For example: + Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab+ Key ARN:arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890abTo get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
- aliasName String
- Specifies the alias name. This value must begin with alias/followed by a name, such asalias/ExampleAlias. If you change the value of theAliasNameproperty, the existing alias is deleted and a new alias is created for the specified KMS key. This change can disrupt applications that use the alias. It can also allow or deny access to a KMS key affected by attribute-based access control (ABAC). The alias must be string of 1-256 characters. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). The alias name cannot begin withalias/aws/. Thealias/aws/prefix is reserved for .
- targetKey StringId 
- Associates the alias with the specified . The KMS key must be in the same AWS-account and Region. A valid key ID is required. If you supply a null or empty string value, this operation returns an error. For help finding the key ID and ARN, see Finding the key ID and ARN in the Developer Guide. Specify the key ID or the key ARN of the KMS key. For example: + Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab+ Key ARN:arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890abTo get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
- aliasName string
- Specifies the alias name. This value must begin with alias/followed by a name, such asalias/ExampleAlias. If you change the value of theAliasNameproperty, the existing alias is deleted and a new alias is created for the specified KMS key. This change can disrupt applications that use the alias. It can also allow or deny access to a KMS key affected by attribute-based access control (ABAC). The alias must be string of 1-256 characters. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). The alias name cannot begin withalias/aws/. Thealias/aws/prefix is reserved for .
- targetKey stringId 
- Associates the alias with the specified . The KMS key must be in the same AWS-account and Region. A valid key ID is required. If you supply a null or empty string value, this operation returns an error. For help finding the key ID and ARN, see Finding the key ID and ARN in the Developer Guide. Specify the key ID or the key ARN of the KMS key. For example: + Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab+ Key ARN:arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890abTo get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
- alias_name str
- Specifies the alias name. This value must begin with alias/followed by a name, such asalias/ExampleAlias. If you change the value of theAliasNameproperty, the existing alias is deleted and a new alias is created for the specified KMS key. This change can disrupt applications that use the alias. It can also allow or deny access to a KMS key affected by attribute-based access control (ABAC). The alias must be string of 1-256 characters. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). The alias name cannot begin withalias/aws/. Thealias/aws/prefix is reserved for .
- target_key_ strid 
- Associates the alias with the specified . The KMS key must be in the same AWS-account and Region. A valid key ID is required. If you supply a null or empty string value, this operation returns an error. For help finding the key ID and ARN, see Finding the key ID and ARN in the Developer Guide. Specify the key ID or the key ARN of the KMS key. For example: + Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab+ Key ARN:arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890abTo get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
- aliasName String
- Specifies the alias name. This value must begin with alias/followed by a name, such asalias/ExampleAlias. If you change the value of theAliasNameproperty, the existing alias is deleted and a new alias is created for the specified KMS key. This change can disrupt applications that use the alias. It can also allow or deny access to a KMS key affected by attribute-based access control (ABAC). The alias must be string of 1-256 characters. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). The alias name cannot begin withalias/aws/. Thealias/aws/prefix is reserved for .
- targetKey StringId 
- Associates the alias with the specified . The KMS key must be in the same AWS-account and Region. A valid key ID is required. If you supply a null or empty string value, this operation returns an error. For help finding the key ID and ARN, see Finding the key ID and ARN in the Developer Guide. Specify the key ID or the key ARN of the KMS key. For example: + Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab+ Key ARN:arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890abTo get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
KmsAliasProperties, KmsAliasPropertiesArgs      
- Arn string
- Amazon Resource Name (ARN)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties Pulumi.Azure Native. Aws Connector. Inputs. Aws Kms Alias 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 AwsKms Alias 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 AwsKms Alias 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 AwsKms Alias 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 AwsKms Alias 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
KmsAliasPropertiesResponse, KmsAliasPropertiesResponseArgs        
- 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 Kms Alias 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 AwsKms Alias 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 AwsKms Alias 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 AwsKms Alias 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 AwsKms Alias 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
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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:awsconnector:KmsAlias runvybddwo /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/kmsAliases/{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