-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnAliasProps.go
43 lines (40 loc) · 1.63 KB
/
CfnAliasProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package awsgamelift
// Properties for defining a `CfnAlias`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// cfnAliasProps := &CfnAliasProps{
// Name: jsii.String("name"),
// RoutingStrategy: &RoutingStrategyProperty{
// Type: jsii.String("type"),
//
// // the properties below are optional
// FleetId: jsii.String("fleetId"),
// Message: jsii.String("message"),
// },
//
// // the properties below are optional
// Description: jsii.String("description"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html
//
type CfnAliasProps struct {
// A descriptive label that is associated with an alias.
//
// Alias names do not need to be unique.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html#cfn-gamelift-alias-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The routing configuration, including routing type and fleet target, for the alias.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html#cfn-gamelift-alias-routingstrategy
//
RoutingStrategy interface{} `field:"required" json:"routingStrategy" yaml:"routingStrategy"`
// A human-readable description of the alias.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html#cfn-gamelift-alias-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
}