AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::GameLift::Location

CfnLocation

The AWS::GameLift::Location resource creates a custom location for use in an Anywhere fleet.

Import

import { CfnLocation } from 'aws-cdk-lib/aws-gamelift';

Or use the module namespace:

import * as gamelift from 'aws-cdk-lib/aws-gamelift';
// gamelift.CfnLocation

Properties

Configuration passed to the constructor as CfnLocationProps.

locationNameRequired
string

A descriptive name for the custom location.

tagsOptional
CfnTag[]

A list of labels to assign to the new resource. Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management, and cost allocation. For more information, see [Tagging AWS Resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) in the *AWS General Rareference* .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter