import { ContainerInsight } from 'cdk-eks-container-insight'
new ContainerInsight(scope: Construct, id: string, props: ContainerInsightProps)| Name | Type | Description |
|---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
ContainerInsightProps |
No description. |
- Type: constructs.Construct
- Type: string
- Type: ContainerInsightProps
| Name | Description |
|---|---|
toString |
Returns a string representation of this construct. |
public toString(): stringReturns a string representation of this construct.
| Name | Description |
|---|---|
isConstruct |
Checks if x is a construct. |
import { ContainerInsight } from 'cdk-eks-container-insight'
ContainerInsight.isConstruct(x: any)Checks if x is a construct.
- Type: any
Any object.
| Name | Type | Description |
|---|---|---|
node |
constructs.Node |
The tree node. |
cluster |
aws-cdk-lib.aws_eks.Cluster |
No description. |
adotNamespace |
string |
No description. |
cloudwatchNamespace |
string |
No description. |
fargateNamespace |
string |
No description. |
fargateSupportMode |
string |
No description. |
public readonly node: Node;- Type: constructs.Node
The tree node.
public readonly cluster: Cluster;- Type: aws-cdk-lib.aws_eks.Cluster
public readonly adotNamespace: string;- Type: string
public readonly cloudwatchNamespace: string;- Type: string
public readonly fargateNamespace: string;- Type: string
public readonly fargateSupportMode: string;- Type: string
import { ContainerInsightProps } from 'cdk-eks-container-insight'
const containerInsightProps: ContainerInsightProps = { ... }| Name | Type | Description |
|---|---|---|
cluster |
aws-cdk-lib.aws_eks.Cluster |
The EKS Cluster to attach to. |
adotNamespace |
string |
The Kubernetes namespace to install ADOT to. |
cloudwatchNamespace |
string |
The Kubernetes namespace to install CloudWatch agent to. |
fargateNamespace |
string |
Fargate container insight namepsace. |
fargateSupportMode |
FargateSupportMode |
Fargate support mode for NO/ONLY/BOTH. |
public readonly cluster: Cluster;- Type: aws-cdk-lib.aws_eks.Cluster
The EKS Cluster to attach to.
public readonly adotNamespace: string;- Type: string
- Default: amazon-metrics
The Kubernetes namespace to install ADOT to.
public readonly cloudwatchNamespace: string;- Type: string
- Default: amazon-cloudwatch
The Kubernetes namespace to install CloudWatch agent to.
public readonly fargateNamespace: string;- Type: string
- Default: fargate-container-insights
Fargate container insight namepsace.
public readonly fargateSupportMode: FargateSupportMode;- Type: FargateSupportMode
- Default: NO
Fargate support mode for NO/ONLY/BOTH.
| Name | Description |
|---|---|
NO |
No support for Fargate profile only support EC2. |
ONLY |
Only support for Fargate profile no EC2. |
BOTH |
Both support Fargate profile and EC2. |
No support for Fargate profile only support EC2.
Only support for Fargate profile no EC2.
Both support Fargate profile and EC2.