-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsrefactorspaces_CfnRouteProps.go
58 lines (55 loc) · 2.1 KB
/
awsrefactorspaces_CfnRouteProps.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package awsrefactorspaces
import (
"github.com/aws/aws-cdk-go/awscdk"
)
// Properties for defining a `CfnRoute`.
//
// 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"
//
// cfnRouteProps := &CfnRouteProps{
// ApplicationIdentifier: jsii.String("applicationIdentifier"),
// EnvironmentIdentifier: jsii.String("environmentIdentifier"),
// RouteType: jsii.String("routeType"),
// ServiceIdentifier: jsii.String("serviceIdentifier"),
//
// // the properties below are optional
// DefaultRoute: &DefaultRouteInputProperty{
// ActivationState: jsii.String("activationState"),
// },
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// UriPathRoute: &UriPathRouteInputProperty{
// ActivationState: jsii.String("activationState"),
//
// // the properties below are optional
// IncludeChildPaths: jsii.Boolean(false),
// Methods: []*string{
// jsii.String("methods"),
// },
// SourcePath: jsii.String("sourcePath"),
// },
// }
//
type CfnRouteProps struct {
// The unique identifier of the application.
ApplicationIdentifier *string `field:"required" json:"applicationIdentifier" yaml:"applicationIdentifier"`
// The unique identifier of the environment.
EnvironmentIdentifier *string `field:"required" json:"environmentIdentifier" yaml:"environmentIdentifier"`
// The route type of the route.
RouteType *string `field:"required" json:"routeType" yaml:"routeType"`
// The unique identifier of the service.
ServiceIdentifier *string `field:"required" json:"serviceIdentifier" yaml:"serviceIdentifier"`
// Configuration for the default route type.
DefaultRoute interface{} `field:"optional" json:"defaultRoute" yaml:"defaultRoute"`
// The tags assigned to the route.
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
// The configuration for the URI path route type.
UriPathRoute interface{} `field:"optional" json:"uriPathRoute" yaml:"uriPathRoute"`
}