import { CommonHelmCharts } from '@smallcase/cdk-eks-cluster-module'
new CommonHelmCharts(scope: Construct, id: string, props: CommonHelmChartsProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
CommonHelmChartsProps |
No description. |
- Type: constructs.Construct
- Type: string
- Type: CommonHelmChartsProps
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
public toString(): string
Returns a string representation of this construct.
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { CommonHelmCharts } from '@smallcase/cdk-eks-cluster-module'
CommonHelmCharts.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
import { CoreDnsAddon } from '@smallcase/cdk-eks-cluster-module'
new CoreDnsAddon(scope: Construct, id: string, props: CoreAddonProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
CoreAddonProps |
No description. |
- Type: constructs.Construct
- Type: string
- Type: CoreAddonProps
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
overrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
addDeletionOverride |
Syntactic sugar for addOverride(path, undefined) . |
addDependency |
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. |
addDependsOn |
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. |
addMetadata |
Add a value to the CloudFormation Resource Metadata. |
addOverride |
Adds an override to the synthesized CloudFormation resource. |
addPropertyDeletionOverride |
Adds an override that deletes the value of a property from the resource definition. |
addPropertyOverride |
Adds an override to a resource property. |
applyRemovalPolicy |
Sets the deletion policy of the resource based on the removal policy specified. |
getAtt |
Returns a token for an runtime attribute of this resource. |
getMetadata |
Retrieve a value value from the CloudFormation Resource Metadata. |
obtainDependencies |
Retrieves an array of resources this resource depends on. |
obtainResourceDependencies |
Get a shallow copy of dependencies between this resource and other resources in the same stack. |
removeDependency |
Indicates that this resource no longer depends on another resource. |
replaceDependency |
Replaces one dependency with another. |
inspect |
Examines the CloudFormation resource and discloses attributes. |
public toString(): string
Returns a string representation of this construct.
public overrideLogicalId(newLogicalId: string): void
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
public addDeletionOverride(path: string): void
Syntactic sugar for addOverride(path, undefined)
.
- Type: string
The path of the value to delete.
public addDependency(target: CfnResource): void
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.
- Type: aws-cdk-lib.CfnResource
public addDependsOn(target: CfnResource): void
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
- Type: aws-cdk-lib.CfnResource
public addMetadata(key: string, value: any): void
Add a value to the CloudFormation Resource Metadata.
[https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.)
- Type: string
- Type: any
public addOverride(path: string, value: any): void
Adds an override to the synthesized CloudFormation resource.
To add a
property override, either use addPropertyOverride
or prefix path
with
"Properties." (i.e. Properties.TopicName
).
If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.
To include a literal .
in the property name, prefix with a \
. In most
programming languages you will need to write this as "\\."
because the
\
itself will need to be escaped.
For example,
cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
would add the overrides
"Properties": {
"GlobalSecondaryIndexes": [
{
"Projection": {
"NonKeyAttributes": [ "myattribute" ]
...
}
...
},
{
"ProjectionType": "INCLUDE"
...
},
]
...
}
The value
argument to addOverride
will not be processed or translated
in any way. Pass raw JSON values in here with the correct capitalization
for CloudFormation. If you pass CDK classes or structs, they will be
rendered with lowercased key names, and CloudFormation will reject the
template.
- Type: string
The path of the property, you can use dot notation to override values in complex types.
Any intermediate keys will be created as needed.
- Type: any
The value.
Could be primitive or complex.
public addPropertyDeletionOverride(propertyPath: string): void
Adds an override that deletes the value of a property from the resource definition.
- Type: string
The path to the property.
public addPropertyOverride(propertyPath: string, value: any): void
Adds an override to a resource property.
Syntactic sugar for addOverride("Properties.<...>", value)
.
- Type: string
The path of the property.
- Type: any
The value.
public applyRemovalPolicy(policy?: RemovalPolicy, options?: RemovalPolicyOptions): void
Sets the deletion policy of the resource based on the removal policy specified.
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (RemovalPolicy.DESTROY
), or left in your AWS
account for data recovery and cleanup later (RemovalPolicy.RETAIN
). In some
cases, a snapshot can be taken of the resource prior to deletion
(RemovalPolicy.SNAPSHOT
). A list of resources that support this policy
can be found in the following link:
- Type: aws-cdk-lib.RemovalPolicy
- Type: aws-cdk-lib.RemovalPolicyOptions
public getAtt(attributeName: string, typeHint?: ResolutionTypeHint): Reference
Returns a token for an runtime attribute of this resource.
Ideally, use generated attribute accessors (e.g. resource.arn
), but this can be used for future compatibility
in case there is no generated attribute.
- Type: string
The name of the attribute.
- Type: aws-cdk-lib.ResolutionTypeHint
public getMetadata(key: string): any
Retrieve a value value from the CloudFormation Resource Metadata.
[https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.)
- Type: string
public obtainDependencies(): Stack | CfnResource[]
Retrieves an array of resources this resource depends on.
This assembles dependencies on resources across stacks (including nested stacks) automatically.
public obtainResourceDependencies(): CfnResource[]
Get a shallow copy of dependencies between this resource and other resources in the same stack.
public removeDependency(target: CfnResource): void
Indicates that this resource no longer depends on another resource.
This can be used for resources across stacks (including nested stacks) and the dependency will automatically be removed from the relevant scope.
- Type: aws-cdk-lib.CfnResource
public replaceDependency(target: CfnResource, newTarget: CfnResource): void
Replaces one dependency with another.
- Type: aws-cdk-lib.CfnResource
The dependency to replace.
- Type: aws-cdk-lib.CfnResource
The new dependency to add.
public inspect(inspector: TreeInspector): void
Examines the CloudFormation resource and discloses attributes.
- Type: aws-cdk-lib.TreeInspector
tree inspector to collect and process attributes.
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
isCfnElement |
Returns true if a construct is a stack element (i.e. part of the synthesized cloudformation template). |
isCfnResource |
Check whether the given object is a CfnResource. |
import { CoreDnsAddon } from '@smallcase/cdk-eks-cluster-module'
CoreDnsAddon.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
import { CoreDnsAddon } from '@smallcase/cdk-eks-cluster-module'
CoreDnsAddon.isCfnElement(x: any)
Returns true
if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of instanceof
to allow stack elements from different
versions of this library to be included in the same stack.
- Type: any
import { CoreDnsAddon } from '@smallcase/cdk-eks-cluster-module'
CoreDnsAddon.isCfnResource(x: any)
Check whether the given object is a CfnResource.
- Type: any
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
creationStack |
string[] |
No description. |
logicalId |
string |
The logical ID for this CloudFormation stack element. |
stack |
aws-cdk-lib.Stack |
The stack in which this element is defined. |
ref |
string |
Return a string that will be resolved to a CloudFormation { Ref } for this element. |
cfnOptions |
aws-cdk-lib.ICfnResourceOptions |
Options for this resource, such as condition, update policy etc. |
cfnResourceType |
string |
AWS resource type. |
attrArn |
string |
The ARN of the add-on, such as arn:aws:eks:us-west-2:111122223333:addon/1-19/vpc-cni/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx . |
tags |
aws-cdk-lib.TagManager |
Tag Manager which manages the tags for this resource. |
addonName |
string |
The name of the add-on. |
clusterName |
string |
The name of your cluster. |
addonVersion |
string |
The version of the add-on. |
configurationValues |
string |
The configuration values that you provided. |
podIdentityAssociations |
aws-cdk-lib.IResolvable | aws-cdk-lib.IResolvable | aws-cdk-lib.aws_eks.CfnAddon.PodIdentityAssociationProperty[] |
An array of Pod Identity Assocations owned by the Addon. |
preserveOnDelete |
boolean | aws-cdk-lib.IResolvable |
Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. |
resolveConflicts |
string |
How to resolve field value conflicts for an Amazon EKS add-on. |
serviceAccountRoleArn |
string |
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. |
tagsRaw |
aws-cdk-lib.CfnTag[] |
The metadata that you apply to the add-on to assist with categorization and organization. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly creationStack: string[];
- Type: string[]
public readonly logicalId: string;
- Type: string
The logical ID for this CloudFormation stack element.
The logical ID of the element is calculated from the path of the resource node in the construct tree.
To override this value, use overrideLogicalId(newLogicalId)
.
public readonly stack: Stack;
- Type: aws-cdk-lib.Stack
The stack in which this element is defined.
CfnElements must be defined within a stack scope (directly or indirectly).
public readonly ref: string;
- Type: string
Return a string that will be resolved to a CloudFormation { Ref }
for this element.
If, by any chance, the intrinsic reference of a resource is not a string, you could
coerce it to an IResolvable through Lazy.any({ produce: resource.ref })
.
public readonly cfnOptions: ICfnResourceOptions;
- Type: aws-cdk-lib.ICfnResourceOptions
Options for this resource, such as condition, update policy etc.
public readonly cfnResourceType: string;
- Type: string
AWS resource type.
public readonly attrArn: string;
- Type: string
The ARN of the add-on, such as arn:aws:eks:us-west-2:111122223333:addon/1-19/vpc-cni/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
.
public readonly tags: TagManager;
- Type: aws-cdk-lib.TagManager
Tag Manager which manages the tags for this resource.
public readonly addonName: string;
- Type: string
The name of the add-on.
public readonly clusterName: string;
- Type: string
The name of your cluster.
public readonly addonVersion: string;
- Type: string
The version of the add-on.
public readonly configurationValues: string;
- Type: string
The configuration values that you provided.
public readonly podIdentityAssociations: IResolvable | IResolvable | PodIdentityAssociationProperty[];
- Type: aws-cdk-lib.IResolvable | aws-cdk-lib.IResolvable | aws-cdk-lib.aws_eks.CfnAddon.PodIdentityAssociationProperty[]
An array of Pod Identity Assocations owned by the Addon.
public readonly preserveOnDelete: boolean | IResolvable;
- Type: boolean | aws-cdk-lib.IResolvable
Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on.
public readonly resolveConflicts: string;
- Type: string
How to resolve field value conflicts for an Amazon EKS add-on.
public readonly serviceAccountRoleArn: string;
- Type: string
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account.
public readonly tagsRaw: CfnTag[];
- Type: aws-cdk-lib.CfnTag[]
The metadata that you apply to the add-on to assist with categorization and organization.
Name | Type | Description |
---|---|---|
CFN_RESOURCE_TYPE_NAME |
string |
The CloudFormation resource type name for this resource class. |
public readonly CFN_RESOURCE_TYPE_NAME: string;
- Type: string
The CloudFormation resource type name for this resource class.
import { EKSCluster } from '@smallcase/cdk-eks-cluster-module'
new EKSCluster(scope: Construct, id: string, props: EKSClusterProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
EKSClusterProps |
No description. |
- Type: constructs.Construct
- Type: string
- Type: EKSClusterProps
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
addServiceAccountWithIamRole |
No description. |
public toString(): string
Returns a string representation of this construct.
public addServiceAccountWithIamRole(serviceAccountName: string, serviceAccountNamespace: string, policy: any): void
- Type: string
- Type: string
- Type: any
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { EKSCluster } from '@smallcase/cdk-eks-cluster-module'
EKSCluster.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
additionalFargateProfile |
aws-cdk-lib.aws_eks.FargateProfile[] |
No description. |
additionalNodegroups |
aws-cdk-lib.aws_eks.Nodegroup[] |
No description. |
cluster |
aws-cdk-lib.aws_eks.Cluster |
No description. |
fargateProfiles |
FargateProfile[] |
No description. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly additionalFargateProfile: FargateProfile[];
- Type: aws-cdk-lib.aws_eks.FargateProfile[]
public readonly additionalNodegroups: Nodegroup[];
- Type: aws-cdk-lib.aws_eks.Nodegroup[]
public readonly cluster: Cluster;
- Type: aws-cdk-lib.aws_eks.Cluster
public readonly fargateProfiles: FargateProfile[];
- Type: FargateProfile[]
import { KubeProxyAddon } from '@smallcase/cdk-eks-cluster-module'
new KubeProxyAddon(scope: Construct, id: string, props: CoreAddonProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
CoreAddonProps |
No description. |
- Type: constructs.Construct
- Type: string
- Type: CoreAddonProps
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
overrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
addDeletionOverride |
Syntactic sugar for addOverride(path, undefined) . |
addDependency |
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. |
addDependsOn |
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. |
addMetadata |
Add a value to the CloudFormation Resource Metadata. |
addOverride |
Adds an override to the synthesized CloudFormation resource. |
addPropertyDeletionOverride |
Adds an override that deletes the value of a property from the resource definition. |
addPropertyOverride |
Adds an override to a resource property. |
applyRemovalPolicy |
Sets the deletion policy of the resource based on the removal policy specified. |
getAtt |
Returns a token for an runtime attribute of this resource. |
getMetadata |
Retrieve a value value from the CloudFormation Resource Metadata. |
obtainDependencies |
Retrieves an array of resources this resource depends on. |
obtainResourceDependencies |
Get a shallow copy of dependencies between this resource and other resources in the same stack. |
removeDependency |
Indicates that this resource no longer depends on another resource. |
replaceDependency |
Replaces one dependency with another. |
inspect |
Examines the CloudFormation resource and discloses attributes. |
public toString(): string
Returns a string representation of this construct.
public overrideLogicalId(newLogicalId: string): void
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
public addDeletionOverride(path: string): void
Syntactic sugar for addOverride(path, undefined)
.
- Type: string
The path of the value to delete.
public addDependency(target: CfnResource): void
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.
- Type: aws-cdk-lib.CfnResource
public addDependsOn(target: CfnResource): void
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
- Type: aws-cdk-lib.CfnResource
public addMetadata(key: string, value: any): void
Add a value to the CloudFormation Resource Metadata.
[https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.)
- Type: string
- Type: any
public addOverride(path: string, value: any): void
Adds an override to the synthesized CloudFormation resource.
To add a
property override, either use addPropertyOverride
or prefix path
with
"Properties." (i.e. Properties.TopicName
).
If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.
To include a literal .
in the property name, prefix with a \
. In most
programming languages you will need to write this as "\\."
because the
\
itself will need to be escaped.
For example,
cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
would add the overrides
"Properties": {
"GlobalSecondaryIndexes": [
{
"Projection": {
"NonKeyAttributes": [ "myattribute" ]
...
}
...
},
{
"ProjectionType": "INCLUDE"
...
},
]
...
}
The value
argument to addOverride
will not be processed or translated
in any way. Pass raw JSON values in here with the correct capitalization
for CloudFormation. If you pass CDK classes or structs, they will be
rendered with lowercased key names, and CloudFormation will reject the
template.
- Type: string
The path of the property, you can use dot notation to override values in complex types.
Any intermediate keys will be created as needed.
- Type: any
The value.
Could be primitive or complex.
public addPropertyDeletionOverride(propertyPath: string): void
Adds an override that deletes the value of a property from the resource definition.
- Type: string
The path to the property.
public addPropertyOverride(propertyPath: string, value: any): void
Adds an override to a resource property.
Syntactic sugar for addOverride("Properties.<...>", value)
.
- Type: string
The path of the property.
- Type: any
The value.
public applyRemovalPolicy(policy?: RemovalPolicy, options?: RemovalPolicyOptions): void
Sets the deletion policy of the resource based on the removal policy specified.
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (RemovalPolicy.DESTROY
), or left in your AWS
account for data recovery and cleanup later (RemovalPolicy.RETAIN
). In some
cases, a snapshot can be taken of the resource prior to deletion
(RemovalPolicy.SNAPSHOT
). A list of resources that support this policy
can be found in the following link:
- Type: aws-cdk-lib.RemovalPolicy
- Type: aws-cdk-lib.RemovalPolicyOptions
public getAtt(attributeName: string, typeHint?: ResolutionTypeHint): Reference
Returns a token for an runtime attribute of this resource.
Ideally, use generated attribute accessors (e.g. resource.arn
), but this can be used for future compatibility
in case there is no generated attribute.
- Type: string
The name of the attribute.
- Type: aws-cdk-lib.ResolutionTypeHint
public getMetadata(key: string): any
Retrieve a value value from the CloudFormation Resource Metadata.
[https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.)
- Type: string
public obtainDependencies(): Stack | CfnResource[]
Retrieves an array of resources this resource depends on.
This assembles dependencies on resources across stacks (including nested stacks) automatically.
public obtainResourceDependencies(): CfnResource[]
Get a shallow copy of dependencies between this resource and other resources in the same stack.
public removeDependency(target: CfnResource): void
Indicates that this resource no longer depends on another resource.
This can be used for resources across stacks (including nested stacks) and the dependency will automatically be removed from the relevant scope.
- Type: aws-cdk-lib.CfnResource
public replaceDependency(target: CfnResource, newTarget: CfnResource): void
Replaces one dependency with another.
- Type: aws-cdk-lib.CfnResource
The dependency to replace.
- Type: aws-cdk-lib.CfnResource
The new dependency to add.
public inspect(inspector: TreeInspector): void
Examines the CloudFormation resource and discloses attributes.
- Type: aws-cdk-lib.TreeInspector
tree inspector to collect and process attributes.
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
isCfnElement |
Returns true if a construct is a stack element (i.e. part of the synthesized cloudformation template). |
isCfnResource |
Check whether the given object is a CfnResource. |
import { KubeProxyAddon } from '@smallcase/cdk-eks-cluster-module'
KubeProxyAddon.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
import { KubeProxyAddon } from '@smallcase/cdk-eks-cluster-module'
KubeProxyAddon.isCfnElement(x: any)
Returns true
if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of instanceof
to allow stack elements from different
versions of this library to be included in the same stack.
- Type: any
import { KubeProxyAddon } from '@smallcase/cdk-eks-cluster-module'
KubeProxyAddon.isCfnResource(x: any)
Check whether the given object is a CfnResource.
- Type: any
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
creationStack |
string[] |
No description. |
logicalId |
string |
The logical ID for this CloudFormation stack element. |
stack |
aws-cdk-lib.Stack |
The stack in which this element is defined. |
ref |
string |
Return a string that will be resolved to a CloudFormation { Ref } for this element. |
cfnOptions |
aws-cdk-lib.ICfnResourceOptions |
Options for this resource, such as condition, update policy etc. |
cfnResourceType |
string |
AWS resource type. |
attrArn |
string |
The ARN of the add-on, such as arn:aws:eks:us-west-2:111122223333:addon/1-19/vpc-cni/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx . |
tags |
aws-cdk-lib.TagManager |
Tag Manager which manages the tags for this resource. |
addonName |
string |
The name of the add-on. |
clusterName |
string |
The name of your cluster. |
addonVersion |
string |
The version of the add-on. |
configurationValues |
string |
The configuration values that you provided. |
podIdentityAssociations |
aws-cdk-lib.IResolvable | aws-cdk-lib.IResolvable | aws-cdk-lib.aws_eks.CfnAddon.PodIdentityAssociationProperty[] |
An array of Pod Identity Assocations owned by the Addon. |
preserveOnDelete |
boolean | aws-cdk-lib.IResolvable |
Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. |
resolveConflicts |
string |
How to resolve field value conflicts for an Amazon EKS add-on. |
serviceAccountRoleArn |
string |
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. |
tagsRaw |
aws-cdk-lib.CfnTag[] |
The metadata that you apply to the add-on to assist with categorization and organization. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly creationStack: string[];
- Type: string[]
public readonly logicalId: string;
- Type: string
The logical ID for this CloudFormation stack element.
The logical ID of the element is calculated from the path of the resource node in the construct tree.
To override this value, use overrideLogicalId(newLogicalId)
.
public readonly stack: Stack;
- Type: aws-cdk-lib.Stack
The stack in which this element is defined.
CfnElements must be defined within a stack scope (directly or indirectly).
public readonly ref: string;
- Type: string
Return a string that will be resolved to a CloudFormation { Ref }
for this element.
If, by any chance, the intrinsic reference of a resource is not a string, you could
coerce it to an IResolvable through Lazy.any({ produce: resource.ref })
.
public readonly cfnOptions: ICfnResourceOptions;
- Type: aws-cdk-lib.ICfnResourceOptions
Options for this resource, such as condition, update policy etc.
public readonly cfnResourceType: string;
- Type: string
AWS resource type.
public readonly attrArn: string;
- Type: string
The ARN of the add-on, such as arn:aws:eks:us-west-2:111122223333:addon/1-19/vpc-cni/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
.
public readonly tags: TagManager;
- Type: aws-cdk-lib.TagManager
Tag Manager which manages the tags for this resource.
public readonly addonName: string;
- Type: string
The name of the add-on.
public readonly clusterName: string;
- Type: string
The name of your cluster.
public readonly addonVersion: string;
- Type: string
The version of the add-on.
public readonly configurationValues: string;
- Type: string
The configuration values that you provided.
public readonly podIdentityAssociations: IResolvable | IResolvable | PodIdentityAssociationProperty[];
- Type: aws-cdk-lib.IResolvable | aws-cdk-lib.IResolvable | aws-cdk-lib.aws_eks.CfnAddon.PodIdentityAssociationProperty[]
An array of Pod Identity Assocations owned by the Addon.
public readonly preserveOnDelete: boolean | IResolvable;
- Type: boolean | aws-cdk-lib.IResolvable
Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on.
public readonly resolveConflicts: string;
- Type: string
How to resolve field value conflicts for an Amazon EKS add-on.
public readonly serviceAccountRoleArn: string;
- Type: string
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account.
public readonly tagsRaw: CfnTag[];
- Type: aws-cdk-lib.CfnTag[]
The metadata that you apply to the add-on to assist with categorization and organization.
Name | Type | Description |
---|---|---|
CFN_RESOURCE_TYPE_NAME |
string |
The CloudFormation resource type name for this resource class. |
public readonly CFN_RESOURCE_TYPE_NAME: string;
- Type: string
The CloudFormation resource type name for this resource class.
import { VpcEniAddon } from '@smallcase/cdk-eks-cluster-module'
new VpcEniAddon(scope: Construct, id: string, props: VpcCniAddonProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
VpcCniAddonProps |
No description. |
- Type: constructs.Construct
- Type: string
- Type: VpcCniAddonProps
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
overrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
addDeletionOverride |
Syntactic sugar for addOverride(path, undefined) . |
addDependency |
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. |
addDependsOn |
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. |
addMetadata |
Add a value to the CloudFormation Resource Metadata. |
addOverride |
Adds an override to the synthesized CloudFormation resource. |
addPropertyDeletionOverride |
Adds an override that deletes the value of a property from the resource definition. |
addPropertyOverride |
Adds an override to a resource property. |
applyRemovalPolicy |
Sets the deletion policy of the resource based on the removal policy specified. |
getAtt |
Returns a token for an runtime attribute of this resource. |
getMetadata |
Retrieve a value value from the CloudFormation Resource Metadata. |
obtainDependencies |
Retrieves an array of resources this resource depends on. |
obtainResourceDependencies |
Get a shallow copy of dependencies between this resource and other resources in the same stack. |
removeDependency |
Indicates that this resource no longer depends on another resource. |
replaceDependency |
Replaces one dependency with another. |
inspect |
Examines the CloudFormation resource and discloses attributes. |
public toString(): string
Returns a string representation of this construct.
public overrideLogicalId(newLogicalId: string): void
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
public addDeletionOverride(path: string): void
Syntactic sugar for addOverride(path, undefined)
.
- Type: string
The path of the value to delete.
public addDependency(target: CfnResource): void
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.
- Type: aws-cdk-lib.CfnResource
public addDependsOn(target: CfnResource): void
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
- Type: aws-cdk-lib.CfnResource
public addMetadata(key: string, value: any): void
Add a value to the CloudFormation Resource Metadata.
[https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.)
- Type: string
- Type: any
public addOverride(path: string, value: any): void
Adds an override to the synthesized CloudFormation resource.
To add a
property override, either use addPropertyOverride
or prefix path
with
"Properties." (i.e. Properties.TopicName
).
If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.
To include a literal .
in the property name, prefix with a \
. In most
programming languages you will need to write this as "\\."
because the
\
itself will need to be escaped.
For example,
cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
would add the overrides
"Properties": {
"GlobalSecondaryIndexes": [
{
"Projection": {
"NonKeyAttributes": [ "myattribute" ]
...
}
...
},
{
"ProjectionType": "INCLUDE"
...
},
]
...
}
The value
argument to addOverride
will not be processed or translated
in any way. Pass raw JSON values in here with the correct capitalization
for CloudFormation. If you pass CDK classes or structs, they will be
rendered with lowercased key names, and CloudFormation will reject the
template.
- Type: string
The path of the property, you can use dot notation to override values in complex types.
Any intermediate keys will be created as needed.
- Type: any
The value.
Could be primitive or complex.
public addPropertyDeletionOverride(propertyPath: string): void
Adds an override that deletes the value of a property from the resource definition.
- Type: string
The path to the property.
public addPropertyOverride(propertyPath: string, value: any): void
Adds an override to a resource property.
Syntactic sugar for addOverride("Properties.<...>", value)
.
- Type: string
The path of the property.
- Type: any
The value.
public applyRemovalPolicy(policy?: RemovalPolicy, options?: RemovalPolicyOptions): void
Sets the deletion policy of the resource based on the removal policy specified.
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (RemovalPolicy.DESTROY
), or left in your AWS
account for data recovery and cleanup later (RemovalPolicy.RETAIN
). In some
cases, a snapshot can be taken of the resource prior to deletion
(RemovalPolicy.SNAPSHOT
). A list of resources that support this policy
can be found in the following link:
- Type: aws-cdk-lib.RemovalPolicy
- Type: aws-cdk-lib.RemovalPolicyOptions
public getAtt(attributeName: string, typeHint?: ResolutionTypeHint): Reference
Returns a token for an runtime attribute of this resource.
Ideally, use generated attribute accessors (e.g. resource.arn
), but this can be used for future compatibility
in case there is no generated attribute.
- Type: string
The name of the attribute.
- Type: aws-cdk-lib.ResolutionTypeHint
public getMetadata(key: string): any
Retrieve a value value from the CloudFormation Resource Metadata.
[https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.)
- Type: string
public obtainDependencies(): Stack | CfnResource[]
Retrieves an array of resources this resource depends on.
This assembles dependencies on resources across stacks (including nested stacks) automatically.
public obtainResourceDependencies(): CfnResource[]
Get a shallow copy of dependencies between this resource and other resources in the same stack.
public removeDependency(target: CfnResource): void
Indicates that this resource no longer depends on another resource.
This can be used for resources across stacks (including nested stacks) and the dependency will automatically be removed from the relevant scope.
- Type: aws-cdk-lib.CfnResource
public replaceDependency(target: CfnResource, newTarget: CfnResource): void
Replaces one dependency with another.
- Type: aws-cdk-lib.CfnResource
The dependency to replace.
- Type: aws-cdk-lib.CfnResource
The new dependency to add.
public inspect(inspector: TreeInspector): void
Examines the CloudFormation resource and discloses attributes.
- Type: aws-cdk-lib.TreeInspector
tree inspector to collect and process attributes.
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
isCfnElement |
Returns true if a construct is a stack element (i.e. part of the synthesized cloudformation template). |
isCfnResource |
Check whether the given object is a CfnResource. |
import { VpcEniAddon } from '@smallcase/cdk-eks-cluster-module'
VpcEniAddon.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
import { VpcEniAddon } from '@smallcase/cdk-eks-cluster-module'
VpcEniAddon.isCfnElement(x: any)
Returns true
if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of instanceof
to allow stack elements from different
versions of this library to be included in the same stack.
- Type: any
import { VpcEniAddon } from '@smallcase/cdk-eks-cluster-module'
VpcEniAddon.isCfnResource(x: any)
Check whether the given object is a CfnResource.
- Type: any
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
creationStack |
string[] |
No description. |
logicalId |
string |
The logical ID for this CloudFormation stack element. |
stack |
aws-cdk-lib.Stack |
The stack in which this element is defined. |
ref |
string |
Return a string that will be resolved to a CloudFormation { Ref } for this element. |
cfnOptions |
aws-cdk-lib.ICfnResourceOptions |
Options for this resource, such as condition, update policy etc. |
cfnResourceType |
string |
AWS resource type. |
attrArn |
string |
The ARN of the add-on, such as arn:aws:eks:us-west-2:111122223333:addon/1-19/vpc-cni/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx . |
tags |
aws-cdk-lib.TagManager |
Tag Manager which manages the tags for this resource. |
addonName |
string |
The name of the add-on. |
clusterName |
string |
The name of your cluster. |
addonVersion |
string |
The version of the add-on. |
configurationValues |
string |
The configuration values that you provided. |
podIdentityAssociations |
aws-cdk-lib.IResolvable | aws-cdk-lib.IResolvable | aws-cdk-lib.aws_eks.CfnAddon.PodIdentityAssociationProperty[] |
An array of Pod Identity Assocations owned by the Addon. |
preserveOnDelete |
boolean | aws-cdk-lib.IResolvable |
Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. |
resolveConflicts |
string |
How to resolve field value conflicts for an Amazon EKS add-on. |
serviceAccountRoleArn |
string |
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. |
tagsRaw |
aws-cdk-lib.CfnTag[] |
The metadata that you apply to the add-on to assist with categorization and organization. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly creationStack: string[];
- Type: string[]
public readonly logicalId: string;
- Type: string
The logical ID for this CloudFormation stack element.
The logical ID of the element is calculated from the path of the resource node in the construct tree.
To override this value, use overrideLogicalId(newLogicalId)
.
public readonly stack: Stack;
- Type: aws-cdk-lib.Stack
The stack in which this element is defined.
CfnElements must be defined within a stack scope (directly or indirectly).
public readonly ref: string;
- Type: string
Return a string that will be resolved to a CloudFormation { Ref }
for this element.
If, by any chance, the intrinsic reference of a resource is not a string, you could
coerce it to an IResolvable through Lazy.any({ produce: resource.ref })
.
public readonly cfnOptions: ICfnResourceOptions;
- Type: aws-cdk-lib.ICfnResourceOptions
Options for this resource, such as condition, update policy etc.
public readonly cfnResourceType: string;
- Type: string
AWS resource type.
public readonly attrArn: string;
- Type: string
The ARN of the add-on, such as arn:aws:eks:us-west-2:111122223333:addon/1-19/vpc-cni/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
.
public readonly tags: TagManager;
- Type: aws-cdk-lib.TagManager
Tag Manager which manages the tags for this resource.
public readonly addonName: string;
- Type: string
The name of the add-on.
public readonly clusterName: string;
- Type: string
The name of your cluster.
public readonly addonVersion: string;
- Type: string
The version of the add-on.
public readonly configurationValues: string;
- Type: string
The configuration values that you provided.
public readonly podIdentityAssociations: IResolvable | IResolvable | PodIdentityAssociationProperty[];
- Type: aws-cdk-lib.IResolvable | aws-cdk-lib.IResolvable | aws-cdk-lib.aws_eks.CfnAddon.PodIdentityAssociationProperty[]
An array of Pod Identity Assocations owned by the Addon.
public readonly preserveOnDelete: boolean | IResolvable;
- Type: boolean | aws-cdk-lib.IResolvable
Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on.
public readonly resolveConflicts: string;
- Type: string
How to resolve field value conflicts for an Amazon EKS add-on.
public readonly serviceAccountRoleArn: string;
- Type: string
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account.
public readonly tagsRaw: CfnTag[];
- Type: aws-cdk-lib.CfnTag[]
The metadata that you apply to the add-on to assist with categorization and organization.
Name | Type | Description |
---|---|---|
CFN_RESOURCE_TYPE_NAME |
string |
The CloudFormation resource type name for this resource class. |
public readonly CFN_RESOURCE_TYPE_NAME: string;
- Type: string
The CloudFormation resource type name for this resource class.
import { AddonProps } from '@smallcase/cdk-eks-cluster-module'
const addonProps: AddonProps = { ... }
Name | Type | Description |
---|---|---|
configurationValues |
string |
No description. |
vpnCniAddonVersion |
VpcCniAddonVersion |
No description. |
public readonly configurationValues: string;
- Type: string
public readonly vpnCniAddonVersion: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
import { ArgoCD } from '@smallcase/cdk-eks-cluster-module'
const argoCD: ArgoCD = { ... }
Name | Type | Description |
---|---|---|
assumeRoleArn |
string |
No description. |
clusterRoleName |
string |
No description. |
public readonly assumeRoleArn: string;
- Type: string
public readonly clusterRoleName: string;
- Type: string
import { ClusterConfig } from '@smallcase/cdk-eks-cluster-module'
const clusterConfig: ClusterConfig = { ... }
Name | Type | Description |
---|---|---|
clusterName |
string |
No description. |
clusterVersion |
aws-cdk-lib.aws_eks.KubernetesVersion |
No description. |
defaultCapacity |
number |
No description. |
nodeGroups |
NodeGroupConfig[] |
No description. |
subnets |
InternalMap |
No description. |
tags |
InternalMap |
No description. |
teamMembers |
string[] |
No description. |
addAutoscalerIam |
boolean |
No description. |
albControllerVersion |
aws-cdk-lib.aws_eks.AlbControllerVersion |
No description. |
argoCD |
ArgoCD |
No description. |
commonComponents |
{[ key: string ]: ICommonComponentsProps} |
No description. |
debugLogs |
boolean |
No description. |
defaultCommonComponents |
DefaultCommonComponents |
No description. |
deprecateClusterAutoScaler |
boolean |
No description. |
fargateProfiles |
FargateProfile[] |
No description. |
kubectlLayer |
aws-cdk-lib.aws_lambda.ILayerVersion |
No description. |
namespaces |
{[ key: string ]: NamespaceSpec} |
No description. |
publicAllowAccess |
string[] |
No description. |
skipExternalDNS |
boolean |
No description. |
teamExistingRolePermission |
{[ key: string ]: string} |
No description. |
public readonly clusterName: string;
- Type: string
public readonly clusterVersion: KubernetesVersion;
- Type: aws-cdk-lib.aws_eks.KubernetesVersion
public readonly defaultCapacity: number;
- Type: number
public readonly nodeGroups: NodeGroupConfig[];
- Type: NodeGroupConfig[]
public readonly subnets: InternalMap;
- Type: InternalMap
public readonly tags: InternalMap;
- Type: InternalMap
public readonly teamMembers: string[];
- Type: string[]
public readonly addAutoscalerIam: boolean;
- Type: boolean
public readonly albControllerVersion: AlbControllerVersion;
- Type: aws-cdk-lib.aws_eks.AlbControllerVersion
public readonly argoCD: ArgoCD;
- Type: ArgoCD
public readonly commonComponents: {[ key: string ]: ICommonComponentsProps};
- Type: {[ key: string ]: ICommonComponentsProps}
public readonly debugLogs: boolean;
- Type: boolean
public readonly defaultCommonComponents: DefaultCommonComponents;
- Type: DefaultCommonComponents
public readonly deprecateClusterAutoScaler: boolean;
- Type: boolean
public readonly fargateProfiles: FargateProfile[];
- Type: FargateProfile[]
public readonly kubectlLayer: ILayerVersion;
- Type: aws-cdk-lib.aws_lambda.ILayerVersion
public readonly namespaces: {[ key: string ]: NamespaceSpec};
- Type: {[ key: string ]: NamespaceSpec}
public readonly publicAllowAccess: string[];
- Type: string[]
public readonly skipExternalDNS: boolean;
- Type: boolean
public readonly teamExistingRolePermission: {[ key: string ]: string};
- Type: {[ key: string ]: string}
import { CommonHelmChartsProps } from '@smallcase/cdk-eks-cluster-module'
const commonHelmChartsProps: CommonHelmChartsProps = { ... }
Name | Type | Description |
---|---|---|
cluster |
aws-cdk-lib.aws_eks.ICluster |
No description. |
helmProps |
StandardHelmProps |
No description. |
dependentNamespaces |
aws-cdk-lib.aws_eks.KubernetesManifest[] |
No description. |
iamPolicyPath |
string[] |
No description. |
logCharts |
boolean |
No description. |
serviceAccounts |
string[] |
No description. |
public readonly cluster: ICluster;
- Type: aws-cdk-lib.aws_eks.ICluster
public readonly helmProps: StandardHelmProps;
- Type: StandardHelmProps
public readonly dependentNamespaces: KubernetesManifest[];
- Type: aws-cdk-lib.aws_eks.KubernetesManifest[]
public readonly iamPolicyPath: string[];
- Type: string[]
public readonly logCharts: boolean;
- Type: boolean
public readonly serviceAccounts: string[];
- Type: string[]
import { CoreAddonProps } from '@smallcase/cdk-eks-cluster-module'
const coreAddonProps: CoreAddonProps = { ... }
Name | Type | Description |
---|---|---|
cluster |
aws-cdk-lib.aws_eks.Cluster |
No description. |
addonVersion |
string |
No description. |
configurationValues |
string |
No description. |
namespace |
string |
No description. |
resolveConflicts |
boolean |
No description. |
public readonly cluster: Cluster;
- Type: aws-cdk-lib.aws_eks.Cluster
public readonly addonVersion: string;
- Type: string
public readonly configurationValues: string;
- Type: string
public readonly namespace: string;
- Type: string
public readonly resolveConflicts: boolean;
- Type: boolean
import { CoreAddonValuesProps } from '@smallcase/cdk-eks-cluster-module'
const coreAddonValuesProps: CoreAddonValuesProps = { ... }
Name | Type | Description |
---|---|---|
addonVersion |
string |
No description. |
configurationValues |
string |
No description. |
public readonly addonVersion: string;
- Type: string
public readonly configurationValues: string;
- Type: string
import { DefaultCommonComponents } from '@smallcase/cdk-eks-cluster-module'
const defaultCommonComponents: DefaultCommonComponents = { ... }
Name | Type | Description |
---|---|---|
awsEbsCsiDriver |
DefaultCommonComponentsProps |
No description. |
awsEfsCsiDriver |
DefaultCommonComponentsProps |
No description. |
clusterAutoscaler |
DefaultCommonComponentsProps |
No description. |
externalDns |
DefaultCommonComponentsProps |
No description. |
public readonly awsEbsCsiDriver: DefaultCommonComponentsProps;
public readonly awsEfsCsiDriver: DefaultCommonComponentsProps;
public readonly clusterAutoscaler: DefaultCommonComponentsProps;
public readonly externalDns: DefaultCommonComponentsProps;
import { DefaultCommonComponentsProps } from '@smallcase/cdk-eks-cluster-module'
const defaultCommonComponentsProps: DefaultCommonComponentsProps = { ... }
Name | Type | Description |
---|---|---|
namespace |
string |
No description. |
public readonly namespace: string;
- Type: string
import { EKSClusterProps } from '@smallcase/cdk-eks-cluster-module'
const eKSClusterProps: EKSClusterProps = { ... }
Name | Type | Description |
---|---|---|
availabilityZones |
string[] |
No description. |
clusterConfig |
ClusterConfig |
No description. |
kmsKey |
aws-cdk-lib.aws_kms.Key |
No description. |
region |
string |
No description. |
workerSecurityGroup |
aws-cdk-lib.aws_ec2.SecurityGroup |
No description. |
addonProps |
AddonProps |
No description. |
clusterVPC |
aws-cdk-lib.aws_ec2.IVpc |
No description. |
coreDnsAddonProps |
CoreAddonValuesProps |
No description. |
kubeProxyAddonProps |
CoreAddonValuesProps |
No description. |
public readonly availabilityZones: string[];
- Type: string[]
public readonly clusterConfig: ClusterConfig;
- Type: ClusterConfig
public readonly kmsKey: Key;
- Type: aws-cdk-lib.aws_kms.Key
public readonly region: string;
- Type: string
public readonly workerSecurityGroup: SecurityGroup;
- Type: aws-cdk-lib.aws_ec2.SecurityGroup
public readonly addonProps: AddonProps;
- Type: AddonProps
public readonly clusterVPC: IVpc;
- Type: aws-cdk-lib.aws_ec2.IVpc
public readonly coreDnsAddonProps: CoreAddonValuesProps;
- Type: CoreAddonValuesProps
public readonly kubeProxyAddonProps: CoreAddonValuesProps;
- Type: CoreAddonValuesProps
import { FargateProfile } from '@smallcase/cdk-eks-cluster-module'
const fargateProfile: FargateProfile = { ... }
Name | Type | Description |
---|---|---|
namespaces |
string[] |
No description. |
profileName |
string |
No description. |
labels |
InternalMap |
No description. |
podExecutionRole |
aws-cdk-lib.aws_iam.Role |
No description. |
subnetSelection |
aws-cdk-lib.aws_ec2.SubnetSelection |
No description. |
public readonly namespaces: string[];
- Type: string[]
public readonly profileName: string;
- Type: string
public readonly labels: InternalMap;
- Type: InternalMap
public readonly podExecutionRole: Role;
- Type: aws-cdk-lib.aws_iam.Role
public readonly subnetSelection: SubnetSelection;
- Type: aws-cdk-lib.aws_ec2.SubnetSelection
import { InternalMap } from '@smallcase/cdk-eks-cluster-module'
const internalMap: InternalMap = { ... }
import { NamespaceSpec } from '@smallcase/cdk-eks-cluster-module'
const namespaceSpec: NamespaceSpec = { ... }
Name | Type | Description |
---|---|---|
annotations |
InternalMap |
No description. |
labels |
InternalMap |
No description. |
public readonly annotations: InternalMap;
- Type: InternalMap
public readonly labels: InternalMap;
- Type: InternalMap
import { NodeGroupConfig } from '@smallcase/cdk-eks-cluster-module'
const nodeGroupConfig: NodeGroupConfig = { ... }
Name | Type | Description |
---|---|---|
instanceTypes |
aws-cdk-lib.aws_ec2.InstanceType[] |
No description. |
labels |
InternalMap |
No description. |
maxSize |
number |
No description. |
minSize |
number |
No description. |
name |
string |
No description. |
subnetGroupName |
string |
No description. |
taints |
InternalMap |
No description. |
capacityType |
aws-cdk-lib.aws_eks.CapacityType |
No description. |
desiredSize |
number |
No description. |
diskSize |
number |
No description. |
launchTemplateSpec |
aws-cdk-lib.aws_eks.LaunchTemplateSpec |
No description. |
nodeAMIVersion |
string |
No description. |
sshKeyName |
string |
No description. |
subnetAz |
string[] |
No description. |
tags |
InternalMap |
No description. |
public readonly instanceTypes: InstanceType[];
- Type: aws-cdk-lib.aws_ec2.InstanceType[]
public readonly labels: InternalMap;
- Type: InternalMap
public readonly maxSize: number;
- Type: number
public readonly minSize: number;
- Type: number
public readonly name: string;
- Type: string
public readonly subnetGroupName: string;
- Type: string
public readonly taints: InternalMap;
- Type: InternalMap
public readonly capacityType: CapacityType;
- Type: aws-cdk-lib.aws_eks.CapacityType
public readonly desiredSize: number;
- Type: number
public readonly diskSize: number;
- Type: number
public readonly launchTemplateSpec: LaunchTemplateSpec;
- Type: aws-cdk-lib.aws_eks.LaunchTemplateSpec
public readonly nodeAMIVersion: string;
- Type: string
public readonly sshKeyName: string;
- Type: string
public readonly subnetAz: string[];
- Type: string[]
public readonly tags: InternalMap;
- Type: InternalMap
import { StandardHelmProps } from '@smallcase/cdk-eks-cluster-module'
const standardHelmProps: StandardHelmProps = { ... }
Name | Type | Description |
---|---|---|
chartName |
string |
No description. |
chartReleaseName |
string |
No description. |
chartVersion |
string |
No description. |
createNamespace |
boolean |
No description. |
helmRepository |
string |
No description. |
helmValues |
{[ key: string ]: any} |
No description. |
localHelmChart |
string |
No description. |
namespace |
string |
No description. |
public readonly chartName: string;
- Type: string
public readonly chartReleaseName: string;
- Type: string
public readonly chartVersion: string;
- Type: string
public readonly createNamespace: boolean;
- Type: boolean
public readonly helmRepository: string;
- Type: string
public readonly helmValues: {[ key: string ]: any};
- Type: {[ key: string ]: any}
public readonly localHelmChart: string;
- Type: string
public readonly namespace: string;
- Type: string
import { VpcCniAddonProps } from '@smallcase/cdk-eks-cluster-module'
const vpcCniAddonProps: VpcCniAddonProps = { ... }
Name | Type | Description |
---|---|---|
cluster |
aws-cdk-lib.aws_eks.Cluster |
No description. |
addonVersion |
VpcCniAddonVersion |
No description. |
configurationValues |
string |
No description. |
namespace |
string |
No description. |
resolveConflicts |
boolean |
No description. |
public readonly cluster: Cluster;
- Type: aws-cdk-lib.aws_eks.Cluster
public readonly addonVersion: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
public readonly configurationValues: string;
- Type: string
public readonly namespace: string;
- Type: string
public readonly resolveConflicts: boolean;
- Type: boolean
import { VpcCniAddonVersion } from '@smallcase/cdk-eks-cluster-module'
new VpcCniAddonVersion(version: string)
Name | Type | Description |
---|---|---|
version |
string |
No description. |
- Type: string
Name | Description |
---|---|
of |
Custom add-on version. |
import { VpcCniAddonVersion } from '@smallcase/cdk-eks-cluster-module'
VpcCniAddonVersion.of(version: string)
Custom add-on version.
- Type: string
custom add-on version.
Name | Type | Description |
---|---|---|
version |
string |
No description. |
public readonly version: string;
- Type: string
Name | Type | Description |
---|---|---|
V1_10_1 |
VpcCniAddonVersion |
vpc-cni version 1.10.1. |
V1_10_2 |
VpcCniAddonVersion |
vpc-cni version 1.10.2. |
V1_10_3 |
VpcCniAddonVersion |
vpc-cni version 1.10.3. |
V1_11_0 |
VpcCniAddonVersion |
vpc-cni version 1.11.0. |
V1_11_2 |
VpcCniAddonVersion |
vpc-cni version 1.11.2. |
V1_11_3 |
VpcCniAddonVersion |
vpc-cni version 1.11.3. |
V1_11_4 |
VpcCniAddonVersion |
vpc-cni version 1.11.4. |
V1_12_0 |
VpcCniAddonVersion |
vpc-cni version 1.12.0. |
V1_12_1 |
VpcCniAddonVersion |
vpc-cni version 1.12.1. |
V1_12_2 |
VpcCniAddonVersion |
vpc-cni version 1.12.2. |
V1_12_5 |
VpcCniAddonVersion |
vpc-cni version 1.12.5. |
V1_12_5_2 |
VpcCniAddonVersion |
vpc-cni version 1.12.5.2. |
V1_17_1_1 |
VpcCniAddonVersion |
vpc-cni version 1.17.1.1. |
V1_6_3 |
VpcCniAddonVersion |
vpc-cni version 1.6.3. |
V1_7_10 |
VpcCniAddonVersion |
vpc-cni version 1.7.10. |
V1_7_5 |
VpcCniAddonVersion |
vpc-cni version 1.7.5. |
V1_7_6 |
VpcCniAddonVersion |
vpc-cni version 1.7.6. |
V1_7_9 |
VpcCniAddonVersion |
vpc-cni version 1.7.9. |
V1_8_0 |
VpcCniAddonVersion |
vpc-cni version 1.8.0. |
V1_9_0 |
VpcCniAddonVersion |
vpc-cni version 1.9.0. |
V1_9_1 |
VpcCniAddonVersion |
vpc-cni version 1.9.1. |
V1_9_3 |
VpcCniAddonVersion |
vpc-cni version 1.9.3. |
public readonly V1_10_1: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.10.1.
public readonly V1_10_2: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.10.2.
public readonly V1_10_3: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.10.3.
public readonly V1_11_0: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.11.0.
public readonly V1_11_2: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.11.2.
public readonly V1_11_3: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.11.3.
public readonly V1_11_4: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.11.4.
public readonly V1_12_0: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.12.0.
public readonly V1_12_1: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.12.1.
public readonly V1_12_2: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.12.2.
public readonly V1_12_5: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.12.5.
public readonly V1_12_5_2: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.12.5.2.
public readonly V1_17_1_1: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.17.1.1.
public readonly V1_6_3: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.6.3.
public readonly V1_7_10: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.7.10.
public readonly V1_7_5: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.7.5.
public readonly V1_7_6: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.7.6.
public readonly V1_7_9: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.7.9.
public readonly V1_8_0: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.8.0.
public readonly V1_9_0: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.9.0.
public readonly V1_9_1: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.9.1.
public readonly V1_9_3: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.9.3.
- Implemented By: ICommonComponentsProps
Name | Type | Description |
---|---|---|
helm |
StandardHelmProps |
No description. |
iamPolicyPath |
string[] |
No description. |
serviceAccounts |
string[] |
No description. |
public readonly helm: StandardHelmProps;
- Type: StandardHelmProps
public readonly iamPolicyPath: string[];
- Type: string[]
public readonly serviceAccounts: string[];
- Type: string[]