typed-aws
Version:
Helps you write AWS CloudFormation in TypeScript
66 lines (65 loc) • 2.81 kB
TypeScript
import { CfnResource, Resolvable } from '../../base';
export declare type Alias_Type = 'AWS::GameLift::Alias';
export declare const Alias_Type = "AWS::GameLift::Alias";
/**
* The AWS::GameLift::Alias resource creates an alias for an Amazon
* GameLift (GameLift) fleet destination. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html}
*/
export default function Alias(props: Alias_Properties): CfnResource<Alias_Properties>;
/**
* The AWS::GameLift::Alias resource creates an alias for an Amazon
* GameLift (GameLift) fleet destination. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html}
*/
export declare type Alias_Properties = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html#cfn-gamelift-alias-description}
*/
Description?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html#cfn-gamelift-alias-name}
*/
Name: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html#cfn-gamelift-alias-routingstrategy}
*/
RoutingStrategy: RoutingStrategy;
AliasId?: Resolvable<string>;
};
export declare type RoutingStrategy = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-alias-routingstrategy.html#cfn-gamelift-alias-routingstrategy-message}
*/
Message?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-alias-routingstrategy.html#cfn-gamelift-alias-routingstrategy-fleetid}
*/
FleetId: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-alias-routingstrategy.html#cfn-gamelift-alias-routingstrategy-type}
*/
Type?: Resolvable<'SIMPLE' | 'TERMINAL'>;
} | {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-alias-routingstrategy.html#cfn-gamelift-alias-routingstrategy-message}
*/
Message: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-alias-routingstrategy.html#cfn-gamelift-alias-routingstrategy-fleetid}
*/
FleetId?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-alias-routingstrategy.html#cfn-gamelift-alias-routingstrategy-type}
*/
Type?: Resolvable<'SIMPLE' | 'TERMINAL'>;
};