Skip to content
v2.274.0

CfnLocationProps Struct ​

Properties for defining a CfnLocation.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_gamelift as gamelift } from 'aws-cdk-lib';
const cfnLocationProps: gamelift.CfnLocationProps = {
  locationName: 'locationName',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

locationNamestringlocation_namestrlocationNameStringLocationNamestringLocationName*stringrequired#
A descriptive name for the custom location.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
A list of labels to assign to the new resource.
notes

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 in the AWS General Rareference .