@intentius/chant-lexicon-aws 0.124.31 → 0.124.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/dynamodb.js +41 -0
- package/dist/actions/ecr.js +9 -0
- package/dist/actions/ecs.js +5 -0
- package/dist/actions/iam.js +3 -0
- package/dist/actions/index.js +9 -0
- package/dist/actions/lambda.js +11 -0
- package/dist/actions/logs.js +4 -0
- package/dist/actions/s3.js +40 -0
- package/dist/actions/sns.js +5 -0
- package/dist/actions/sqs.js +15 -0
- package/dist/agentcore/trace-fetch.d.ts.map +1 -1
- package/dist/agentcore/trace-fetch.js +472 -0
- package/dist/agentcore/trace-render.js +359 -0
- package/dist/ambient.js +148 -0
- package/dist/api/credential-chain.d.ts +30 -3
- package/dist/api/credential-chain.d.ts.map +1 -1
- package/dist/api/credential-chain.js +509 -0
- package/dist/api/read-client.d.ts +16 -43
- package/dist/api/read-client.d.ts.map +1 -1
- package/dist/api/read-client.js +458 -0
- package/dist/api/sigv4.d.ts +4 -4
- package/dist/api/sigv4.js +185 -0
- package/dist/behaviour-kinds.js +114 -0
- package/dist/caller-identity.d.ts +3 -5
- package/dist/caller-identity.d.ts.map +1 -1
- package/dist/caller-identity.js +146 -0
- package/dist/codegen/docs-cli.js +2 -0
- package/dist/codegen/docs.js +120 -0
- package/dist/codegen/enum-overlay.js +162 -0
- package/dist/codegen/extensions.js +139 -0
- package/dist/codegen/fallback.js +32 -0
- package/dist/codegen/generate-cli.js +15 -0
- package/dist/codegen/generate-lexicon.js +70 -0
- package/dist/codegen/generate-typescript.js +226 -0
- package/dist/codegen/generate.d.ts.map +1 -1
- package/dist/codegen/generate.js +234 -0
- package/dist/codegen/naming.js +135 -0
- package/dist/codegen/package.js +67 -0
- package/dist/codegen/patches.d.ts +26 -1
- package/dist/codegen/patches.d.ts.map +1 -1
- package/dist/codegen/patches.js +90 -0
- package/dist/codegen/property-overlay.js +85 -0
- package/dist/codegen/property-overlay.json +1 -16
- package/dist/codegen/sam.js +402 -0
- package/dist/codegen/typecheck.js +4 -0
- package/dist/codegen/versions.js +31 -0
- package/dist/components/__tests__/mock-cloud-executor.js +326 -0
- package/dist/components/apply.d.ts +44 -1
- package/dist/components/apply.d.ts.map +1 -1
- package/dist/components/apply.js +752 -0
- package/dist/components/builders.js +37 -0
- package/dist/components/capability-plugin.js +66 -0
- package/dist/components/cloud-executor.d.ts +35 -0
- package/dist/components/cloud-executor.d.ts.map +1 -1
- package/dist/components/cloud-executor.js +576 -0
- package/dist/components/config-bom.js +207 -0
- package/dist/components/host-delivery.js +117 -0
- package/dist/components/index.js +18 -0
- package/dist/components/job-submission.js +77 -0
- package/dist/components/publish.js +234 -0
- package/dist/components/safety.js +62 -0
- package/dist/components/wait-aws.js +68 -0
- package/dist/composites/agentcore-agent.js +187 -0
- package/dist/composites/agentcore-trust-policy.js +13 -0
- package/dist/composites/alb-shared.js +84 -0
- package/dist/composites/bucket-deployment.js +93 -0
- package/dist/composites/catalog.js +2714 -0
- package/dist/composites/dynamodb-table.js +66 -0
- package/dist/composites/ec2-instance-bundle.js +75 -0
- package/dist/composites/ec2-instance-role.js +26 -0
- package/dist/composites/ecr-repository.js +64 -0
- package/dist/composites/ecs-trust-policy.js +10 -0
- package/dist/composites/efs-with-access-point.js +44 -0
- package/dist/composites/eks-cluster.js +118 -0
- package/dist/composites/fargate-alb.js +216 -0
- package/dist/composites/fargate-service.js +222 -0
- package/dist/composites/index.js +28 -0
- package/dist/composites/lambda-api.js +15 -0
- package/dist/composites/lambda-dynamodb.js +77 -0
- package/dist/composites/lambda-eventbridge.js +27 -0
- package/dist/composites/lambda-function.js +54 -0
- package/dist/composites/lambda-s3.js +93 -0
- package/dist/composites/lambda-sns.js +23 -0
- package/dist/composites/lambda-sqs.js +34 -0
- package/dist/composites/landing-zone.js +82 -0
- package/dist/composites/microvm-app.js +293 -0
- package/dist/composites/minimal-vpc.js +40 -0
- package/dist/composites/monitoring-stack.js +105 -0
- package/dist/composites/nlb-service.js +61 -0
- package/dist/composites/rds-instance.js +98 -0
- package/dist/composites/scheduled-lambda.js +28 -0
- package/dist/composites/solr-fargate-service.js +33 -0
- package/dist/composites/step-functions-workflow.js +78 -0
- package/dist/composites/vpc-default.js +132 -0
- package/dist/condition.js +43 -0
- package/dist/coverage.js +4 -0
- package/dist/deep-observe.d.ts.map +1 -1
- package/dist/deep-observe.js +709 -0
- package/dist/deep-topology.js +226 -0
- package/dist/default-tags.js +50 -0
- package/dist/defaults.js +85 -0
- package/dist/dependencies.js +269 -0
- package/dist/detect.js +21 -0
- package/dist/disruption.d.ts.map +1 -1
- package/dist/disruption.js +129 -0
- package/dist/effect-receipt-row.js +107 -0
- package/dist/generated/index.d.ts +1297 -82
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +12382 -0
- package/dist/generated/runtime.js +4 -0
- package/dist/governance.js +131 -0
- package/dist/health.d.ts +61 -0
- package/dist/health.d.ts.map +1 -0
- package/dist/health.js +216 -0
- package/dist/identity-observe.d.ts.map +1 -1
- package/dist/identity-observe.js +127 -0
- package/dist/import/generator.js +757 -0
- package/dist/import/live-export.js +34 -0
- package/dist/import/parser.js +394 -0
- package/dist/index.js +69 -0
- package/dist/integrity.json +6 -6
- package/dist/intrinsics.js +393 -0
- package/dist/lint/audit-catalog.js +87 -0
- package/dist/lint/audit-lineage.js +150 -0
- package/dist/lint/post-synth/cf-refs.js +247 -0
- package/dist/lint/post-synth/cor020.js +60 -0
- package/dist/lint/post-synth/ext001.d.ts.map +1 -1
- package/dist/lint/post-synth/ext001.js +197 -0
- package/dist/lint/post-synth/index.js +124 -0
- package/dist/lint/post-synth/waw010.js +41 -0
- package/dist/lint/post-synth/waw011.js +41 -0
- package/dist/lint/post-synth/waw013.js +38 -0
- package/dist/lint/post-synth/waw014.js +42 -0
- package/dist/lint/post-synth/waw015.js +88 -0
- package/dist/lint/post-synth/waw016.d.ts.map +1 -1
- package/dist/lint/post-synth/waw016.js +116 -0
- package/dist/lint/post-synth/waw017.js +43 -0
- package/dist/lint/post-synth/waw018.js +61 -0
- package/dist/lint/post-synth/waw019.js +64 -0
- package/dist/lint/post-synth/waw020.js +56 -0
- package/dist/lint/post-synth/waw021.js +44 -0
- package/dist/lint/post-synth/waw022.js +36 -0
- package/dist/lint/post-synth/waw023.js +40 -0
- package/dist/lint/post-synth/waw024.js +46 -0
- package/dist/lint/post-synth/waw025.js +36 -0
- package/dist/lint/post-synth/waw026.js +38 -0
- package/dist/lint/post-synth/waw027.js +41 -0
- package/dist/lint/post-synth/waw028.js +39 -0
- package/dist/lint/post-synth/waw029.js +54 -0
- package/dist/lint/post-synth/waw030.js +282 -0
- package/dist/lint/post-synth/waw031.js +58 -0
- package/dist/lint/post-synth/waw032.js +45 -0
- package/dist/lint/post-synth/waw033.js +75 -0
- package/dist/lint/post-synth/waw034.js +52 -0
- package/dist/lint/post-synth/waw035.js +56 -0
- package/dist/lint/post-synth/waw036.js +79 -0
- package/dist/lint/post-synth/waw037.js +67 -0
- package/dist/lint/post-synth/waw038.js +42 -0
- package/dist/lint/post-synth/waw039.js +42 -0
- package/dist/lint/post-synth/waw040.js +45 -0
- package/dist/lint/post-synth/waw041.js +40 -0
- package/dist/lint/post-synth/waw042.js +99 -0
- package/dist/lint/post-synth/waw043.js +51 -0
- package/dist/lint/post-synth/waw044.js +64 -0
- package/dist/lint/post-synth/waw045.js +49 -0
- package/dist/lint/post-synth/waw046.js +52 -0
- package/dist/lint/post-synth/waw047.js +43 -0
- package/dist/lint/post-synth/waw048.js +40 -0
- package/dist/lint/post-synth/waw049.js +78 -0
- package/dist/lint/post-synth/waw050.js +44 -0
- package/dist/lint/post-synth/waw051.js +41 -0
- package/dist/lint/post-synth/waw052.js +43 -0
- package/dist/lint/post-synth/waw053.js +43 -0
- package/dist/lint/post-synth/waw054.js +41 -0
- package/dist/lint/post-synth/waw055.js +41 -0
- package/dist/lint/post-synth/waw056.js +65 -0
- package/dist/lint/post-synth/waw057.js +43 -0
- package/dist/lint/post-synth/waw058.js +61 -0
- package/dist/lint/post-synth/waw059.js +338 -0
- package/dist/lint/post-synth/waw060.js +83 -0
- package/dist/lint/post-synth/waw061.js +60 -0
- package/dist/lint/post-synth/waw062.js +0 -0
- package/dist/lint/post-synth/waw063.js +0 -0
- package/dist/lint/post-synth/waw064.js +45 -0
- package/dist/lint/post-synth/waw065.js +104 -0
- package/dist/lint/post-synth/waw066.js +145 -0
- package/dist/lint/post-synth/waw067.js +115 -0
- package/dist/lint/post-synth/waw068.js +69 -0
- package/dist/lint/post-synth/waw069.js +0 -0
- package/dist/lint/rules/hardcoded-region.js +38 -0
- package/dist/lint/rules/iam-wildcard.js +60 -0
- package/dist/lint/rules/index.js +6 -0
- package/dist/lint/rules/s3-encryption.js +60 -0
- package/dist/live-attrs.js +42 -0
- package/dist/lsp/completions.d.ts.map +1 -1
- package/dist/lsp/completions.js +18 -0
- package/dist/lsp/hover.d.ts.map +1 -1
- package/dist/lsp/hover.js +66 -0
- package/dist/manifest.json +1 -1
- package/dist/mapping.js +33 -0
- package/dist/meta.json +17359 -784
- package/dist/nested-stack.js +95 -0
- package/dist/okf/index.md +203 -0
- package/dist/okf/rules/EXT001.md +1 -0
- package/dist/okf/rules/WAW016.md +2 -0
- package/dist/okf/rules/WAW019.md +1 -0
- package/dist/okf/rules/WAW028.md +1 -0
- package/dist/okf/rules/WAW030.md +2 -0
- package/dist/okf/rules/WAW039.md +1 -0
- package/dist/okf/rules/WAW049.md +1 -0
- package/dist/okf/rules/WAW056.md +1 -0
- package/dist/okf/rules/WAW058.md +1 -0
- package/dist/okf/rules/WAW062.md +1 -0
- package/dist/okf/rules/WAW064.md +1 -0
- package/dist/okf/rules/WAW065.md +1 -0
- package/dist/okf/rules/WAW066.md +1 -0
- package/dist/okf/rules/WAW067.md +1 -0
- package/dist/okf/rules/WAW068.md +1 -0
- package/dist/okf/rules/WAW069.md +4 -0
- package/dist/okf/types/AIWorkloadConfig.md +23 -0
- package/dist/okf/types/ARCRegionSwitchPlan.md +1 -0
- package/dist/okf/types/AccountAccessApplication.md +28 -0
- package/dist/okf/types/AccountAccessEntitlement.md +22 -0
- package/dist/okf/types/ActionTarget.md +20 -0
- package/dist/okf/types/AdConfiguration.md +21 -0
- package/dist/okf/types/Adapter.md +26 -0
- package/dist/okf/types/AgentContext.md +35 -0
- package/dist/okf/types/AgentGoal.md +31 -0
- package/dist/okf/types/AgentProfile.md +34 -0
- package/dist/okf/types/Alarm.md +3 -1
- package/dist/okf/types/AlarmModel.md +14 -9
- package/dist/okf/types/AmplifyWebhook.md +25 -0
- package/dist/okf/types/ApiCache.md +8 -8
- package/dist/okf/types/ApiGatewayManagedOverrides.md +5 -5
- package/dist/okf/types/AppAuthorization.md +35 -0
- package/dist/okf/types/AppBlockBuilder.md +1 -0
- package/dist/okf/types/AppInstance.md +2 -2
- package/dist/okf/types/AppInstanceBot.md +2 -2
- package/dist/okf/types/AppStreamFleet.md +3 -2
- package/dist/okf/types/AppSyncApiKey.md +6 -6
- package/dist/okf/types/AppSyncType.md +22 -0
- package/dist/okf/types/ApplicationStatusCheck.md +36 -0
- package/dist/okf/types/ApplicationVersion.md +4 -1
- package/dist/okf/types/ApplicationsList.md +26 -0
- package/dist/okf/types/ApprovalPolicy.md +28 -0
- package/dist/okf/types/ArchiveRule.md +24 -0
- package/dist/okf/types/Asset.md +30 -0
- package/dist/okf/types/Backup.md +31 -0
- package/dist/okf/types/BedrockAgentCoreDataset.md +1 -1
- package/dist/okf/types/BedrockAgentCoreGateway.md +3 -0
- package/dist/okf/types/BedrockSession.md +28 -0
- package/dist/okf/types/BillEstimate.md +35 -0
- package/dist/okf/types/Brand.md +32 -0
- package/dist/okf/types/CallAnalyticsCategory.md +25 -0
- package/dist/okf/types/Campaign.md +28 -0
- package/dist/okf/types/CapacityProvider.md +30 -0
- package/dist/okf/types/Case.md +24 -0
- package/dist/okf/types/CertificateAssociation.md +13 -0
- package/dist/okf/types/ChangeSet.md +36 -0
- package/dist/okf/types/ChannelFlow.md +29 -0
- package/dist/okf/types/ChimeChannel.md +39 -0
- package/dist/okf/types/Classifier.md +6 -6
- package/dist/okf/types/ClientVpnAuthorizationRule.md +6 -6
- package/dist/okf/types/ClientVpnEndpoint.md +2 -0
- package/dist/okf/types/ClientVpnRoute.md +5 -5
- package/dist/okf/types/CloudConnector.md +29 -0
- package/dist/okf/types/Cluster.md +39 -0
- package/dist/okf/types/ClusterSchedulerConfig.md +30 -0
- package/dist/okf/types/CodeCommitRepository.md +12 -12
- package/dist/okf/types/CodeConnectionsHost.md +26 -0
- package/dist/okf/types/CodeRepository.md +5 -5
- package/dist/okf/types/CompositeAlarm.md +1 -0
- package/dist/okf/types/ComputeEnvironment.md +2 -0
- package/dist/okf/types/ComputeNodeGroup.md +1 -1
- package/dist/okf/types/ComputeQuota.md +34 -0
- package/dist/okf/types/ConfigRule.md +1 -1
- package/dist/okf/types/ConfigurationRecorder.md +7 -6
- package/dist/okf/types/ConnectAttachment.md +2 -0
- package/dist/okf/types/ConnectQueue.md +5 -1
- package/dist/okf/types/ConnectVocabulary.md +28 -0
- package/dist/okf/types/ConnectionType.md +24 -0
- package/dist/okf/types/ConsentPortal.md +33 -0
- package/dist/okf/types/ContactMethod.md +29 -0
- package/dist/okf/types/ContainerAssociation.md +26 -0
- package/dist/okf/types/ContainerFleet.md +1 -1
- package/dist/okf/types/ContainerGroupDefinition.md +1 -1
- package/dist/okf/types/Content.md +40 -0
- package/dist/okf/types/ContentAssociation.md +28 -0
- package/dist/okf/types/CustomDetectionRuleAssociation.md +28 -0
- package/dist/okf/types/CustomEntityType.md +4 -9
- package/dist/okf/types/Customization.md +22 -0
- package/dist/okf/types/CwIntegration.md +31 -0
- package/dist/okf/types/DAXParameterGroup.md +3 -8
- package/dist/okf/types/DAXSubnetGroup.md +0 -5
- package/dist/okf/types/DBClusterEndpoint.md +31 -0
- package/dist/okf/types/DBProxyTargetGroup.md +1 -0
- package/dist/okf/types/DBSnapshot.md +62 -0
- package/dist/okf/types/DLMLifecyclePolicy.md +12 -12
- package/dist/okf/types/DLPSetting.md +31 -0
- package/dist/okf/types/DMSInstanceProfile.md +1 -1
- package/dist/okf/types/DRSLaunchConfigurationTemplate.md +28 -0
- package/dist/okf/types/Daemon.md +1 -0
- package/dist/okf/types/DataExchangeDataSet.md +29 -0
- package/dist/okf/types/DataIntegrationFlow.md +27 -0
- package/dist/okf/types/DataMigration.md +1 -1
- package/dist/okf/types/DataProvider.md +2 -1
- package/dist/okf/types/DataQualityRuleset.md +6 -11
- package/dist/okf/types/DataSource.md +23 -0
- package/dist/okf/types/Dataset.md +20 -0
- package/dist/okf/types/DatasetIntegration.md +23 -0
- package/dist/okf/types/DbCluster.md +1 -1
- package/dist/okf/types/DbInstance.md +8 -2
- package/dist/okf/types/DeadlineBudget.md +29 -0
- package/dist/okf/types/DelegationSet.md +23 -0
- package/dist/okf/types/DeliveryChannel.md +6 -11
- package/dist/okf/types/DevOpsAgentAgentSpace.md +4 -0
- package/dist/okf/types/DevOpsAgentService.md +1 -0
- package/dist/okf/types/DevOpsAgentTrigger.md +28 -0
- package/dist/okf/types/DirectConnectGatewayAttachment.md +2 -0
- package/dist/okf/types/Directory.md +60 -0
- package/dist/okf/types/DocDBDBClusterParameterGroup.md +5 -10
- package/dist/okf/types/DocDBDBSubnetGroup.md +4 -9
- package/dist/okf/types/DocDBElasticClusterSnapshot.md +36 -0
- package/dist/okf/types/DocumentClassifierEndpoint.md +27 -0
- package/dist/okf/types/Domain.md +27 -0
- package/dist/okf/types/EKSCertificateAuthority.md +42 -0
- package/dist/okf/types/EKSCluster.md +8 -0
- package/dist/okf/types/EcSnapshot.md +66 -0
- package/dist/okf/types/EmailIdentityCertificate.md +15 -0
- package/dist/okf/types/EndpointConfig.md +14 -13
- package/dist/okf/types/EntityRecognizer.md +27 -0
- package/dist/okf/types/EntityRecognizerEndpoint.md +31 -0
- package/dist/okf/types/EnvironmentEC2.md +13 -13
- package/dist/okf/types/EvaluationForm.md +1 -0
- package/dist/okf/types/Evaluator.md +6 -2
- package/dist/okf/types/EventAction.md +26 -0
- package/dist/okf/types/EventRule.md +2 -0
- package/dist/okf/types/EventSource.md +30 -0
- package/dist/okf/types/EventTracker.md +22 -0
- package/dist/okf/types/EventsV2EventBus.md +28 -0
- package/dist/okf/types/EventsV2ResourcePolicy.md +19 -0
- package/dist/okf/types/EventsV2Subscriber.md +39 -0
- package/dist/okf/types/ExperimentDefinition.md +39 -0
- package/dist/okf/types/ExperimentRun.md +33 -0
- package/dist/okf/types/ExperimentTrialComponent.md +13 -11
- package/dist/okf/types/FHIRDatastore.md +3 -0
- package/dist/okf/types/FSxSnapshot.md +5 -5
- package/dist/okf/types/FSxVolume.md +9 -9
- package/dist/okf/types/FeaturedResultsSet.md +26 -0
- package/dist/okf/types/Feed.md +1 -0
- package/dist/okf/types/FieldLevelEncryptionConfig.md +25 -0
- package/dist/okf/types/FieldLevelEncryptionProfile.md +22 -0
- package/dist/okf/types/FileCache.md +45 -0
- package/dist/okf/types/Filter.md +27 -0
- package/dist/okf/types/Firewall.md +6 -0
- package/dist/okf/types/FlowMediaStream.md +28 -0
- package/dist/okf/types/FlowOutput.md +1 -0
- package/dist/okf/types/FpgaImage.md +38 -0
- package/dist/okf/types/Function.md +2 -2
- package/dist/okf/types/Gateway.md +41 -0
- package/dist/okf/types/GatewayClusterAssociations.md +23 -0
- package/dist/okf/types/GatewayRateLimit.md +26 -0
- package/dist/okf/types/GatewayRule.md +32 -0
- package/dist/okf/types/GlobalReplicationGroup.md +3 -0
- package/dist/okf/types/GlobalResolver.md +1 -1
- package/dist/okf/types/GlobalTable.md +1 -0
- package/dist/okf/types/GlueConnection.md +5 -4
- package/dist/okf/types/GlueSecurityConfiguration.md +1 -6
- package/dist/okf/types/GlueSession.md +38 -0
- package/dist/okf/types/GlueTable.md +5 -10
- package/dist/okf/types/GlueWorkflow.md +5 -10
- package/dist/okf/types/Group.md +27 -0
- package/dist/okf/types/Harness.md +1 -0
- package/dist/okf/types/HostKey.md +33 -0
- package/dist/okf/types/HostedZone.md +1 -0
- package/dist/okf/types/HttpApi.md +2 -0
- package/dist/okf/types/HttpNamespace.md +5 -5
- package/dist/okf/types/HubV2.md +1 -0
- package/dist/okf/types/HumanTaskUi.md +22 -0
- package/dist/okf/types/IPv4Pool.md +28 -0
- package/dist/okf/types/ImageBuilder.md +1 -0
- package/dist/okf/types/ImageBuilderImage.md +1 -1
- package/dist/okf/types/ImagePipeline.md +1 -1
- package/dist/okf/types/InferenceComponent.md +5 -1
- package/dist/okf/types/InfluxDBBackup.md +65 -0
- package/dist/okf/types/InfluxDBCluster.md +3 -0
- package/dist/okf/types/InfrastructureConfiguration.md +2 -0
- package/dist/okf/types/IngestionDestination.md +28 -0
- package/dist/okf/types/InputSecurityGroup.md +6 -4
- package/dist/okf/types/InspectorV2Connector.md +38 -0
- package/dist/okf/types/InstanceEventWindow.md +25 -0
- package/dist/okf/types/InstanceFleetConfig.md +10 -10
- package/dist/okf/types/InstanceGroupConfig.md +3 -3
- package/dist/okf/types/InstrumentationConfig.md +31 -0
- package/dist/okf/types/IntegrationAssociation.md +3 -0
- package/dist/okf/types/IoTSiteWiseApplication.md +34 -0
- package/dist/okf/types/IoTSiteWiseDataset.md +5 -2
- package/dist/okf/types/IoTSiteWiseTask.md +24 -0
- package/dist/okf/types/IpamExternalResourceVerificationToken.md +35 -0
- package/dist/okf/types/IpamInternetRegistryAssociation.md +32 -0
- package/dist/okf/types/Job.md +35 -0
- package/dist/okf/types/JobTemplate.md +26 -0
- package/dist/okf/types/KinesisChannel.md +31 -0
- package/dist/okf/types/KinesisStream.md +1 -0
- package/dist/okf/types/LambdaResourcePolicy.md +14 -0
- package/dist/okf/types/Lexicon.md +34 -0
- package/dist/okf/types/LicenseAssetGroup.md +23 -0
- package/dist/okf/types/LicenseConfiguration.md +33 -0
- package/dist/okf/types/LicenseServerEndpoint.md +32 -0
- package/dist/okf/types/LightsailKeyPair.md +29 -0
- package/dist/okf/types/LimitsProfile.md +27 -0
- package/dist/okf/types/LocationAzureBlob.md +2 -1
- package/dist/okf/types/LocationObjectStorage.md +1 -0
- package/dist/okf/types/LogAlarm.md +2 -0
- package/dist/okf/types/MGNConnector.md +23 -0
- package/dist/okf/types/MGNLaunchConfigurationTemplate.md +37 -0
- package/dist/okf/types/MLTransform.md +15 -15
- package/dist/okf/types/MWAAServerlessWorkflow.md +3 -0
- package/dist/okf/types/ManagedNotificationAccountContactAssociation.md +1 -0
- package/dist/okf/types/ManagedNotificationAdditionalChannelAssociation.md +1 -0
- package/dist/okf/types/MediaConvertJobTemplate.md +11 -13
- package/dist/okf/types/MediaConvertQueue.md +8 -10
- package/dist/okf/types/MediaInsightsPipelineConfiguration.md +28 -0
- package/dist/okf/types/MediaLiveInput.md +41 -18
- package/dist/okf/types/MediaPackageV2Channel.md +3 -0
- package/dist/okf/types/MediaPackageV2OriginEndpoint.md +1 -0
- package/dist/okf/types/MediaPipelineKinesisVideoStreamPool.md +28 -0
- package/dist/okf/types/MediaTailorFunction.md +27 -0
- package/dist/okf/types/MedicalVocabulary.md +21 -0
- package/dist/okf/types/Member.md +26 -0
- package/dist/okf/types/Memory.md +6 -0
- package/dist/okf/types/MemoryDBSnapshot.md +29 -0
- package/dist/okf/types/Metric.md +59 -0
- package/dist/okf/types/MetricAttribution.md +23 -0
- package/dist/okf/types/MicrosoftAD.md +11 -11
- package/dist/okf/types/MigrationProject.md +8 -1
- package/dist/okf/types/Monitor.md +26 -0
- package/dist/okf/types/NFSFileShare.md +44 -0
- package/dist/okf/types/NeptuneGraphGraph.md +1 -0
- package/dist/okf/types/NetworkConnector.md +4 -0
- package/dist/okf/types/NetworkFlowMonitorScope.md +23 -0
- package/dist/okf/types/NetworkMigrationDefinition.md +31 -0
- package/dist/okf/types/NetworkSecurityManagerDeployment.md +31 -0
- package/dist/okf/types/NetworkSecurityManagerPolicy.md +32 -0
- package/dist/okf/types/NetworkSecurityManagerScope.md +29 -0
- package/dist/okf/types/NotebookInstance.md +18 -18
- package/dist/okf/types/NotebookInstanceLifecycleConfig.md +6 -5
- package/dist/okf/types/NotifyConfiguration.md +35 -0
- package/dist/okf/types/OTelEnrichment.md +2 -0
- package/dist/okf/types/OnlineEvaluationConfig.md +0 -1
- package/dist/okf/types/OrganizationConfigRule.md +7 -7
- package/dist/okf/types/Outpost.md +32 -0
- package/dist/okf/types/ParallelData.md +40 -0
- package/dist/okf/types/Partition.md +5 -5
- package/dist/okf/types/PaymentConnector.md +4 -1
- package/dist/okf/types/Pentest.md +1 -0
- package/dist/okf/types/PerfReports.md +28 -0
- package/dist/okf/types/PermissionAssociation.md +30 -0
- package/dist/okf/types/PersonalizeDataset.md +1 -0
- package/dist/okf/types/PersonalizeDatasetGroup.md +1 -0
- package/dist/okf/types/PersonalizeSchema.md +1 -0
- package/dist/okf/types/Pipeline.md +25 -0
- package/dist/okf/types/PlaybackConfiguration.md +1 -0
- package/dist/okf/types/PolicyAssociation.md +1 -1
- package/dist/okf/types/PolicyGrant.md +2 -2
- package/dist/okf/types/PolicyPrincipalAttachment.md +2 -7
- package/dist/okf/types/PortalProduct.md +24 -0
- package/dist/okf/types/PrefetchSchedule.md +25 -0
- package/dist/okf/types/PricingPlanManagerSubscription.md +31 -0
- package/dist/okf/types/PrincipalAssociation.md +27 -0
- package/dist/okf/types/PrivateDnsNamespace.md +8 -8
- package/dist/okf/types/PrivateVirtualInterface.md +1 -0
- package/dist/okf/types/ProcurementPortalPreference.md +45 -0
- package/dist/okf/types/Program.md +33 -0
- package/dist/okf/types/ProjectMembership.md +1 -1
- package/dist/okf/types/ProtocolsList.md +26 -0
- package/dist/okf/types/PublicDnsNamespace.md +7 -7
- package/dist/okf/types/PublicVirtualInterface.md +1 -0
- package/dist/okf/types/QEV2IdcApplication.md +25 -0
- package/dist/okf/types/QueryLoggingConfig.md +21 -0
- package/dist/okf/types/QuerySuggestionsBlockList.md +25 -0
- package/dist/okf/types/QuickSightAssignment.md +24 -0
- package/dist/okf/types/RAMResourceAssociation.md +27 -0
- package/dist/okf/types/RDSClusterSnapshot.md +54 -0
- package/dist/okf/types/RDSDBParameterGroup.md +5 -0
- package/dist/okf/types/RDSDeployment.md +41 -0
- package/dist/okf/types/RcsAgent.md +38 -0
- package/dist/okf/types/ReceiptRule.md +5 -5
- package/dist/okf/types/ReceiptRuleSet.md +1 -6
- package/dist/okf/types/RecommenderFilter.md +27 -0
- package/dist/okf/types/RecommenderSchema.md +25 -0
- package/dist/okf/types/RecordSet.md +16 -22
- package/dist/okf/types/RecoveryPlan.md +28 -0
- package/dist/okf/types/RedshiftIdcApplication.md +31 -0
- package/dist/okf/types/RedshiftSnapshot.md +59 -0
- package/dist/okf/types/RegistrationAttachment.md +28 -0
- package/dist/okf/types/Registry.md +41 -0
- package/dist/okf/types/RegistryRecord.md +38 -0
- package/dist/okf/types/RelatedItem.md +24 -0
- package/dist/okf/types/ReplicationConfigurationTemplate.md +35 -0
- package/dist/okf/types/ReplicationSubnetGroup.md +4 -9
- package/dist/okf/types/ReplicationTask.md +14 -14
- package/dist/okf/types/ReportGenerator.md +29 -0
- package/dist/okf/types/ReportGroup.md +1 -3
- package/dist/okf/types/ResilienceHubV2Policy.md +1 -0
- package/dist/okf/types/ResilienceHubV2Service.md +1 -0
- package/dist/okf/types/ResourceConfiguration.md +1 -1
- package/dist/okf/types/ResourceMetricsConfiguration.md +21 -0
- package/dist/okf/types/RestApi.md +1 -0
- package/dist/okf/types/RetrievalInstruction.md +32 -0
- package/dist/okf/types/RouterOutput.md +1 -0
- package/dist/okf/types/Rule.md +31 -0
- package/dist/okf/types/RunCache.md +29 -0
- package/dist/okf/types/Runtime.md +2 -1
- package/dist/okf/types/SCNInstance.md +33 -0
- package/dist/okf/types/SDBDomain.md +2 -2
- package/dist/okf/types/SMBFileShare.md +49 -0
- package/dist/okf/types/SageMakerArtifact.md +27 -0
- package/dist/okf/types/SageMakerEndpoint.md +0 -1
- package/dist/okf/types/ScalableTarget.md +1 -0
- package/dist/okf/types/ScalingPlan.md +6 -6
- package/dist/okf/types/ScheduledReport.md +31 -0
- package/dist/okf/types/SecondaryNetwork.md +26 -0
- package/dist/okf/types/SecurityAgentArtifact.md +25 -0
- package/dist/okf/types/SecurityAgentIntegration.md +31 -0
- package/dist/okf/types/Server.md +1 -0
- package/dist/okf/types/ServerlessCache.md +2 -0
- package/dist/okf/types/ServerlessCacheSnapshot.md +31 -0
- package/dist/okf/types/ServerlessRepoApplication.md +32 -0
- package/dist/okf/types/ServiceDiscoveryInstance.md +3 -7
- package/dist/okf/types/SipMediaApplication.md +27 -0
- package/dist/okf/types/SiteToSiteVpnAttachment.md +2 -0
- package/dist/okf/types/SnapshotCopyGrant.md +20 -0
- package/dist/okf/types/Solution.md +1 -0
- package/dist/okf/types/SourceAssociation.md +25 -0
- package/dist/okf/types/SourceCredential.md +6 -6
- package/dist/okf/types/SourceNetwork.md +23 -0
- package/dist/okf/types/StackFleetAssociation.md +2 -7
- package/dist/okf/types/StorageTierPolicy.md +20 -0
- package/dist/okf/types/StorageVirtualMachine.md +9 -9
- package/dist/okf/types/Stream.md +28 -0
- package/dist/okf/types/SubnetCidrReservation.md +26 -0
- package/dist/okf/types/SubscriptionProvider.md +26 -0
- package/dist/okf/types/SupportPermit.md +29 -0
- package/dist/okf/types/Table.md +2 -1
- package/dist/okf/types/TableOptimizer.md +5 -10
- package/dist/okf/types/Tape.md +31 -0
- package/dist/okf/types/Template.md +36 -0
- package/dist/okf/types/Tenant.md +2 -0
- package/dist/okf/types/Terminology.md +39 -0
- package/dist/okf/types/Thesaurus.md +25 -0
- package/dist/okf/types/ThingPrincipalAttachment.md +3 -8
- package/dist/okf/types/Topic.md +1 -0
- package/dist/okf/types/TopicRuleDestination.md +1 -0
- package/dist/okf/types/TrafficPolicy.md +26 -0
- package/dist/okf/types/TrafficPolicyInstance.md +28 -0
- package/dist/okf/types/TranscribeVocabulary.md +27 -0
- package/dist/okf/types/TransitGatewayRouteTableAttachment.md +2 -0
- package/dist/okf/types/TransitVirtualInterface.md +1 -0
- package/dist/okf/types/Tunnel.md +25 -0
- package/dist/okf/types/UsageLimit.md +26 -0
- package/dist/okf/types/UseCase.md +23 -0
- package/dist/okf/types/User.md +47 -0
- package/dist/okf/types/VPCEndpoint.md +1 -1
- package/dist/okf/types/VPCEndpointService.md +6 -0
- package/dist/okf/types/VPCPeeringConnection.md +2 -2
- package/dist/okf/types/VPNConcentrator.md +1 -1
- package/dist/okf/types/VPNConnection.md +1 -1
- package/dist/okf/types/VerifiedDestinationNumber.md +25 -0
- package/dist/okf/types/View.md +27 -0
- package/dist/okf/types/VoiceConnector.md +30 -0
- package/dist/okf/types/Volume.md +44 -0
- package/dist/okf/types/Vpc.md +1 -1
- package/dist/okf/types/VpcAttachment.md +2 -0
- package/dist/okf/types/WebFunction.md +27 -0
- package/dist/okf/types/WebFunctionEndpoint.md +44 -0
- package/dist/okf/types/WebFunctionRevision.md +32 -0
- package/dist/okf/types/WickrNetwork.md +27 -0
- package/dist/okf/types/Worker.md +29 -0
- package/dist/okf/types/Workforce.md +26 -0
- package/dist/okf/types/Workload.md +35 -0
- package/dist/okf/types/WorkloadEstimate.md +35 -0
- package/dist/okf/types/Workspace.md +28 -0
- package/dist/okf/types/Workteam.md +8 -8
- package/dist/op/activities/aws-apply.js +214 -0
- package/dist/op/activities/floci.js +97 -0
- package/dist/op/activities/index.js +32 -0
- package/dist/op/builders.js +50 -0
- package/dist/ownership.js +52 -0
- package/dist/package-cli.js +25 -0
- package/dist/parameter.js +19 -0
- package/dist/plugin.d.ts.map +1 -1
- package/dist/plugin.js +1012 -0
- package/dist/properties.js +166 -0
- package/dist/pseudo.js +25 -0
- package/dist/receipt-store.d.ts.map +1 -1
- package/dist/receipt-store.js +233 -0
- package/dist/reference-catalog.js +106 -0
- package/dist/rules/ext001.ts +3 -3
- package/dist/rules/waw016.ts +2 -2
- package/dist/serializer.js +529 -0
- package/dist/spec/fetch.js +193 -0
- package/dist/spec/parse.js +259 -0
- package/dist/spec/pin.js +185 -0
- package/dist/spec/pinned-types.json +203 -0
- package/dist/stack-errors.js +14 -0
- package/dist/taggable.d.ts.map +1 -1
- package/dist/taggable.js +33 -0
- package/dist/teardown.js +199 -0
- package/dist/template-sections.js +53 -0
- package/dist/template-transform.js +50 -0
- package/dist/types/index.d.ts +18847 -1124
- package/dist/validate-cli.js +16 -0
- package/dist/validate.js +33 -0
- package/package.json +9 -9
- package/src/agentcore/trace-fetch.ts +2 -1
- package/src/api/credential-chain.ts +119 -9
- package/src/api/credential-isolation.test.ts +72 -0
- package/src/api/read-client-chain.test.ts +159 -0
- package/src/api/read-client.ts +42 -6
- package/src/api/sigv4.ts +4 -4
- package/src/caller-identity.ts +3 -5
- package/src/codegen/any-budget.test.ts +12 -2
- package/src/codegen/generate.ts +9 -0
- package/src/codegen/package.ts +2 -2
- package/src/codegen/patches.test.ts +95 -0
- package/src/codegen/patches.ts +53 -9
- package/src/codegen/property-overlay.json +1 -16
- package/src/components/apply.ts +218 -6
- package/src/components/cfn-plan-floci.e2e.test.ts +76 -0
- package/src/components/cfn-plan.test.ts +225 -16
- package/src/components/cloud-executor.ts +73 -25
- package/src/deep-observe.ts +2 -1
- package/src/disruption.ts +2 -1
- package/src/generated/index.d.ts +18847 -1124
- package/src/generated/index.ts +1376 -161
- package/src/generated/lexicon-aws.json +17359 -784
- package/src/health.test.ts +136 -0
- package/src/health.ts +281 -0
- package/src/identity-observe.ts +2 -1
- package/src/lint/post-synth/ext001.ts +3 -3
- package/src/lint/post-synth/waw016.ts +2 -2
- package/src/lsp/completions.ts +2 -1
- package/src/lsp/hover.ts +2 -1
- package/src/plugin.ts +10 -1
- package/src/receipt-store.ts +2 -1
- package/src/spec/pin.ts +3 -3
- package/src/spec/pinned-types.json +203 -0
- package/src/taggable.ts +2 -2
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `MockCloudExecutor` — an in-memory fake of `CloudExecutor` (../cloud-executor.ts)
|
|
3
|
+
* for tests. No live AWS, no live docker: every method records its call and
|
|
4
|
+
* returns/derives a canned result, with enough state (a fake stack registry, a
|
|
5
|
+
* fake deployment registry, a fake cluster registry) to exercise realistic
|
|
6
|
+
* scenarios — a changeset that proposes a replacement, a stack that takes a
|
|
7
|
+
* few polls to go terminal, a CodeDeploy deployment that fails then rolls back,
|
|
8
|
+
* a cluster that becomes healthy after enough members join.
|
|
9
|
+
*
|
|
10
|
+
* Every capability factory in `../*.ts` accepts a `CloudExecutor`, so a test
|
|
11
|
+
* builds one `MockCloudExecutor` and passes it to every `create*Capability`
|
|
12
|
+
* under test — never touching the real, `child_process`/`net`-backed
|
|
13
|
+
* executor in `../cloud-executor.ts`.
|
|
14
|
+
*/
|
|
15
|
+
/** Build a fresh mock `CloudExecutor`. Every method is deterministic and synchronous-fast — no real polling delay. */
|
|
16
|
+
export function createMockCloudExecutor(options = {}) {
|
|
17
|
+
const calls = [];
|
|
18
|
+
const record = (client, method, args) => calls.push({ client, method, args });
|
|
19
|
+
const stacks = new Map(Object.entries(options.stacks ?? {}));
|
|
20
|
+
const deployments = new Map(Object.entries(options.deployments ?? {}));
|
|
21
|
+
const clusters = new Map(Object.entries(options.clusters ?? {}).map(([k, v]) => [k, v.healthyCount ?? Number.MAX_SAFE_INTEGER]));
|
|
22
|
+
const ecsServices = new Map(Object.entries(options.ecsServices ?? {}));
|
|
23
|
+
const pendingChangeSets = new Map();
|
|
24
|
+
const lambdaConfigs = new Map(Object.entries(options.lambdas ?? {}));
|
|
25
|
+
const lambdaAliasVersions = new Map(Object.entries(options.lambdas ?? {}).map(([fn, cfg]) => [fn, new Map(Object.entries(cfg.aliasVersions ?? {}))]));
|
|
26
|
+
const jobRuns = new Map(Object.entries(options.jobRuns ?? {}));
|
|
27
|
+
let changeSetCounter = 0;
|
|
28
|
+
let deploymentCounter = 0;
|
|
29
|
+
let lambdaVersionCounter = 0;
|
|
30
|
+
let jobRunCounter = 0;
|
|
31
|
+
let taskCounter = 0;
|
|
32
|
+
let stepCounter = 0;
|
|
33
|
+
function stackStatus(name) {
|
|
34
|
+
const config = stacks.get(name);
|
|
35
|
+
return { stackStatus: config?.terminalStatus ?? "UPDATE_COMPLETE", outputs: config?.outputs ?? {} };
|
|
36
|
+
}
|
|
37
|
+
const docker = {
|
|
38
|
+
async build(args) {
|
|
39
|
+
record("docker", "build", args);
|
|
40
|
+
if (options.failDocker)
|
|
41
|
+
throw new Error(`docker build failed for ${args.context}`);
|
|
42
|
+
return { digest: `sha256:${fakeDigest("build", args.context, args.tag)}` };
|
|
43
|
+
},
|
|
44
|
+
async save(args) {
|
|
45
|
+
record("docker", "save", args);
|
|
46
|
+
},
|
|
47
|
+
async load(args) {
|
|
48
|
+
record("docker", "load", args);
|
|
49
|
+
return { digest: `sha256:${fakeDigest("load", args.inFile)}` };
|
|
50
|
+
},
|
|
51
|
+
async tag(args) {
|
|
52
|
+
record("docker", "tag", args);
|
|
53
|
+
},
|
|
54
|
+
async push(args) {
|
|
55
|
+
record("docker", "push", args);
|
|
56
|
+
if (options.failDocker)
|
|
57
|
+
throw new Error(`docker push failed for ${args.image}`);
|
|
58
|
+
return { digest: `sha256:${fakeDigest("push", args.image)}` };
|
|
59
|
+
},
|
|
60
|
+
async remoteDigest(image) {
|
|
61
|
+
record("docker", "remoteDigest", image);
|
|
62
|
+
return `sha256:${fakeDigest("remote", image)}`;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
const ecr = {
|
|
66
|
+
async login(registry) {
|
|
67
|
+
record("ecr", "login", registry);
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
const cloudformation = {
|
|
71
|
+
async createChangeSet(args) {
|
|
72
|
+
record("cloudformation", "createChangeSet", args);
|
|
73
|
+
changeSetCounter += 1;
|
|
74
|
+
const changeSetName = `mock-changeset-${changeSetCounter}`;
|
|
75
|
+
const config = stacks.get(args.stackName);
|
|
76
|
+
const changes = config?.changes ?? [];
|
|
77
|
+
if (config?.noChanges) {
|
|
78
|
+
// Real CloudFormation: an update change set with an empty diff is
|
|
79
|
+
// created FAILED with a "didn't contain changes" reason (#960).
|
|
80
|
+
return {
|
|
81
|
+
changeSetName,
|
|
82
|
+
stackName: args.stackName,
|
|
83
|
+
status: "FAILED",
|
|
84
|
+
statusReason: "The submitted information didn't contain changes. Submit different information to create a change set.",
|
|
85
|
+
isCreate: false,
|
|
86
|
+
changes: [],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
pendingChangeSets.set(changeSetName, { stackName: args.stackName, changes });
|
|
90
|
+
const created = config?.missing === true;
|
|
91
|
+
if (created)
|
|
92
|
+
stacks.set(args.stackName, { ...config, missing: false, shell: true });
|
|
93
|
+
return {
|
|
94
|
+
changeSetName,
|
|
95
|
+
stackName: args.stackName,
|
|
96
|
+
status: "CREATE_COMPLETE",
|
|
97
|
+
isCreate: config?.isCreate ?? created,
|
|
98
|
+
changeSetType: created || config?.isCreate ? "CREATE" : "UPDATE",
|
|
99
|
+
stackCreated: created,
|
|
100
|
+
changes,
|
|
101
|
+
};
|
|
102
|
+
},
|
|
103
|
+
async executeChangeSet(args) {
|
|
104
|
+
record("cloudformation", "executeChangeSet", args);
|
|
105
|
+
pendingChangeSets.delete(args.changeSetName);
|
|
106
|
+
},
|
|
107
|
+
async deleteChangeSet(args) {
|
|
108
|
+
record("cloudformation", "deleteChangeSet", args);
|
|
109
|
+
pendingChangeSets.delete(args.changeSetName);
|
|
110
|
+
},
|
|
111
|
+
async describeStack(stackName) {
|
|
112
|
+
record("cloudformation", "describeStack", stackName);
|
|
113
|
+
if (stacks.get(stackName)?.missing)
|
|
114
|
+
throw new Error(`Stack with id ${stackName} does not exist`);
|
|
115
|
+
if (stacks.get(stackName)?.shell)
|
|
116
|
+
return { stackStatus: "REVIEW_IN_PROGRESS", outputs: {} };
|
|
117
|
+
return stackStatus(stackName);
|
|
118
|
+
},
|
|
119
|
+
async deleteStackShell(stackName) {
|
|
120
|
+
record("cloudformation", "deleteStackShell", stackName);
|
|
121
|
+
const config = stacks.get(stackName);
|
|
122
|
+
if (!config?.shell)
|
|
123
|
+
return false;
|
|
124
|
+
stacks.set(stackName, { ...config, shell: false, missing: true });
|
|
125
|
+
return true;
|
|
126
|
+
},
|
|
127
|
+
async waitForStack(stackName) {
|
|
128
|
+
record("cloudformation", "waitForStack", stackName);
|
|
129
|
+
return stackStatus(stackName);
|
|
130
|
+
},
|
|
131
|
+
async rollbackStack(stackName) {
|
|
132
|
+
record("cloudformation", "rollbackStack", stackName);
|
|
133
|
+
stacks.set(stackName, { ...stacks.get(stackName), terminalStatus: "ROLLBACK_COMPLETE" });
|
|
134
|
+
},
|
|
135
|
+
};
|
|
136
|
+
const ecs = {
|
|
137
|
+
async updateService(args) {
|
|
138
|
+
record("ecs", "updateService", args);
|
|
139
|
+
const key = `${args.cluster}/${args.service}`;
|
|
140
|
+
const current = ecsServices.get(key);
|
|
141
|
+
const desired = args.desiredCount ?? current?.desiredCount ?? 1;
|
|
142
|
+
const taskDefinition = args.taskDefinition ?? current?.taskDefinition;
|
|
143
|
+
ecsServices.set(key, { runningCount: desired, desiredCount: desired, stable: true, ...(taskDefinition ? { taskDefinition } : {}) });
|
|
144
|
+
return { deploymentId: `mock-deployment-${key}` };
|
|
145
|
+
},
|
|
146
|
+
async describeService(cluster, service) {
|
|
147
|
+
record("ecs", "describeService", { cluster, service });
|
|
148
|
+
return ecsServices.get(`${cluster}/${service}`) ?? { runningCount: 1, desiredCount: 1, stable: true };
|
|
149
|
+
},
|
|
150
|
+
async rollbackService(args) {
|
|
151
|
+
record("ecs", "rollbackService", args);
|
|
152
|
+
const key = `${args.cluster}/${args.service}`;
|
|
153
|
+
const current = ecsServices.get(key);
|
|
154
|
+
const desired = args.desiredCount ?? current?.desiredCount ?? 1;
|
|
155
|
+
const taskDefinition = args.taskDefinition ?? current?.taskDefinition;
|
|
156
|
+
ecsServices.set(key, { runningCount: desired, desiredCount: desired, stable: true, ...(taskDefinition ? { taskDefinition } : {}) });
|
|
157
|
+
},
|
|
158
|
+
async runTask(args) {
|
|
159
|
+
record("ecs", "runTask", args);
|
|
160
|
+
taskCounter += 1;
|
|
161
|
+
return { taskArn: `arn:aws:ecs:us-east-1:123456789012:task/${args.cluster}/mock-task-${taskCounter}` };
|
|
162
|
+
},
|
|
163
|
+
async waitForTask(cluster, taskArn) {
|
|
164
|
+
record("ecs", "waitForTask", { cluster, taskArn });
|
|
165
|
+
return {
|
|
166
|
+
lastStatus: options.ecsTask?.lastStatus ?? "STOPPED",
|
|
167
|
+
exitCode: options.ecsTask?.exitCode ?? 0,
|
|
168
|
+
...(options.ecsTask?.stoppedReason ? { stoppedReason: options.ecsTask.stoppedReason } : {}),
|
|
169
|
+
};
|
|
170
|
+
},
|
|
171
|
+
};
|
|
172
|
+
const codeDeploy = {
|
|
173
|
+
async createDeployment(args) {
|
|
174
|
+
record("codeDeploy", "createDeployment", args);
|
|
175
|
+
deploymentCounter += 1;
|
|
176
|
+
return { deploymentId: `mock-deployment-${deploymentCounter}` };
|
|
177
|
+
},
|
|
178
|
+
async waitForDeployment(deploymentId) {
|
|
179
|
+
record("codeDeploy", "waitForDeployment", deploymentId);
|
|
180
|
+
const config = deployments.get(deploymentId);
|
|
181
|
+
const status = config?.terminalStatus ?? "Succeeded";
|
|
182
|
+
const result = { status, terminal: true };
|
|
183
|
+
return result;
|
|
184
|
+
},
|
|
185
|
+
async stopAndRollback(deploymentId) {
|
|
186
|
+
record("codeDeploy", "stopAndRollback", deploymentId);
|
|
187
|
+
deployments.set(deploymentId, { terminalStatus: "Stopped" });
|
|
188
|
+
},
|
|
189
|
+
};
|
|
190
|
+
const neo4j = {
|
|
191
|
+
async probe(args) {
|
|
192
|
+
record("neo4j", "probe", args);
|
|
193
|
+
const endpoints = args.cluster
|
|
194
|
+
.split(",")
|
|
195
|
+
.map((s) => s.trim())
|
|
196
|
+
.filter(Boolean);
|
|
197
|
+
const healthy = clusters.get(args.cluster) ?? endpoints.length;
|
|
198
|
+
return { healthyCount: Math.min(healthy, endpoints.length), total: endpoints.length };
|
|
199
|
+
},
|
|
200
|
+
};
|
|
201
|
+
const lambda = {
|
|
202
|
+
async updateFunctionCode(args) {
|
|
203
|
+
record("lambda", "updateFunctionCode", args);
|
|
204
|
+
return { functionArn: `arn:aws:lambda:us-east-1:123456789012:function:${args.functionName}` };
|
|
205
|
+
},
|
|
206
|
+
async waitForUpdate(functionName) {
|
|
207
|
+
record("lambda", "waitForUpdate", functionName);
|
|
208
|
+
const failed = lambdaConfigs.get(functionName)?.failUpdate;
|
|
209
|
+
return { status: failed ? "Failed" : "Successful" };
|
|
210
|
+
},
|
|
211
|
+
async publishVersion(args) {
|
|
212
|
+
record("lambda", "publishVersion", args);
|
|
213
|
+
lambdaVersionCounter += 1;
|
|
214
|
+
return {
|
|
215
|
+
version: String(lambdaVersionCounter),
|
|
216
|
+
functionArn: `arn:aws:lambda:us-east-1:123456789012:function:${args.functionName}:${lambdaVersionCounter}`,
|
|
217
|
+
};
|
|
218
|
+
},
|
|
219
|
+
async updateAlias(args) {
|
|
220
|
+
record("lambda", "updateAlias", args);
|
|
221
|
+
const versions = lambdaAliasVersions.get(args.functionName) ?? new Map();
|
|
222
|
+
versions.set(args.alias, args.version);
|
|
223
|
+
lambdaAliasVersions.set(args.functionName, versions);
|
|
224
|
+
return { aliasArn: `arn:aws:lambda:us-east-1:123456789012:function:${args.functionName}:${args.alias}` };
|
|
225
|
+
},
|
|
226
|
+
async getAliasVersion(functionName, alias) {
|
|
227
|
+
record("lambda", "getAliasVersion", { functionName, alias });
|
|
228
|
+
return lambdaAliasVersions.get(functionName)?.get(alias);
|
|
229
|
+
},
|
|
230
|
+
async invoke(args) {
|
|
231
|
+
record("lambda", "invoke", args);
|
|
232
|
+
return {
|
|
233
|
+
statusCode: options.lambdaInvoke?.statusCode ?? 200,
|
|
234
|
+
payload: options.lambdaInvoke?.payload ?? "",
|
|
235
|
+
...(options.lambdaInvoke?.functionError ? { functionError: options.lambdaInvoke.functionError } : {}),
|
|
236
|
+
};
|
|
237
|
+
},
|
|
238
|
+
};
|
|
239
|
+
const emr = {
|
|
240
|
+
async startJobRun(args) {
|
|
241
|
+
record("emr", "startJobRun", args);
|
|
242
|
+
jobRunCounter += 1;
|
|
243
|
+
return { runId: `mock-job-run-${jobRunCounter}` };
|
|
244
|
+
},
|
|
245
|
+
async addStep(args) {
|
|
246
|
+
record("emr", "addStep", args);
|
|
247
|
+
stepCounter += 1;
|
|
248
|
+
return { stepId: `s-MOCK${String(stepCounter).padStart(4, "0")}` };
|
|
249
|
+
},
|
|
250
|
+
async describeJobRun(runId) {
|
|
251
|
+
record("emr", "describeJobRun", runId);
|
|
252
|
+
return { state: jobRuns.get(runId)?.terminalState ?? "COMPLETED" };
|
|
253
|
+
},
|
|
254
|
+
async waitForJobRun(runId) {
|
|
255
|
+
record("emr", "waitForJobRun", runId);
|
|
256
|
+
return { state: jobRuns.get(runId)?.terminalState ?? "COMPLETED" };
|
|
257
|
+
},
|
|
258
|
+
async cancelJobRun(runId) {
|
|
259
|
+
record("emr", "cancelJobRun", runId);
|
|
260
|
+
jobRuns.set(runId, { terminalState: "CANCELLED" });
|
|
261
|
+
},
|
|
262
|
+
};
|
|
263
|
+
const host = {
|
|
264
|
+
async copyFile(args) {
|
|
265
|
+
record("host", "copyFile", args);
|
|
266
|
+
if (options.failHost)
|
|
267
|
+
throw new Error(`host copy failed for ${args.host}`);
|
|
268
|
+
},
|
|
269
|
+
async dockerLoad(args) {
|
|
270
|
+
record("host", "dockerLoad", args);
|
|
271
|
+
if (options.failHost)
|
|
272
|
+
throw new Error(`host docker load failed for ${args.host}`);
|
|
273
|
+
return { digest: `sha256:${fakeDigest("host-load", args.host, args.path)}` };
|
|
274
|
+
},
|
|
275
|
+
async exec(args) {
|
|
276
|
+
record("host", "exec", args);
|
|
277
|
+
if (options.failHost)
|
|
278
|
+
throw new Error(`host exec failed for ${args.host}`);
|
|
279
|
+
return { stdout: options.hostExecStdout ?? "", exitCode: 0 };
|
|
280
|
+
},
|
|
281
|
+
};
|
|
282
|
+
const s3 = {
|
|
283
|
+
async sync(args) {
|
|
284
|
+
record("s3", "sync", args);
|
|
285
|
+
return {
|
|
286
|
+
uploaded: options.s3Sync?.uploaded ?? 0,
|
|
287
|
+
deleted: args.delete ? (options.s3Sync?.deleted ?? 0) : 0,
|
|
288
|
+
};
|
|
289
|
+
},
|
|
290
|
+
async cp(args) {
|
|
291
|
+
record("s3", "cp", args);
|
|
292
|
+
},
|
|
293
|
+
};
|
|
294
|
+
const cloudfront = {
|
|
295
|
+
async createInvalidation(args) {
|
|
296
|
+
record("cloudfront", "createInvalidation", args);
|
|
297
|
+
return { invalidationId: "I-MOCK0001" };
|
|
298
|
+
},
|
|
299
|
+
};
|
|
300
|
+
const snapshot = {
|
|
301
|
+
async create(args) {
|
|
302
|
+
record("snapshot", "create", args);
|
|
303
|
+
return { snapshotId: `snap-mock-${args.resourceKind}-${args.resource}` };
|
|
304
|
+
},
|
|
305
|
+
async restore(args) {
|
|
306
|
+
record("snapshot", "restore", args);
|
|
307
|
+
},
|
|
308
|
+
};
|
|
309
|
+
return {
|
|
310
|
+
executor: { docker, ecr, cloudformation, ecs, codeDeploy, neo4j, lambda, emr, host, s3, cloudfront, snapshot },
|
|
311
|
+
calls,
|
|
312
|
+
setStack: (name, config) => stacks.set(name, { ...stacks.get(name), ...config }),
|
|
313
|
+
setDeployment: (id, config) => deployments.set(id, { ...deployments.get(id), ...config }),
|
|
314
|
+
setClusterHealth: (cluster, healthyCount) => clusters.set(cluster, healthyCount),
|
|
315
|
+
setJobRun: (runId, config) => jobRuns.set(runId, { ...jobRuns.get(runId), ...config }),
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
/** Deterministic fake digest suffix derived from its inputs — stable across calls with the same args, distinct otherwise. */
|
|
319
|
+
function fakeDigest(...parts) {
|
|
320
|
+
let hash = 0;
|
|
321
|
+
const input = parts.join("|");
|
|
322
|
+
for (let i = 0; i < input.length; i++) {
|
|
323
|
+
hash = (hash * 31 + input.charCodeAt(i)) | 0;
|
|
324
|
+
}
|
|
325
|
+
return Math.abs(hash).toString(16).padStart(8, "0").repeat(4).slice(0, 64);
|
|
326
|
+
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* `run-migration` dispatches on its target transport (ECS one-off task, Lambda
|
|
19
19
|
* invoke, or SSM host command).
|
|
20
20
|
*/
|
|
21
|
-
import type { Capability } from "@intentius/chant/components/capability";
|
|
21
|
+
import type { Capability, PlannedOutputs } from "@intentius/chant/components/capability";
|
|
22
22
|
import type { ChangeSetEntry } from "@intentius/chant/change-set";
|
|
23
23
|
import { type CfnChange, type CfnChangeSet, type CloudExecutor } from "./cloud-executor.js";
|
|
24
24
|
/**
|
|
@@ -44,6 +44,49 @@ export declare function cfnChangeReplaces(change: CfnChange): boolean;
|
|
|
44
44
|
* and `Dynamic` an update CloudFormation could not describe further.
|
|
45
45
|
*/
|
|
46
46
|
export declare function cfnChangeEntry(member: string, change: CfnChange): ChangeSetEntry;
|
|
47
|
+
/**
|
|
48
|
+
* What a `cfn-deploy` plan hands `run` through `DeployContext.plans[stack]`
|
|
49
|
+
* (#3997): the stack and a digest over the changes the plan's change set
|
|
50
|
+
* proposed. `run` creates its change set, and executes it only when its
|
|
51
|
+
* changes have the same digest.
|
|
52
|
+
*/
|
|
53
|
+
export interface CfnPlanArtifact {
|
|
54
|
+
kind: "cfn-deploy-plan";
|
|
55
|
+
stack: string;
|
|
56
|
+
/** {@link cfnChangesDigest} of the planned change set's changes. */
|
|
57
|
+
changesDigest: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* A digest over a change set's changes as entries, independent of the change
|
|
61
|
+
* set's name and of the order CloudFormation lists them in. A change set with
|
|
62
|
+
* nothing to apply digests as no entries.
|
|
63
|
+
*/
|
|
64
|
+
export declare function cfnChangesDigest(stack: string, changeSet: CfnChangeSet): string;
|
|
65
|
+
/**
|
|
66
|
+
* Thrown by `run` when the change set it created proposes other changes than
|
|
67
|
+
* the change set its plan read (#3997): the stack, the template or the
|
|
68
|
+
* parameters moved between the plan and the apply. The change set is deleted
|
|
69
|
+
* unexecuted. `planMoved` is core's mark for a moved plan
|
|
70
|
+
* (`isPlanMovedError`), so the command that applied it exits 3.
|
|
71
|
+
*/
|
|
72
|
+
export declare class CfnPlanMovedError extends Error {
|
|
73
|
+
readonly stack: string;
|
|
74
|
+
readonly planned: string;
|
|
75
|
+
readonly now: string;
|
|
76
|
+
readonly planMoved = true;
|
|
77
|
+
constructor(stack: string, planned: string, now: string);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* The outputs a stack will have once `changes` apply (#3999), from its
|
|
81
|
+
* template and the outputs it has now. An output is known, at the value it
|
|
82
|
+
* has now, when its `Value` reads only pseudo parameters and resources whose
|
|
83
|
+
* physical resource the change set keeps (no `Add`, `Remove`, `Import` or
|
|
84
|
+
* `Dynamic`, no replacement, no change in a nested stack under it). One
|
|
85
|
+
* that reads a parameter, an import or a condition, one the stack does not
|
|
86
|
+
* have yet, and every output of a template this cannot read, is unknown.
|
|
87
|
+
* `undefined` when there is no template or no standing stack to read from.
|
|
88
|
+
*/
|
|
89
|
+
export declare function cfnPlannedOutputs(template: unknown, changes: readonly CfnChange[], standing: Record<string, string> | undefined): PlannedOutputs | undefined;
|
|
47
90
|
/**
|
|
48
91
|
* How `cfn-deploy` handles a changeset that requires resource replacement.
|
|
49
92
|
* - `block`: refuse to apply; surface the changeset for human review.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apply.d.ts","sourceRoot":"","sources":["../../src/components/apply.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAiC,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"apply.d.ts","sourceRoot":"","sources":["../../src/components/apply.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAiC,cAAc,EAAE,MAAM,wCAAwC,CAAC;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