You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/DEPLOY_OPTION.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1808,14 +1808,15 @@ EventBridge rules are used for scheduling, and Step Functions for process contro
1808
1808
1809
1809
### How to Set Tags
1810
1810
1811
-
GenU supports tags for cost management and other purposes. The key name of the tag is automatically set to `GenU``. Here are examples of how to set them:
1811
+
GenU supports tags for cost management and other purposes. By default, the key name of the tag is set to `GenU`, but you can use a custom tag key by specifying `tagKey`. Here are examples of how to set them:
1812
1812
1813
1813
Setting in `cdk.json`:
1814
1814
1815
1815
```json
1816
1816
// cdk.json
1817
1817
...
1818
1818
"context": {
1819
+
"tagKey": "MyProject", // Custom tag key (optional, default is "GenU")
1819
1820
"tagValue": "dev",
1820
1821
...
1821
1822
```
@@ -1824,6 +1825,7 @@ Setting in `parameter.ts`:
1824
1825
1825
1826
```typescript
1826
1827
...
1828
+
tagKey: "MyProject", // Custom tag key (optional, default is "GenU")
0 commit comments