Skip to content

Commit

Permalink
Merge branch 'main' into scanlonp-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jul 17, 2024
2 parents 2fcfa67 + e12ecb1 commit 1244eb2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-cloudwatch/lib/alarm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export class Alarm extends AlarmBase {
/**
* Trigger this action if the alarm fires
*
* Typically SnsAcion or AutoScalingAction.
* Typically SnsAction or AutoScalingAction.
*/
public addAlarmAction(...actions: IAlarmAction[]) {
if (this.alarmActionArns === undefined) {
Expand Down
15 changes: 15 additions & 0 deletions packages/aws-cdk-lib/aws-eks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ In addition, the library also supports defining Kubernetes resource manifests wi
- [Manually importing k8s specs and CRD's](#manually-importing-k8s-specs-and-crds)
- [Patching Kubernetes Resources](#patching-kubernetes-resources)
- [Querying Kubernetes Resources](#querying-kubernetes-resources)
- [Add-ons](#add-ons)
- [Using existing clusters](#using-existing-clusters)
- [Logging](#logging)
- [Known Issues and Limitations](#known-issues-and-limitations)
Expand Down Expand Up @@ -1837,6 +1838,20 @@ declare const cluster: eks.Cluster;
const loadBalancerAddress = cluster.getServiceLoadBalancerAddress('my-service');
```

## Add-ons

[Add-ons](https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html) is a software that provides supporting operational capabilities to Kubernetes applications. The EKS module supports adding add-ons to your cluster using the `eks.Addon` class.

```ts
declare const cluster: eks.Cluster;

new eks.Addon(this, 'Addon', {
cluster,
addonName: 'aws-guardduty-agent',
addonVersion: 'v1.6.1',
});
```

## Using existing clusters

The Amazon EKS library allows defining Kubernetes resources such as [Kubernetes
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/pipelines/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ construct library directly.
> engines other than CodePipeline.
>
> The README for the original API, as well as a migration guide, can be found in
> [our GitHub repository](https:/aws/aws-cdk/blob/main/packages/@aws-cdk/pipelines/ORIGINAL_API.md).
> [our GitHub repository](https:/aws/aws-cdk/blob/main/packages/aws-cdk-lib/pipelines/ORIGINAL_API.md).
## At a glance

Expand Down

0 comments on commit 1244eb2

Please sign in to comment.