Skip to content
v2.278.0

AliasReference Struct ​

A reference to a Alias resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kms as interfaces_kms } from 'aws-cdk-lib/interfaces';
const aliasReference: interfaces_kms.AliasReference = {
  aliasName: 'aliasName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_kms as interfaces_kms

alias_reference = interfaces_kms.AliasReference(
    alias_name="aliasName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.kms.*;

AliasReference aliasReference = AliasReference.builder()
        .aliasName("aliasName")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.KMS;

var aliasReference = new AliasReference {
    AliasName = "aliasName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

aliasReference := &AliasReference{
	AliasName: jsii.String("aliasName"),
}

Properties ​

aliasNamestringalias_namestraliasNameStringAliasNamestringAliasName*string required #
The AliasName of the Alias resource.