Skip to content

Commit e1e17bf

Browse files
chore: update analytics metadata blueprints
1 parent b0dcd22 commit e1e17bf

File tree

4 files changed

+86
-86
lines changed

4 files changed

+86
-86
lines changed

packages/aws-cdk-lib/aws-ecs/lib/ec2/ec2-service.ts

+1
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ export class Ec2Service extends BaseService implements IEc2Service {
315315
*
316316
* @override
317317
*/
318+
@MethodMetadata()
318319
public attachToClassicLB(loadBalancer: elb.LoadBalancer): void {
319320
if (this.availabilityZoneRebalancingEnabled) {
320321
throw new Error('AvailabilityZoneRebalancing.ENABLED disallows using the service as a target of a Classic Load Balancer');

packages/aws-cdk-lib/aws-ecs/lib/fargate/fargate-service.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Construct } from 'constructs';
22
import * as ec2 from '../../../aws-ec2';
33
import * as elb from '../../../aws-elasticloadbalancing';
44
import * as cdk from '../../../core';
5-
import { addConstructMetadata } from '../../../core/lib/metadata-resource';
5+
import { addConstructMetadata, MethodMetadata } from '../../../core/lib/metadata-resource';
66
import { AvailabilityZoneRebalancing } from '../availability-zone-rebalancing';
77
import { BaseService, BaseServiceOptions, DeploymentControllerType, IBaseService, IService, LaunchType } from '../base/base-service';
88
import { fromServiceAttributes, extractServiceNameFromArn } from '../base/from-service-attributes';
@@ -214,6 +214,7 @@ export class FargateService extends BaseService implements IFargateService {
214214
*
215215
* @override
216216
*/
217+
@MethodMetadata()
217218
public attachToClassicLB(loadBalancer: elb.LoadBalancer): void {
218219
if (this.availabilityZoneRebalancingEnabled) {
219220
throw new Error('AvailabilityZoneRebalancing.ENABLED disallows using the service as a target of a Classic Load Balancer');

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

+49-55
Original file line numberDiff line numberDiff line change
@@ -9025,27 +9025,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
90259025
'node': '*'
90269026
},
90279027
'launchTemplateOverrides': {
9028-
'instanceRequirements': {
9029-
'acceleratorCount': {
9030-
'creationStack': '*',
9031-
'typeHint': 'ResolutionTypeHint'
9032-
},
9033-
'acceleratorManufacturers': '*',
9034-
'acceleratorNames': '*',
9035-
'acceleratorTypes': '*',
9036-
'allowedInstanceTypes': '*',
9037-
'bareMetal': '*',
9038-
'burstablePerformance': '*',
9039-
'cpuManufacturers': '*',
9040-
'excludedInstanceTypes': '*',
9041-
'instanceGenerations': '*',
9042-
'localStorage': '*',
9043-
'localStorageTypes': '*',
9044-
'maxSpotPriceAsPercentageOfOptimalOnDemandPrice': '*',
9045-
'onDemandMaxPricePercentageOverLowestPrice': '*',
9046-
'requireHibernateSupport': 'boolean',
9047-
'spotMaxPricePercentageOverLowestPrice': '*'
9048-
},
9028+
'instanceRequirements': '*',
90499029
'instanceType': '*',
90509030
'weightedCapacity': '*'
90519031
}
@@ -9484,10 +9464,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
94849464
'logDriverConfig': {
94859465
'logDriver': '*',
94869466
'options': '*',
9487-
'secretOptions': {
9488-
'name': '*',
9489-
'valueFrom': '*'
9490-
}
9467+
'secretOptions': '*'
94919468
},
94929469
'readonlyRootFilesystem': 'boolean',
94939470
'secrets': '*',
@@ -10045,10 +10022,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1004510022
'logDriverConfig': {
1004610023
'logDriver': '*',
1004710024
'options': '*',
10048-
'secretOptions': {
10049-
'name': '*',
10050-
'valueFrom': '*'
10051-
}
10025+
'secretOptions': '*'
1005210026
},
1005310027
'readonlyRootFilesystem': 'boolean',
1005410028
'secrets': '*',
@@ -10865,15 +10839,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1086510839
'allowedMethods': 'CloudFrontAllowedMethods',
1086610840
'pathPattern': '*',
1086710841
'cachedMethods': 'CloudFrontAllowedCachedMethods',
10868-
'forwardedValues': {
10869-
'cookies': {
10870-
'creationStack': '*',
10871-
'typeHint': 'ResolutionTypeHint'
10872-
},
10873-
'headers': '*',
10874-
'queryString': 'boolean',
10875-
'queryStringCacheKeys': '*'
10876-
},
10842+
'forwardedValues': '*',
1087710843
'lambdaFunctionAssociations': {
1087810844
'eventType': 'LambdaEdgeEventType',
1087910845
'lambdaFunction': {
@@ -10939,12 +10905,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1093910905
'includeCookies': 'boolean',
1094010906
'prefix': '*'
1094110907
},
10942-
'errorConfigurations': {
10943-
'errorCachingMinTtl': '*',
10944-
'errorCode': '*',
10945-
'responseCode': '*',
10946-
'responsePagePath': '*'
10947-
},
10908+
'errorConfigurations': '*',
1094810909
'webACLId': '*',
1094910910
'viewerCertificate': '*',
1095010911
'geoRestriction': '*',
@@ -15976,12 +15937,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1597615937
'node': '*'
1597715938
}
1597815939
},
15979-
'accessLoggingPolicy': {
15980-
'emitInterval': '*',
15981-
'enabled': 'boolean',
15982-
's3BucketName': '*',
15983-
's3BucketPrefix': '*'
15984-
},
15940+
'accessLoggingPolicy': '*',
1598515941
'addListener': [
1598615942
{
1598715943
'externalPort': '*',
@@ -17061,6 +17017,31 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
1706117017
'removalPolicy': 'RemovalPolicy'
1706217018
}
1706317019
},
17020+
'aws-cdk-lib.aws-kinesisfirehose': {
17021+
'DeliveryStream': {
17022+
'destination': '*',
17023+
'deliveryStreamName': '*',
17024+
'source': '*',
17025+
'role': {
17026+
'roleArn': '*',
17027+
'roleName': '*',
17028+
'assumeRoleAction': '*',
17029+
'policyFragment': '*',
17030+
'principalAccount': '*',
17031+
'grantPrincipal': {
17032+
'assumeRoleAction': '*',
17033+
'principalAccount': '*'
17034+
},
17035+
'stack': '*',
17036+
'env': {
17037+
'account': '*',
17038+
'region': '*'
17039+
},
17040+
'node': '*'
17041+
},
17042+
'encryption': '*'
17043+
}
17044+
},
1706417045
'aws-cdk-lib.aws-kms': {
1706517046
'Alias': {
1706617047
'aliasName': '*',
@@ -26887,6 +26868,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2688726868
'placementConstraints': '*',
2688826869
'placementStrategies': '*',
2688926870
'daemon': 'boolean',
26871+
'availabilityZoneRebalancing': 'AvailabilityZoneRebalancing',
2689026872
'cluster': {
2689126873
'clusterName': '*',
2689226874
'clusterArn': '*',
@@ -27047,6 +27029,9 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2704727029
],
2704827030
'addPlacementConstraints': [
2704927031
'*'
27032+
],
27033+
'attachToClassicLB': [
27034+
'*'
2705027035
]
2705127036
},
2705227037
'Ec2TaskDefinition': {
@@ -27135,6 +27120,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2713527120
'uniqueId': '*',
2713627121
'connections': '*'
2713727122
},
27123+
'daemon': 'boolean',
2713827124
'cluster': {
2713927125
'clusterName': '*',
2714027126
'clusterArn': '*',
@@ -27494,6 +27480,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2749427480
'connections': '*'
2749527481
},
2749627482
'platformVersion': 'FargatePlatformVersion',
27483+
'availabilityZoneRebalancing': 'AvailabilityZoneRebalancing',
2749727484
'cluster': {
2749827485
'clusterName': '*',
2749927486
'clusterArn': '*',
@@ -27648,7 +27635,10 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2764827635
'logDriver': '*'
2764927636
},
2765027637
'taskDefinitionRevision': '*',
27651-
'volumeConfigurations': '*'
27638+
'volumeConfigurations': '*',
27639+
'attachToClassicLB': [
27640+
'*'
27641+
]
2765227642
},
2765327643
'FargateTaskDefinition': {
2765427644
'cpu': '*',
@@ -27784,7 +27774,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2778427774
},
2778527775
'node': '*'
2778627776
},
27787-
'ignoreClientCertificateExpiry': 'boolean'
27777+
'ignoreClientCertificateExpiry': 'boolean',
27778+
'advertiseTrustStoreCaNames': 'boolean'
2778827779
},
2778927780
'addCertificateArns': [
2779027781
'*',
@@ -28020,7 +28011,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2802028011
'region': '*'
2802128012
}
2802228013
},
28023-
'ignoreClientCertificateExpiry': 'boolean'
28014+
'ignoreClientCertificateExpiry': 'boolean',
28015+
'advertiseTrustStoreCaNames': 'boolean'
2802428016
}
2802528017
}
2802628018
],
@@ -28506,7 +28498,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2850628498
'region': '*'
2850728499
}
2850828500
},
28509-
'ignoreClientCertificateExpiry': 'boolean'
28501+
'ignoreClientCertificateExpiry': 'boolean',
28502+
'advertiseTrustStoreCaNames': 'boolean'
2851028503
}
2851128504
}
2851228505
]
@@ -28549,7 +28542,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
2854928542
'region': '*'
2855028543
}
2855128544
},
28552-
'ignoreClientCertificateExpiry': 'boolean'
28545+
'ignoreClientCertificateExpiry': 'boolean',
28546+
'advertiseTrustStoreCaNames': 'boolean'
2855328547
}
2855428548
}
2855528549
]

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

