-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into eks/bug-irsaid
- Loading branch information
Showing
46 changed files
with
1,672 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1 @@ | ||
incompatible-argument:@aws-cdk/aws-ecs.Ec2TaskDefinition.<initializer> | ||
incompatible-argument:@aws-cdk/aws-ecs.Ec2TaskDefinition.addVolume | ||
incompatible-argument:@aws-cdk/aws-ecs.FargateTaskDefinition.<initializer> | ||
incompatible-argument:@aws-cdk/aws-ecs.FargateTaskDefinition.addVolume | ||
incompatible-argument:@aws-cdk/aws-ecs.TaskDefinition.<initializer> | ||
incompatible-argument:@aws-cdk/aws-ecs.TaskDefinition.addVolume | ||
change-return-type:@aws-cdk/core.Fn.getAtt | ||
new-argument:@aws-cdk/aws-iam.ManagedPolicy.<initializer> | ||
new-argument:@aws-cdk/aws-iam.ManagedPolicy.<initializer> | ||
removed:@aws-cdk/aws-apigateway.AwsIntegration.props | ||
removed:@aws-cdk/aws-apigateway.HttpIntegration.props | ||
removed:@aws-cdk/aws-apigateway.Integration.props | ||
removed:@aws-cdk/aws-apigateway.LambdaIntegration.props | ||
removed:@aws-cdk/aws-apigateway.MockIntegration.props | ||
removed:@aws-cdk/aws-ecs-patterns.ScheduledEc2TaskDefinitionOptions.schedule | ||
removed:@aws-cdk/aws-ecs-patterns.ScheduledEc2TaskDefinitionOptions.cluster | ||
removed:@aws-cdk/aws-ecs-patterns.ScheduledEc2TaskDefinitionOptions.desiredTaskCount | ||
removed:@aws-cdk/aws-ecs-patterns.ScheduledEc2TaskDefinitionOptions.vpc | ||
removed:@aws-cdk/aws-ecs-patterns.ScheduledFargateTaskDefinitionOptions.schedule | ||
removed:@aws-cdk/aws-ecs-patterns.ScheduledFargateTaskDefinitionOptions.cluster | ||
removed:@aws-cdk/aws-ecs-patterns.ScheduledFargateTaskDefinitionOptions.desiredTaskCount | ||
removed:@aws-cdk/aws-ecs-patterns.ScheduledFargateTaskDefinitionOptions.vpc | ||
incompatible-argument:@aws-cdk/aws-lambda.Function.<initializer> | ||
incompatible-argument:@aws-cdk/aws-lambda.SingletonFunction.<initializer> | ||
incompatible-argument:@aws-cdk/aws-lambda.Function.addEnvironment | ||
changed-type:@aws-cdk/aws-dynamodb.Table.tableStreamArn | ||
incompatible-argument:@aws-cdk/aws-apigateway.LambdaRestApi.addModel | ||
incompatible-argument:@aws-cdk/aws-apigateway.Model.<initializer> | ||
incompatible-argument:@aws-cdk/aws-apigateway.RestApi.addModel | ||
incompatible-argument:@aws-cdk/aws-apigateway.ProxyResource.addProxy | ||
incompatible-argument:@aws-cdk/aws-apigateway.Resource.addProxy | ||
incompatible-argument:@aws-cdk/aws-apigateway.ResourceBase.addProxy | ||
incompatible-argument:@aws-cdk/aws-apigateway.IResource.addProxy | ||
incompatible-argument:@aws-cdk/aws-apigateway.RequestAuthorizer.<initializer> | ||
incompatible-argument:@aws-cdk/aws-servicediscovery.Service.fromServiceAttributes | ||
removed:@aws-cdk/core.ConstructNode.addReference | ||
removed:@aws-cdk/core.ConstructNode.references | ||
removed:@aws-cdk/core.OutgoingReference | ||
change-return-type:@aws-cdk/aws-lambda-destinations.EventBridgeDestination.bind | ||
change-return-type:@aws-cdk/aws-lambda-destinations.LambdaDestination.bind | ||
change-return-type:@aws-cdk/aws-lambda-destinations.SnsDestination.bind | ||
change-return-type:@aws-cdk/aws-lambda-destinations.SqsDestination.bind | ||
removed:@aws-cdk/cdk-assets-schema.DockerImageDestination.imageUri | ||
incompatible-argument:@aws-cdk/aws-iam.FederatedPrincipal.<initializer> | ||
incompatible-argument:@aws-cdk/aws-iam.PolicyStatement.addCondition | ||
incompatible-argument:@aws-cdk/aws-iam.PolicyStatement.addConditions | ||
incompatible-argument:@aws-cdk/aws-iam.PolicyStatement.addFederatedPrincipal | ||
incompatible-argument:@aws-cdk/aws-iam.PrincipalPolicyFragment.<initializer> | ||
changed-type:@aws-cdk/aws-iam.FederatedPrincipal.conditions | ||
changed-type:@aws-cdk/aws-iam.PrincipalPolicyFragment.conditions | ||
changed-type:@aws-cdk/aws-iam.PrincipalWithConditions.conditions | ||
removed:@aws-cdk/cdk-assets-schema.Placeholders | ||
# Following two are because we're turning: properties: {string=>any} into a union of typed interfaces | ||
# Needs to be removed after next release. | ||
incompatible-argument:@aws-cdk/cloud-assembly-schema.Manifest.save | ||
change-return-type:@aws-cdk/cloud-assembly-schema.Manifest.load | ||
removed:@aws-cdk/core.DefaultStackSynthesizer.DEFAULT_DEPLOY_ACTION_ROLE_ARN | ||
removed:@aws-cdk/core.DefaultStackSynthesizerProps.deployActionRoleArn | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/usr/bin/env node | ||
|
||
/** | ||
* Writes lib/sdk-api-metadata.generated.ts from the metadata gathered from the | ||
* aws-sdk package. | ||
*/ | ||
|
||
const fs = require('fs'); | ||
const path = require('path'); | ||
|
||
const packageInfo = require('aws-sdk/package.json'); | ||
const sdkMetadata = require('aws-sdk/apis/metadata.json'); | ||
|
||
fs.writeFileSync( | ||
path.resolve(__dirname, '..', 'lib', 'sdk-api-metadata.generated.ts'), | ||
[ | ||
'export interface AwsSdkMetadata {', | ||
' readonly [service: string]: {', | ||
' readonly name: string;', | ||
' readonly cors?: boolean;', | ||
' readonly dualstackAvailable?: boolean;', | ||
' readonly prefix?: string;', | ||
' readonly versions?: readonly string[];', | ||
' readonly xmlNoDefaultLists?: boolean;', | ||
' readonly [key: string]: unknown;', | ||
' };', | ||
'}', | ||
'', | ||
// The generated code is probably not going to be super clean as far as linters are concerned... | ||
'/* eslint-disable */', | ||
'/* tslint:disable */', | ||
'', | ||
// Just mention where the data comes from, as a basic courtesy... | ||
'/**', | ||
` * Extracted from ${packageInfo.name} version ${packageInfo.version} (${packageInfo.license}).`, | ||
' */', | ||
// And finally, we export the data: | ||
`export const metadata: AwsSdkMetadata = ${JSON.stringify(sdkMetadata, null, 2)};`, | ||
].join('\n'), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.