github.com/mweagle/Sparta@v1.15.0/decorator/constants.go (about) 1 package decorator 2 3 const ( 4 // KeyCloudMapRef is the name of the property that contains the `Ref` 5 // output from the CloudFormation resource 6 KeyCloudMapRef = "Ref" 7 // KeyCloudMapType is the name of the property that contains the CloudFormation 8 // resource type of the published resource 9 KeyCloudMapType = "Type" 10 // KeyCloudMapResourceName is the logical CloudFormation resource name 11 KeyCloudMapResourceName = "ResourceName" 12 ) 13 14 const ( 15 // EnvVarCloudMapNamespaceID contains the CloudMap namespaceID that was 16 // registered in this stack. This serviceID enables your lambda function 17 // to call the https://docs.aws.amazon.com/sdk-for-go/api/service/servicediscovery 18 // for listing or discovering instanes 19 EnvVarCloudMapNamespaceID = "SPARTA_CLOUDMAP_NAMESPACE_ID" 20 // EnvVarCloudMapServiceID contains the CloudMap serviceID that was 21 // registered in this stack. This serviceID enables your lambda function 22 // to call the https://docs.aws.amazon.com/sdk-for-go/api/service/servicediscovery 23 // for listing or discovering instanes 24 EnvVarCloudMapServiceID = "SPARTA_CLOUDMAP_SERVICE_ID" 25 )