CfnAliasProps Struct
Properties for defining a CfnAlias.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_paymentcryptography as paymentcryptography } from 'aws-cdk-lib';
const cfnAliasProps: paymentcryptography.CfnAliasProps = {
aliasName: 'aliasName',
// the properties below are optional
keyArn: 'keyArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_paymentcryptography as paymentcryptography
cfn_alias_props = paymentcryptography.CfnAliasProps(
alias_name="aliasName",
# the properties below are optional
key_arn="keyArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.paymentcryptography.*;
CfnAliasProps cfnAliasProps = CfnAliasProps.builder()
.aliasName("aliasName")
// the properties below are optional
.keyArn("keyArn")
.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.AWS.PaymentCryptography;
var cfnAliasProps = new CfnAliasProps {
AliasName = "aliasName",
// the properties below are optional
KeyArn = "keyArn"
};
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"
cfnAliasProps := &CfnAliasProps{
AliasName: jsii.String("aliasName"),
// the properties below are optional
KeyArn: jsii.String("keyArn"),
}
Properties
A friendly name that you can use to refer to a key. The value must begin with `alias/` .
Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in AWS CloudTrail logs and other output.
keyArnoptionalstringkey_arnoptionalstrkeyArnoptionalStringKeyArnoptionalstringKeyArnoptional*string #The `KeyARN` of the key associated with the alias.