@awboost/cfntypes 1.0.0-beta.58 → 1.0.0-beta.59
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/README.md +52 -0
- package/lib/intrinsics.d.ts +428 -0
- package/lib/intrinsics.js +498 -0
- package/lib/resources.generated/AWS-ACMPCA.d.ts +413 -0
- package/lib/resources.generated/AWS-ACMPCA.js +53 -0
- package/lib/resources.generated/AWS-APS.d.ts +71 -0
- package/lib/resources.generated/AWS-APS.js +27 -0
- package/lib/resources.generated/AWS-AccessAnalyzer.d.ts +53 -0
- package/lib/resources.generated/AWS-AccessAnalyzer.js +14 -0
- package/lib/resources.generated/AWS-AmazonMQ.d.ts +202 -0
- package/lib/resources.generated/AWS-AmazonMQ.js +50 -0
- package/lib/resources.generated/AWS-Amplify.d.ts +199 -0
- package/lib/resources.generated/AWS-Amplify.js +49 -0
- package/lib/resources.generated/AWS-AmplifyUIBuilder.d.ts +450 -0
- package/lib/resources.generated/AWS-AmplifyUIBuilder.js +40 -0
- package/lib/resources.generated/AWS-ApiGateway.d.ts +790 -0
- package/lib/resources.generated/AWS-ApiGateway.js +253 -0
- package/lib/resources.generated/AWS-ApiGatewayV2.d.ts +578 -0
- package/lib/resources.generated/AWS-ApiGatewayV2.js +170 -0
- package/lib/resources.generated/AWS-AppConfig.d.ts +282 -0
- package/lib/resources.generated/AWS-AppConfig.js +105 -0
- package/lib/resources.generated/AWS-AppFlow.d.ts +1084 -0
- package/lib/resources.generated/AWS-AppFlow.js +40 -0
- package/lib/resources.generated/AWS-AppIntegrations.d.ts +94 -0
- package/lib/resources.generated/AWS-AppIntegrations.js +27 -0
- package/lib/resources.generated/AWS-AppMesh.d.ts +1486 -0
- package/lib/resources.generated/AWS-AppMesh.js +129 -0
- package/lib/resources.generated/AWS-AppRunner.d.ts +338 -0
- package/lib/resources.generated/AWS-AppRunner.js +74 -0
- package/lib/resources.generated/AWS-AppStream.d.ts +555 -0
- package/lib/resources.generated/AWS-AppStream.js +170 -0
- package/lib/resources.generated/AWS-AppSync.d.ts +582 -0
- package/lib/resources.generated/AWS-AppSync.js +141 -0
- package/lib/resources.generated/AWS-ApplicationAutoScaling.d.ts +157 -0
- package/lib/resources.generated/AWS-ApplicationAutoScaling.js +27 -0
- package/lib/resources.generated/AWS-ApplicationInsights.d.ts +191 -0
- package/lib/resources.generated/AWS-ApplicationInsights.js +14 -0
- package/lib/resources.generated/AWS-Athena.d.ts +218 -0
- package/lib/resources.generated/AWS-Athena.js +75 -0
- package/lib/resources.generated/AWS-AuditManager.d.ts +103 -0
- package/lib/resources.generated/AWS-AuditManager.js +14 -0
- package/lib/resources.generated/AWS-AutoScaling.d.ts +621 -0
- package/lib/resources.generated/AWS-AutoScaling.js +85 -0
- package/lib/resources.generated/AWS-AutoScalingPlans.d.ts +134 -0
- package/lib/resources.generated/AWS-AutoScalingPlans.js +14 -0
- package/lib/resources.generated/AWS-Backup.d.ts +322 -0
- package/lib/resources.generated/AWS-Backup.js +66 -0
- package/lib/resources.generated/AWS-BackupGateway.d.ts +35 -0
- package/lib/resources.generated/AWS-BackupGateway.js +14 -0
- package/lib/resources.generated/AWS-Batch.d.ts +577 -0
- package/lib/resources.generated/AWS-Batch.js +53 -0
- package/lib/resources.generated/AWS-BillingConductor.d.ts +226 -0
- package/lib/resources.generated/AWS-BillingConductor.js +67 -0
- package/lib/resources.generated/AWS-Budgets.d.ts +210 -0
- package/lib/resources.generated/AWS-Budgets.js +27 -0
- package/lib/resources.generated/AWS-CE.d.ts +128 -0
- package/lib/resources.generated/AWS-CE.js +46 -0
- package/lib/resources.generated/AWS-CUR.d.ts +31 -0
- package/lib/resources.generated/AWS-CUR.js +14 -0
- package/lib/resources.generated/AWS-Cassandra.d.ts +105 -0
- package/lib/resources.generated/AWS-Cassandra.js +27 -0
- package/lib/resources.generated/AWS-CertificateManager.d.ts +72 -0
- package/lib/resources.generated/AWS-CertificateManager.js +27 -0
- package/lib/resources.generated/AWS-Chatbot.d.ts +69 -0
- package/lib/resources.generated/AWS-Chatbot.js +27 -0
- package/lib/resources.generated/AWS-CleanRooms.d.ts +342 -0
- package/lib/resources.generated/AWS-CleanRooms.js +79 -0
- package/lib/resources.generated/AWS-Cloud9.d.ts +48 -0
- package/lib/resources.generated/AWS-Cloud9.js +14 -0
- package/lib/resources.generated/AWS-CloudFormation.d.ts +540 -0
- package/lib/resources.generated/AWS-CloudFormation.js +225 -0
- package/lib/resources.generated/AWS-CloudFront.d.ts +1098 -0
- package/lib/resources.generated/AWS-CloudFront.js +170 -0
- package/lib/resources.generated/AWS-CloudTrail.d.ts +213 -0
- package/lib/resources.generated/AWS-CloudTrail.js +53 -0
- package/lib/resources.generated/AWS-CloudWatch.d.ts +358 -0
- package/lib/resources.generated/AWS-CloudWatch.js +79 -0
- package/lib/resources.generated/AWS-CodeArtifact.d.ts +71 -0
- package/lib/resources.generated/AWS-CodeArtifact.js +27 -0
- package/lib/resources.generated/AWS-CodeBuild.d.ts +335 -0
- package/lib/resources.generated/AWS-CodeBuild.js +40 -0
- package/lib/resources.generated/AWS-CodeCommit.d.ts +67 -0
- package/lib/resources.generated/AWS-CodeCommit.js +14 -0
- package/lib/resources.generated/AWS-CodeDeploy.d.ts +345 -0
- package/lib/resources.generated/AWS-CodeDeploy.js +40 -0
- package/lib/resources.generated/AWS-CodeGuruProfiler.d.ts +50 -0
- package/lib/resources.generated/AWS-CodeGuruProfiler.js +14 -0
- package/lib/resources.generated/AWS-CodeGuruReviewer.d.ts +34 -0
- package/lib/resources.generated/AWS-CodeGuruReviewer.js +14 -0
- package/lib/resources.generated/AWS-CodePipeline.d.ts +253 -0
- package/lib/resources.generated/AWS-CodePipeline.js +40 -0
- package/lib/resources.generated/AWS-CodeStar.d.ts +45 -0
- package/lib/resources.generated/AWS-CodeStar.js +14 -0
- package/lib/resources.generated/AWS-CodeStarConnections.d.ts +34 -0
- package/lib/resources.generated/AWS-CodeStarConnections.js +14 -0
- package/lib/resources.generated/AWS-CodeStarNotifications.d.ts +47 -0
- package/lib/resources.generated/AWS-CodeStarNotifications.js +14 -0
- package/lib/resources.generated/AWS-Cognito.d.ts +739 -0
- package/lib/resources.generated/AWS-Cognito.js +170 -0
- package/lib/resources.generated/AWS-Comprehend.d.ts +190 -0
- package/lib/resources.generated/AWS-Comprehend.js +27 -0
- package/lib/resources.generated/AWS-Config.d.ts +497 -0
- package/lib/resources.generated/AWS-Config.js +131 -0
- package/lib/resources.generated/AWS-Connect.d.ts +1147 -0
- package/lib/resources.generated/AWS-Connect.js +287 -0
- package/lib/resources.generated/AWS-ConnectCampaigns.d.ts +77 -0
- package/lib/resources.generated/AWS-ConnectCampaigns.js +14 -0
- package/lib/resources.generated/AWS-ControlTower.d.ts +21 -0
- package/lib/resources.generated/AWS-ControlTower.js +14 -0
- package/lib/resources.generated/AWS-CustomerProfiles.d.ts +422 -0
- package/lib/resources.generated/AWS-CustomerProfiles.js +73 -0
- package/lib/resources.generated/AWS-DAX.d.ts +91 -0
- package/lib/resources.generated/AWS-DAX.js +40 -0
- package/lib/resources.generated/AWS-DLM.d.ts +234 -0
- package/lib/resources.generated/AWS-DLM.js +14 -0
- package/lib/resources.generated/AWS-DMS.d.ts +584 -0
- package/lib/resources.generated/AWS-DMS.js +95 -0
- package/lib/resources.generated/AWS-DataBrew.d.ts +711 -0
- package/lib/resources.generated/AWS-DataBrew.js +79 -0
- package/lib/resources.generated/AWS-DataPipeline.d.ts +90 -0
- package/lib/resources.generated/AWS-DataPipeline.js +14 -0
- package/lib/resources.generated/AWS-DataSync.d.ts +736 -0
- package/lib/resources.generated/AWS-DataSync.js +188 -0
- package/lib/resources.generated/AWS-Detective.d.ts +78 -0
- package/lib/resources.generated/AWS-Detective.js +40 -0
- package/lib/resources.generated/AWS-DevOpsGuru.d.ts +132 -0
- package/lib/resources.generated/AWS-DevOpsGuru.js +40 -0
- package/lib/resources.generated/AWS-DirectoryService.d.ts +88 -0
- package/lib/resources.generated/AWS-DirectoryService.js +27 -0
- package/lib/resources.generated/AWS-DocDB.d.ts +131 -0
- package/lib/resources.generated/AWS-DocDB.js +53 -0
- package/lib/resources.generated/AWS-DocDBElastic.d.ts +40 -0
- package/lib/resources.generated/AWS-DocDBElastic.js +14 -0
- package/lib/resources.generated/AWS-DynamoDB.d.ts +403 -0
- package/lib/resources.generated/AWS-DynamoDB.js +27 -0
- package/lib/resources.generated/AWS-EC2.d.ts +4660 -0
- package/lib/resources.generated/AWS-EC2.js +1364 -0
- package/lib/resources.generated/AWS-ECR.d.ts +210 -0
- package/lib/resources.generated/AWS-ECR.js +66 -0
- package/lib/resources.generated/AWS-ECS.d.ts +843 -0
- package/lib/resources.generated/AWS-ECS.js +92 -0
- package/lib/resources.generated/AWS-EFS.d.ts +184 -0
- package/lib/resources.generated/AWS-EFS.js +40 -0
- package/lib/resources.generated/AWS-EKS.d.ts +354 -0
- package/lib/resources.generated/AWS-EKS.js +77 -0
- package/lib/resources.generated/AWS-EMR.d.ts +767 -0
- package/lib/resources.generated/AWS-EMR.js +109 -0
- package/lib/resources.generated/AWS-EMRContainers.d.ts +58 -0
- package/lib/resources.generated/AWS-EMRContainers.js +14 -0
- package/lib/resources.generated/AWS-EMRServerless.d.ts +121 -0
- package/lib/resources.generated/AWS-EMRServerless.js +14 -0
- package/lib/resources.generated/AWS-ElastiCache.d.ts +431 -0
- package/lib/resources.generated/AWS-ElastiCache.js +134 -0
- package/lib/resources.generated/AWS-ElasticBeanstalk.d.ts +208 -0
- package/lib/resources.generated/AWS-ElasticBeanstalk.js +53 -0
- package/lib/resources.generated/AWS-ElasticLoadBalancing.d.ts +131 -0
- package/lib/resources.generated/AWS-ElasticLoadBalancing.js +20 -0
- package/lib/resources.generated/AWS-ElasticLoadBalancingV2.d.ts +505 -0
- package/lib/resources.generated/AWS-ElasticLoadBalancingV2.js +78 -0
- package/lib/resources.generated/AWS-Elasticsearch.d.ts +177 -0
- package/lib/resources.generated/AWS-Elasticsearch.js +14 -0
- package/lib/resources.generated/AWS-EntityResolution.d.ts +136 -0
- package/lib/resources.generated/AWS-EntityResolution.js +27 -0
- package/lib/resources.generated/AWS-EventSchemas.d.ts +151 -0
- package/lib/resources.generated/AWS-EventSchemas.js +53 -0
- package/lib/resources.generated/AWS-Events.d.ts +569 -0
- package/lib/resources.generated/AWS-Events.js +92 -0
- package/lib/resources.generated/AWS-Evidently.d.ts +329 -0
- package/lib/resources.generated/AWS-Evidently.js +66 -0
- package/lib/resources.generated/AWS-FIS.d.ts +105 -0
- package/lib/resources.generated/AWS-FIS.js +14 -0
- package/lib/resources.generated/AWS-FMS.d.ts +154 -0
- package/lib/resources.generated/AWS-FMS.js +43 -0
- package/lib/resources.generated/AWS-FSx.d.ts +486 -0
- package/lib/resources.generated/AWS-FSx.js +70 -0
- package/lib/resources.generated/AWS-FinSpace.d.ts +73 -0
- package/lib/resources.generated/AWS-FinSpace.js +22 -0
- package/lib/resources.generated/AWS-Forecast.d.ts +99 -0
- package/lib/resources.generated/AWS-Forecast.js +27 -0
- package/lib/resources.generated/AWS-FraudDetector.d.ts +380 -0
- package/lib/resources.generated/AWS-FraudDetector.js +100 -0
- package/lib/resources.generated/AWS-GameLift.d.ts +493 -0
- package/lib/resources.generated/AWS-GameLift.js +118 -0
- package/lib/resources.generated/AWS-GlobalAccelerator.d.ts +129 -0
- package/lib/resources.generated/AWS-GlobalAccelerator.js +46 -0
- package/lib/resources.generated/AWS-Glue.d.ts +1154 -0
- package/lib/resources.generated/AWS-Glue.js +235 -0
- package/lib/resources.generated/AWS-Grafana.d.ts +111 -0
- package/lib/resources.generated/AWS-Grafana.js +23 -0
- package/lib/resources.generated/AWS-Greengrass.d.ts +909 -0
- package/lib/resources.generated/AWS-Greengrass.js +209 -0
- package/lib/resources.generated/AWS-GreengrassV2.d.ts +294 -0
- package/lib/resources.generated/AWS-GreengrassV2.js +27 -0
- package/lib/resources.generated/AWS-GroundStation.d.ts +344 -0
- package/lib/resources.generated/AWS-GroundStation.js +40 -0
- package/lib/resources.generated/AWS-GuardDuty.d.ts +252 -0
- package/lib/resources.generated/AWS-GuardDuty.js +79 -0
- package/lib/resources.generated/AWS-HealthImaging.d.ts +35 -0
- package/lib/resources.generated/AWS-HealthImaging.js +20 -0
- package/lib/resources.generated/AWS-HealthLake.d.ts +85 -0
- package/lib/resources.generated/AWS-HealthLake.js +22 -0
- package/lib/resources.generated/AWS-IAM.d.ts +485 -0
- package/lib/resources.generated/AWS-IAM.js +227 -0
- package/lib/resources.generated/AWS-IVS.d.ts +163 -0
- package/lib/resources.generated/AWS-IVS.js +53 -0
- package/lib/resources.generated/AWS-IVSChat.d.ts +108 -0
- package/lib/resources.generated/AWS-IVSChat.js +27 -0
- package/lib/resources.generated/AWS-IdentityStore.d.ts +66 -0
- package/lib/resources.generated/AWS-IdentityStore.js +27 -0
- package/lib/resources.generated/AWS-ImageBuilder.d.ts +568 -0
- package/lib/resources.generated/AWS-ImageBuilder.js +92 -0
- package/lib/resources.generated/AWS-Inspector.d.ts +85 -0
- package/lib/resources.generated/AWS-Inspector.js +40 -0
- package/lib/resources.generated/AWS-InspectorV2.d.ts +128 -0
- package/lib/resources.generated/AWS-InspectorV2.js +14 -0
- package/lib/resources.generated/AWS-InternetMonitor.d.ts +81 -0
- package/lib/resources.generated/AWS-InternetMonitor.js +20 -0
- package/lib/resources.generated/AWS-IoT.d.ts +1545 -0
- package/lib/resources.generated/AWS-IoT.js +332 -0
- package/lib/resources.generated/AWS-IoT1Click.d.ts +108 -0
- package/lib/resources.generated/AWS-IoT1Click.js +40 -0
- package/lib/resources.generated/AWS-IoTAnalytics.d.ts +587 -0
- package/lib/resources.generated/AWS-IoTAnalytics.js +53 -0
- package/lib/resources.generated/AWS-IoTCoreDeviceAdvisor.d.ts +53 -0
- package/lib/resources.generated/AWS-IoTCoreDeviceAdvisor.js +14 -0
- package/lib/resources.generated/AWS-IoTEvents.d.ts +544 -0
- package/lib/resources.generated/AWS-IoTEvents.js +40 -0
- package/lib/resources.generated/AWS-IoTFleetHub.d.ts +39 -0
- package/lib/resources.generated/AWS-IoTFleetHub.js +23 -0
- package/lib/resources.generated/AWS-IoTFleetWise.d.ts +438 -0
- package/lib/resources.generated/AWS-IoTFleetWise.js +88 -0
- package/lib/resources.generated/AWS-IoTSiteWise.d.ts +452 -0
- package/lib/resources.generated/AWS-IoTSiteWise.js +92 -0
- package/lib/resources.generated/AWS-IoTThingsGraph.d.ts +30 -0
- package/lib/resources.generated/AWS-IoTThingsGraph.js +14 -0
- package/lib/resources.generated/AWS-IoTTwinMaker.d.ts +412 -0
- package/lib/resources.generated/AWS-IoTTwinMaker.js +87 -0
- package/lib/resources.generated/AWS-IoTWireless.d.ts +620 -0
- package/lib/resources.generated/AWS-IoTWireless.js +180 -0
- package/lib/resources.generated/AWS-KMS.d.ts +91 -0
- package/lib/resources.generated/AWS-KMS.js +43 -0
- package/lib/resources.generated/AWS-KafkaConnect.d.ts +199 -0
- package/lib/resources.generated/AWS-KafkaConnect.js +14 -0
- package/lib/resources.generated/AWS-Kendra.d.ts +758 -0
- package/lib/resources.generated/AWS-Kendra.js +43 -0
- package/lib/resources.generated/AWS-KendraRanking.d.ts +41 -0
- package/lib/resources.generated/AWS-KendraRanking.js +14 -0
- package/lib/resources.generated/AWS-Kinesis.d.ts +82 -0
- package/lib/resources.generated/AWS-Kinesis.js +33 -0
- package/lib/resources.generated/AWS-KinesisAnalytics.d.ts +294 -0
- package/lib/resources.generated/AWS-KinesisAnalytics.js +40 -0
- package/lib/resources.generated/AWS-KinesisAnalyticsV2.d.ts +553 -0
- package/lib/resources.generated/AWS-KinesisAnalyticsV2.js +53 -0
- package/lib/resources.generated/AWS-KinesisFirehose.d.ts +532 -0
- package/lib/resources.generated/AWS-KinesisFirehose.js +14 -0
- package/lib/resources.generated/AWS-KinesisVideo.d.ts +63 -0
- package/lib/resources.generated/AWS-KinesisVideo.js +27 -0
- package/lib/resources.generated/AWS-LakeFormation.d.ts +471 -0
- package/lib/resources.generated/AWS-LakeFormation.js +92 -0
- package/lib/resources.generated/AWS-Lambda.d.ts +616 -0
- package/lib/resources.generated/AWS-Lambda.js +139 -0
- package/lib/resources.generated/AWS-Lex.d.ts +1060 -0
- package/lib/resources.generated/AWS-Lex.js +56 -0
- package/lib/resources.generated/AWS-LicenseManager.d.ts +138 -0
- package/lib/resources.generated/AWS-LicenseManager.js +27 -0
- package/lib/resources.generated/AWS-Lightsail.d.ts +706 -0
- package/lib/resources.generated/AWS-Lightsail.js +177 -0
- package/lib/resources.generated/AWS-Location.d.ts +198 -0
- package/lib/resources.generated/AWS-Location.js +79 -0
- package/lib/resources.generated/AWS-Logs.d.ts +223 -0
- package/lib/resources.generated/AWS-Logs.js +105 -0
- package/lib/resources.generated/AWS-LookoutEquipment.d.ts +83 -0
- package/lib/resources.generated/AWS-LookoutEquipment.js +14 -0
- package/lib/resources.generated/AWS-LookoutMetrics.d.ts +242 -0
- package/lib/resources.generated/AWS-LookoutMetrics.js +27 -0
- package/lib/resources.generated/AWS-LookoutVision.d.ts +28 -0
- package/lib/resources.generated/AWS-LookoutVision.js +14 -0
- package/lib/resources.generated/AWS-M2.d.ts +119 -0
- package/lib/resources.generated/AWS-M2.js +27 -0
- package/lib/resources.generated/AWS-MSK.d.ts +495 -0
- package/lib/resources.generated/AWS-MSK.js +84 -0
- package/lib/resources.generated/AWS-MWAA.d.ts +86 -0
- package/lib/resources.generated/AWS-MWAA.js +22 -0
- package/lib/resources.generated/AWS-Macie.d.ts +166 -0
- package/lib/resources.generated/AWS-Macie.js +53 -0
- package/lib/resources.generated/AWS-ManagedBlockchain.d.ts +178 -0
- package/lib/resources.generated/AWS-ManagedBlockchain.js +40 -0
- package/lib/resources.generated/AWS-MediaConnect.d.ts +575 -0
- package/lib/resources.generated/AWS-MediaConnect.js +124 -0
- package/lib/resources.generated/AWS-MediaConvert.d.ts +118 -0
- package/lib/resources.generated/AWS-MediaConvert.js +40 -0
- package/lib/resources.generated/AWS-MediaLive.d.ts +1959 -0
- package/lib/resources.generated/AWS-MediaLive.js +40 -0
- package/lib/resources.generated/AWS-MediaPackage.d.ts +529 -0
- package/lib/resources.generated/AWS-MediaPackage.js +66 -0
- package/lib/resources.generated/AWS-MediaPackageV2.d.ts +250 -0
- package/lib/resources.generated/AWS-MediaPackageV2.js +66 -0
- package/lib/resources.generated/AWS-MediaStore.d.ts +65 -0
- package/lib/resources.generated/AWS-MediaStore.js +14 -0
- package/lib/resources.generated/AWS-MediaTailor.d.ts +368 -0
- package/lib/resources.generated/AWS-MediaTailor.js +85 -0
- package/lib/resources.generated/AWS-MemoryDB.d.ts +193 -0
- package/lib/resources.generated/AWS-MemoryDB.js +72 -0
- package/lib/resources.generated/AWS-Neptune.d.ts +176 -0
- package/lib/resources.generated/AWS-Neptune.js +66 -0
- package/lib/resources.generated/AWS-NetworkFirewall.d.ts +460 -0
- package/lib/resources.generated/AWS-NetworkFirewall.js +53 -0
- package/lib/resources.generated/AWS-NetworkManager.d.ts +609 -0
- package/lib/resources.generated/AWS-NetworkManager.js +261 -0
- package/lib/resources.generated/AWS-NimbleStudio.d.ts +292 -0
- package/lib/resources.generated/AWS-NimbleStudio.js +61 -0
- package/lib/resources.generated/AWS-OSIS.d.ts +73 -0
- package/lib/resources.generated/AWS-OSIS.js +14 -0
- package/lib/resources.generated/AWS-Oam.d.ts +61 -0
- package/lib/resources.generated/AWS-Oam.js +32 -0
- package/lib/resources.generated/AWS-Omics.d.ts +290 -0
- package/lib/resources.generated/AWS-Omics.js +95 -0
- package/lib/resources.generated/AWS-OpenSearchServerless.d.ts +146 -0
- package/lib/resources.generated/AWS-OpenSearchServerless.js +66 -0
- package/lib/resources.generated/AWS-OpenSearchService.d.ts +258 -0
- package/lib/resources.generated/AWS-OpenSearchService.js +30 -0
- package/lib/resources.generated/AWS-OpsWorks.d.ts +425 -0
- package/lib/resources.generated/AWS-OpsWorks.js +98 -0
- package/lib/resources.generated/AWS-OpsWorksCM.d.ts +59 -0
- package/lib/resources.generated/AWS-OpsWorksCM.js +14 -0
- package/lib/resources.generated/AWS-Organizations.d.ts +158 -0
- package/lib/resources.generated/AWS-Organizations.js +73 -0
- package/lib/resources.generated/AWS-PCAConnectorAD.d.ts +488 -0
- package/lib/resources.generated/AWS-PCAConnectorAD.js +66 -0
- package/lib/resources.generated/AWS-Panorama.d.ts +142 -0
- package/lib/resources.generated/AWS-Panorama.js +65 -0
- package/lib/resources.generated/AWS-Personalize.d.ts +230 -0
- package/lib/resources.generated/AWS-Personalize.js +53 -0
- package/lib/resources.generated/AWS-Pinpoint.d.ts +1032 -0
- package/lib/resources.generated/AWS-Pinpoint.js +248 -0
- package/lib/resources.generated/AWS-PinpointEmail.d.ts +224 -0
- package/lib/resources.generated/AWS-PinpointEmail.js +60 -0
- package/lib/resources.generated/AWS-Pipes.d.ts +552 -0
- package/lib/resources.generated/AWS-Pipes.js +20 -0
- package/lib/resources.generated/AWS-Proton.d.ts +99 -0
- package/lib/resources.generated/AWS-Proton.js +40 -0
- package/lib/resources.generated/AWS-QLDB.d.ts +67 -0
- package/lib/resources.generated/AWS-QLDB.js +27 -0
- package/lib/resources.generated/AWS-QuickSight.d.ts +15929 -0
- package/lib/resources.generated/AWS-QuickSight.js +186 -0
- package/lib/resources.generated/AWS-RAM.d.ts +67 -0
- package/lib/resources.generated/AWS-RAM.js +27 -0
- package/lib/resources.generated/AWS-RDS.d.ts +691 -0
- package/lib/resources.generated/AWS-RDS.js +201 -0
- package/lib/resources.generated/AWS-RUM.d.ts +83 -0
- package/lib/resources.generated/AWS-RUM.js +14 -0
- package/lib/resources.generated/AWS-Redshift.d.ts +410 -0
- package/lib/resources.generated/AWS-Redshift.js +144 -0
- package/lib/resources.generated/AWS-RedshiftServerless.d.ts +179 -0
- package/lib/resources.generated/AWS-RedshiftServerless.js +58 -0
- package/lib/resources.generated/AWS-RefactorSpaces.d.ts +187 -0
- package/lib/resources.generated/AWS-RefactorSpaces.js +62 -0
- package/lib/resources.generated/AWS-Rekognition.d.ts +166 -0
- package/lib/resources.generated/AWS-Rekognition.js +40 -0
- package/lib/resources.generated/AWS-ResilienceHub.d.ts +122 -0
- package/lib/resources.generated/AWS-ResilienceHub.js +27 -0
- package/lib/resources.generated/AWS-ResourceExplorer2.d.ts +102 -0
- package/lib/resources.generated/AWS-ResourceExplorer2.js +40 -0
- package/lib/resources.generated/AWS-ResourceGroups.d.ts +80 -0
- package/lib/resources.generated/AWS-ResourceGroups.js +14 -0
- package/lib/resources.generated/AWS-RoboMaker.d.ts +238 -0
- package/lib/resources.generated/AWS-RoboMaker.js +79 -0
- package/lib/resources.generated/AWS-RolesAnywhere.d.ts +127 -0
- package/lib/resources.generated/AWS-RolesAnywhere.js +40 -0
- package/lib/resources.generated/AWS-Route53.d.ts +346 -0
- package/lib/resources.generated/AWS-Route53.js +92 -0
- package/lib/resources.generated/AWS-Route53RecoveryControl.d.ts +162 -0
- package/lib/resources.generated/AWS-Route53RecoveryControl.js +53 -0
- package/lib/resources.generated/AWS-Route53RecoveryReadiness.d.ts +166 -0
- package/lib/resources.generated/AWS-Route53RecoveryReadiness.js +53 -0
- package/lib/resources.generated/AWS-Route53Resolver.d.ts +415 -0
- package/lib/resources.generated/AWS-Route53Resolver.js +208 -0
- package/lib/resources.generated/AWS-S3.d.ts +942 -0
- package/lib/resources.generated/AWS-S3.js +85 -0
- package/lib/resources.generated/AWS-S3ObjectLambda.d.ts +124 -0
- package/lib/resources.generated/AWS-S3ObjectLambda.js +40 -0
- package/lib/resources.generated/AWS-S3Outposts.d.ts +198 -0
- package/lib/resources.generated/AWS-S3Outposts.js +53 -0
- package/lib/resources.generated/AWS-SDB.d.ts +20 -0
- package/lib/resources.generated/AWS-SDB.js +14 -0
- package/lib/resources.generated/AWS-SES.d.ts +548 -0
- package/lib/resources.generated/AWS-SES.js +138 -0
- package/lib/resources.generated/AWS-SNS.d.ts +121 -0
- package/lib/resources.generated/AWS-SNS.js +56 -0
- package/lib/resources.generated/AWS-SQS.d.ts +92 -0
- package/lib/resources.generated/AWS-SQS.js +44 -0
- package/lib/resources.generated/AWS-SSM.d.ts +516 -0
- package/lib/resources.generated/AWS-SSM.js +118 -0
- package/lib/resources.generated/AWS-SSMContacts.d.ts +243 -0
- package/lib/resources.generated/AWS-SSMContacts.js +53 -0
- package/lib/resources.generated/AWS-SSMIncidents.d.ts +183 -0
- package/lib/resources.generated/AWS-SSMIncidents.js +27 -0
- package/lib/resources.generated/AWS-SSO.d.ts +115 -0
- package/lib/resources.generated/AWS-SSO.js +40 -0
- package/lib/resources.generated/AWS-SageMaker.d.ts +3245 -0
- package/lib/resources.generated/AWS-SageMaker.js +393 -0
- package/lib/resources.generated/AWS-Scheduler.d.ts +221 -0
- package/lib/resources.generated/AWS-Scheduler.js +27 -0
- package/lib/resources.generated/AWS-SecretsManager.d.ts +151 -0
- package/lib/resources.generated/AWS-SecretsManager.js +53 -0
- package/lib/resources.generated/AWS-SecurityHub.d.ts +247 -0
- package/lib/resources.generated/AWS-SecurityHub.js +40 -0
- package/lib/resources.generated/AWS-ServiceCatalog.d.ts +471 -0
- package/lib/resources.generated/AWS-ServiceCatalog.js +209 -0
- package/lib/resources.generated/AWS-ServiceCatalogAppRegistry.d.ts +121 -0
- package/lib/resources.generated/AWS-ServiceCatalogAppRegistry.js +53 -0
- package/lib/resources.generated/AWS-ServiceDiscovery.d.ts +235 -0
- package/lib/resources.generated/AWS-ServiceDiscovery.js +66 -0
- package/lib/resources.generated/AWS-Shield.d.ts +147 -0
- package/lib/resources.generated/AWS-Shield.js +53 -0
- package/lib/resources.generated/AWS-Signer.d.ts +65 -0
- package/lib/resources.generated/AWS-Signer.js +27 -0
- package/lib/resources.generated/AWS-SimSpaceWeaver.d.ts +41 -0
- package/lib/resources.generated/AWS-SimSpaceWeaver.js +14 -0
- package/lib/resources.generated/AWS-StepFunctions.d.ts +208 -0
- package/lib/resources.generated/AWS-StepFunctions.js +53 -0
- package/lib/resources.generated/AWS-SupportApp.d.ts +72 -0
- package/lib/resources.generated/AWS-SupportApp.js +40 -0
- package/lib/resources.generated/AWS-Synthetics.d.ts +150 -0
- package/lib/resources.generated/AWS-Synthetics.js +27 -0
- package/lib/resources.generated/AWS-SystemsManagerSAP.d.ts +45 -0
- package/lib/resources.generated/AWS-SystemsManagerSAP.js +14 -0
- package/lib/resources.generated/AWS-Timestream.d.ts +265 -0
- package/lib/resources.generated/AWS-Timestream.js +50 -0
- package/lib/resources.generated/AWS-Transfer.d.ts +477 -0
- package/lib/resources.generated/AWS-Transfer.js +100 -0
- package/lib/resources.generated/AWS-VerifiedPermissions.d.ts +200 -0
- package/lib/resources.generated/AWS-VerifiedPermissions.js +60 -0
- package/lib/resources.generated/AWS-VoiceID.d.ts +40 -0
- package/lib/resources.generated/AWS-VoiceID.js +14 -0
- package/lib/resources.generated/AWS-VpcLattice.d.ts +515 -0
- package/lib/resources.generated/AWS-VpcLattice.js +161 -0
- package/lib/resources.generated/AWS-WAF.d.ts +252 -0
- package/lib/resources.generated/AWS-WAF.js +92 -0
- package/lib/resources.generated/AWS-WAFRegional.d.ts +350 -0
- package/lib/resources.generated/AWS-WAFRegional.js +144 -0
- package/lib/resources.generated/AWS-WAFv2.d.ts +1457 -0
- package/lib/resources.generated/AWS-WAFv2.js +79 -0
- package/lib/resources.generated/AWS-Wisdom.d.ts +147 -0
- package/lib/resources.generated/AWS-Wisdom.js +40 -0
- package/lib/resources.generated/AWS-WorkSpaces.d.ts +80 -0
- package/lib/resources.generated/AWS-WorkSpaces.js +27 -0
- package/lib/resources.generated/AWS-WorkSpacesWeb.d.ts +289 -0
- package/lib/resources.generated/AWS-WorkSpacesWeb.js +114 -0
- package/lib/resources.generated/AWS-XRay.d.ts +108 -0
- package/lib/resources.generated/AWS-XRay.js +42 -0
- package/lib/resources.generated/Alexa-ASK.d.ts +52 -0
- package/lib/resources.generated/Alexa-ASK.js +14 -0
- package/lib/resources.generated/core.d.ts +9 -0
- package/lib/template.d.ts +793 -5
- package/lib/template.js +83 -1
- package/lib/util.d.ts +24 -427
- package/lib/util.js +50 -487
- package/package.json +10 -14
- package/lib/definitions.d.ts +0 -351
- package/lib/policies.d.ts +0 -460
- package/lib/policies.js +0 -83
- package/lib/resources.generated.d.ts +0 -90257
- package/lib/resources.generated.js +0 -2289
- /package/lib/{definitions.js → resources.generated/core.js} +0 -0
package/README.md
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
# @awboost/cfntypes
|
2
|
+
|
3
|
+
Typescript types for AWS CloudFormation types.
|
4
|
+
|
5
|
+
## Template Types
|
6
|
+
|
7
|
+
The template types are available via the `template` package subpath. For performance reasons, the resources are not fully typed, i.e. no type-checking
|
8
|
+
is done for valid `Type` or `Properties` values.
|
9
|
+
|
10
|
+
```typescript
|
11
|
+
import { Template } from "@awboost/cfntypes/template";
|
12
|
+
|
13
|
+
const template: Template = {
|
14
|
+
Resources: {
|
15
|
+
MyFunction: {
|
16
|
+
Type: "AWS::Lambda::Function",
|
17
|
+
Properties: {
|
18
|
+
// omitted for brevity
|
19
|
+
},
|
20
|
+
},
|
21
|
+
},
|
22
|
+
};
|
23
|
+
```
|
24
|
+
|
25
|
+
## Resource Types
|
26
|
+
|
27
|
+
Instead, the accurate resource types can be imported from the `resources/*` package subpath.
|
28
|
+
|
29
|
+
```typescript
|
30
|
+
import { LambdaFunction } from "@awboost/cfntypes/resources/AWS-Lambda";
|
31
|
+
import { Template } from "@awboost/cfntypes/template";
|
32
|
+
|
33
|
+
const template: Template = {
|
34
|
+
Resources: {
|
35
|
+
MyFunction: new LambdaFunction("MyFunction", {
|
36
|
+
// props go here
|
37
|
+
}).toJSON(),
|
38
|
+
},
|
39
|
+
};
|
40
|
+
```
|
41
|
+
|
42
|
+
The attributes of the resource can be conveniently accessed in the resource instance.
|
43
|
+
|
44
|
+
```typescript
|
45
|
+
const instance = new LambdaFunction("MyFunction", {
|
46
|
+
// props
|
47
|
+
}).addToTemplate(template);
|
48
|
+
|
49
|
+
// all of the attributes are available via the attributes property.
|
50
|
+
// this property actually returns { "Fn::GetAtt": [...] } intrinsic function.
|
51
|
+
const arn = instance.attributes.Arn;
|
52
|
+
```
|
@@ -0,0 +1,428 @@
|
|
1
|
+
/**
|
2
|
+
* IntrinsicValue represents the output of an intrinsic function.
|
3
|
+
*/
|
4
|
+
export type IntrinsicValue = any;
|
5
|
+
/**
|
6
|
+
* You can use intrinsic functions, such as `Fn::If`, `Fn::Equals`, and
|
7
|
+
* `Fn::Not`, to conditionally create stack resources. These conditions are
|
8
|
+
* evaluated based on input parameters that you declare when you create or
|
9
|
+
* update a stack. After you define all your conditions, you can associate them
|
10
|
+
* with resources or resource properties in the Resources and Outputs sections
|
11
|
+
* of a template.
|
12
|
+
*
|
13
|
+
* You define all conditions in the Conditions section of a template except for
|
14
|
+
* `Fn::If conditions`. You can use the `Fn::If` condition in the metadata
|
15
|
+
* attribute, update policy attribute, and property values in the Resources
|
16
|
+
* section and Outputs sections of a template.
|
17
|
+
*
|
18
|
+
* You might use conditions when you want to reuse a template that can create
|
19
|
+
* resources in different contexts, such as a test environment versus a
|
20
|
+
* production environment. In your template, you can add an EnvironmentType
|
21
|
+
* input parameter, which accepts either prod or test as inputs. For the
|
22
|
+
* production environment, you might include Amazon EC2 instances with certain
|
23
|
+
* capabilities; however, for the test environment, you want to use less
|
24
|
+
* capabilities to save costs. With conditions, you can define which resources
|
25
|
+
* are created and how they're configured for each environment type.
|
26
|
+
*/
|
27
|
+
export declare class Fn {
|
28
|
+
fn: string;
|
29
|
+
args: IntrinsicValue;
|
30
|
+
/**
|
31
|
+
* Returns true if all the specified conditions evaluate to true, or returns
|
32
|
+
* false if any one of the conditions evaluates to false. `Fn::And` acts as an
|
33
|
+
* AND operator. The minimum number of conditions that you can include is 2,
|
34
|
+
* and the maximum is 10.
|
35
|
+
*
|
36
|
+
* @param conditions A condition that evaluates to true or false.
|
37
|
+
*
|
38
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-and | Fn::And}
|
39
|
+
*/
|
40
|
+
static and(...conditions: IntrinsicValue[]): IntrinsicValue;
|
41
|
+
/**
|
42
|
+
* The intrinsic function `Fn::Base64` returns the Base64 representation of
|
43
|
+
* the input string. This function is typically used to pass encoded data to
|
44
|
+
* Amazon EC2 instances by way of the UserData property.
|
45
|
+
*
|
46
|
+
* @param valueToEncode The string value you want to convert to Base64.
|
47
|
+
* @returns The original string, in Base64 representation.
|
48
|
+
*
|
49
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-base64.html | Fn::Base64}
|
50
|
+
*/
|
51
|
+
static base64(valueToEncode: string): IntrinsicValue;
|
52
|
+
/**
|
53
|
+
* The intrinsic function `Fn::Cidr` returns an array of CIDR address blocks.
|
54
|
+
* The number of CIDR blocks returned is dependent on the count parameter.
|
55
|
+
*
|
56
|
+
* @param ipBlock The user-specified CIDR address block to be split into
|
57
|
+
* smaller CIDR blocks.
|
58
|
+
* @param count The number of CIDRs to generate. Valid range is between 1 and
|
59
|
+
* 256.
|
60
|
+
* @param cidrBits The number of subnet bits for the CIDR. For example,
|
61
|
+
* specifying a value "8" for this parameter will create a CIDR with a mask of
|
62
|
+
* "/24".
|
63
|
+
* @returns An array of CIDR address blocks.
|
64
|
+
*
|
65
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-cidr.html | Fn::Cidr}
|
66
|
+
*/
|
67
|
+
static cidr(ipBlock: string, count: number, cidrBits: number): IntrinsicValue;
|
68
|
+
/**
|
69
|
+
* Returns `true` if a specified string matches at least one value in a list
|
70
|
+
* of strings.
|
71
|
+
*
|
72
|
+
* @param listOfStrings A list of strings, such as `"A", "B", "C"`.
|
73
|
+
* @param string A string, such as `"A"`, that you want to compare against a
|
74
|
+
* list of strings.
|
75
|
+
*
|
76
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-rules.html#fn-contains | Fn::Contains}
|
77
|
+
*/
|
78
|
+
static contains(listOfStrings: string[], string: string): IntrinsicValue;
|
79
|
+
/**
|
80
|
+
* Returns `true` if a specified string matches all values in a list.
|
81
|
+
*
|
82
|
+
* @param listOfStrings A list of strings, such as `"A", "B", "C"`.
|
83
|
+
* @param string A string, such as `"A"`, that you want to compare against a
|
84
|
+
* list of strings.
|
85
|
+
*
|
86
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-rules.html#fn-eachmemberequals | Fn::EachMemberEquals}
|
87
|
+
*/
|
88
|
+
static eachMemberEquals(listOfStrings: string[], string: string): IntrinsicValue;
|
89
|
+
/**
|
90
|
+
* Returns `true` if a specified string matches all values in a list.
|
91
|
+
*
|
92
|
+
* @param stringsToCheck A list of strings, such as `"A", "B", "C"`.
|
93
|
+
* CloudFormation checks whether each member in the stringsToC`heck parameter
|
94
|
+
* is in the `stringsToMap` parameter.
|
95
|
+
* @param stringsToMatch A list of strings, such as `"A", "B", "C"`. Each
|
96
|
+
* member in the `stringsToMatch` parameter is compared against the members of
|
97
|
+
* the `stringsToCheck` parameter.
|
98
|
+
*
|
99
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-rules.html#fn-eachmemberin | Fn::EachMemberIn}
|
100
|
+
*/
|
101
|
+
static eachMemberIn(stringsToCheck: string[], stringsToMatch: string[]): IntrinsicValue;
|
102
|
+
/**
|
103
|
+
* Compares if two values are equal. Returns true if the two values are equal
|
104
|
+
* or false if they aren't.
|
105
|
+
*
|
106
|
+
* @param value1 A value of any type that you want to compare.
|
107
|
+
* @param value2 A value of any type that you want to compare.
|
108
|
+
*
|
109
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-equals | Fn::Equals}
|
110
|
+
*/
|
111
|
+
static equals(value1: IntrinsicValue, value2: IntrinsicValue): IntrinsicValue;
|
112
|
+
/**
|
113
|
+
* The intrinsic function `Fn::FindInMap` returns the value corresponding to
|
114
|
+
* keys in a two-level map that is declared in the Mappings section.
|
115
|
+
*
|
116
|
+
* @param mapName The logical name of a mapping declared in the Mappings
|
117
|
+
* section that contains the keys and values.
|
118
|
+
* @param topLevelKey The top-level key name. Its value is a list of key-value pairs.
|
119
|
+
* @param secondLevelKey The second-level key name, which is set to one of the keys from the list assigned to TopLevelKey.
|
120
|
+
* @returns The value that is assigned to SecondLevelKey.
|
121
|
+
*
|
122
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-findinmap.html | Fn::FindInMap}
|
123
|
+
*/
|
124
|
+
static findInMap(mapName: string, topLevelKey: string, secondLevelKey: string): IntrinsicValue;
|
125
|
+
/**
|
126
|
+
* The `Fn::GetAtt` intrinsic function returns the value of an attribute from
|
127
|
+
* a resource in the template. For more information about GetAtt return values
|
128
|
+
* for a particular resource, refer to the documentation for that resource in
|
129
|
+
* the Resource and Property Reference.
|
130
|
+
*
|
131
|
+
* @param logicalNameOfResource The logical name (also called logical ID) of
|
132
|
+
* the resource that contains the attribute that you want.
|
133
|
+
* @param attributeName The name of the resource-specific attribute whose
|
134
|
+
* value you want. See the resource's reference page for details about the
|
135
|
+
* attributes available for that resource type.
|
136
|
+
* @returns The attribute value.
|
137
|
+
*
|
138
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html | Fn::GetAtt}
|
139
|
+
*/
|
140
|
+
static getAtt(logicalNameOfResource: string, attributeName: string): IntrinsicValue;
|
141
|
+
/**
|
142
|
+
* The intrinsic function `Fn::GetAZs` returns an array that lists
|
143
|
+
* Availability Zones for a specified region. Because customers have access to
|
144
|
+
* different Availability Zones, the intrinsic function `Fn::GetAZs` enables
|
145
|
+
* template authors to write templates that adapt to the calling user's
|
146
|
+
* access. That way you don't have to hard-code a full list of Availability
|
147
|
+
* Zones for a specified region.
|
148
|
+
*
|
149
|
+
* @param region The name of the region for which you want to get the
|
150
|
+
* Availability Zones. You can use the AWS::Region pseudo parameter to
|
151
|
+
* specify the region in which the stack is created. Specifying an empty
|
152
|
+
* string is equivalent to specifying AWS::Region.
|
153
|
+
* @returns The list of Availability Zones for the region.
|
154
|
+
*
|
155
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getavailabilityzones.html | Fn::GetAZs}
|
156
|
+
*/
|
157
|
+
static getAZs(region: string): IntrinsicValue;
|
158
|
+
/**
|
159
|
+
* Returns one value if the specified condition evaluates to true and another
|
160
|
+
* value if the specified condition evaluates to false. Currently, AWS
|
161
|
+
* CloudFormation supports the Fn::If intrinsic function in the metadata
|
162
|
+
* attribute, update policy attribute, and property values in the Resources
|
163
|
+
* section and Outputs sections of a template. You can use the `AWS::NoValue`
|
164
|
+
* pseudo parameter as a return value to remove the corresponding property.
|
165
|
+
*
|
166
|
+
* @param conditionName A reference to a condition in the Conditions section.
|
167
|
+
* Use the condition's name to reference it.
|
168
|
+
* @param valueIfTrue A value to be returned if the specified condition
|
169
|
+
* evaluates to true.
|
170
|
+
* @param valueIfFalse A value to be returned if the specified condition
|
171
|
+
* evaluates to false.
|
172
|
+
*
|
173
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-if | Fn::If}
|
174
|
+
*/
|
175
|
+
static ifThen(conditionName: string, valueIfTrue: IntrinsicValue, valueIfFalse: IntrinsicValue): IntrinsicValue;
|
176
|
+
/**
|
177
|
+
* The intrinsic function `Fn::ImportValue` returns the value of an output
|
178
|
+
* exported by another stack. You typically use this function to create
|
179
|
+
* cross-stack references. In the following example template snippets, Stack A
|
180
|
+
* exports VPC security group values and Stack B imports them.
|
181
|
+
*
|
182
|
+
* @param sharedValueToImport The stack output value that you want to import.
|
183
|
+
* @returns The stack output value.
|
184
|
+
*
|
185
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html | Fn::ImportValue}
|
186
|
+
*/
|
187
|
+
static importValue(sharedValueToImport: string): IntrinsicValue;
|
188
|
+
/**
|
189
|
+
* The intrinsic function `Fn::Join` appends a set of values into a single
|
190
|
+
* value, separated by the specified delimiter. If a delimiter is the empty
|
191
|
+
* string, the set of values are concatenated with no delimiter.
|
192
|
+
*
|
193
|
+
* @param delimiter The value you want to occur between fragments. The
|
194
|
+
* delimiter will occur between fragments only. It will not terminate the
|
195
|
+
* final value.
|
196
|
+
* @param listOfValues The list of values you want combined.
|
197
|
+
* @returns The combined string.
|
198
|
+
*
|
199
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-join.html | Fn::Join}
|
200
|
+
*/
|
201
|
+
static join(delimiter: string, listOfValues: IntrinsicValue[]): IntrinsicValue;
|
202
|
+
/**
|
203
|
+
* Constructs a string value using {@link Fn.join} from a tagged template
|
204
|
+
* literal.
|
205
|
+
*/
|
206
|
+
static join$(literals: TemplateStringsArray, ...values: unknown[]): IntrinsicValue;
|
207
|
+
/**
|
208
|
+
* Returns true for a condition that evaluates to false or returns false for a
|
209
|
+
* condition that evaluates to true. `Fn::Not` acts as a NOT operator.
|
210
|
+
*
|
211
|
+
* @param condition A condition such as `Fn::Equals` that evaluates to true or
|
212
|
+
* false.
|
213
|
+
*
|
214
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-not | Fn::Not}
|
215
|
+
*/
|
216
|
+
static not(condition: string): IntrinsicValue;
|
217
|
+
/**
|
218
|
+
* Returns true if any one of the specified conditions evaluate to true, or
|
219
|
+
* returns false if all of the conditions evaluates to false. `Fn::Or` acts as
|
220
|
+
* an OR operator. The minimum number of conditions that you can include is 2,
|
221
|
+
* and the maximum is 10.
|
222
|
+
*
|
223
|
+
* @param conditions A condition that evaluates to true or false.
|
224
|
+
*
|
225
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-or | Fn::Or}
|
226
|
+
*/
|
227
|
+
static or(...conditions: IntrinsicValue[]): IntrinsicValue;
|
228
|
+
/**
|
229
|
+
* The intrinsic function Ref returns the value of the specified parameter or
|
230
|
+
* resource.
|
231
|
+
*
|
232
|
+
* - When you specify a parameter's logical name, it returns the value of the
|
233
|
+
* parameter.
|
234
|
+
*
|
235
|
+
* - When you specify a resource's logical name, it returns a value that you
|
236
|
+
* can typically use to refer to that resource, such as a physical ID.
|
237
|
+
*
|
238
|
+
* When you are declaring a resource in a template and you need to specify
|
239
|
+
* another template resource by name, you can use the Ref to refer to that
|
240
|
+
* other resource. In general, Ref returns the name of the resource. For
|
241
|
+
* example, a reference to an AWS::AutoScaling::AutoScalingGroup returns the
|
242
|
+
* name of that Auto Scaling group resource.
|
243
|
+
*
|
244
|
+
* @param logicalName The logical name of the resource or parameter you want
|
245
|
+
* to dereference.
|
246
|
+
*
|
247
|
+
* @returns The physical ID of the resource or the value of the parameter.
|
248
|
+
*
|
249
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html | Ref}
|
250
|
+
*/
|
251
|
+
static ref(logicalName: string): IntrinsicValue;
|
252
|
+
/**
|
253
|
+
* Returns all values for a specified parameter type.
|
254
|
+
*
|
255
|
+
* @param parameterType An AWS-specific parameter type, such as
|
256
|
+
* `AWS::EC2::SecurityGroup::Id` or `AWS::EC2::VPC::Id`. For more information,
|
257
|
+
* see Parameters in the AWS CloudFormation User Guide.
|
258
|
+
*
|
259
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-rules.html#fn-refall | Fn::RefAll}
|
260
|
+
*/
|
261
|
+
static refAll(parameterType: string): IntrinsicValue;
|
262
|
+
/**
|
263
|
+
* The intrinsic function `Fn::Select` returns a single object from a list of
|
264
|
+
* objects by index.
|
265
|
+
*
|
266
|
+
* @param index The index of the object to retrieve. This must be a value from
|
267
|
+
* zero to N-1, where N represents the number of elements in the array.
|
268
|
+
* @param listOfObjects The list of objects to select from. This list must not
|
269
|
+
* be null, nor can it have null entries.
|
270
|
+
* @returns The selected object.
|
271
|
+
*
|
272
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-select.html | Fn::Select}
|
273
|
+
*/
|
274
|
+
static select(index: number, listOfObjects: IntrinsicValue[]): IntrinsicValue;
|
275
|
+
/**
|
276
|
+
* To split a string into a list of string values so that you can select an
|
277
|
+
* element from the resulting string list, use the `Fn::Split` intrinsic
|
278
|
+
* function. Specify the location of splits with a delimiter, such as , (a
|
279
|
+
* comma). After you split a string, use the `Fn::Select` function to pick a
|
280
|
+
* specific element.
|
281
|
+
*
|
282
|
+
* @param delimiter A string value that determines where the source string is
|
283
|
+
* divided.
|
284
|
+
* @param sourceString The string value that you want to split.
|
285
|
+
* @returns A list of string values.
|
286
|
+
*
|
287
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-split.html | Fn::Split}
|
288
|
+
*/
|
289
|
+
static split(delimiter: string, sourceString: string): IntrinsicValue;
|
290
|
+
/**
|
291
|
+
* The intrinsic function `Fn::Sub` substitutes variables in an input string
|
292
|
+
* with values that you specify. In your templates, you can use this function
|
293
|
+
* to construct commands or outputs that include values that aren't available
|
294
|
+
* until you create or update a stack.
|
295
|
+
*
|
296
|
+
* @param text A string with variables that AWS CloudFormation substitutes
|
297
|
+
* with their associated values at runtime. Write variables as `${MyVarName}`.
|
298
|
+
* Variables can be template parameter names, resource logical IDs,
|
299
|
+
* resource attributes, or a variable in a key-value map. If you specify only
|
300
|
+
* template parameter names, resource logical IDs, and resource attributes,
|
301
|
+
* don't specify a key-value map.
|
302
|
+
*
|
303
|
+
* If you specify template parameter names or resource logical IDs, such as
|
304
|
+
* `${InstanceTypeParameter}` AWS CloudFormation returns the same values as if
|
305
|
+
* you used the Ref intrinsic function. If you specify resource attributes,
|
306
|
+
* such as `${MyInstance.PublicIp}` AWS CloudFormation returns the same values
|
307
|
+
* as if you used the `Fn::GetAtt` intrinsic function.
|
308
|
+
*
|
309
|
+
* To write a dollar sign and curly braces (`${}`) literally, add an
|
310
|
+
* exclamation point (!) after the open curly brace, such as `${!Literal}`.
|
311
|
+
* AWS CloudFormation resolves this text as `${Literal}`.
|
312
|
+
*
|
313
|
+
* @param values A map of values that AWS CloudFormation substitutes for the
|
314
|
+
* associated variable names at runtime.
|
315
|
+
*
|
316
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-sub.html | Fn::Sub}
|
317
|
+
*/
|
318
|
+
static sub(text: string, values: Record<string, IntrinsicValue>): IntrinsicValue;
|
319
|
+
/**
|
320
|
+
* Returns an attribute value or list of values for a specific parameter and
|
321
|
+
* attribute.
|
322
|
+
*
|
323
|
+
* @param attribute The name of an attribute from which you want to retrieve a
|
324
|
+
* value.
|
325
|
+
* @param parameterLogicalId The name of a parameter for which you want to
|
326
|
+
* retrieve attribute values. The parameter must be declared in the
|
327
|
+
* `Parameters` section of the template.
|
328
|
+
*
|
329
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-rules.html#fn-valueof | Fn::ValueOf}
|
330
|
+
*/
|
331
|
+
static valueOf(attribute: string, parameterLogicalId: string): IntrinsicValue;
|
332
|
+
/**
|
333
|
+
* Returns a list of all attribute values for a given parameter type and
|
334
|
+
* attribute.
|
335
|
+
*
|
336
|
+
* @param parameterType An AWS-specific parameter type, such as
|
337
|
+
* `AWS::EC2::SecurityGroup::Id` or `AWS::EC2::VPC::Id`. For more information,
|
338
|
+
* see Parameters in the AWS CloudFormation User Guide.
|
339
|
+
* @param attribute The name of an attribute from which you want to retrieve a
|
340
|
+
* value.
|
341
|
+
*
|
342
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-rules.html#fn-valueofall | Fn::ValueOfAll}
|
343
|
+
*/
|
344
|
+
static valueOfAll(parameterType: string, attribute: string): IntrinsicValue;
|
345
|
+
/**
|
346
|
+
* Create an arbitrary intrinsic function value.
|
347
|
+
*
|
348
|
+
* @param fn The name of the intrinsic function.
|
349
|
+
* @param args The arguments for the intrinsic function.
|
350
|
+
*/
|
351
|
+
constructor(fn: string, args: IntrinsicValue);
|
352
|
+
/**
|
353
|
+
* Get the JSON representation for this instance.
|
354
|
+
*/
|
355
|
+
toJSON(): IntrinsicValue;
|
356
|
+
}
|
357
|
+
/**
|
358
|
+
* Pseudo parameters are parameters that are predefined by AWS CloudFormation.
|
359
|
+
* You don't declare them in your template. Use them the same way as you would a
|
360
|
+
* parameter, as the argument for the Ref function.
|
361
|
+
*
|
362
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html | Psuedo Parameter Reference}
|
363
|
+
*/
|
364
|
+
export declare class AwsParam {
|
365
|
+
/**
|
366
|
+
* Returns the AWS account ID of the account in which the stack is being
|
367
|
+
* created, such as `123456789012`.
|
368
|
+
*
|
369
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-accountid | AWS::AccountId}
|
370
|
+
*/
|
371
|
+
static get AccountId(): IntrinsicValue;
|
372
|
+
/**
|
373
|
+
* Returns the list of notification Amazon Resource Names (ARNs) for the
|
374
|
+
* current stack.
|
375
|
+
*
|
376
|
+
* To get a single ARN from the list, use {@link Fn.split}.
|
377
|
+
*
|
378
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-notificationarns | AWS::NotificationARNs}
|
379
|
+
*/
|
380
|
+
static get NotificationARNs(): IntrinsicValue;
|
381
|
+
/**
|
382
|
+
* Removes the corresponding resource property when specified as a return
|
383
|
+
* value in the `Fn::If` intrinsic function.
|
384
|
+
*
|
385
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-novalue | AWS::NoValue}
|
386
|
+
*/
|
387
|
+
static get NoValue(): IntrinsicValue;
|
388
|
+
/**
|
389
|
+
* Returns the partition that the resource is in. For standard AWS Regions,
|
390
|
+
* the partition is `aws`. For resources in other partitions, the partition is
|
391
|
+
* `aws-partitionname`. For example, the partition for resources in the China
|
392
|
+
* (Beijing and Ningxia) Region is `aws-cn` and the partition for resources in
|
393
|
+
* the AWS GovCloud (US-West) region is `aws-us-gov`.
|
394
|
+
*
|
395
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-partition | AWS::Partition}
|
396
|
+
*/
|
397
|
+
static get Partition(): IntrinsicValue;
|
398
|
+
/**
|
399
|
+
* Returns a string representing the Region in which the encompassing resource
|
400
|
+
* is being created, such as `us-west-2`.
|
401
|
+
*
|
402
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-region | AWS::Region}
|
403
|
+
*/
|
404
|
+
static get Region(): IntrinsicValue;
|
405
|
+
/**
|
406
|
+
* Returns the ID of the stack as specified with the aws cloudformation
|
407
|
+
* create-stack command, such as
|
408
|
+
* `arn:aws:cloudformation:us-west-2:123456789012:stack/teststack/51af3dc0-da77-11e4-872e-1234567db123`.
|
409
|
+
*
|
410
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-stackid | AWS::StackId}
|
411
|
+
*/
|
412
|
+
static get StackId(): IntrinsicValue;
|
413
|
+
/**
|
414
|
+
* Returns the name of the stack as specified with the aws cloudformation
|
415
|
+
* `create-stack` command, such as `teststack`.
|
416
|
+
*
|
417
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-stackname | AWS::StackName}
|
418
|
+
*/
|
419
|
+
static get StackName(): IntrinsicValue;
|
420
|
+
/**
|
421
|
+
* Returns the suffix for a domain. The suffix is typically `amazonaws.com`,
|
422
|
+
* but might differ by Region. For example, the suffix for the China (Beijing)
|
423
|
+
* Region is `amazonaws.com.cn`.
|
424
|
+
*
|
425
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-urlsuffix | AWS::URLSuffix}
|
426
|
+
*/
|
427
|
+
static get URLSuffix(): IntrinsicValue;
|
428
|
+
}
|