Documentation ¶
Index ¶
- Variables
- func CloudFormation(req Request) *cloudformation.CloudFormation
- func Credentials(req *Request) *credentials.Credentials
- func EC2(req Request) *ec2.EC2
- func EC2AvailabilityZonesCreate(req Request) (string, map[string]string, error)
- func EC2AvailabilityZonesDelete(req Request) (string, map[string]string, error)
- func EC2AvailabilityZonesUpdate(req Request) (string, map[string]string, error)
- func EC2NatGatewayCreate(req Request) (string, map[string]string, error)
- func EC2NatGatewayDelete(req Request) (string, map[string]string, error)
- func EC2NatGatewayUpdate(req Request) (string, map[string]string, error)
- func EC2RouteCreate(req Request) (string, map[string]string, error)
- func EC2RouteDelete(req Request) (string, map[string]string, error)
- func EC2RouteUpdate(req Request) (string, map[string]string, error)
- func ECR(req Request) *ecr.ECR
- func ECRRepositoryCreate(req Request) (string, map[string]string, error)
- func ECRRepositoryDelete(req Request) (string, map[string]string, error)
- func ECRRepositoryUpdate(req Request) (string, map[string]string, error)
- func ECS(req Request) *ecs.ECS
- func ECSClusterCreate(req Request) (string, map[string]string, error)
- func ECSClusterDelete(req Request) (string, map[string]string, error)
- func ECSClusterUpdate(req Request) (string, map[string]string, error)
- func ECSServiceCreate(req Request) (string, map[string]string, error)
- func ECSServiceDelete(req Request) (string, map[string]string, error)
- func ECSServiceReplacementRequired(req Request) (bool, error)
- func ECSServiceUpdate(req Request) (string, map[string]string, error)
- func ECSTaskDefinitionCreate(req Request) (string, map[string]string, error)
- func ECSTaskDefinitionDelete(req Request) (string, map[string]string, error)
- func HandleEC2AvailabilityZones(req Request) (string, map[string]string, error)
- func HandleEC2NatGateway(req Request) (string, map[string]string, error)
- func HandleEC2Route(req Request) (string, map[string]string, error)
- func HandleECRRepository(req Request) (string, map[string]string, error)
- func HandleECSCluster(req Request) (string, map[string]string, error)
- func HandleECSService(req Request) (string, map[string]string, error)
- func HandleECSTaskDefinition(req Request) (string, map[string]string, error)
- func HandleKMSKey(req Request) (string, map[string]string, error)
- func HandleLambdaFunction(req Request) (string, error)
- func HandleRequest(freq Request) error
- func HandleS3BucketCleanup(req Request) (string, map[string]string, error)
- func HandleSNSSubcription(req Request) (string, map[string]string, error)
- func KMS(req Request) *kms.KMS
- func KMSKeyCreate(req Request) (string, map[string]string, error)
- func KMSKeyDelete(req Request) (string, map[string]string, error)
- func KMSKeyUpdate(req Request) (string, map[string]string, error)
- func Lambda(req Request) *lambda.Lambda
- func LambdaFunctionCreate(req Request) (string, error)
- func LambdaFunctionDelete(req Request) (string, error)
- func LambdaFunctionUpdate(req Request) (string, error)
- func Listen()
- func Region(req *Request) *string
- func S3(req Request) *s3.S3
- func S3BucketCleanupCreate(req Request) (string, map[string]string, error)
- func S3BucketCleanupDelete(req Request) (string, map[string]string, error)
- func S3BucketCleanupUpdate(req Request) (string, map[string]string, error)
- func SNS(req Request) *sns.SNS
- func SNSSubscriptionCreate(req Request) (string, map[string]string, error)
- func SNSSubscriptionDelete(req Request) (string, map[string]string, error)
- func SNSSubscriptionUpdate(req Request) (string, map[string]string, error)
- func SQS() *sqs.SQS
- type Message
- type Request
- type Response
Constants ¶
This section is empty.
Variables ¶
var MessageQueueUrl = os.Getenv("FORMATION_QUEUE")
Functions ¶
func CloudFormation ¶
func CloudFormation(req Request) *cloudformation.CloudFormation
func Credentials ¶
func Credentials(req *Request) *credentials.Credentials
func EC2NatGatewayUpdate ¶
Replace Nat Gateway. From the docs: If the custom resource requires a replacement, the new custom resource must send a response with the new physical ID. When AWS CloudFormation receives the response, it compares the PhysicalResourceId between the old and new custom resources. If they are different, AWS CloudFormation recognizes the update as a replacement and sends a delete request to the old resource http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cfn-customresource.html
func ECSServiceReplacementRequired ¶
According to the ECS Docs (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service.html): To change the load balancer name, the container name, or the container port associated with a service load balancer configuration, you must create a new service.