From b7543532fb9c80bf69e197242bd55febafcd84f5 Mon Sep 17 00:00:00 2001 From: AWS CDK Automation <43080478+aws-cdk-automation@users.noreply.github.com> Date: Mon, 26 Aug 2024 17:14:39 +0300 Subject: [PATCH] feat: update L1 CloudFormation resource definitions (#31221) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates the L1 CloudFormation resource definitions with the latest changes from `@aws-cdk/aws-service-spec` **L1 CloudFormation resource definition changes:** ``` ├[~] service aws-codebuild │ └ resources │ └[~] resource AWS::CodeBuild::Fleet │ └ properties │ └ ImageId: (documentation changed) ├[~] service aws-ec2 │ └ resources │ └[~] resource AWS::EC2::Instance │ └ types │ ├[~] type AssociationParameter │ │ └ - documentation: Specifies input parameter values for an SSM document in AWS Systems Manager . │ │ `AssociationParameter` is a property of the [Amazon EC2 Instance SsmAssociation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociations.html) property. │ │ + documentation: Specifies input parameter values for an SSM document in AWS Systems Manager . │ │ `AssociationParameter` is a property of the [SsmAssociation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociation.html) property type. │ ├[~] type Ebs │ │ └ - documentation: Specifies a block device for an EBS volume. │ │ `Ebs` is a property of the [Amazon EC2 BlockDeviceMapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-mapping.html) property. │ │ > After the instance is running, you can modify only the `DeleteOnTermination` parameters for the attached volumes without interrupting the instance. Modifying any other parameter results in instance [replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) . │ │ + documentation: Specifies a block device for an EBS volume. │ │ `Ebs` is a property of the [BlockDeviceMapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-blockdevicemapping.html) property type. │ │ > After the instance is running, you can modify only the `DeleteOnTermination` parameters for the attached volumes without interrupting the instance. Modifying any other parameter results in instance [replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) . │ └[~] type State │ ├ - documentation: The current state of the instance │ │ + documentation: Describes the current state of an instance. │ └ properties │ └ Code: (documentation changed) ├[~] service aws-ivs │ └ resources │ └[~] resource AWS::IVS::Stage │ ├ properties │ │ └ AutoParticipantRecordingConfiguration: (documentation changed) │ └ types │ └[~] type AutoParticipantRecordingConfiguration │ ├ - documentation: Configuration object for individual participant recording, to attach to the new stage. │ │ + documentation: The `AWS::IVS::AutoParticipantRecordingConfiguration` property type describes a configuration for individual participant recording. │ └ properties │ ├ MediaTypes: (documentation changed) │ └ StorageConfigurationArn: (documentation changed) ├[~] service aws-lambda │ └ resources │ ├[~] resource AWS::Lambda::EventSourceMapping │ │ └ properties │ │ └ KmsKeyArn: (documentation changed) │ └[~] resource AWS::Lambda::Version │ └ attributes │ └ FunctionArn: (documentation changed) ├[~] service aws-secretsmanager │ └ resources │ └[~] resource AWS::SecretsManager::SecretTargetAttachment │ └ properties │ └ TargetType: (documentation changed) ├[~] service aws-ses │ └ resources │ └[~] resource AWS::SES::ReceiptRule │ └ types │ └[~] type S3Action │ └ properties │ └ KmsKeyArn: (documentation changed) └[~] service aws-ssmcontacts └ resources ├[~] resource AWS::SSMContacts::ContactChannel │ └ - documentation: The `AWS::SSMContacts::ContactChannel` resource specifies a contact channel as the method that Incident Manager uses to engage your contact. │ + documentation: The `AWS::SSMContacts::ContactChannel` resource specifies a contact channel as the method that Incident Manager uses to engage your contact. │ > *Template example* : We recommend creating all Incident Manager `Contacts` resources using a single AWS CloudFormation template. For a demonstration, see the examples for [AWS::SSMContacts::Contacts](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contact.html) . ├[~] resource AWS::SSMContacts::Plan │ └ - documentation: Information about the stages and on-call rotation teams associated with an escalation plan or engagement plan. │ + documentation: Information about the stages and on-call rotation teams associated with an escalation plan or engagement plan. │ > *Template example* : We recommend creating all Incident Manager `Contacts` resources using a single AWS CloudFormation template. For a demonstration, see the examples for [AWS::SSMContacts::Contacts](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contact.html) . └[~] resource AWS::SSMContacts::Rotation └ - documentation: Specifies a rotation in an on-call schedule. + documentation: Specifies a rotation in an on-call schedule. > *Template example* : We recommend creating all Incident Manager `Contacts` resources using a single AWS CloudFormation template. For a demonstration, see the examples for [AWS::SSMContacts::Contacts](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contact.html) . ``` --- .../@aws-cdk/cloudformation-diff/package.json | 4 ++-- packages/@aws-cdk/integ-runner/package.json | 2 +- packages/aws-cdk-lib/package.json | 2 +- tools/@aws-cdk/spec2cdk/package.json | 4 ++-- yarn.lock | 17 ++++++++++++----- 5 files changed, 18 insertions(+), 11 deletions(-) diff --git a/packages/@aws-cdk/cloudformation-diff/package.json b/packages/@aws-cdk/cloudformation-diff/package.json index 144fcf307d1da..2f25c5217a762 100644 --- a/packages/@aws-cdk/cloudformation-diff/package.json +++ b/packages/@aws-cdk/cloudformation-diff/package.json @@ -23,8 +23,8 @@ }, "license": "Apache-2.0", "dependencies": { - "@aws-cdk/aws-service-spec": "^0.1.20", - "@aws-cdk/service-spec-types": "^0.0.87", + "@aws-cdk/aws-service-spec": "^0.1.21", + "@aws-cdk/service-spec-types": "^0.0.88", "chalk": "^4", "diff": "^5.2.0", "fast-deep-equal": "^3.1.3", diff --git a/packages/@aws-cdk/integ-runner/package.json b/packages/@aws-cdk/integ-runner/package.json index d96b1a8c13351..fb93b466d8261 100644 --- a/packages/@aws-cdk/integ-runner/package.json +++ b/packages/@aws-cdk/integ-runner/package.json @@ -74,7 +74,7 @@ "@aws-cdk/cloud-assembly-schema": "^36.0.5", "@aws-cdk/cloudformation-diff": "0.0.0", "@aws-cdk/cx-api": "0.0.0", - "@aws-cdk/aws-service-spec": "^0.1.20", + "@aws-cdk/aws-service-spec": "^0.1.21", "cdk-assets": "^2.151.2", "@aws-cdk/cdk-cli-wrapper": "0.0.0", "aws-cdk": "0.0.0", diff --git a/packages/aws-cdk-lib/package.json b/packages/aws-cdk-lib/package.json index 7e70208977d34..04a91ebb955e8 100644 --- a/packages/aws-cdk-lib/package.json +++ b/packages/aws-cdk-lib/package.json @@ -136,7 +136,7 @@ "mime-types": "^2.1.35" }, "devDependencies": { - "@aws-cdk/aws-service-spec": "^0.1.20", + "@aws-cdk/aws-service-spec": "^0.1.21", "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/custom-resource-handlers": "0.0.0", "@aws-cdk/pkglint": "0.0.0", diff --git a/tools/@aws-cdk/spec2cdk/package.json b/tools/@aws-cdk/spec2cdk/package.json index e0ece0ee5274a..accb584539cc9 100644 --- a/tools/@aws-cdk/spec2cdk/package.json +++ b/tools/@aws-cdk/spec2cdk/package.json @@ -32,9 +32,9 @@ }, "license": "Apache-2.0", "dependencies": { - "@aws-cdk/aws-service-spec": "^0.1.20", + "@aws-cdk/aws-service-spec": "^0.1.21", "@aws-cdk/service-spec-importers": "^0.0.46", - "@aws-cdk/service-spec-types": "^0.0.87", + "@aws-cdk/service-spec-types": "^0.0.88", "@cdklabs/tskb": "^0.0.3", "@cdklabs/typewriter": "^0.0.3", "camelcase": "^6", diff --git a/yarn.lock b/yarn.lock index a27c0134c5f6d..2a7db95cf30bd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -51,12 +51,12 @@ resolved "https://registry.npmjs.org/@aws-cdk/asset-node-proxy-agent-v6/-/asset-node-proxy-agent-v6-2.0.3.tgz#9b5d213b5ce5ad4461f6a4720195ff8de72e6523" integrity sha512-twhuEG+JPOYCYPx/xy5uH2+VUsIEhPTzDY0F1KuB+ocjWWB/KEDiOVL19nHvbPCB6fhWnkykXEMJ4HHcKvjtvg== -"@aws-cdk/aws-service-spec@^0.1.20": - version "0.1.20" - resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.1.20.tgz#324e94006566b526135ecffad9a9c6ad38917763" - integrity sha512-vxPXsFNGpQK7px2EzK2Q6CHuz0JXVI54P88vSiKpyYFdqKoFkjZodYgALQ93qLnYSK+vACsaaVHEutvuopaymg== +"@aws-cdk/aws-service-spec@^0.1.21": + version "0.1.21" + resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.1.21.tgz#8635f673787f498568251a3f61c0b355ab8be193" + integrity sha512-6wi6nzrR6n0n1pLIDQ2cpo1zRA/NkOEH22VkH6zIJviZnFRkx8vXt6C24Qismd9CKxaNgvPPv/H5gSOfYmgciA== dependencies: - "@aws-cdk/service-spec-types" "^0.0.87" + "@aws-cdk/service-spec-types" "^0.0.88" "@cdklabs/tskb" "^0.0.3" "@aws-cdk/cloud-assembly-schema@^36.0.0": @@ -120,6 +120,13 @@ dependencies: "@cdklabs/tskb" "^0.0.3" +"@aws-cdk/service-spec-types@^0.0.88": + version "0.0.88" + resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.88.tgz#aa3ae69221ffc27e19f1a72f889034e4000c4310" + integrity sha512-Wk1UdXBT3QbVHouMl3eIYWx/0Mku4LM9DfEq5flwmqbSCCmXVFO8CAA2bClKznYy5WhiV7Zz7rviXBO5gdfW5w== + dependencies: + "@cdklabs/tskb" "^0.0.3" + "@aws-crypto/crc32@3.0.0": version "3.0.0" resolved "https://registry.npmjs.org/@aws-crypto/crc32/-/crc32-3.0.0.tgz#07300eca214409c33e3ff769cd5697b57fdd38fa"