Skip to content

Commit 8819006

Browse files
authored
chore(deps): upgrade cdk, jsii and projen (#1178)
1 parent dffceac commit 8819006

File tree

6 files changed

+72
-67
lines changed

6 files changed

+72
-67
lines changed

.projen/deps.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import {
2929
const GITHUB_USER = 'awslabs';
3030
const PUBLICATION_NAMESPACE = 'cdklabs';
3131
const PROJECT_NAME = 'generative-ai-cdk-constructs';
32-
const CDK_VERSION: string = '2.219.0';
32+
const CDK_VERSION: string = '2.221.0';
3333

3434
function camelCaseIt(input: string): string {
3535
// Hypens and dashes to spaces and then CamelCase...
@@ -49,10 +49,10 @@ const project = new awscdk.AwsCdkConstructLibrary({
4949
description:
5050
'AWS Generative AI CDK Constructs is a library for well-architected generative AI patterns.',
5151
cdkVersion: CDK_VERSION,
52-
projenVersion: '~0.98.0',
52+
projenVersion: '~0.98.4',
5353
constructsVersion: '10.3.0',
5454
defaultReleaseBranch: 'main',
55-
jsiiVersion: '~5.8.0',
55+
jsiiVersion: '~5.9.0',
5656
name: '@' + PUBLICATION_NAMESPACE + '/' + PROJECT_NAME,
5757
projenrcTs: true,
5858
repositoryUrl: 'https://github.com/' + GITHUB_USER + '/' + PROJECT_NAME,

package.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/integ/issue991.integ.snapshot/manifest.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,17 @@
521521
"@aws-cdk/aws-lambda:useCdkManagedLogGroup": {
522522
"recommendedValue": true,
523523
"explanation": "When enabled, CDK creates and manages loggroup for the lambda function"
524+
},
525+
"@aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint": {
526+
"recommendedValue": true,
527+
"explanation": "When enabled, allows using a dynamic apiEndpoint with JSONPath format in HttpInvoke tasks.",
528+
"unconfiguredBehavesLike": {
529+
"v2": true
530+
}
531+
},
532+
"@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId": {
533+
"recommendedValue": true,
534+
"explanation": "When enabled, ECS patterns will generate unique target group IDs to prevent conflicts during load balancer replacement"
524535
}
525536
}
526537
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.219.0"},"children":{"Claude37Test":{"id":"Claude37Test","path":"Claude37Test","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.219.0"},"children":{"Agent":{"id":"Agent","path":"Claude37Test/Agent","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.219.0","metadata":[]},"children":{"Role":{"id":"Role","path":"Claude37Test/Agent/Role","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.219.0","metadata":[]},"children":{"ImportRole":{"id":"ImportRole","path":"Claude37Test/Agent/Role/ImportRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.219.0","metadata":[]}},"Resource":{"id":"Resource","path":"Claude37Test/Agent/Role/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.219.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Condition":{"StringEquals":{"aws:SourceAccount":{"Ref":"AWS::AccountId"}},"ArnLike":{"aws:SourceArn":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":bedrock:us-east-1:",{"Ref":"AWS::AccountId"},":agent/*"]]}}},"Effect":"Allow","Principal":{"Service":"bedrock.amazonaws.com"}}],"Version":"2012-10-17"},"roleName":"AmazonBedrockExecutionRoleForAgents_Claude37TestAgent6E1B1693"}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"Claude37Test/Agent/Role/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.219.0","metadata":[]},"children":{"Resource":{"id":"Resource","path":"Claude37Test/Agent/Role/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.219.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["bedrock:InvokeModel*","bedrock:GetFoundationModel"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":bedrock:*::foundation-model/anthropic.claude-3-7-sonnet-20250219-v1:0"]]}},{"Action":["bedrock:GetInferenceProfile","bedrock:InvokeModel*"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":bedrock:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":inference-profile/us.anthropic.claude-3-7-sonnet-20250219-v1:0"]]}}],"Version":"2012-10-17"},"policyName":"AgentRoleDefaultPolicyA34CCA36","roles":[{"Ref":"AgentRole9D587F56"}]}}}}}}},"AgentResource":{"id":"AgentResource","path":"Claude37Test/Agent/AgentResource","constructInfo":{"fqn":"aws-cdk-lib.aws_bedrock.CfnAgent","version":"2.219.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Bedrock::Agent","aws:cdk:cloudformation:props":{"actionGroups":[{"actionGroupName":"UserInputAction","actionGroupState":"DISABLED","parentActionGroupSignature":"AMAZON.UserInput","skipResourceInUseCheckOnDelete":false},{"actionGroupName":"CodeInterpreterAction","actionGroupState":"DISABLED","parentActionGroupSignature":"AMAZON.CodeInterpreter","skipResourceInUseCheckOnDelete":false}],"agentName":"test-agent-claude37","agentResourceRoleArn":{"Fn::GetAtt":["AgentRole9D587F56","Arn"]},"autoPrepare":true,"description":"Agent description.","foundationModel":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":bedrock:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":inference-profile/us.anthropic.claude-3-7-sonnet-20250219-v1:0"]]},"idleSessionTtlInSeconds":3600,"instruction":"You're a nice agent saying Konnichiwa in Hiragana at the start of every interaction","skipResourceInUseCheckOnDelete":false}}},"DefaultAlias":{"id":"DefaultAlias","path":"Claude37Test/Agent/DefaultAlias","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.219.0","metadata":[]}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"Claude37Test/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.219.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"Claude37Test/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.219.0"}}}},"Claude37Test-Integ":{"id":"Claude37Test-Integ","path":"Claude37Test-Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.219.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"Claude37Test-Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.219.0-alpha.0"},"children":{"Default":{"id":"Default","path":"Claude37Test-Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.3.0"}},"DeployAssert":{"id":"DeployAssert","path":"Claude37Test-Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.219.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"Claude37Test-Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.219.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"Claude37Test-Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.219.0"}}}}}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.3.0"}}}}}
1+
{"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.221.0"},"children":{"Claude37Test":{"id":"Claude37Test","path":"Claude37Test","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.221.0"},"children":{"Agent":{"id":"Agent","path":"Claude37Test/Agent","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.221.0","metadata":[]},"children":{"Role":{"id":"Role","path":"Claude37Test/Agent/Role","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.221.0","metadata":[]},"children":{"ImportRole":{"id":"ImportRole","path":"Claude37Test/Agent/Role/ImportRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.221.0","metadata":[]}},"Resource":{"id":"Resource","path":"Claude37Test/Agent/Role/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.221.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Condition":{"StringEquals":{"aws:SourceAccount":{"Ref":"AWS::AccountId"}},"ArnLike":{"aws:SourceArn":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":bedrock:us-east-1:",{"Ref":"AWS::AccountId"},":agent/*"]]}}},"Effect":"Allow","Principal":{"Service":"bedrock.amazonaws.com"}}],"Version":"2012-10-17"},"roleName":"AmazonBedrockExecutionRoleForAgents_Claude37TestAgent6E1B1693"}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"Claude37Test/Agent/Role/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.221.0","metadata":[]},"children":{"Resource":{"id":"Resource","path":"Claude37Test/Agent/Role/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.221.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["bedrock:InvokeModel*","bedrock:GetFoundationModel"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":bedrock:*::foundation-model/anthropic.claude-3-7-sonnet-20250219-v1:0"]]}},{"Action":["bedrock:GetInferenceProfile","bedrock:InvokeModel*"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":bedrock:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":inference-profile/us.anthropic.claude-3-7-sonnet-20250219-v1:0"]]}}],"Version":"2012-10-17"},"policyName":"AgentRoleDefaultPolicyA34CCA36","roles":[{"Ref":"AgentRole9D587F56"}]}}}}}}},"AgentResource":{"id":"AgentResource","path":"Claude37Test/Agent/AgentResource","constructInfo":{"fqn":"aws-cdk-lib.aws_bedrock.CfnAgent","version":"2.221.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Bedrock::Agent","aws:cdk:cloudformation:props":{"actionGroups":[{"actionGroupName":"UserInputAction","actionGroupState":"DISABLED","parentActionGroupSignature":"AMAZON.UserInput","skipResourceInUseCheckOnDelete":false},{"actionGroupName":"CodeInterpreterAction","actionGroupState":"DISABLED","parentActionGroupSignature":"AMAZON.CodeInterpreter","skipResourceInUseCheckOnDelete":false}],"agentName":"test-agent-claude37","agentResourceRoleArn":{"Fn::GetAtt":["AgentRole9D587F56","Arn"]},"autoPrepare":true,"description":"Agent description.","foundationModel":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":bedrock:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":inference-profile/us.anthropic.claude-3-7-sonnet-20250219-v1:0"]]},"idleSessionTtlInSeconds":3600,"instruction":"You're a nice agent saying Konnichiwa in Hiragana at the start of every interaction","skipResourceInUseCheckOnDelete":false}}},"DefaultAlias":{"id":"DefaultAlias","path":"Claude37Test/Agent/DefaultAlias","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.221.0","metadata":[]}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"Claude37Test/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.221.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"Claude37Test/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.221.0"}}}},"Claude37Test-Integ":{"id":"Claude37Test-Integ","path":"Claude37Test-Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.221.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"Claude37Test-Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.221.0-alpha.0"},"children":{"Default":{"id":"Default","path":"Claude37Test-Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.3.0"}},"DeployAssert":{"id":"DeployAssert","path":"Claude37Test-Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.221.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"Claude37Test-Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.221.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"Claude37Test-Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.221.0"}}}}}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.3.0"}}}}}

0 commit comments

Comments
 (0)