Skip to content
v2.277.0

Experimental

@aws-cdk/aws-gamelift-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

AliasAttributes Struct ​

A full specification of an alias that can be used to import it fluently into the CDK application.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as gamelift_alpha from '@aws-cdk/aws-gamelift-alpha';
const aliasAttributes: gamelift_alpha.AliasAttributes = {
  aliasArn: 'aliasArn',
  aliasId: 'aliasId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_gamelift_alpha as gamelift_alpha

alias_attributes = gamelift_alpha.AliasAttributes(
    alias_arn="aliasArn",
    alias_id="aliasId"
)
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.gamelift.alpha.*;

AliasAttributes aliasAttributes = AliasAttributes.builder()
        .aliasArn("aliasArn")
        .aliasId("aliasId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.GameLift.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift.Alpha;

var aliasAttributes = new AliasAttributes {
    AliasArn = "aliasArn",
    AliasId = "aliasId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdkgameliftalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import gamelift_alpha "github.com/aws/aws-cdk-go/awscdkgameliftalpha"

aliasAttributes := &AliasAttributes{
	AliasArn: jsii.String("aliasArn"),
	AliasId: jsii.String("aliasId"),
}

Properties ​

aliasArnoptionalstringalias_arnoptionalstraliasArnoptionalStringAliasArnoptionalstringAliasArnoptional*string#
The ARN of the alias.

Default: derived from aliasId.

At least one of aliasArn and aliasId must be provided.

aliasIdoptionalstringalias_idoptionalstraliasIdoptionalStringAliasIdoptionalstringAliasIdoptional*string#
The identifier of the alias.

Default: derived from aliasArn.

At least one of aliasId and aliasArn must be provided.