-
Notifications
You must be signed in to change notification settings - Fork 48
/
constants.go
25 lines (23 loc) · 1.07 KB
/
constants.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
package decorator
const (
// KeyCloudMapRef is the name of the property that contains the `Ref`
// output from the CloudFormation resource
KeyCloudMapRef = "Ref"
// KeyCloudMapType is the name of the property that contains the CloudFormation
// resource type of the published resource
KeyCloudMapType = "Type"
// KeyCloudMapResourceName is the logical CloudFormation resource name
KeyCloudMapResourceName = "ResourceName"
)
const (
// EnvVarCloudMapNamespaceID contains the CloudMap namespaceID that was
// registered in this stack. This serviceID enables your lambda function
// to call the https://docs.aws.amazon.com/sdk-for-go/api/service/servicediscovery
// for listing or discovering instanes
EnvVarCloudMapNamespaceID = "SPARTA_CLOUDMAP_NAMESPACE_ID"
// EnvVarCloudMapServiceID contains the CloudMap serviceID that was
// registered in this stack. This serviceID enables your lambda function
// to call the https://docs.aws.amazon.com/sdk-for-go/api/service/servicediscovery
// for listing or discovering instanes
EnvVarCloudMapServiceID = "SPARTA_CLOUDMAP_SERVICE_ID"
)