cloudformation-template-generator
cloudformation-template-generator copied to clipboard
Add optional ResourceName parameter to ElasticBeanstalk OptionSetting
An OptionSetting in an AWS::ElasticBeanstalk::ConfigurationTemplate has an optional ResourceName parameter, which can be used to pass options to the underlying elements (i.e., the Elastic Load Balancer). For example:
Resources:
ElasticBeanstalkTest:
Type: "AWS::ElasticBeanstalk::ConfigurationTemplate"
Properties:
- Namespace: "aws:elb:listener:22"
ResourceName: AWSEBLoadBalancer
OptionName: ListenerProtocol
Value: TCP
The com.monsanto.arch.cloudformation.model.resource.OptionSetting class only supports the Namespace, OptionName and Value parameters, but not the optional ResourceName.