Skip to content

Commit

Permalink
Merge branch 'master' into bug-6723-kubepatch_type2
Browse files Browse the repository at this point in the history
  • Loading branch information
mattchrist authored Mar 19, 2020
2 parents 88e0b57 + 564561a commit 66e58cb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-amplify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const amplifyApp = new amplify.App(this, 'MyApp', {
version: '1.0',
frontend: {
phases: {
prebuild: {
preBuild: {
commands: [
'yarn'
]
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-ec2/lib/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export class Instance extends Resource implements IInstance {
if (selected.length === 1) {
subnet = selected[0];
} else {
throw new Error('When specifying AZ there has to be exactly on subnet of the given type in this az');
throw new Error('When specifying AZ there has to be exactly one subnet of the given type in this az');
}
} else {
subnet = subnets[0];
Expand Down
8 changes: 5 additions & 3 deletions packages/@aws-cdk/aws-elasticloadbalancingv2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ const lb = new elbv2.ApplicationLoadBalancer(this, 'LB', {
});

// Add a listener and open up the load balancer's security group
// to the world. 'open' is the default, set this to 'false'
// and use `listener.connections` if you want to be selective
// about who can access the listener.
// to the world.
const listener = lb.addListener('Listener', {
port: 80,

// 'open: true' is the default, you can leave it out if you want. Set it
// to 'false' and use `listener.connections` if you want to be selective
// about who can access the load balancer.
open: true,
});

Expand Down

0 comments on commit 66e58cb

Please sign in to comment.