Hi Pulumi team, this might be a more general quest...
# typescript
b
Hi Pulumi team, this might be a more general question vs TS specific, but I'll ask it here anyway. I'm attempting to create an elastic beanstalk environment resource and was curious how to define the lower level configurations. Attached is a screenshot from the AWS console showing what I'm interested in. I'm fairly certain I'm supposed to use the EnvironmentAllSetting[] field to alter define these configuration values, but there's not a ton of direct examples out there. Can someone point me in the right direction?
l
Hello @big-notebook-65054, you are right that you have to use the
EnvironmentAllSetting[]
field. Every setting is of structure:
Copy code
{
   namespace: "<namespace>",
   name: "<property name>",
   value: "property value>"
}
You can find all the possible namespaces, property names, as well as property values if these are limited, in the AWS docs: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html If you click on one of the namespaces in this doc, you are presented with a table. Each row in the table represents a possible `name`+`value` pair you can add as a settings object, e.g.:
Copy code
{
   namespace: "aws:elb:listener",
   name: "ListenerProtocol",
   value: "TCP"
}
Source: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-elblistener
b
Thanks @limited-rainbow-51650! This is super helpful.