The Custom::KongService
creates a Kong Service
To declare this entity in your AWS CloudFormation template, use the following syntax:
Type: Custom::KongService
Properties:
AdminUrl: String
JWT:
Issuer: String
PrivateKeyParameterName: String
ServiceToken: String
Service: {}
You can specify the following properties:
"AdminUrl" - pointing to the Kong Admin (required).
"JWT" - RS256 JWT token generator configuration (optional)
"JWT.Issuer" - issuer of the JWT token, defaults to 'admin'.
"JWT.PrivateKeyParameterName" - parameter store name containing the private key to sign the token with (required)
"ServiceToken" - pointing to the function implementing this resource (required)
"Service" - object containing all the properties as defined by Kong add-service, except `url` (required).
Check out all properties for "Service" at add-service.
With 'Fn::GetAtt' the following values are available:
id
- id of the Service in Kong.
For more information about using Fn::GetAtt, see Fn::GetAtt.