Skip to content
v2.278.0

CfnAccountAliasProps Struct ​

Properties for defining a CfnAccountAlias.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_supportapp as supportapp } from 'aws-cdk-lib';
const cfnAccountAliasProps: supportapp.CfnAccountAliasProps = {
  accountAlias: 'accountAlias',
};
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_supportapp as supportapp

cfn_account_alias_props = supportapp.CfnAccountAliasProps(
    account_alias="accountAlias"
)
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.supportapp.*;

CfnAccountAliasProps cfnAccountAliasProps = CfnAccountAliasProps.builder()
        .accountAlias("accountAlias")
        .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.SupportApp;

var cfnAccountAliasProps = new CfnAccountAliasProps {
    AccountAlias = "accountAlias"
};
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"

cfnAccountAliasProps := &CfnAccountAliasProps{
	AccountAlias: jsii.String("accountAlias"),
}

Properties ​

accountAliasstringaccount_aliasstraccountAliasStringAccountAliasstringAccountAlias*string required #
An alias or short name for an AWS account .