Skip to content

Commit 6121039

Browse files
author
dinsajwa
committed
added SAES metric dashboard tag to samples
1 parent d123c50 commit 6121039

File tree

10 files changed

+9
-10
lines changed

10 files changed

+9
-10
lines changed

samples/content-generation/bin/content-generation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const app = new cdk.App();
1818
new GenerateContentStack(app, 'GenerateContentStack', {
1919
natGateways: 1,
2020
clientUrl:env.clientUrl,
21-
description: '(uksb-1tupboc43) Image generation stack',
21+
description: '(uksb-1tupboc43) (tag: Image generation stack)',
2222
env: { account: process.env.CDK_DEFAULT_ACCOUNT,
2323
region: process.env.CDK_DEFAULT_REGION },
2424
/* If you don't specify 'env', this stack will be environment-agnostic.

samples/contract-compliance-analysis/back-end/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
stack_name = os.environ.get('STACK_NAME', "MainBackendStack")
2626

2727
main_backend_stack = BackendStack(
28-
app, stack_name, description=f'{(USAGE_METRIC)} (version:{VERSION}) (tag:{SOLUTION_NAME})'
28+
app, stack_name, description=f'({USAGE_METRIC})(tag: {SOLUTION_NAME})'
2929
)
3030

3131
cdk.Aspects.of(app).add(AwsSolutionsChecks())

samples/document_explorer/bin/document_explorer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ cdk.Tags.of(persistence).add("stack", "persistence");
5959
//-----------------------------------------------------------------------------
6060
const api = new ApiStack(app, 'ApiStack', {
6161
env: env,
62-
description: '(uksb-1tupboc43) API Layer stack',
62+
description: '(uksb-1tupboc43) (tag: document explorer)',
6363
existingOpensearchServerlessCollection: persistence.opensearchCollection,
6464
existingVpc: network.vpc,
6565
existingSecurityGroup: network.securityGroups[0],

samples/image-description/bin/image-description.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ const imageDescStack = new ImageDescriptionStack(app, "ImageDesStack", {
2525
account: process.env.CDK_DEFAULT_ACCOUNT,
2626
region: process.env.CDK_DEFAULT_REGION,
2727
},
28-
description: "(uksb-1tupboc43) GenAI Image Description Stack",
28+
description: "(uksb-1tupboc43) (tag: GenAI Image Description Stack)",
2929
});

samples/python-samples/python_samples/prompt_management.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None:
8181
"maxTokens": 2000,
8282
}
8383
)
84-
8584
prompt.add_variant(variant2)
8685

8786

samples/sagemaker_custom_endpoint/bin/sagemaker_custom_endpoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ new SagemakerCustomEndpointStack(app, 'SagemakerCustomEndpointStack', {
2020
env: {
2121
region: 'us-east-2'
2222
},
23-
description: '(uksb-1tupboc43) Sagemaker Custom Endpoint Stack'
23+
description: '(uksb-1tupboc43) (tag: Sagemaker Custom Endpoint Stack)'
2424
/* If you don't specify 'env', this stack will be environment-agnostic.
2525
* Account/Region-dependent features and context lookups will not work,
2626
* but a single synthesized template can be deployed anywhere. */

samples/sagemaker_huggingface_model/bin/sagemaker_huggingface_model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ new SagemakerHuggingfaceModelStack(app, 'SagemakerHuggingfaceModelStack', {
2020
env: {
2121
region: 'us-east-1'
2222
},
23-
description: '(uksb-1tupboc43) Sagemaker Hugging face model Stack'
23+
description: '(uksb-1tupboc43) (tag: Sagemaker Hugging face model Stack)'
2424

2525
/* If you don't specify 'env', this stack will be environment-agnostic.
2626
* Account/Region-dependent features and context lookups will not work,

samples/sagemaker_huggingface_model_llava/bin/sagemaker_huggingface_model_llava.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ new SagemakerHuggingfaceModelLlavaStack(app, 'SagemakerHuggingfaceModelLlavaStac
88
env: {
99
region: 'us-east-1'
1010
},
11-
description: '(uksb-1tupboc43) Sagemaker Custom Hugging Face Endpoint Stack'
11+
description: '(uksb-1tupboc43) (tag: Sagemaker Custom Hugging Face Endpoint Stack)'
1212
/* If you don't specify 'env', this stack will be environment-agnostic.
1313
* Account/Region-dependent features and context lookups will not work,
1414
* but a single synthesized template can be deployed anywhere. */

samples/sagemaker_huggingface_model_svd/bin/sagemaker_huggingface_model_svd.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ const app = new cdk.App();
1010
cdk.Tags.of(app).add("app", "generative-ai-cdk-constructs-samples");
1111
cdk.Aspects.of(app).add(new AwsSolutionsChecks({verbose: true}));
1212
new SagemakerHuggingfaceModelSvdStack(app, 'SagemakerHuggingfaceModelSvdStack', {
13-
description: '(uksb-1tupboc43) Custom Async Endpoint Layer stack',
13+
description: '(uksb-1tupboc43) (tag: Custom Async Endpoint Layer stack)',
1414
});

samples/sagemaker_jumpstart_model/bin/sagemaker_jumpstart_model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ new SagemakerJumpstartModelStack(app, 'SagemakerJumpstartModelStack', {
2020
env: {
2121
region: 'us-east-1'
2222
},
23-
description: '(uksb-1tupboc43) Sagemaker Jumpstart Model Stack'
23+
description: '(uksb-1tupboc43) (tag: Sagemaker Jumpstart Model Stack)'
2424
/* If you don't specify 'env', this stack will be environment-agnostic.
2525
* Account/Region-dependent features and context lookups will not work,
2626
* but a single synthesized template can be deployed anywhere. */

0 commit comments

Comments
 (0)