+34-30
Original file line numberDiff line numberDiff line change
@@ -555,20 +555,6 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
555555
0,
556556
1
557557
],
558-
'SynthesisMessageLevel': [
559-
'info',
560-
'warning',
561-
'error'
562-
],
563-
'Partition': [
564-
'aws',
565-
'aws-cn',
566-
'aws-us-gov',
567-
'aws-iso',
568-
'aws-iso-b',
569-
'aws-iso-f',
570-
'aws-iso-e'
571-
],
572558
'AccessScopeType': [
573559
'namespace',
574560
'cluster'
@@ -2567,6 +2553,10 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
25672553
'aws-ecs-2',
25682554
'aws-ecs-2-nvidia'
25692555
],
2556+
'AvailabilityZoneRebalancing': [
2557+
'ENABLED',
2558+
'DISABLED'
2559+
],
25702560
'ContainerInsights': [
25712561
'enabled',
25722562
'disabled',
@@ -3449,11 +3439,25 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
34493439
'number',
34503440
'string-list'
34513441
],
3442+
'SynthesisMessageLevel': [
3443+
'info',
3444+
'warning',
3445+
'error'
3446+
],
34523447
'DockerCredentialUsage': [
34533448
'SYNTH',
34543449
'SELF_UPDATE',
34553450
'ASSET_PUBLISHING'
34563451
],
3452+
'Partition': [
3453+
'aws',
3454+
'aws-cn',
3455+
'aws-us-gov',
3456+
'aws-iso',
3457+
'aws-iso-b',
3458+
'aws-iso-f',
3459+
'aws-iso-e'
3460+
],
34573461
'InvocationType': [
34583462
'RequestResponse',
34593463
'Event',
@@ -3487,22 +3491,6 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
34873491
'CustomResourceProvider',
34883492
'NoOp'
34893493
],
3490-
'LoadBalancerIpAddressType': [
3491-
'ipv4',
3492-
'dualstack',
3493-
'dualstack-without-public-ipv4'
3494-
],
3495-
'VpcSubnetGroupType': [
3496-
'Public',
3497-
'Private',
3498-
'Isolated'
3499-
],
3500-
'FlagType': [
3501-
0,
3502-
1,
3503-
2,
3504-
3
3505-
],
35063494
'DiagnosticReason': [
35073495
'NO_SNAPSHOT',
35083496
'TEST_FAILED',
@@ -4001,6 +3989,22 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = {
40013989
'success',
40023990
'failure'
40033991
],
3992+
'LoadBalancerIpAddressType': [
3993+
'ipv4',
3994+
'dualstack',
3995+
'dualstack-without-public-ipv4'
3996+
],
3997+
'VpcSubnetGroupType': [
3998+
'Public',
3999+
'Private',
4000+
'Isolated'
4001+
],
4002+
'FlagType': [
4003+
0,
4004+
1,
4005+
2,
4006+
3
4007+
],
40044008
'AssetType': [
40054009
'file',
40064010
'docker-image'

0 commit comments

Comments
 (0)