1. Packages
  2. AWS Native
  3. API Docs
  4. gamelift
  5. getLocation

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi

aws-native.gamelift.getLocation

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi

    The AWS::GameLift::Location resource creates an Amazon GameLift (GameLift) custom location.

    Using getLocation

    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 getLocation(args: GetLocationArgs, opts?: InvokeOptions): Promise<GetLocationResult>
    function getLocationOutput(args: GetLocationOutputArgs, opts?: InvokeOptions): Output<GetLocationResult>
    def get_location(location_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetLocationResult
    def get_location_output(location_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetLocationResult]
    func LookupLocation(ctx *Context, args *LookupLocationArgs, opts ...InvokeOption) (*LookupLocationResult, error)
    func LookupLocationOutput(ctx *Context, args *LookupLocationOutputArgs, opts ...InvokeOption) LookupLocationResultOutput

    > Note: This function is named LookupLocation in the Go SDK.

    public static class GetLocation 
    {
        public static Task<GetLocationResult> InvokeAsync(GetLocationArgs args, InvokeOptions? opts = null)
        public static Output<GetLocationResult> Invoke(GetLocationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLocationResult> getLocation(GetLocationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:gamelift:getLocation
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getLocation Result

    The following output properties are available:

    LocationArn string
    Tags List<Pulumi.AwsNative.GameLift.Outputs.LocationTag>
    An array of key-value pairs to apply to this resource.
    LocationArn string
    Tags []LocationTag
    An array of key-value pairs to apply to this resource.
    locationArn String
    tags List<LocationTag>
    An array of key-value pairs to apply to this resource.
    locationArn string
    tags LocationTag[]
    An array of key-value pairs to apply to this resource.
    location_arn str
    tags Sequence[LocationTag]
    An array of key-value pairs to apply to this resource.
    locationArn String
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    LocationTag

    Key string
    The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length.
    Value string
    The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length.
    Key string
    The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length.
    Value string
    The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length.
    key String
    The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length.
    value String
    The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length.
    key string
    The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length.
    value string
    The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length.
    key str
    The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length.
    value str
    The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length.
    key String
    The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length.
    value String
    The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi