如何将ALB规则添加到现有的无服务器模板
所以我试图为/ synchrony / *添加一个指向'synchrony'目标组的规则。 这是我现有的模板。 ConfluenceALB: Properties: Scheme: internal SecurityGroups: – Ref: ConfluenceAlbSg – Ref: ConfluenceAsgSg Subnets: – Fn::ImportValue: ${self:custom.${opt:stage}-VpcName, self:custom.${self:provider.stage}-VpcName}-PrivateSubnet1Id – Fn::ImportValue: ${self:custom.${opt:stage}-VpcName, self:custom.${self:provider.stage}-VpcName}-PrivateSubnet2Id – Fn::ImportValue: ${self:custom.${opt:stage}-VpcName, self:custom.${self:provider.stage}-VpcName}-PrivateSubnet3Id Tags: – Key: Name Value: Fn::Join: [ "-", [ Ref: "AWS::StackName", "confluencealb" ] ] Type: "AWS::ElasticLoadBalancingV2::LoadBalancer" ConfluenceAlbListener: Properties: Certificates: – CertificateArn: ${self:custom.${opt:stage}-SSLCertId, self:custom.${self:provider.stage}-SSLCertId} DefaultActions: – Type: […]