-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsrefactorspaces_CfnServiceProps.go
60 lines (57 loc) · 2.23 KB
/
awsrefactorspaces_CfnServiceProps.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
58
59
package awsrefactorspaces
import (
"github.com/aws/aws-cdk-go/awscdk"
)
// Properties for defining a `CfnService`.
//
// 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"
//
// cfnServiceProps := &cfnServiceProps{
// applicationIdentifier: jsii.String("applicationIdentifier"),
// environmentIdentifier: jsii.String("environmentIdentifier"),
//
// // the properties below are optional
// description: jsii.String("description"),
// endpointType: jsii.String("endpointType"),
// lambdaEndpoint: &lambdaEndpointInputProperty{
// arn: jsii.String("arn"),
// },
// name: jsii.String("name"),
// tags: []cfnTag{
// &cfnTag{
// key: jsii.String("key"),
// value: jsii.String("value"),
// },
// },
// urlEndpoint: &urlEndpointInputProperty{
// url: jsii.String("url"),
//
// // the properties below are optional
// healthUrl: jsii.String("healthUrl"),
// },
// vpcId: jsii.String("vpcId"),
// }
//
type CfnServiceProps 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"`
// A description of the service.
Description *string `field:"optional" json:"description" yaml:"description"`
// The endpoint type of the service.
EndpointType *string `field:"optional" json:"endpointType" yaml:"endpointType"`
// A summary of the configuration for the AWS Lambda endpoint type.
LambdaEndpoint interface{} `field:"optional" json:"lambdaEndpoint" yaml:"lambdaEndpoint"`
// The name of the service.
Name *string `field:"optional" json:"name" yaml:"name"`
// The tags assigned to the service.
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
// The summary of the configuration for the URL endpoint type.
UrlEndpoint interface{} `field:"optional" json:"urlEndpoint" yaml:"urlEndpoint"`
// The ID of the virtual private cloud (VPC).
VpcId *string `field:"optional" json:"vpcId" yaml:"vpcId"`
}