Class Alias
Provides a Gamelift Alias resource.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.GameLift.Alias("example", new Aws.GameLift.AliasArgs
{
Description = "Example Description",
RoutingStrategy = new Aws.GameLift.Inputs.AliasRoutingStrategyArgs
{
Message = "Example Message",
Type = "TERMINAL",
},
});
}
}
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.GameLift
Assembly: Pulumi.Aws.dll
Syntax
public class Alias : CustomResource
Constructors
View SourceAlias(String, AliasArgs, CustomResourceOptions)
Create a Alias resource with the given unique name, arguments, and options.
Declaration
public Alias(string name, AliasArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| AliasArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceArn
Alias ARN.
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
Description of the alias.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Name of the alias.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RoutingStrategy
Specifies the fleet and/or routing type to use for the alias.
Declaration
public Output<AliasRoutingStrategy> RoutingStrategy { get; }
Property Value
| Type | Description |
|---|---|
| Output<AliasRoutingStrategy> |
Tags
Key-value map of resource tags
Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
Methods
View SourceGet(String, Input<String>, AliasState, CustomResourceOptions)
Get an existing Alias resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Alias Get(string name, Input<string> id, AliasState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| AliasState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Alias |