CfnLocationProps

class aws_cdk.aws_gamelift.CfnLocationProps(*, location_name, tags=None)

Bases: object

Properties for defining a CfnLocation.

Parameters:
  • location_name (str) – The location’s name.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – AWS::GameLift::Location.Tags.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-location.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_gamelift as gamelift

cfn_location_props = gamelift.CfnLocationProps(
    location_name="locationName",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

location_name

The location’s name.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-location.html#cfn-gamelift-location-locationname

tags

AWS::GameLift::Location.Tags.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-location.html#cfn-gamelift-location-tags