Skip to content

Commit fe7e986

Browse files
chore: update analytics metadata blueprints
1 parent d65679c commit fe7e986

File tree

5 files changed

+193
-1
lines changed

5 files changed

+193
-1
lines changed

packages/aws-cdk-lib/aws-logs/lib/transformer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import { Construct } from 'constructs';
2020
import { CfnTransformer } from '.';
2121
import { ILogGroup } from './log-group';
2222
import { Resource, Token, ValidationError, UnscopedValidationError } from '../../core';
23+
import { addConstructMetadata } from '../../core/lib/metadata-resource';
2324
import { propertyInjectable } from '../../core/lib/prop-injectable';
2425

2526
/**
@@ -1197,6 +1198,8 @@ export class Transformer extends Resource {
11971198
super(scope, id, {
11981199
physicalName: props.transformerName,
11991200
});
1201+
// Enhanced CDK Analytics Telemetry
1202+
addConstructMetadata(this, props);
12001203

12011204
// Validate the transformer configuration
12021205
this.validateProcessorCount(props.transformerConfig);

packages/aws-cdk-lib/core/lib/analytics-data-source/classes.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19307,6 +19307,20 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1930719307
},
1930819308
'filterName': '*',
1930919309
'distribution': 'Distribution'
19310+
},
19311+
'Transformer': {
19312+
'transformerName': '*',
19313+
'logGroup': {
19314+
'logGroupArn': '*',
19315+
'logGroupName': '*',
19316+
'stack': '*',
19317+
'env': {
19318+
'account': '*',
19319+
'region': '*'
19320+
},
19321+
'node': '*'
19322+
},
19323+
'transformerConfig': '*'
1931019324
}
1931119325
},
1931219326
'aws-cdk-lib.aws-opensearchservice': {
@@ -24030,6 +24044,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2403024044
},
2403124045
'timeToLive': '*',
2403224046
'schedule': '*',
24047+
'maxRetries': '*',
2403324048
'startAfterCreation': 'boolean',
2403424049
'successRetentionPeriod': '*',
2403524050
'failureRetentionPeriod': '*',
@@ -24129,6 +24144,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2412924144
'node': '*'
2413024145
},
2413124146
'dryRunAndUpdate': 'boolean',
24147+
'resourcesToReplicateTags': 'ResourceToReplicateTags',
2413224148
'metricDuration': [
2413324149
{
2413424150
'period': '*',

packages/aws-cdk-lib/core/lib/analytics-data-source/enums.ts

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -902,6 +902,10 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
902902
'aurora',
903903
'aurora-iopt1'
904904
],
905+
'DataConverterType': [
906+
0,
907+
1
908+
],
905909
'DataResourceType': [
906910
'AWS::Lambda::Function',
907911
'AWS::S3::Object'
@@ -915,6 +919,11 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
915919
'standard',
916920
'advanced'
917921
],
922+
'DateTimeFormat': [
923+
'yyyy-MM-dd'T'HH:mm:ss'Z'',
924+
'epoch',
925+
'custom'
926+
],
918927
'DayOfWeek': [
919928
'SUN',
920929
'MON',
@@ -952,6 +961,13 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
952961
'APPLY',
953962
'BYPASS'
954963
],
964+
'DelimiterCharacter': [
965+
',',
966+
'\t',
967+
' ',
968+
';',
969+
'|'
970+
],
955971
'DependenciesFile': [
956972
'requirements.txt',
957973
'poetry.lock',
@@ -1710,6 +1726,8 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
17101726
'c6gn',
17111727
'compute7-graviton3-high-network-bandwidth',
17121728
'c7gn',
1729+
'compute8-graviton4-high-network-bandwidth',
1730+
'c8gn',
17131731
'compute7-intel',
17141732
'c7i',
17151733
'compute7-intel-flex',
@@ -2047,6 +2065,14 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
20472065
'pythonshell',
20482066
'glueray'
20492067
],
2068+
'JsonMutatorType': [
2069+
0,
2070+
1,
2071+
2,
2072+
3,
2073+
4,
2074+
5
2075+
],
20502076
'JsonSchemaType': [
20512077
'null',
20522078
'boolean',
@@ -2093,6 +2119,16 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
20932119
'GENERATE_VERIFY_MAC',
20942120
'KEY_AGREEMENT'
20952121
],
2122+
'KeyValueDelimiter': [
2123+
'=',
2124+
':'
2125+
],
2126+
'KeyValuePairDelimiter': [
2127+
'&',
2128+
';',
2129+
' ',
2130+
'\n'
2131+
],
20962132
'KinesisStartingPosition': [
20972133
'TRIM_HORIZON',
20982134
'LATEST',
@@ -2204,6 +2240,11 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
22042240
'ERROR',
22052241
'FATAL'
22062242
],
2243+
'LogQueryLanguage': [
2244+
'Logs',
2245+
'SQL',
2246+
'PPL'
2247+
],
22072248
'LogQueryVisualizationType': [
22082249
'table',
22092250
'line',
@@ -2423,6 +2464,16 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
24232464
'SET_TO_NULL',
24242465
'DROP_ROW'
24252466
],
2467+
'OCSFSourceType': [
2468+
'CloudTrail',
2469+
'Route53Resolver',
2470+
'VPCFlow',
2471+
'EKSAudit',
2472+
'AWSWAF'
2473+
],
2474+
'OCSFVersion': [
2475+
'V1.1'
2476+
],
24262477
'ObjectLockMode': [
24272478
'GOVERNANCE',
24282479
'COMPLIANCE'
@@ -2569,6 +2620,13 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
25692620
'ParamsAndSecretsVersions': [
25702621
'1.0.103'
25712622
],
2623+
'ParserProcessorType': [
2624+
0,
2625+
1,
2626+
2,
2627+
3,
2628+
4
2629+
],
25722630
'Partition': [
25732631
'aws',
25742632
'aws-cn',
@@ -2790,6 +2848,10 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
27902848
'KMS',
27912849
'SQS_MANAGED'
27922850
],
2851+
'QuoteCharacter': [
2852+
'\'',
2853+
'''
2854+
],
27932855
'ReadWriteType': [
27942856
'ReadOnly',
27952857
'WriteOnly',
@@ -2921,6 +2983,9 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
29212983
'resume-cluster',
29222984
'failover-primary-compute'
29232985
],
2986+
'ResourceToReplicateTags': [
2987+
'lambda-function'
2988+
],
29242989
'RestApiMode': [
29252990
'overwrite',
29262991
'merge'
@@ -3300,6 +3365,13 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
33003365
'NEW_AND_OLD_IMAGES',
33013366
'KEYS_ONLY'
33023367
],
3368+
'StringMutatorType': [
3369+
0,
3370+
1,
3371+
2,
3372+
3,
3373+
4
3374+
],
33033375
'Style': [
33043376
'VectorEsriNavigation',
33053377
'RasterEsriImagery',
@@ -3583,6 +3655,12 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
35833655
'TriggerInvalidation': [
35843656
'WHEN_FUNCTION_CHANGES'
35853657
],
3658+
'TypeConverterType': [
3659+
'boolean',
3660+
'integer',
3661+
'double',
3662+
'string'
3663+
],
35863664
'URLEncodingFormat': [
35873665
'BRACKETS',
35883666
'COMMAS',
@@ -3687,6 +3765,13 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
36873765
'FLOAT32',
36883766
'BINARY'
36893767
],
3768+
'VendedLogType': [
3769+
0,
3770+
1,
3771+
2,
3772+
3,
3773+
4
3774+
],
36903775
'VerificationEmailStyle': [
36913776
'CONFIRM_WITH_CODE',
36923777
'CONFIRM_WITH_LINK'

packages/aws-cdk-lib/core/lib/analytics-data-source/enums/module-enumlikes.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2621,7 +2621,8 @@
26212621
"VER_16_8_LIMITLESS",
26222622
"VER_17_1",
26232623
"VER_17_2",
2624-
"VER_17_4"
2624+
"VER_17_4",
2625+
"VER_17_5"
26252626
],
26262627
"DatabaseClusterEngine": [
26272628
"AURORA",

packages/aws-cdk-lib/core/lib/analytics-data-source/enums/module-enums.json

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1885,6 +1885,11 @@
18851885
"stackedarea",
18861886
"bar",
18871887
"pie"
1888+
],
1889+
"LogQueryLanguage": [
1890+
"Logs",
1891+
"SQL",
1892+
"PPL"
18881893
]
18891894
},
18901895
"aws-cdk/packages/aws-cdk-lib/aws-cloudwatch/lib/metric-types.ts": {
@@ -2557,6 +2562,8 @@
25572562
"c6gn",
25582563
"compute7-graviton3-high-network-bandwidth",
25592564
"c7gn",
2565+
"compute8-graviton4-high-network-bandwidth",
2566+
"c8gn",
25602567
"compute7-intel",
25612568
"c7i",
25622569
"compute7-intel-flex",
@@ -4459,6 +4466,83 @@
44594466
"Random"
44604467
]
44614468
},
4469+
"aws-cdk/packages/aws-cdk-lib/aws-logs/lib/transformer.ts": {
4470+
"TypeConverterType": [
4471+
"boolean",
4472+
"integer",
4473+
"double",
4474+
"string"
4475+
],
4476+
"DateTimeFormat": [
4477+
"yyyy-MM-dd'T'HH:mm:ss'Z'",
4478+
"epoch",
4479+
"custom"
4480+
],
4481+
"DelimiterCharacter": [
4482+
",",
4483+
"\t",
4484+
" ",
4485+
";",
4486+
"|"
4487+
],
4488+
"QuoteCharacter": [
4489+
"\"",
4490+
"'"
4491+
],
4492+
"KeyValuePairDelimiter": [
4493+
"&",
4494+
";",
4495+
" ",
4496+
"\n"
4497+
],
4498+
"KeyValueDelimiter": [
4499+
"=",
4500+
":"
4501+
],
4502+
"OCSFSourceType": [
4503+
"CloudTrail",
4504+
"Route53Resolver",
4505+
"VPCFlow",
4506+
"EKSAudit",
4507+
"AWSWAF"
4508+
],
4509+
"OCSFVersion": [
4510+
"V1.1"
4511+
],
4512+
"ParserProcessorType": [
4513+
0,
4514+
1,
4515+
2,
4516+
3,
4517+
4
4518+
],
4519+
"VendedLogType": [
4520+
0,
4521+
1,
4522+
2,
4523+
3,
4524+
4
4525+
],
4526+
"StringMutatorType": [
4527+
0,
4528+
1,
4529+
2,
4530+
3,
4531+
4
4532+
],
4533+
"JsonMutatorType": [
4534+
0,
4535+
1,
4536+
2,
4537+
3,
4538+
4,
4539+
5
4540+
],
4541+
"DataConverterType": [
4542+
0,
4543+
1
4544+
]
4545+
},
44624546
"aws-cdk/packages/aws-cdk-lib/aws-opensearchservice/lib/domain.ts": {
44634547
"TLSSecurityPolicy": [
44644548
"Policy-Min-TLS-1-0-2019-07",
@@ -5281,6 +5365,9 @@
52815365
"nothing",
52825366
"lambda"
52835367
],
5368+
"ResourceToReplicateTags": [
5369+
"lambda-function"
5370+
],
52845371
"ArtifactsEncryptionMode": [
52855372
"SSE_S3",
52865373
"SSE_KMS"

0 commit comments

Comments
 (0)