Repository navigation
Releases: aws/aws-cdk
Release list
v2.275.0
⚠ BREAKING CHANGES
- ** L1 resources are automatically generated from public CloudFormation Resource Schemas. They are built to closely reflect the real state of CloudFormation. Sometimes these updates can contain changes that are incompatible with previous types, but more accurately reflect reality. In this release we have changed:
aws-bedrockagentcore: AWS::BedrockAgentCore::Harness: HarnessAgentCoreMemoryRetrievalConfig.RelevanceScore type narrowed from number | string to number.
aws-bedrockagentcore: AWS::BedrockAgentCore::Harness: HarnessAgentCoreMemoryRetrievalConfig.TopK type narrowed from integer | string to integer.
aws-codebuild: AWS::CodeBuild::ReportGroup: Id attribute removed.
aws-dax: AWS::DAX::SubnetGroup: Id attribute removed.
aws-dms: AWS::DMS::MigrationProject: InstanceProfileArn property removed (now a read-only attribute).
aws-dms: AWS::DMS::MigrationProject: InstanceProfileName property removed (now a read-only attribute).
aws-dms: AWS::DMS::MigrationProject: MigrationProjectCreationTime property removed (now a read-only attribute).
aws-emr: AWS::EMR::InstanceFleetConfig: Id attribute removed.
aws-fsx: AWS::FSx::Volume: AggregateConfiguration.Aggregates property is now immutable.
aws-fsx: AWS::FSx::Volume: AggregateConfiguration.ConstituentsPerAggregate property is now immutable.
aws-fsx: AWS::FSx::Volume: OntapConfiguration.AggregateConfiguration property is now immutable.
aws-fsx: AWS::FSx::Volume: OntapConfiguration.VolumeStyle property is now immutable.
aws-medialive: AWS::MediaLive::Input: InputNetworkLocation property type narrowed to enum (AWS | ON_PREMISES).
aws-medialive: AWS::MediaLive::Input: Type property type narrowed to enum (16 values).
aws-medialive: AWS::MediaLive::Input: Tags property type narrowed from json to Map<string, string>.
aws-medialive: AWS::MediaLive::Input: RouterDestinationSettings.AvailabilityZoneName property is now required.
aws-medialive: AWS::MediaLive::Input: RouterSettings.EncryptionType property type narrowed to enum (AUTOMATIC | SECRETS_MANAGER).
aws-medialive: AWS::MediaLive::InputSecurityGroup: Tags property type narrowed from json to Map<string, string>.
aws-mediapackagev2: AWS::MediaPackageV2::OriginEndpoint: LowLatencyHlsManifestConfiguration.FilterConfiguration type narrowed to LowLatencyHlsFilterConfiguration.
aws-mediapackagev2: AWS::MediaPackageV2::OriginEndpoint: MssManifestConfiguration.FilterConfiguration type narrowed to MssFilterConfiguration.
Features
- cloudfront: add sigv4a always-amz-auth signing for origin access control (#39216) (d9505e0), closes #39195 #38629 #39196 #39195
- core: switch off built-in CloudFormation Validate using App prop (#39452) (5f51a82)
- lambda-nodejs: support repeated esbuild arguments (#39344) (d60598a), closes #32260 /github.com/aws/aws-cdk/pull/39344#pullrequestreview-5638104896
- update L1 CloudFormation resource definitions (#39393) (8fb96fc)
Bug Fixes
- core: overly defensive plugin invocation leads to slowness (#39451) (783a981)
- stepfunctions-tasks: use a dedicated Lambda function for each EvaluateExpression task (#39436) (641ff6f)
- add graduate tool to lerna.json (#39423) (3d6f9d3)
- lambda-nodejs: preCompilation fails with TypeScript 6 or later (#39401) (8ce48a6)
Alpha modules (2.275.0-alpha.0)
v2.274.0
⚠ BREAKING CHANGES
- ** L1 resources are automatically generated from public CloudFormation Resource Schemas. They are built to closely reflect the real state of CloudFormation. Sometimes these updates can contain changes that are incompatible with previous types, but more accurately reflect reality. In this release we have changed:
aws-cloudwatch: AWS::CloudWatch::AnomalyDetector: Id attribute removed.
aws-glue: AWS::Glue::Table: Id attribute removed.
aws-glue: AWS::Glue::Table: IcebergInput.MetadataOperation type narrowed from json to string.
aws-glue: AWS::Glue::Table: IcebergTableInput.Properties type narrowed from json to Map<string, string>.
aws-iot: AWS::IoT::PolicyPrincipalAttachment: Id attribute removed.
aws-quicksight: AWS::QuickSight::Analysis: SheetLayoutGroupMember.Type type narrowed from json to string enum (ELEMENT|GROUP).
aws-quicksight: AWS::QuickSight::Dashboard: SheetLayoutGroupMember.Type type narrowed from json to string enum (ELEMENT|GROUP).
aws-quicksight: AWS::QuickSight::Template: SheetLayoutGroupMember.Type type narrowed from json to string enum (ELEMENT|GROUP).
Features
- update L1 CloudFormation resource definitions (#39139) (8a10135)
- cloudfront: add always-amz-auth signing behavior for origin access control (#39196) (7cf79a1), closes #39195 #38629
- cloudfront: add sigv4a signing protocol for origin access control (#38629) (805bfbe), closes #38627 #38627
- codebuild: add STANDARD_8_0, AMAZON_LINUX_2023_6 and AMAZON_LINUX_2023_STANDARD_4_0 images (#37588) (3beecb3), closes #37586
Bug Fixes
- apigateway: log group destination ARN causes permanent Stage drift (#38816) (65c6aa0), closes #38796
- bedrockagentcore:
Runtimeannotations cannot be acknowledged (#38770) (165bf8b), closes #38741 - core: can't trace construct to template for nested stacks (#39141) (173a2ff)
- core: preserve unresolved Tags property tokens (#37759) (644489c), closes #37734
- core: validations with different messages are confusingly combined (#39132) (54fb0ea), closes #38982
- stepfunctions: default
StateMachineIAM role missing confused deputy protection best practices (#37688) (638a681), closes #37567 #37567 #37567
Alpha modules (2.274.0-alpha.0)
Features
- bedrock-alpha: add VectorKnowledgeBase L2 construct for bedrock knowledge bases (#38883) (5041639), closes aws/aws-cdk-rfcs#686
Bug Fixes
v2.273.0
⚠ BREAKING CHANGES
- ** L1 resources are automatically generated from public CloudFormation Resource Schemas. They are built to closely reflect the real state of CloudFormation. Sometimes these updates can contain changes that are incompatible with previous types, but more accurately reflect reality. In this release we have changed:
aws-appstream: AWS::AppStream::StackFleetAssociation: FleetName property is now immutable.
aws-appstream: AWS::AppStream::StackFleetAssociation: StackName property is now immutable.
aws-appsync: AWS::AppSync::ApiCache: AtRestEncryptionEnabled property is now immutable.
aws-appsync: AWS::AppSync::ApiCache: TransitEncryptionEnabled property is now immutable.
aws-bedrockagentcore: AWS::BedrockAgentCore::OnlineEvaluationConfig: OutputConfig attribute removed.
aws-cloud9: AWS::Cloud9::EnvironmentEC2: Id attribute removed.
aws-config: AWS::Config::ConfigurationRecorder: Id attribute removed.
aws-config: AWS::Config::OrganizationConfigRule: Id attribute removed.
aws-datazone: AWS::DataZone::PolicyGrant: Detail property is now required.
aws-datazone: AWS::DataZone::PolicyGrant: Principal property is now required.
aws-directoryservice: AWS::DirectoryService::MicrosoftAD: Id attribute removed.
aws-lambda: AWS::Lambda::NetworkConnector: VpcEgressConfiguration.NetworkProtocol property is now required.
aws-lambda: AWS::Lambda::NetworkConnector: VpcEgressConfiguration.SecurityGroupIds property is now required.
Features
- update L1 CloudFormation resource definitions (#38969) (ed0df78)
- batch: add ConsumableResource L2 construct (#36971) (a12f3a1)
- bedrockagentcore: support runtime platformVersion (#38924) (227423f)
- cloudfront: default Distribution behaviors to redirect HTTP to HTTPS (#38721) (6ede006), closes #38599
- opensearchservice: add useLatestServiceSoftwareForBlueGreen support (#38499) (6aa03e5), closes #38664 #38664
- pipelines: add
executionModesupport in CodePipeline L3 construct (#35022) (7283d38), closes #35014
Bug Fixes
- bump bundled brace-expansion to 5.0.12 (#38929) (ff25def), closes #38932
- applicationautoscaling: target tracking silently ignores custom metric account and region (#36503) (5d10288), closes #36401
- bedrockagentcore: accept aws-cn ECR image URIs in Runtime container URI validation (#38948) (49ac618), closes #38947
- cloudfront-origins: missing OAC permissions for Function URL (#35919) (d213cc7), closes #35872 /github.com/aws/aws-cdk/blob/75139b2145010bc74e8017b23450d7af95327f49/packages/aws-cdk-lib/aws-cloudfront-origins/lib/function-url-origin.ts#L144-L153 /github.com/aws/aws-cdk/blob/75139b2145010bc74e8017b23450d7af95327f49/packages/aws-cdk-lib/aws-cloudfront-origins/lib/function-url-origin.ts#L144-L153 /github.com/aws/aws-cdk/blob/75139b2145010bc74e8017b23450d7af95327f49/packages/aws-cdk-lib/aws-lambda/lib/function-base.ts#L577 #35725
- core: validation E2001 inadvertently not enabled (#38920) (0b763a7)
- eks: allow access policies on AccessEntryType.EC2 access entries (#38782) (e507e07), closes #37496
- s3-deployment:
Source.dataobjectKey can write outside the staging directory (#38921) (53439f9)
Alpha modules (2.273.0-alpha.0)
⚠ BREAKING CHANGES
- redshift-alpha: PUBLIC in any ASCII letter case is rejected as the name of a created user, or of an imported user that is granted table privileges. Existing PUBLIC grants are not removed, but narrowing one is rejected. Migrating to an ordinary name still works.
- redshift-alpha: The
loggingPropertiesprop onClusterProps(and theLoggingPropertiesinterface) has been removed from@aws-cdk/aws-redshift-alpha. Use the newloggingprop withClusterLogging.s3({ bucket, keyPrefix })orClusterLogging.cloudWatch({ logExports })instead.
Features
Bug Fixes
v2.272.0
⚠ BREAKING CHANGES
-
** L1 resources are automatically generated from public CloudFormation Resource Schemas. They are built to closely reflect the real state of CloudFormation. Sometimes these updates can
contain changes that are incompatible with previous types, but more accurately reflect reality. In this release we have changed:aws-servicediscovery: AWS::ServiceDiscovery::Instance: primary identifier is now ServiceId and InstanceId, so InstanceReference now requires serviceId.
Features
- update L1 CloudFormation resource definitions (#38864) (3bd350b)
- ec2: regional NAT Gateway (#36538) (3901dde), closes #36198
- glue: support Glue version 6.0 (#38632) (372e021), closes #38631
- synthetics: add environmentEncryption KMS key prop to Canary (#38750) (ec884bc), closes #38797
Bug Fixes
- bedrockagentcore: browser grantUse is missing ConnectBrowserAutomationStream (#38657) (aff4a2f), closes #38656
- core: synth crashes with EISDIR on cloud-placeholder directories in cdk.out (#38672) (269052d), closes #38653 #38299
- lambda-nodejs: local bundling fails under AllSigned PowerShell execution policy (#38447) (edd162d), closes #38439 #37412
Alpha modules (2.272.0-alpha.0)
v2.271.0
Features
- codebuild: add hostKernel to build environment (#38513) (deec895), closes #38338 #38338 #38275 #38338
- kinesisanalytics-flink: add support for Flink 2.2 (#37914) (a719f53), closes #37915 #37915
- lambda: add s3 object storage mode (#38745) (7c429d9), closes #38260 /github.com/aws/aws-cdk/pull/38278#discussion_r3841272090
- s3tables: make tableBucketName optional on TableBucket (#37749) (90e1bea), closes #37747
- render property traces with 'cdk --debug' (#38844) (da68298)
Bug Fixes
- core: upgrade CloudFormation validation to latest version (#38884) (0c5e732)
- ecs: support digest references in TagParameterContainerImage via imageDigest option (#37868) (f482f4f), closes #37718
- ssm secret.fromSsmParameter introduces W2001 warning (#38833) (9526219), closes #38396
- telemetry numbers don't allow making a good model for synth time yet (#38889) (600ffc8)
- validating CloudAssembly throws
Invalid URLerror (#38867) (6eb07dd) - cloudwatch: iqm alarms are not rendered correctly (#38834) (7f714ce), closes #28812
- core:
resolveReferencesshould only update references that require updates on its second pass in nested stacks (#38813) (6cf5313) - core: acknowledgeWarning before emit on same construct is ignored (#38821) (e840b92), closes #38820
- core: validations.acknowledge() does not respect scopes (#38789) (2f32847), closes #38495
- ec2: synth-time AMI lookup leads to W9010 (#38840) (0870fcf), closes #38390
Alpha modules (2.271.0-alpha.0)
v2.270.0
⚠ BREAKING CHANGES
-
** L1 resources are automatically generated from public CloudFormation Resource Schemas. They are built to closely reflect the real state of CloudFormation. Sometimes these updates can
contain changes that are incompatible with previous types, but more accurately reflect reality. In this release we have changed:aws-codecommit: AWS::CodeCommit::Repository: Id attribute removed.
aws-config: AWS::Config::DeliveryChannel: DeliveryFrequency property values narrowed to an enum.
aws-dms: AWS::DMS::ReplicationTask: Id attribute removed.
Features
- update L1 CloudFormation resource definitions (#38823) (4386bf1)
- core: add cross-resource GameLift launch-path rules (CDK-GameLift-006/007) (ba98771)
- core: merge default Rego rules into explicitly registered plugins (160c8a6)
- core: replace schema-covered Rego rules with cross-field invariants (07a8153)
- core: ship default CloudFormation validation rules in Rego (5388c88)
- core: ship default CloudFormation validation rules in Rego (#38448) (4ccdad8), closes #38456
- glue: graduate to stable 🚀 (#38799) (a9e36a3)
- lambda: add DirectS3Read support for S3 Files filesystem mounts (#38752) (1482712), closes #38751
Bug Fixes
- apigatewayv2: missing WebSocket Lambda permissions for routes sharing one integration (#38154) (4317f8e), closes #38148
- core: annotations cannot be acked without feature flag (#38772) (941f847)
- ecs: correct enableManagedDraining docs to reflect CloudFormation implicit default (#37228) (74c19a3), closes #35539 /github.com/aws/aws-cdk/issues/35539#issuecomment-3319165306
- s3: l2 construct
Bucketreplication metrics cannot be enabled without replication time control (RTC) (#35929) (cd97d96), closes #35772 /github.com/aws/aws-cdk/issues/35772#issuecomment-3427574206
Alpha modules (2.270.0-alpha.0)
v2.269.0
Features
- bedrockagentcore: graduate Policy submodule to stable (#38687) (2b95e32), closes #37219
- update L1 CloudFormation resource definitions (#38784) (1b5e2e0)
- logs: support DELIVERY log group class (#38703) (b7a057a), closes #34338
- s3-deployment: expose deployed object version IDs (#38766) (09342df), closes #38765
Bug Fixes
- awslint: use a default import for chalk (#38110) (36d14e0), closes #38109 #38058
- core: cdk-nag warnings cannot be suppressed (#38787) (211029f)
- core: cdk-nag's findings duplicated in multi-environment apps (#38707) (4b7b2e7), closes #38483 #38135
- core: tree.json generation is quadratic in the number of subtrees (#38761) (3d034b6), closes #38762
- core: unnecessary warnings around builtins and AZs (#38673) (6860777)
- core: upgrade CloudFormation validation to latest version (#38804) (d703eb6)
- dynamodb:
TableV2emits internal grants deprecation warnings (#38806) (57b3043), closes #38709 #38399 #37892 - ecs: allow ephemeralStorageGiB for Windows Fargate platform version 1.0.0 (#37589) (855dfeb), closes #37510
- ecs: removing the last target group from a service is not deployed (#38776) (73100f6), closes #35446 #35446 #35452
- lambda-go: escape generated go build path arguments (#38785) (279d101)
- s3-deployment: sanitize all log outputs to mitigate CWE-117/93 (#37670) (47a3a38), closes #37671 #30746 #28469 #30211
Alpha modules (2.269.0-alpha.0)
⚠ BREAKING CHANGES
- glue-alpha: Glue job constructs now reject construct-managed and Glue-reserved
arguments passed throughdefaultArguments. Previously, a managed argument set via
defaultArgumentswas silently honored inSparkJobandPythonShellJob(customer
value won over the construct default) and silently ignored inRayJob(construct
default won). Both behaviors let a caller bypass the construct's security and
observability defaults with no error. Passing any of the following through
defaultArgumentsnow throws aValidationErrorat synthesis time: - construct-managed arguments —
--enable-continuous-cloudwatch-log,
--continuous-log-logGroup,--continuous-log-logStreamPrefix,
--continuous-log-conversionPattern,--enable-continuous-log-filter,
--enable-metrics,--enable-observability-metrics,--enable-spark-ui,
--spark-event-logs-path,--job-language,--class,--extra-jars,
--user-jars-first,--extra-py-files,--extra-files,library-set - Glue-reserved arguments —
--debug,--mode,--JOB_NAME,--endpoint
A managed argument is rejected whether or not the current configuration emits it, so a
disabled feature (e.g. enableMetrics: false) cannot be re-enabled through
defaultArguments. Configure these through their dedicated props instead
(continuousLogging, enableMetrics, enableObservabilityMetrics, sparkUI,
className, extraJars, extraJarsFirst, extraPythonFiles, extraFiles). For
example, replace defaultArguments: { '--enable-continuous-cloudwatch-log': 'false' }
with continuousLogging: { enabled: false }. Arguments without a dedicated prop (e.g.
--enable-glue-datacatalog) are unaffected and remain settable via defaultArguments.
The checkNoReservedArgs(defaultArguments?) method on the Job base class was removed.
It is replaced by two protected members: setManagedArgument(key, value?), which each
job class calls to declare (and, when a value is present, emit) a managed argument, and
mergeDefaultArguments(defaultArguments?), which validates the caller-supplied
defaultArguments against the accumulated reserved set and returns the merged map.
- route53resolver-alpha:
FirewallRuleGroupAssociationnow honors the previously-ignoredmutationProtectionandnameprops. Stacks that setmutationProtection: truewill enable mutation protection on redeploy (which blocks further CloudFormation update/delete until it is set back to false); stacks that setnamewill write it to the template, which may replace the association. - glue-alpha: trigger
ActionandConditionare no longer plain objects — useAction.job(...)/Action.crawler(...)andCondition.job(...)/Condition.crawler(...). Jobs are referenced viaIJobRefand crawlers viaICrawlerRef(aCfnCrawlerinstance orCfnCrawler.fromCrawlerName(...)) instead of aCfnCrawlerfield or crawler-name string;IJobnow extends the generatedIJobRef.addDailyScheduledTrigger/addWeeklyScheduledTrigger/addCustomScheduledTriggerare replaced byaddScheduledTrigger(id, { schedule, ... })(useTriggerSchedule.daily()/weekly()/cron(...)).addNotifyEventTriggeris renamedaddEventTrigger(NotifyEventTriggerOptions→EventTriggerOptions). AlladdXxxTriggermethods now returnITriggerRefinstead ofCfnTrigger. - glue-alpha: PartitionProjectionConfiguration's variant fields (integerRange, dateRange, interval, digits, format, intervalUnit, values) are no longer public; DATE projection now takes
step: { interval, intervalUnit }instead of top-levelinterval/intervalUnit. - glue-alpha: ConnectionOptions no longer has
subnet,vpc, orvpcSubnets; usenetwork: ConnectionNetwork.subnet(...)ornetwork: ConnectionNetwork.vpc(...)instead.
Features
- glue-alpha: ensure job parameters consistency (#38480) (bc7dc0c)
- glue-alpha: model Connection VPC placement as a value object (#38729) (f72e9fe)
- glue-alpha: model partition projection variants as internal state (#38726) (16527cd)
- glue-alpha: overhaul the workflow trigger API (#38579) (c8f917d)
Bug Fixes
v2.268.0
⚠ BREAKING CHANGES
L1 resources are automatically generated from public CloudFormation Resource Schemas. They are built to closely reflect the real state of CloudFormation. Sometimes these updates can contain changes that are incompatible with previous types, but more accurately reflect reality. In this release we have changed:
- aws-athena:
AWS::Athena::Sessionremoved. - aws-bcmdataexports:
AWS::BCMDataExports::Tableremoved. - aws-bedrock:
AWS::Bedrock::DefaultPromptRouterandAWS::Bedrock::ModelInvocationJobremoved. - aws-bedrockagentcore:
AWS::BedrockAgentCore::Browser,AWS::BedrockAgentCore::CodeInterpreter, andAWS::BedrockAgentCore::TokenVaultremoved;AWS::BedrockAgentCore::PaymentConnectorConnectorTypeandAWS::BedrockAgentCore::PaymentCredentialProviderCredentialProviderVendorare now immutable;AWS::BedrockAgentCore::CapacityProviderOperatingSystemallowed values in theLaunchParameterstype reduced from [LINUX_X86_64,LINUX_ARM64,MAC_ARM64,WINDOWS_X86_64] to [LINUX_X86_64,LINUX_ARM64]. - aws-certificatemanager:
AWS::CertificateManager::CertificateIdattribute removed. - aws-chime: on both
AWS::Chime::AppInstanceandAWS::Chime::AppInstanceBot, theCreatedTimestampandLastUpdatedTimestampattribute types changed fromnumbertostring. - aws-cloudformation:
AWS::CloudFormation::ResourceScanremoved. - aws-codeartifact:
AWS::CodeArtifact::Packageremoved. - aws-codebuild:
AWS::CodeBuild::Sandboxremoved;AWS::CodeBuild::SourceCredentialIdattribute removed. - aws-dax:
AWS::DAX::ParameterGroupIdattribute removed;Descriptionproperty is now immutable. - aws-dms:
Idattribute removed fromAWS::DMS::Endpoint,AWS::DMS::EventSubscription, andAWS::DMS::ReplicationSubnetGroup;AWS::DMS::ReplicationTaskMigrationTypeproperty is now immutable. - aws-docdb:
Idattribute removed fromAWS::DocDB::DBClusterParameterGroupandAWS::DocDB::DBSubnetGroup. - aws-dynamodb:
AWS::DynamoDB::Exportremoved. - aws-elasticache:
AWS::ElastiCache::ReservedCacheNoderemoved. - aws-emr:
AWS::EMR::NotebookExecutionremoved. - aws-events:
AWS::Events::Replayremoved. - aws-fis:
AWS::FIS::SafetyLeverremoved. - aws-glue:
Idattribute removed fromAWS::Glue::Classifier,AWS::Glue::Connection,AWS::Glue::CustomEntityType,AWS::Glue::DataQualityRuleset,AWS::Glue::MLTransform,AWS::Glue::SecurityConfiguration,AWS::Glue::TableOptimizer, andAWS::Glue::Workflow.AWS::Glue::Connection: complex-property typesAuthenticationConfigurationInputandOAuth2PropertiesInputrenamed toAuthenticationConfigurationandOAuth2Propertiesrespectively.AWS::Glue::DataQualityRuleset:Name,TargetTable.DatabaseName, andTargetTable.TableNameproperties are now required;Nameproperty is now immutable;Tagsproperty type changed fromjsontomap<string>.AWS::Glue::CustomEntityType:Nameproperty is now immutable;Tagsproperty is no longer recognised as resource tags.AWS::Glue::MLTransform:TransformEncryptionproperty is now immutable.
- aws-greengrassv2:
AWS::GreengrassV2::ComponentandAWS::GreengrassV2::CoreDeviceremoved. - aws-identitystore:
AWS::IdentityStore::AllGroupMembershipsremoved. - aws-imagebuilder:
AWS::ImageBuilder::AllImageBuildVersions,AWS::ImageBuilder::AllWorkflowBuildVersions,AWS::ImageBuilder::WorkflowExecution, andAWS::ImageBuilder::WorkflowStepExecutionremoved. - aws-medialive:
AWS::MediaLive::Offeringremoved. - aws-mediaconvert:
AWS::MediaConvert::PresetIdattribute removed. - aws-mediapackage:
AWS::MediaPackage::HarvestJobremoved. - aws-memorydb:
AWS::MemoryDB::MultiRegionParameterGroupandAWS::MemoryDB::ReservedNoderemoved. - aws-omics:
AWS::Omics::Referenceremoved. - aws-osis:
AWS::OSIS::PipelineBlueprintremoved. - aws-personalize:
AWS::Personalize::DataDeletionJobandAWS::Personalize::Reciperemoved. - aws-redshiftserverless:
AWS::RedshiftServerless::RecoveryPointremoved. - aws-route53:
AWS::Route53::RecordSetGeoProximityLocationproperty removed, along with its supportingGeoProximityLocationandCoordinatescomplex-property types;Idattribute removed. - aws-sagemaker:
AWS::SageMaker::ModelCardExportJob,AWS::SageMaker::MonitoringScheduleAlert, andAWS::SageMaker::TransformJobremoved. - aws-ses:
AWS::SES::ReceiptRuleSetIdattribute removed. - aws-signer:
AWS::Signer::SigningJobremoved. - aws-ssm:
AWS::SSM::Sessionremoved;AWS::SSM::AssociationInstanceIdproperty is now immutable. - aws-sso:
AWS::SSO::ApplicationProviderremoved. - aws-stepfunctions:
AWS::StepFunctions::MapRunremoved. - aws-transcribe:
AWS::Transcribe::MedicalTranscriptionJobremoved. - aws-vpclattice:
AWS::VpcLattice::ServiceNetworkSharingConfigproperty is now immutable.
Features
- update L1 CloudFormation resource definitions (#38732) (53fdc99)
- codebuild: add Node.js 24 Lambda build image constants (#38471) (41ca888), closes #38172 #34197
- ec2: support CpuOptions on LaunchTemplate (#38193) (b0f7d9c), closes #38187
- medialive: new AWS Elemental MediaLive L2 Construct with integration on MediaConnect L2 alpha (#38563) (730b2ee)
- update L1 CloudFormation resource definitions (#38645) (e238f54)
- update L1 CloudFormation resource definitions (#38693) (51234fd)
- s3-deployment: run the deployment handler on arm64 (Graviton) (#37174) (c2df7a3), closes #29996
Bug Fixes
- core: ignored external symlinks throw validation error (#38679) (8fd1ef6)
- core: templates are not checked for circular dependencies (#38712) (688b0c1)
- core: upgrade CloudFormation validation to latest version (#38668) (d5df2ee)
- eks-v2: generate and export L1 constructs from aws-eks-v2 (#37640) (ecdafa9), closes #37563 #37350 #37350
- s3-deployment: replace deprecated addDependency in integ test (#38684) (43c4921)
Alpha modules (2.268.0-alpha.0)
⚠ BREAKING CHANGES
- glue-alpha:
DataQualityTargetTable's constructor is removed — useDataQualityTargetTable.fromTable(database, table)orfromTableName(database, tableName);IDatabasenow extendsIDatabaseRef. - glue-alpha:
DataQualityRulesetProps.clientTokenis removed; use theCfnDataQualityRulesetL1 for request-level idempotency. - glue-alpha: S3Table.clientSideEncryptionKey is now kms.IKeyRef instead of kms.IKey.
- glue-alpha:
DataQualityRulesetProps.rulesetNameis now required.AWS::Glue::DataQualityRulesetmadeNamea required property, so the name can no longer be left for CloudFormation to generate.
Features
Code Refactoring
v2.267.0
⚠ BREAKING CHANGES
- kinesisfirehose: After this change, specifying an unsupported
timeZoneon the FirehoseS3Bucketdestination now throws aValidationErrorduring synthesis instead of failing at CloudFormation deployment. Affected values: 3-letter IANA abbreviations (e.g.EST),Etc/UTC,Etc/GMT,Factory, and strings containing characters outside[a-zA-Z/_]+. Use a supported standard IANA identifier (e.g.America/New_York) orUTCfor synth to pass.
Features
- backup: add indexActions prop to BackupPlanRule (#34051) (b8be853), closes #34050
- bedrockagentcore: add manageDeliveryResourcePolicy opt-out for runtime observability (#38372) (5fb086b), closes #38342
- ci: integration test deployment on maintainer approval (#38519) (c5f6b4f), closes #37333
- core:
Sizeobjects now properly stringify (#38662) (90fe151) - sqs: metricApproximateNumberOfMessagesOutstanding (#38661) (f29b27b)
Bug Fixes
- assets:
SymlinkFollowMode.BLOCK_EXTERNALwill throw errors while bundling (#38506) (a11e451) - bedrockagentcore: least-privilege browser recording S3 grant (#38604) (7e11d11)
- ci: add environment for Atmosphere variables access (#38625) (785773e), closes #38519
- cloudfront-origins: readTimeout and keepaliveTimeout reject valid values (#38432) (6251e1a), closes #38433 #18628
- core: performance counters use too much memory (#38620) (d0ce23c)
- core: single file bundled output should be file (#38548) (9e22774)
- core: stack.node.addDependency gets slower as stacks grow (#38597) (2ab9be4), closes #38522
- core: symlinks in directory bundling output (#38665) (8d8ae2c)
- core: validation plugin check adds too much overhead (#38619) (df15b9f)
- dynamodb:
TableV2.grants.*Datadoes not include index resources (#37892) (e48a97f), closes #37569 - dynamodb:
TableV2MultiAccountReplicarejects imported tables with tokenized ARNs (#38365) (08f05e5), closes #38354 - dynamodb: avoid TableGrantsProps deprecation warnings for TableV2 (#38399) (fb5c25b), closes #37221
- ec2:
NatInstanceProviderandNatInstanceProviderV2always trigger the keyName deprecation warning (#38347) (47f2151), closes #30806 - kinesisfirehose: add validation for customTimeZone in S3BucketProps (#38514) (8cf9f90), closes #36089
- lambda: allow SnapStart for container image functions (#38680) (a5adc00), closes #38281 #38281 #38265
- rds: serverlessV2 capacity props reject tokens at synth time (#38044) (b7880de), closes #38043 #9044 #31810 #32905
- s3-deployment: increase default memory limit from 128MB to 1024MB (#35501) (7a04f32), closes #35487
- stepfunctions-tasks: resolve EvaluateExpression paths via a values lookup (#38682) (02301ea)
- stack.availabilityZones are not stable strings (#38580) (f89474a)
Alpha modules (2.267.0-alpha.0)
⚠ BREAKING CHANGES
- glue-alpha: schema
Typeis now an opaque class; construct column types via theSchemafactories orSchema.custom(...)rather than{ isPrimitive, inputString }literals.StorageParameter.custom(key, value)requires astringvalue, andStorageParameter.writeKmsKeyIdtakes akms.IKeyinstead of a string. - glue-alpha:
S3TableProps.bucket/encryption/encryptionKeyare removed. Usestorage: S3TableStorage.managedBucket(S3TableEncryption.kms(key?))/S3TableStorage.fromBucket(bucket)andclientSideEncryption: TableClientSideEncryption.kms(key?).S3Table.encryption/encryptionKeyare removed (clientSideEncryptionKeyexposes the client-side key; readbucket.encryptionKeyfor server-side). TheTableEncryptionenum and the deprecatedTable/TablePropsare removed — useS3Table.
Features
- glue-alpha: add a typed secret input to Connection (#38585) (ede4a1c)
- glue-alpha: add subnet selection to
Connection(#38561) (f9d7eac) - glue-alpha: model S3Table storage/encryption as value objects (#38591) (9990e16)
- glue-alpha: opaque Schema Type with Schema.custom, and stronger StorageParameter types (#38592) (5c45eb0)
- msk-alpha: support Kafka 4.2 (#38323) (97b181c)
- s3tables-alpha: add storage class configuration support (#37339) (63ccf6d)
Bug Fixes
v2.266.0
Features
- adding controlPlaneScalingConfig to Cluster (#36863) (94e5c1a)
- update L1 CloudFormation resource definitions (#38578) (ccd2633)
Bug Fixes
- ec2: add DependsOn VPCGatewayAttachment to IPv6 default route (#37893) (ab272bc), closes #37853
- sns-subscriptions: use regionalized service principal for opt-in region SQS subscriptions (#38339) (67a7eb1), closes #32526
Alpha modules (2.266.0-alpha.0)
⚠ BREAKING CHANGES
- glue-alpha:
DataQualityRulesetProps.rulesetDqdl: stringis replaced by
dqdl: Dqdl. Build it withDqdl.fromString('Rules = [ ... ]'). - glue-alpha:
s3Encryption,cloudWatchEncryption, andjobBookmarksEncryptionare no longer object literals. UseS3Encryption.s3Managed()/S3Encryption.kms(key?),CloudWatchEncryption.kms(key?), andJobBookmarksEncryption.clientSideKms(key?). TheCloudWatchEncryptionModeandJobBookmarksEncryptionModeenums are removed (their mode is now implicit);S3EncryptionModeis retained. - glue-alpha: this is a corrective breaking change. Apps that leaned on the bug, and did things like
InputFormat x = OutputFormat.AVRO;will get a compilation error in other jsii languages. The intended usage, on the other hand, was broken before and works now. - glue-alpha:
workerTypeandnumberOfWorkersare no longer top-level job props. For Spark jobs, pass them together viaworkerConfiguration: { workerType, numberOfWorkers }.PythonShellJobno longer accepts them (it is sized bymaxCapacity).RayJobno longer acceptsworkerType(it is fixed toZ.2X). - glue-alpha:
SparkJobProps.enableMetricsremoved, which will cause a compilation error for any app using it. But there is no behavior change, since this is a dead prop. - glue-alpha: a differing/tokenized
has_encrypted_datasupplied viaparametersnow throws.
Features
- glue-alpha: add warning for maxRetries when job run queuing is enabled (#38575) (09ae11e)
- glue-alpha: model SecurityConfiguration encryption as factory subtypes (#38586) (e37e7a6)
- glue-alpha: new
hasEncryptedDataproperty (#38511) (c977e36) - glue-alpha: pair workerType and numberOfWorkers into a required workerConfiguration (#38576) (5f3b1b6)
- glue-alpha: wrap DataQualityRuleset DQDL in a typed value object (#38587) (fd01268)
