Skip to content

Instantly share code, notes, and snippets.

@mikechau
Created June 23, 2017 00:05
Show Gist options
  • Save mikechau/be0ca1d21c609ca6eb51b2d82fc1187f to your computer and use it in GitHub Desktop.
Save mikechau/be0ca1d21c609ca6eb51b2d82fc1187f to your computer and use it in GitHub Desktop.
aws-elb-cloudformation-reference-policy
// https://forums.aws.amazon.com/thread.jspa?threadID=169448
{
"Listeners": [
// ...
{
"InstancePort": 8080,
"InstanceProtocol": "http",
"LoadBalancerPort": 443,
"Protocol": "HTTPS",
"PolicyNames": [
"ELBSecurityPolicyName"
],
}
],
"Policies": [
{
"PolicyName": "ELBSecurityPolicyName", // this name is what you need to specify under PolicyNames
"Attributes": [
{
"Name": "Reference-Security-Policy",
"Value": "ELBSecurityPolicy-TLS-1-2-2017-01" // one of the predefined policies
}
],
"PolicyType": "SSLNegotiationPolicyType"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment