> **Experimental**
>
> `@aws-cdk/aws-gamelift-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# AliasAttributes

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

Used as argument in: [Alias.fromAliasAttributes](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-gamelift-alpha.Alias.html#fromaliasattributes)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/alias.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-gamelift-alpha/lib/alias.ts#L44)

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `aliasArn`: string — The ARN of the alias.

  **Default:** derived from `aliasId`.

  At least one of `aliasArn` and `aliasId` must be provided.

- `aliasId`: string — The identifier of the alias.

  **Default:** derived from `aliasArn`.

  At least one of `aliasId` and `aliasArn`  must be provided.
