From 531280f0bf8f73d173cd420a1642277119181dca Mon Sep 17 00:00:00 2001 From: AWS CDK Automation <43080478+aws-cdk-automation@users.noreply.github.com> Date: Thu, 13 Feb 2025 17:15:31 -0800 Subject: [PATCH] feat: update L1 CloudFormation resource definitions (#33445) 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-appsync │ └ resources │ └[~] resource AWS::AppSync::ApiCache │ └ properties │ └ ApiCachingBehavior: (documentation changed) ├[~] service aws-batch │ └ resources │ ├[~] resource AWS::Batch::ComputeEnvironment │ │ └ properties │ │ └ UnmanagedvCpus: (documentation changed) │ ├[~] resource AWS::Batch::JobDefinition │ │ ├ properties │ │ │ └ SchedulingPriority: (documentation changed) │ │ └ types │ │ └[~] type LinuxParameters │ │ └ properties │ │ └ MaxSwap: (documentation changed) │ └[~] resource AWS::Batch::SchedulingPolicy │ ├ properties │ │ ├ FairsharePolicy: (documentation changed) │ │ └ Name: (documentation changed) │ └ types │ ├[~] type FairsharePolicy │ │ ├ - documentation: The fair share policy for a scheduling policy. │ │ │ + documentation: The fair-share scheduling policy details. │ │ └ properties │ │ ├ ComputeReservation: (documentation changed) │ │ ├ ShareDecaySeconds: (documentation changed) │ │ └ ShareDistribution: (documentation changed) │ └[~] type ShareAttributes │ ├ - documentation: Specifies the weights for the fair share identifiers for the fair share policy. Fair share identifiers that aren't included have a default weight of `1.0` . │ │ + documentation: Specifies the weights for the share identifiers for the fair-share policy. Share identifiers that aren't included have a default weight of `1.0` . │ └ properties │ ├ ShareIdentifier: (documentation changed) │ └ WeightFactor: (documentation changed) ├[~] service aws-bedrock │ └ resources │ ├[~] resource AWS::Bedrock::AgentAlias │ │ └ attributes │ │ └ AgentAliasStatus: (documentation changed) │ ├[~] resource AWS::Bedrock::Prompt │ │ └ types │ │ ├[+] type CachePointBlock │ │ │ ├ documentation: Indicates where a cache checkpoint is located. All information before this checkpoint is cached to be accessed on subsequent requests. │ │ │ │ name: CachePointBlock │ │ │ └ properties │ │ │ └ Type: string (required) │ │ ├[~] type ContentBlock │ │ │ └ properties │ │ │ ├[+] CachePoint: CachePointBlock │ │ │ └ Text: - string (required) │ │ │ + string │ │ ├[~] type PromptVariant │ │ │ └ properties │ │ │ └[+] AdditionalModelRequestFields: json │ │ ├[~] type SystemContentBlock │ │ │ └ properties │ │ │ ├[+] CachePoint: CachePointBlock │ │ │ └ Text: - string (required) │ │ │ + string │ │ ├[~] type TextPromptTemplateConfiguration │ │ │ └ properties │ │ │ └[+] CachePoint: CachePointBlock │ │ └[~] type Tool │ │ └ properties │ │ ├[+] CachePoint: CachePointBlock │ │ └ ToolSpec: - ToolSpecification (required) │ │ + ToolSpecification │ └[~] resource AWS::Bedrock::PromptVersion │ └ types │ ├[+] type CachePointBlock │ │ ├ documentation: Indicates where a cache checkpoint is located. All information before this checkpoint is cached to be accessed on subsequent requests. │ │ │ name: CachePointBlock │ │ └ properties │ │ └ Type: string (required) │ ├[~] type ContentBlock │ │ └ properties │ │ ├[+] CachePoint: CachePointBlock │ │ └ Text: - string (required) │ │ + string │ ├[~] type PromptVariant │ │ └ properties │ │ └[+] AdditionalModelRequestFields: json │ ├[~] type SystemContentBlock │ │ └ properties │ │ ├[+] CachePoint: CachePointBlock │ │ └ Text: - string (required) │ │ + string │ ├[~] type TextPromptTemplateConfiguration │ │ └ properties │ │ └[+] CachePoint: CachePointBlock │ └[~] type Tool │ └ properties │ ├[+] CachePoint: CachePointBlock │ └ ToolSpec: - ToolSpecification (required) │ + ToolSpecification ├[~] service aws-connect │ └ resources │ └[+] resource AWS::Connect::ContactFlowVersion │ ├ name: ContactFlowVersion │ │ cloudFormationType: AWS::Connect::ContactFlowVersion │ │ documentation: Resource Type Definition for ContactFlowVersion │ ├ properties │ │ ├ ContactFlowId: string (required, immutable) │ │ └ Description: string (immutable) │ └ attributes │ ├ ContactFlowVersionARN: string │ ├ Version: integer │ └ FlowContentSha256: string ├[~] service aws-datasync │ └ resources │ └[~] resource AWS::DataSync::LocationSMB │ └ properties │ ├[+] AuthenticationType: string │ ├[+] DnsIpAddresses: Array │ ├[+] KerberosKeytab: string │ ├[+] KerberosKrb5Conf: string │ ├[+] KerberosPrincipal: string │ └ User: - string (required) │ + string ├[~] service aws-directoryservice │ └ resources │ ├[~] resource AWS::DirectoryService::MicrosoftAD │ │ └ attributes │ │ ├ Alias: (documentation changed) │ │ └ Id: (documentation changed) │ └[~] resource AWS::DirectoryService::SimpleAD │ └ attributes │ ├ Alias: (documentation changed) │ └ DirectoryId: (documentation changed) ├[~] service aws-dms │ └ resources │ └[~] resource AWS::DMS::DataProvider │ └ properties │ └ Engine: (documentation changed) ├[~] service aws-dynamodb │ └ resources │ └[~] resource AWS::DynamoDB::GlobalTable │ └ properties │ └[-] PointInTimeRecoverySpecification: PointInTimeRecoverySpecification ├[~] service aws-ec2 │ └ resources │ └[~] resource AWS::EC2::VerifiedAccessEndpoint │ └ types │ ├[~] type LoadBalancerOptions │ │ └ properties │ │ └ SubnetIds: (documentation changed) │ └[~] type RdsOptions │ └ properties │ └ SubnetIds: (documentation changed) ├[~] service aws-eks │ └ resources │ └[~] resource AWS::EKS::Nodegroup │ └ types │ └[~] type UpdateConfig │ └ properties │ └ UpdateStrategy: (documentation changed) ├[~] service aws-emr │ └ resources │ └[~] resource AWS::EMR::Studio │ └ - tagInformation: undefined │ + tagInformation: {"tagPropertyName":"Tags","variant":"standard"} ├[~] service aws-emrcontainers │ └ resources │ └[~] resource AWS::EMRContainers::VirtualCluster │ └ properties │ └[+] SecurityConfigurationId: string ├[~] service aws-fms │ └ resources │ └[~] resource AWS::FMS::Policy │ ├ properties │ │ └ SecurityServicePolicyData: (documentation changed) │ └ types │ └[~] type SecurityServicePolicyData │ └ properties │ └ Type: (documentation changed) ├[~] service aws-glue │ └ resources │ └[~] resource AWS::Glue::Crawler │ └ types │ ├[+] type HudiTarget │ │ ├ documentation: Specifies an Apache Hudi data source. │ │ │ name: HudiTarget │ │ └ properties │ │ ├ ConnectionName: string │ │ ├ Paths: Array │ │ ├ Exclusions: Array │ │ └ MaximumTraversalDepth: integer │ └[~] type Targets │ └ properties │ └[+] HudiTargets: Array ├[~] service aws-groundstation │ └ resources │ ├[~] resource AWS::GroundStation::DataflowEndpointGroup │ │ └ properties │ │ ├ ContactPostPassDurationSeconds: - integer │ │ │ + integer (immutable) │ │ ├ ContactPrePassDurationSeconds: - integer │ │ │ + integer (immutable) │ │ └ EndpointDetails: - Array (required) │ │ + Array (required, immutable) │ └[~] resource AWS::GroundStation::MissionProfile │ └ types │ └[~] type StreamsKmsKey │ └ properties │ └[+] KmsAliasName: string ├[~] service aws-opensearchserverless │ └ resources │ └[~] resource AWS::OpenSearchServerless::SecurityConfig │ └ types │ └[~] type SamlConfigOptions │ └ properties │ └[+] OpenSearchServerlessEntityId: string ├[~] service aws-rds │ └ resources │ ├[~] resource AWS::RDS::DBInstance │ │ └ properties │ │ └[+] ApplyImmediately: boolean │ ├[~] resource AWS::RDS::DBParameterGroup │ │ └ properties │ │ └ Parameters: (documentation changed) │ └[~] resource AWS::RDS::GlobalCluster │ ├ properties │ │ └[+] GlobalEndpoint: GlobalEndpoint │ └ attributes │ └[-] GlobalEndpoint: GlobalEndpoint ├[~] service aws-s3objectlambda │ └ resources │ └[~] resource AWS::S3ObjectLambda::AccessPoint │ └ types │ └[~] type TransformationConfiguration │ └ properties │ └ Actions: (documentation changed) ├[~] service aws-supportapp │ └ resources │ ├[~] resource AWS::SupportApp::AccountAlias │ │ └ - documentation: You can use the `AWS::SupportApp::AccountAlias` resource to specify your AWS account when you configure the AWS Support App in Slack. Your alias name appears on the AWS Support App page in the Support Center Console and in messages from the AWS Support App. You can use this alias to identify the account you've configured with the AWS Support App . │ │ For more information, see [AWS Support App in Slack](https://docs.aws.amazon.com/awssupport/latest/user/aws-support-app-for-slack.html) in the *AWS Support User Guide* . │ │ + documentation: You can use the `AWS::SupportApp::AccountAlias` resource to specify your AWS account when you configure the AWS Support App in Slack. Your alias name appears on the AWS Support App page in the Support Center Console and in messages from the App. You can use this alias to identify the account you've configured with the AWS Support App . │ │ For more information, see [AWS Support App in Slack](https://docs.aws.amazon.com/awssupport/latest/user/aws-support-app-for-slack.html) in the *User Guide* . │ ├[~] resource AWS::SupportApp::SlackChannelConfiguration │ │ ├ - documentation: You can use the `AWS::SupportApp::SlackChannelConfiguration` resource to specify your AWS account when you configure the AWS Support App . This resource includes the following information: │ │ │ - The Slack channel name and ID │ │ │ - The team ID in Slack │ │ │ - The Amazon Resource Name (ARN) of the AWS Identity and Access Management ( IAM ) role │ │ │ - Whether you want the AWS Support App to notify you when your support cases are created, updated, resolved, or reopened │ │ │ - The case severity that you want to get notified for │ │ │ For more information, see the following topics in the *AWS Support User Guide* : │ │ │ - [AWS Support App in Slack](https://docs.aws.amazon.com/awssupport/latest/user/aws-support-app-for-slack.html) │ │ │ - [Creating AWS Support App in Slack resources with AWS CloudFormation](https://docs.aws.amazon.com/awssupport/latest/user/creating-resources-with-cloudformation.html) │ │ │ + documentation: You can use the `AWS::SupportApp::SlackChannelConfiguration` resource to specify your AWS account when you configure the AWS Support App . This resource includes the following information: │ │ │ - The Slack channel name and ID │ │ │ - The team ID in Slack │ │ │ - The Amazon Resource Name (ARN) of the AWS Identity and Access Management ( IAM ) role │ │ │ - Whether you want the AWS Support App to notify you when your support cases are created, updated, resolved, or reopened │ │ │ - The case severity that you want to get notified for │ │ │ For more information, see the following topics in the *User Guide* : │ │ │ - [AWS Support App in Slack](https://docs.aws.amazon.com/awssupport/latest/user/aws-support-app-for-slack.html) │ │ │ - [Creating AWS Support App in Slack resources with AWS CloudFormation](https://docs.aws.amazon.com/awssupport/latest/user/creating-resources-with-cloudformation.html) │ │ └ properties │ │ └ ChannelRoleArn: (documentation changed) │ └[~] resource AWS::SupportApp::SlackWorkspaceConfiguration │ └ - documentation: You can use the `AWS::SupportApp::SlackWorkspaceConfiguration` resource to specify your Slack workspace configuration. This resource configures your AWS account so that you can use the specified Slack workspace in the AWS Support App . This resource includes the following information: │ - The team ID for the Slack workspace │ - The version ID of the resource to use with AWS CloudFormation │ For more information, see the following topics in the *AWS Support User Guide* : │ - [AWS Support App in Slack](https://docs.aws.amazon.com/awssupport/latest/user/aws-support-app-for-slack.html) │ - [Creating AWS Support App in Slack resources with AWS CloudFormation](https://docs.aws.amazon.com/awssupport/latest/user/creating-resources-with-cloudformation.html) │ + documentation: You can use the `AWS::SupportApp::SlackWorkspaceConfiguration` resource to specify your Slack workspace configuration. This resource configures your AWS account so that you can use the specified Slack workspace in the AWS Support App . This resource includes the following information: │ - The team ID for the Slack workspace │ - The version ID of the resource to use with AWS CloudFormation │ For more information, see the following topics in the *User Guide* : │ - [AWS Support App in Slack](https://docs.aws.amazon.com/awssupport/latest/user/aws-support-app-for-slack.html) │ - [Creating AWS Support App in Slack resources with AWS CloudFormation](https://docs.aws.amazon.com/awssupport/latest/user/creating-resources-with-cloudformation.html) └[~] service aws-transfer └ resources ├[~] resource AWS::Transfer::Agreement │ └ properties │ ├ EnforceMessageSigning: (documentation changed) │ └ PreserveFilename: (documentation changed) ├[~] resource AWS::Transfer::User │ └ properties │ └ SshPublicKeys: (documentation changed) └[+] resource AWS::Transfer::WebApp ├ name: WebApp │ cloudFormationType: AWS::Transfer::WebApp │ documentation: Creates a web app based on specified parameters, and returns the ID for the new web app. │ tagInformation: {"tagPropertyName":"Tags","variant":"standard"} ├ properties │ ├ IdentityProviderDetails: IdentityProviderDetails (required) │ ├ AccessEndpoint: string │ ├ WebAppUnits: WebAppUnits │ ├ WebAppCustomization: WebAppCustomization │ └ Tags: Array ├ attributes │ ├ Arn: string │ ├ WebAppId: string │ └ IdentityProviderDetails.ApplicationArn: string └ types ├ type IdentityProviderDetails │ ├ documentation: A structure that describes the values to use for the IAM Identity Center settings when you create or update a web app. │ │ name: IdentityProviderDetails │ └ properties │ ├ ApplicationArn: string │ ├ InstanceArn: string (immutable) │ └ Role: string ├ type WebAppCustomization │ ├ documentation: A structure that contains the customization fields for the web app. You can provide a title, logo, and icon to customize the appearance of your web app. │ │ name: WebAppCustomization │ └ properties │ ├ Title: string │ ├ LogoFile: string │ └ FaviconFile: string └ type WebAppUnits ├ documentation: Contains an integer value that represents the value for number of concurrent connections or the user sessions on your web app. │ name: WebAppUnits └ properties └ Provisioned: integer (required) ``` --- .../@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 | 6 ++-- yarn.lock | 33 ++++++++----------- 5 files changed, 21 insertions(+), 26 deletions(-) diff --git a/packages/@aws-cdk/cloudformation-diff/package.json b/packages/@aws-cdk/cloudformation-diff/package.json index 507c8f4162277..01a907649d17a 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.52", - "@aws-cdk/service-spec-types": "^0.0.118", + "@aws-cdk/aws-service-spec": "^0.1.53", + "@aws-cdk/service-spec-types": "^0.0.119", "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 bba94531b9792..d53bd5f4c31a5 100644 --- a/packages/@aws-cdk/integ-runner/package.json +++ b/packages/@aws-cdk/integ-runner/package.json @@ -75,7 +75,7 @@ "@aws-cdk/cloud-assembly-schema": "^39.2.0", "@aws-cdk/cloudformation-diff": "0.0.0", "@aws-cdk/cx-api": "0.0.0", - "@aws-cdk/aws-service-spec": "^0.1.52", + "@aws-cdk/aws-service-spec": "^0.1.53", "cdk-assets": "3.0.0-rc.143", "@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 afbd3ceed2e95..fe3c2a14a1cc0 100644 --- a/packages/aws-cdk-lib/package.json +++ b/packages/aws-cdk-lib/package.json @@ -136,7 +136,7 @@ }, "devDependencies": { "@aws-cdk/lambda-layer-kubectl-v31": "^2.0.0", - "@aws-cdk/aws-service-spec": "^0.1.52", + "@aws-cdk/aws-service-spec": "^0.1.53", "@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 1b75c3d578d0b..438e01070a96f 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.52", - "@aws-cdk/service-spec-importers": "^0.0.65", - "@aws-cdk/service-spec-types": "^0.0.118", + "@aws-cdk/aws-service-spec": "^0.1.53", + "@aws-cdk/service-spec-importers": "^0.0.66", + "@aws-cdk/service-spec-types": "^0.0.119", "@cdklabs/tskb": "^0.0.3", "@cdklabs/typewriter": "^0.0.3", "camelcase": "^6", diff --git a/yarn.lock b/yarn.lock index 6693da7ac0de5..817deb089787a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -53,22 +53,17 @@ resolved "https://registry.npmjs.org/@aws-cdk/asset-awscli-v1/-/asset-awscli-v1-2.2.220.tgz#2ab5a4006ed1e6a98adafc4f3379b59d42eedad9" integrity sha512-2eXZnnIgwWmXc7eRh8mRKPp6yHTKiQrLziRX/oVSfp4M6Jn2no0QFKJoHWqziF5MDQa5TF8qhD4FGsls/1nYPg== -"@aws-cdk/asset-kubectl-v20@^2.1.3": - version "2.1.3" - resolved "https://registry.npmjs.org/@aws-cdk/asset-kubectl-v20/-/asset-kubectl-v20-2.1.3.tgz#80e09004be173995e91614e34d947da11dd9ff4d" - integrity sha512-cDG1w3ieM6eOT9mTefRuTypk95+oyD7P5X/wRltwmYxU7nZc3+076YEVS6vrjDKr3ADYbfn0lDKpfB1FBtO9CQ== - "@aws-cdk/asset-node-proxy-agent-v6@^2.1.0": version "2.1.0" resolved "https://registry.npmjs.org/@aws-cdk/asset-node-proxy-agent-v6/-/asset-node-proxy-agent-v6-2.1.0.tgz#6d3c7860354d4856a7e75375f2f0ecab313b4989" integrity sha512-7bY3J8GCVxLupn/kNmpPc5VJz8grx+4RKfnnJiO1LG+uxkZfANZG3RMHhE+qQxxwkyQ9/MfPtTpf748UhR425A== -"@aws-cdk/aws-service-spec@^0.1.52": - version "0.1.52" - resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.1.52.tgz#bba9a46a3e65e53c0e9d440432e9fe3e17355110" - integrity sha512-zYIajckgV2jKSo+Wlw7FRCUQFtb73Oa7D5ZZJ0YJ4Bo9lfyOOf0xJ/TW3bZRgQlnng/di0nYlF3gSFculaY3qw== +"@aws-cdk/aws-service-spec@^0.1.53": + version "0.1.53" + resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.1.53.tgz#7bddd2f1ca1a68c2e04f625d3871cf3eed4fa502" + integrity sha512-In/JWxUjd7GmTuTIir7JqWP3TzoH797I2DEJwWog4esWXYZaU7bz/opMl7Mug4IwTzz3iuPgZveIFcJ9acPM8w== dependencies: - "@aws-cdk/service-spec-types" "^0.0.118" + "@aws-cdk/service-spec-types" "^0.0.119" "@cdklabs/tskb" "^0.0.3" "@aws-cdk/cloud-assembly-schema@^39.2.0": @@ -124,12 +119,12 @@ resolved "https://registry.npmjs.org/@aws-cdk/lambda-layer-kubectl-v32/-/lambda-layer-kubectl-v32-2.0.1.tgz#8f77f30f16161fc07f1e82688ae7fa618c9a6d4e" integrity sha512-kysjeU/A5axsSLYhOzrIZgzZoCY4z9R2cYo/l6s7QA8mKbes3plmOGBQCRSCVQN2MhnXNk/a0kZOEfDUpLQung== -"@aws-cdk/service-spec-importers@^0.0.65": - version "0.0.65" - resolved "https://registry.npmjs.org/@aws-cdk/service-spec-importers/-/service-spec-importers-0.0.65.tgz#bb9f6320ac56bcba2ea9cbabd29a2b37cf0b8175" - integrity sha512-ow//IJ42u+ji18D4EMUpuoM22lP30OovULUvOuB3rO8O2/lMTloTQ7mwmgSeynOIKLPxGuEJXif3mQzatJXOmw== +"@aws-cdk/service-spec-importers@^0.0.66": + version "0.0.66" + resolved "https://registry.npmjs.org/@aws-cdk/service-spec-importers/-/service-spec-importers-0.0.66.tgz#ba26b8862dc23970faadff18dc8d576043ec87e1" + integrity sha512-BGdeGt6zPF1M6KpRi3DGrlPhrH+T0Meeu9MzXP9SQ09ztC/D650vlpu8RMTCvnbIl1m3MUkZEAFGs9X/XB1Flw== dependencies: - "@aws-cdk/service-spec-types" "^0.0.118" + "@aws-cdk/service-spec-types" "^0.0.119" "@cdklabs/tskb" "^0.0.3" ajv "^6" canonicalize "^2.0.0" @@ -140,10 +135,10 @@ glob "^8" sort-json "^2.0.1" -"@aws-cdk/service-spec-types@^0.0.118": - version "0.0.118" - resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.118.tgz#82a2d052eddb0a0551e56eda006864cd34dcd083" - integrity sha512-EdxRmmYtktnXRzVhkunQDMBFnE8jOoDDDsWyl6XqJilzuaroTosCSnwSvT20usExHMWOa85xAQQt6Z87FIoLsw== +"@aws-cdk/service-spec-types@^0.0.119": + version "0.0.119" + resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.119.tgz#4f4904ff6c2d972dbada79bd05fa27a1e30b2a1a" + integrity sha512-7Uc9g+yTvKOrr58uADU7RrjiBSviR23jxnYSzok02jHONrXWWAfZuJRrUdNImrol0V/rdzEuRuswFR8iYZ98iw== dependencies: "@cdklabs/tskb" "^0.0.3"