Skip to content

Bedrock Team

The BedrockTeam extends the ApplicationTeam and allows the Bedrock team to manage the namespace where the generative AI workloads can be deployed. This team MUST be used in conjuction with Bedrock Builder.

The Bedrock Team allows you to create an IRSA to allow pods in namespace specified by the user to access Amazon Bedrock.

Usage

import * as cdk from 'aws-cdk-lib';
import * as blueprints from '@aws-quickstart/eks-blueprints';

const app = new cdk.App();

const bedrockTeamProps: blueprints.BedrockTeamProps = {
  namespace: 'bedrock',
  createNamespace: true,
  serviceAccountName: 'bedrock-service-account',
};


const blueprint = blueprints.EksBlueprint.builder()
  .version("auto")
  .teams(new blueprints.BedrockTeam(bedrockTeamProps))
  .build(app, 'my-stack-name');