Skip to content

Releases: aws/aws-cdk

v2.269.0

Choose a tag to compare

@aws-cdk-automation aws-cdk-automation released this 10 Sep 21:09
2a1e77c

Features

Bug Fixes


Alpha modules (2.269.0-alpha.0)

⚠ BREAKING CHANGES

  • glue-alpha: Glue job constructs now reject construct-managed and Glue-reserved
    arguments passed through defaultArguments. Previously, a managed argument set via
    defaultArguments was silently honored in SparkJob and PythonShellJob (customer
    value won over the construct default) and silently ignored in RayJob (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
    defaultArguments now throws a ValidationError at 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: FirewallRuleGroupAssociation now honors the previously-ignored mutationProtection and name props. Stacks that set mutationProtection: true will enable mutation protection on redeploy (which blocks further CloudFormation update/delete until it is set back to false); stacks that set name will write it to the template, which may replace the association.
  • glue-alpha: trigger Action and Condition are no longer plain objects — use Action.job(...) / Action.crawler(...) and Condition.job(...) / Condition.crawler(...). Jobs are referenced via IJobRef and crawlers via ICrawlerRef (a CfnCrawler instance or CfnCrawler.fromCrawlerName(...)) instead of a CfnCrawler field or crawler-name string; IJob now extends the generated IJobRef. addDailyScheduledTrigger/addWeeklyScheduledTrigger/addCustomScheduledTrigger are replaced by addScheduledTrigger(id, { schedule, ... }) (use TriggerSchedule.daily()/weekly()/cron(...)). addNotifyEventTrigger is renamed addEventTrigger (NotifyEventTriggerOptionsEventTriggerOptions). All addXxxTrigger methods now return ITriggerRef instead of CfnTrigger.
  • 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-level interval/intervalUnit.
  • glue-alpha: ConnectionOptions no longer has subnet, vpc, or vpcSubnets; use network: ConnectionNetwork.subnet(...) or network: 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

  • route53resolver-alpha: association silently ignored mutationProtection and name (#38795) (5ab40b2)

v2.268.0

Choose a tag to compare

@aws-cdk-automation aws-cdk-automation released this 02 Sep 19:42
ca24210

⚠ 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::Session removed.
  • aws-bcmdataexports: AWS::BCMDataExports::Table removed.
  • aws-bedrock: AWS::Bedrock::DefaultPromptRouter and AWS::Bedrock::ModelInvocationJob removed.
  • aws-bedrockagentcore: AWS::BedrockAgentCore::Browser, AWS::BedrockAgentCore::CodeInterpreter, and AWS::BedrockAgentCore::TokenVault removed; AWS::BedrockAgentCore::PaymentConnector ConnectorType and AWS::BedrockAgentCore::PaymentCredentialProvider CredentialProviderVendor are now immutable; AWS::BedrockAgentCore::CapacityProvider OperatingSystem allowed values in the LaunchParameters type reduced from [LINUX_X86_64, LINUX_ARM64, MAC_ARM64, WINDOWS_X86_64] to [LINUX_X86_64, LINUX_ARM64].
  • aws-certificatemanager: AWS::CertificateManager::Certificate Id attribute removed.
  • aws-chime: on both AWS::Chime::AppInstance and AWS::Chime::AppInstanceBot, the CreatedTimestamp and LastUpdatedTimestamp attribute types changed from number to string.
  • aws-cloudformation: AWS::CloudFormation::ResourceScan removed.
  • aws-codeartifact: AWS::CodeArtifact::Package removed.
  • aws-codebuild: AWS::CodeBuild::Sandbox removed; AWS::CodeBuild::SourceCredential Id attribute removed.
  • aws-dax: AWS::DAX::ParameterGroup Id attribute removed; Description property is now immutable.
  • aws-dms: Id attribute removed from AWS::DMS::Endpoint, AWS::DMS::EventSubscription, and AWS::DMS::ReplicationSubnetGroup; AWS::DMS::ReplicationTask MigrationType property is now immutable.
  • aws-docdb: Id attribute removed from AWS::DocDB::DBClusterParameterGroup and AWS::DocDB::DBSubnetGroup.
  • aws-dynamodb: AWS::DynamoDB::Export removed.
  • aws-elasticache: AWS::ElastiCache::ReservedCacheNode removed.
  • aws-emr: AWS::EMR::NotebookExecution removed.
  • aws-events: AWS::Events::Replay removed.
  • aws-fis: AWS::FIS::SafetyLever removed.
  • aws-glue:
    • Id attribute removed from AWS::Glue::Classifier, AWS::Glue::Connection, AWS::Glue::CustomEntityType, AWS::Glue::DataQualityRuleset, AWS::Glue::MLTransform, AWS::Glue::SecurityConfiguration, AWS::Glue::TableOptimizer, and AWS::Glue::Workflow.
    • AWS::Glue::Connection: complex-property types AuthenticationConfigurationInput and OAuth2PropertiesInput renamed to AuthenticationConfiguration and OAuth2Properties respectively.
    • AWS::Glue::DataQualityRuleset: Name, TargetTable.DatabaseName, and TargetTable.TableName properties are now required; Name property is now immutable; Tags property type changed from json to map<string>.
    • AWS::Glue::CustomEntityType: Name property is now immutable; Tags property is no longer recognised as resource tags.
    • AWS::Glue::MLTransform: TransformEncryption property is now immutable.
  • aws-greengrassv2: AWS::GreengrassV2::Component and AWS::GreengrassV2::CoreDevice removed.
  • aws-identitystore: AWS::IdentityStore::AllGroupMemberships removed.
  • aws-imagebuilder: AWS::ImageBuilder::AllImageBuildVersions, AWS::ImageBuilder::AllWorkflowBuildVersions, AWS::ImageBuilder::WorkflowExecution, and AWS::ImageBuilder::WorkflowStepExecution removed.
  • aws-medialive: AWS::MediaLive::Offering removed.
  • aws-mediaconvert: AWS::MediaConvert::Preset Id attribute removed.
  • aws-mediapackage: AWS::MediaPackage::HarvestJob removed.
  • aws-memorydb: AWS::MemoryDB::MultiRegionParameterGroup and AWS::MemoryDB::ReservedNode removed.
  • aws-omics: AWS::Omics::Reference removed.
  • aws-osis: AWS::OSIS::PipelineBlueprint removed.
  • aws-personalize: AWS::Personalize::DataDeletionJob and AWS::Personalize::Recipe removed.
  • aws-redshiftserverless: AWS::RedshiftServerless::RecoveryPoint removed.
  • aws-route53: AWS::Route53::RecordSet GeoProximityLocation property removed, along with its supporting GeoProximityLocation and Coordinates complex-property types; Id attribute removed.
  • aws-sagemaker: AWS::SageMaker::ModelCardExportJob, AWS::SageMaker::MonitoringScheduleAlert, and AWS::SageMaker::TransformJob removed.
  • aws-ses: AWS::SES::ReceiptRuleSet Id attribute removed.
  • aws-signer: AWS::Signer::SigningJob removed.
  • aws-ssm: AWS::SSM::Session removed; AWS::SSM::Association InstanceId property is now immutable.
  • aws-sso: AWS::SSO::ApplicationProvider removed.
  • aws-stepfunctions: AWS::StepFunctions::MapRun removed.
  • aws-transcribe: AWS::Transcribe::MedicalTranscriptionJob removed.
  • aws-vpclattice: AWS::VpcLattice::ServiceNetwork SharingConfig property 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 — use DataQualityTargetTable.fromTable(database, table) or fromTableName(database, tableName); IDatabase now extends IDatabaseRef.
  • glue-alpha: DataQualityRulesetProps.clientToken is removed; use the CfnDataQualityRuleset L1 for request-level idempotency.
  • glue-alpha: S3Table.clientSideEncryptionKey is now kms.IKeyRef instead of kms.IKey.
  • glue-alpha: DataQualityRulesetProps.rulesetName is now required. AWS::Glue::DataQualityRuleset made Name a required property, so the name can no longer be left for CloudFormation to generate.

Features

  • glue-alpha: reference-typed DataQualityTargetTable and remove clientToken (#38730) (c8fafbd)

Code Refactoring

  • glue-alpha: use kms.IKeyRef for KMS key inputs where possible (#38725) (604ac23)

v2.267.0

Choose a tag to compare