Skip to content

One Observability Workshop v3.0.0


One Observability Workshop / constructs/eks-deployment / EKSDeployment

Abstract Class: EKSDeployment

Defined in: constructs/eks-deployment.ts:47

Abstract base class for EKS-hosted microservices.

Deploys Kubernetes manifests via CDK's KubernetesManifest construct and configures EKS Pod Identity for IAM role binding. Concrete subclasses implement prepareManifest to generate the Kubernetes resource definitions.

Extends

Extended by

Constructors

Constructor

new EKSDeployment(scope, id, properties): EKSDeployment

Defined in: constructs/eks-deployment.ts:54

Parameters

scope

Construct

id

string

properties

EKSDeploymentProperties

Returns

EKSDeployment

Overrides

Microservice.constructor

Properties

manifest

manifest: KubernetesManifest

Defined in: constructs/eks-deployment.ts:48


serviceAccountRole?

optional serviceAccountRole: Role

Defined in: constructs/eks-deployment.ts:49


namespace?

optional namespace: string

Defined in: constructs/eks-deployment.ts:50


serviceAccountName?

optional serviceAccountName: string

Defined in: constructs/eks-deployment.ts:51


podIdentityAssociation?

optional podIdentityAssociation: CfnPodIdentityAssociation

Defined in: constructs/eks-deployment.ts:52


ddbSeedPolicy

readonly ddbSeedPolicy: PolicyStatement

Defined in: constructs/microservice.ts:109

Inherited from

Microservice.ddbSeedPolicy

Methods

prepareManifest()

abstract prepareManifest(properties): Record\<string, any>[]

Defined in: constructs/eks-deployment.ts:59

Parameters

properties

EKSDeploymentProperties

Returns

Record\<string, any>[]


configureEKSService()

configureEKSService(properties): KubernetesManifest

Defined in: constructs/eks-deployment.ts:61

Parameters

properties

EKSDeploymentProperties

Returns

KubernetesManifest

Overrides

Microservice.configureEKSService


configureECSService()

abstract configureECSService(properties): void

Defined in: constructs/microservice.ts:103

Parameters

properties

MicroserviceProperties

Returns

void

Inherited from

Microservice.configureECSService


addPermissions()

abstract addPermissions(properties): void

Defined in: constructs/microservice.ts:105

Parameters

properties

MicroserviceProperties

Returns

void

Inherited from

Microservice.addPermissions


createOutputs()

abstract createOutputs(properties): void

Defined in: constructs/microservice.ts:107

Parameters

properties

MicroserviceProperties

Returns

void

Inherited from

Microservice.createOutputs


getDefaultEventBridgePolicy()

static getDefaultEventBridgePolicy(scope): PolicyStatement

Defined in: constructs/microservice.ts:115

Parameters

scope

Construct

Returns

PolicyStatement

Inherited from

Microservice.getDefaultEventBridgePolicy


getDefaultSSMPolicy()

static getDefaultSSMPolicy(scope, prefix?): PolicyStatement

Defined in: constructs/microservice.ts:124

Parameters

scope

Construct

prefix?

string

Returns

PolicyStatement

Inherited from

Microservice.getDefaultSSMPolicy