We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
aws-native.gamelift.getAlias
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
The AWS::GameLift::Alias resource creates an alias for an Amazon GameLift (GameLift) fleet destination.
Using getAlias
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAlias(args: GetAliasArgs, opts?: InvokeOptions): Promise<GetAliasResult>
function getAliasOutput(args: GetAliasOutputArgs, opts?: InvokeOptions): Output<GetAliasResult>
def get_alias(alias_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAliasResult
def get_alias_output(alias_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAliasResult]
func LookupAlias(ctx *Context, args *LookupAliasArgs, opts ...InvokeOption) (*LookupAliasResult, error)
func LookupAliasOutput(ctx *Context, args *LookupAliasOutputArgs, opts ...InvokeOption) LookupAliasResultOutput
> Note: This function is named LookupAlias
in the Go SDK.
public static class GetAlias
{
public static Task<GetAliasResult> InvokeAsync(GetAliasArgs args, InvokeOptions? opts = null)
public static Output<GetAliasResult> Invoke(GetAliasInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAliasResult> getAlias(GetAliasArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:gamelift:getAlias
arguments:
# arguments dictionary
The following arguments are supported:
- Alias
Id string - Unique alias ID
- Alias
Id string - Unique alias ID
- alias
Id String - Unique alias ID
- alias
Id string - Unique alias ID
- alias_
id str - Unique alias ID
- alias
Id String - Unique alias ID
getAlias Result
The following output properties are available:
- Alias
Id string - Unique alias ID
- Description string
- A human-readable description of the alias.
- Name string
- A descriptive label that is associated with an alias. Alias names do not need to be unique.
- Routing
Strategy Pulumi.Aws Native. Game Lift. Outputs. Alias Routing Strategy - A routing configuration that specifies where traffic is directed for this alias, such as to a fleet or to a message.
- Alias
Id string - Unique alias ID
- Description string
- A human-readable description of the alias.
- Name string
- A descriptive label that is associated with an alias. Alias names do not need to be unique.
- Routing
Strategy AliasRouting Strategy - A routing configuration that specifies where traffic is directed for this alias, such as to a fleet or to a message.
- alias
Id String - Unique alias ID
- description String
- A human-readable description of the alias.
- name String
- A descriptive label that is associated with an alias. Alias names do not need to be unique.
- routing
Strategy AliasRouting Strategy - A routing configuration that specifies where traffic is directed for this alias, such as to a fleet or to a message.
- alias
Id string - Unique alias ID
- description string
- A human-readable description of the alias.
- name string
- A descriptive label that is associated with an alias. Alias names do not need to be unique.
- routing
Strategy AliasRouting Strategy - A routing configuration that specifies where traffic is directed for this alias, such as to a fleet or to a message.
- alias_
id str - Unique alias ID
- description str
- A human-readable description of the alias.
- name str
- A descriptive label that is associated with an alias. Alias names do not need to be unique.
- routing_
strategy AliasRouting Strategy - A routing configuration that specifies where traffic is directed for this alias, such as to a fleet or to a message.
- alias
Id String - Unique alias ID
- description String
- A human-readable description of the alias.
- name String
- A descriptive label that is associated with an alias. Alias names do not need to be unique.
- routing
Strategy Property Map - A routing configuration that specifies where traffic is directed for this alias, such as to a fleet or to a message.
Supporting Types
AliasRoutingStrategy
- Type
Pulumi.
Aws Native. Game Lift. Alias Routing Strategy Type - Simple routing strategy. The alias resolves to one specific fleet. Use this type when routing to active fleets.
- Fleet
Id string - A unique identifier for a fleet that the alias points to. If you specify SIMPLE for the Type property, you must specify this property.
- Message string
- The message text to be used with a terminal routing strategy. If you specify TERMINAL for the Type property, you must specify this property.
- Type
Alias
Routing Strategy Type - Simple routing strategy. The alias resolves to one specific fleet. Use this type when routing to active fleets.
- Fleet
Id string - A unique identifier for a fleet that the alias points to. If you specify SIMPLE for the Type property, you must specify this property.
- Message string
- The message text to be used with a terminal routing strategy. If you specify TERMINAL for the Type property, you must specify this property.
- type
Alias
Routing Strategy Type - Simple routing strategy. The alias resolves to one specific fleet. Use this type when routing to active fleets.
- fleet
Id String - A unique identifier for a fleet that the alias points to. If you specify SIMPLE for the Type property, you must specify this property.
- message String
- The message text to be used with a terminal routing strategy. If you specify TERMINAL for the Type property, you must specify this property.
- type
Alias
Routing Strategy Type - Simple routing strategy. The alias resolves to one specific fleet. Use this type when routing to active fleets.
- fleet
Id string - A unique identifier for a fleet that the alias points to. If you specify SIMPLE for the Type property, you must specify this property.
- message string
- The message text to be used with a terminal routing strategy. If you specify TERMINAL for the Type property, you must specify this property.
- type
Alias
Routing Strategy Type - Simple routing strategy. The alias resolves to one specific fleet. Use this type when routing to active fleets.
- fleet_
id str - A unique identifier for a fleet that the alias points to. If you specify SIMPLE for the Type property, you must specify this property.
- message str
- The message text to be used with a terminal routing strategy. If you specify TERMINAL for the Type property, you must specify this property.
- type "SIMPLE" | "TERMINAL"
- Simple routing strategy. The alias resolves to one specific fleet. Use this type when routing to active fleets.
- fleet
Id String - A unique identifier for a fleet that the alias points to. If you specify SIMPLE for the Type property, you must specify this property.
- message String
- The message text to be used with a terminal routing strategy. If you specify TERMINAL for the Type property, you must specify this property.
AliasRoutingStrategyType
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi