@aws-cdk/cfn-property-mixins 2.267.0 → 2.269.0
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/.jsii.gz +0 -0
- package/.jsii.tabl.json.gz +0 -0
- package/.warnings.jsii.js +835 -55
- package/lib/services/alexa-ask/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-accessanalyzer/cfn-props-mixins.generated.d.ts +84 -0
- package/lib/services/aws-accessanalyzer/cfn-props-mixins.generated.js +54 -2
- package/lib/services/aws-accountaccess/.jsiirc.json +13 -0
- package/lib/services/aws-accountaccess/cfn-props-mixins.generated.d.ts +196 -0
- package/lib/services/aws-accountaccess/cfn-props-mixins.generated.js +141 -0
- package/lib/services/aws-acmpca/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-agentregistry/.jsiirc.json +13 -0
- package/lib/services/aws-agentregistry/cfn-props-mixins.generated.d.ts +718 -0
- package/lib/services/aws-agentregistry/cfn-props-mixins.generated.js +141 -0
- package/lib/services/aws-aiops/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-amazonmq/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-amplify/cfn-props-mixins.generated.d.ts +63 -0
- package/lib/services/aws-amplify/cfn-props-mixins.generated.js +56 -4
- package/lib/services/aws-amplifyuibuilder/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-apigateway/cfn-props-mixins.generated.d.ts +4 -0
- package/lib/services/aws-apigateway/cfn-props-mixins.generated.js +23 -23
- package/lib/services/aws-apigatewayv2/cfn-props-mixins.generated.d.ts +55 -0
- package/lib/services/aws-apigatewayv2/cfn-props-mixins.generated.js +65 -15
- package/lib/services/aws-appconfig/cfn-props-mixins.generated.d.ts +281 -0
- package/lib/services/aws-appconfig/cfn-props-mixins.generated.js +109 -9
- package/lib/services/aws-appflow/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-appintegrations/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-applicationautoscaling/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-applicationinsights/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-applicationsignals/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-appmesh/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-apprunner/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-appstream/cfn-props-mixins.generated.js +13 -13
- package/lib/services/aws-appsync/cfn-props-mixins.generated.d.ts +55 -0
- package/lib/services/aws-appsync/cfn-props-mixins.generated.js +63 -13
- package/lib/services/aws-apptest/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-aps/cfn-props-mixins.generated.d.ts +21 -0
- package/lib/services/aws-aps/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-arcregionswitch/cfn-props-mixins.generated.d.ts +43 -0
- package/lib/services/aws-arcregionswitch/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-arczonalshift/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-athena/cfn-props-mixins.generated.d.ts +0 -96
- package/lib/services/aws-athena/cfn-props-mixins.generated.js +6 -56
- package/lib/services/aws-auditmanager/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-autoscaling/cfn-props-mixins.generated.d.ts +15 -0
- package/lib/services/aws-autoscaling/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-autoscalingplans/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-awsexternalanthropic/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-b2bi/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-backup/cfn-props-mixins.generated.js +10 -10
- package/lib/services/aws-backupgateway/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-batch/cfn-props-mixins.generated.d.ts +173 -0
- package/lib/services/aws-batch/cfn-props-mixins.generated.js +10 -8
- package/lib/services/aws-bcm/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-bcmdataexports/cfn-props-mixins.generated.d.ts +0 -72
- package/lib/services/aws-bcmdataexports/cfn-props-mixins.generated.js +2 -52
- package/lib/services/aws-bcmpricingcalculator/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-bedrock/cfn-props-mixins.generated.d.ts +55 -207
- package/lib/services/aws-bedrock/cfn-props-mixins.generated.js +70 -120
- package/lib/services/aws-bedrockagentcore/cfn-props-mixins.generated.d.ts +2148 -839
- package/lib/services/aws-bedrockagentcore/cfn-props-mixins.generated.js +189 -141
- package/lib/services/aws-bedrockmantle/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-billingconductor/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-braket/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-budgets/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-cases/cfn-props-mixins.generated.d.ts +67 -0
- package/lib/services/aws-cases/cfn-props-mixins.generated.js +56 -6
- package/lib/services/aws-cassandra/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-ce/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-certificatemanager/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-chatbot/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-chime/cfn-props-mixins.generated.d.ts +227 -0
- package/lib/services/aws-chime/cfn-props-mixins.generated.js +106 -4
- package/lib/services/aws-cleanrooms/cfn-props-mixins.generated.d.ts +130 -0
- package/lib/services/aws-cleanrooms/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-cleanroomsml/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-cloud9/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-cloudformation/cfn-props-mixins.generated.d.ts +146 -60
- package/lib/services/aws-cloudformation/cfn-props-mixins.generated.js +70 -70
- package/lib/services/aws-cloudfront/cfn-props-mixins.generated.js +20 -20
- package/lib/services/{aws-artifact → aws-cloudhsm}/.jsiirc.json +3 -3
- package/lib/services/aws-cloudhsm/cfn-props-mixins.generated.d.ts +121 -0
- package/lib/services/{aws-artifact → aws-cloudhsm}/cfn-props-mixins.generated.js +14 -14
- package/lib/services/aws-cloudtrail/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-cloudwatch/cfn-props-mixins.generated.d.ts +117 -30
- package/lib/services/aws-cloudwatch/cfn-props-mixins.generated.js +11 -11
- package/lib/services/aws-codeartifact/cfn-props-mixins.generated.d.ts +0 -105
- package/lib/services/aws-codeartifact/cfn-props-mixins.generated.js +4 -54
- package/lib/services/aws-codebuild/cfn-props-mixins.generated.d.ts +0 -43
- package/lib/services/aws-codebuild/cfn-props-mixins.generated.js +5 -55
- package/lib/services/aws-codecommit/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-codeconnections/cfn-props-mixins.generated.d.ts +104 -0
- package/lib/services/aws-codeconnections/cfn-props-mixins.generated.js +54 -2
- package/lib/services/aws-codedeploy/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-codeguruprofiler/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-codegurureviewer/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-codepipeline/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-codestar/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-codestarconnections/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-codestarnotifications/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-cognito/cfn-props-mixins.generated.js +18 -18
- package/lib/services/aws-comprehend/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-computeoptimizer/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-config/cfn-props-mixins.generated.js +11 -11
- package/lib/services/aws-connect/cfn-props-mixins.generated.d.ts +249 -12
- package/lib/services/aws-connect/cfn-props-mixins.generated.js +87 -37
- package/lib/services/aws-connectcampaigns/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-connectcampaignsv2/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-controltower/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-cur/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-customerprofiles/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-databrew/cfn-props-mixins.generated.js +6 -6
- package/lib/services/{aws-backupsearch → aws-dataexchange}/.jsiirc.json +3 -3
- package/lib/services/aws-dataexchange/cfn-props-mixins.generated.d.ts +230 -0
- package/lib/services/aws-dataexchange/cfn-props-mixins.generated.js +141 -0
- package/lib/services/aws-datapipeline/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-datasync/cfn-props-mixins.generated.js +13 -13
- package/lib/services/aws-datazone/cfn-props-mixins.generated.js +17 -17
- package/lib/services/aws-dax/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-deadline/cfn-props-mixins.generated.d.ts +285 -0
- package/lib/services/aws-deadline/cfn-props-mixins.generated.js +112 -12
- package/lib/services/aws-detective/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-devicefarm/cfn-props-mixins.generated.d.ts +61 -0
- package/lib/services/aws-devicefarm/cfn-props-mixins.generated.js +57 -7
- package/lib/services/aws-devopsagent/cfn-props-mixins.generated.d.ts +250 -0
- package/lib/services/aws-devopsagent/cfn-props-mixins.generated.js +110 -6
- package/lib/services/aws-devopsguru/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-directconnect/cfn-props-mixins.generated.d.ts +24 -0
- package/lib/services/aws-directconnect/cfn-props-mixins.generated.js +10 -10
- package/lib/services/aws-directoryservice/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-dlm/cfn-props-mixins.generated.d.ts +4 -0
- package/lib/services/aws-dlm/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-dms/cfn-props-mixins.generated.js +11 -11
- package/lib/services/aws-docdb/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-docdbelastic/cfn-props-mixins.generated.js +1 -1
- package/lib/services/{aws-states → aws-drs}/.jsiirc.json +3 -3
- package/lib/services/aws-drs/cfn-props-mixins.generated.d.ts +65 -0
- package/lib/services/{aws-states → aws-drs}/cfn-props-mixins.generated.js +14 -14
- package/lib/services/aws-dsql/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-dynamodb/cfn-props-mixins.generated.d.ts +25 -47
- package/lib/services/aws-dynamodb/cfn-props-mixins.generated.js +15 -15
- package/lib/services/aws-ec2/cfn-props-mixins.generated.d.ts +545 -23
- package/lib/services/aws-ec2/cfn-props-mixins.generated.js +322 -118
- package/lib/services/aws-ecr/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-ecs/cfn-props-mixins.generated.js +10 -10
- package/lib/services/aws-efs/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-eks/cfn-props-mixins.generated.d.ts +464 -105
- package/lib/services/aws-eks/cfn-props-mixins.generated.js +60 -10
- package/lib/services/aws-elasticache/cfn-props-mixins.generated.d.ts +96 -60
- package/lib/services/aws-elasticache/cfn-props-mixins.generated.js +54 -54
- package/lib/services/aws-elasticbeanstalk/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-elasticloadbalancing/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-elasticloadbalancingv2/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-elasticsearch/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-elementalinference/cfn-props-mixins.generated.d.ts +54 -1
- package/lib/services/aws-elementalinference/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-emr/cfn-props-mixins.generated.d.ts +0 -156
- package/lib/services/aws-emr/cfn-props-mixins.generated.js +9 -61
- package/lib/services/aws-emrcontainers/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-emrserverless/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-entityresolution/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-events/cfn-props-mixins.generated.d.ts +0 -84
- package/lib/services/aws-events/cfn-props-mixins.generated.js +1 -40
- package/lib/services/aws-eventschemas/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-evidently/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-evs/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-finspace/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-fis/cfn-props-mixins.generated.d.ts +0 -45
- package/lib/services/aws-fis/cfn-props-mixins.generated.js +3 -55
- package/lib/services/aws-fms/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-forecast/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-frauddetector/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-fsx/cfn-props-mixins.generated.d.ts +19 -0
- package/lib/services/aws-fsx/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-gamelift/cfn-props-mixins.generated.d.ts +179 -179
- package/lib/services/aws-gamelift/cfn-props-mixins.generated.js +11 -11
- package/lib/services/aws-gameliftstreams/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-globalaccelerator/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-glue/cfn-props-mixins.generated.d.ts +261 -76
- package/lib/services/aws-glue/cfn-props-mixins.generated.js +81 -29
- package/lib/services/aws-grafana/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-greengrass/cfn-props-mixins.generated.js +16 -16
- package/lib/services/aws-greengrassv2/cfn-props-mixins.generated.d.ts +0 -128
- package/lib/services/aws-greengrassv2/cfn-props-mixins.generated.js +3 -103
- package/lib/services/aws-groundstation/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-guardduty/cfn-props-mixins.generated.d.ts +82 -0
- package/lib/services/aws-guardduty/cfn-props-mixins.generated.js +63 -11
- package/lib/services/aws-healthimaging/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-healthlake/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-iam/cfn-props-mixins.generated.js +16 -16
- package/lib/services/aws-identitystore/cfn-props-mixins.generated.d.ts +306 -25
- package/lib/services/aws-identitystore/cfn-props-mixins.generated.js +15 -15
- package/lib/services/aws-imagebuilder/cfn-props-mixins.generated.d.ts +0 -261
- package/lib/services/aws-imagebuilder/cfn-props-mixins.generated.js +10 -216
- package/lib/services/aws-inspector/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-inspectorv2/cfn-props-mixins.generated.d.ts +187 -0
- package/lib/services/aws-inspectorv2/cfn-props-mixins.generated.js +55 -5
- package/lib/services/aws-interconnect/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-internetmonitor/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-invoicing/cfn-props-mixins.generated.d.ts +270 -0
- package/lib/services/aws-invoicing/cfn-props-mixins.generated.js +52 -2
- package/lib/services/aws-iot/cfn-props-mixins.generated.d.ts +618 -0
- package/lib/services/aws-iot/cfn-props-mixins.generated.js +137 -32
- package/lib/services/aws-iotanalytics/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-iotcoredeviceadvisor/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-iotevents/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-iotfleethub/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-iotfleetwise/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-iotsecuretunneling/.jsiirc.json +13 -0
- package/lib/services/aws-iotsecuretunneling/cfn-props-mixins.generated.d.ts +103 -0
- package/lib/services/{aws-backupsearch → aws-iotsecuretunneling}/cfn-props-mixins.generated.js +14 -14
- package/lib/services/aws-iotsitewise/cfn-props-mixins.generated.d.ts +339 -0
- package/lib/services/aws-iotsitewise/cfn-props-mixins.generated.js +164 -10
- package/lib/services/aws-iotthingsgraph/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-iottwinmaker/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-iotwireless/cfn-props-mixins.generated.js +11 -11
- package/lib/services/aws-ivs/cfn-props-mixins.generated.js +10 -10
- package/lib/services/aws-ivschat/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-kafkaconnect/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-kendra/cfn-props-mixins.generated.d.ts +196 -0
- package/lib/services/aws-kendra/cfn-props-mixins.generated.js +108 -4
- package/lib/services/aws-kendraranking/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-kinesis/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-kinesisanalytics/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-kinesisanalyticsv2/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-kinesisfirehose/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-kinesisvideo/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-kms/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-lakeformation/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-lambda/cfn-props-mixins.generated.d.ts +103 -0
- package/lib/services/aws-lambda/cfn-props-mixins.generated.js +80 -15
- package/lib/services/aws-launchwizard/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-lex/cfn-props-mixins.generated.d.ts +52 -0
- package/lib/services/aws-lex/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-licensemanager/cfn-props-mixins.generated.d.ts +243 -0
- package/lib/services/aws-licensemanager/cfn-props-mixins.generated.js +53 -3
- package/lib/services/aws-lightsail/cfn-props-mixins.generated.d.ts +49 -0
- package/lib/services/aws-lightsail/cfn-props-mixins.generated.js +66 -16
- package/lib/services/aws-location/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-logs/cfn-props-mixins.generated.d.ts +47 -0
- package/lib/services/aws-logs/cfn-props-mixins.generated.js +68 -16
- package/lib/services/aws-lookoutequipment/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-lookoutmetrics/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-lookoutvision/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-m2/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-macie/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-managedblockchain/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-mediaconnect/cfn-props-mixins.generated.d.ts +19 -0
- package/lib/services/aws-mediaconnect/cfn-props-mixins.generated.js +13 -13
- package/lib/services/aws-mediaconvert/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-medialive/cfn-props-mixins.generated.d.ts +27 -96
- package/lib/services/aws-medialive/cfn-props-mixins.generated.js +16 -66
- package/lib/services/aws-mediapackage/cfn-props-mixins.generated.d.ts +0 -100
- package/lib/services/aws-mediapackage/cfn-props-mixins.generated.js +6 -58
- package/lib/services/aws-mediapackagev2/cfn-props-mixins.generated.d.ts +24 -0
- package/lib/services/aws-mediapackagev2/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-mediastore/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-mediatailor/cfn-props-mixins.generated.d.ts +607 -0
- package/lib/services/aws-mediatailor/cfn-props-mixins.generated.js +108 -8
- package/lib/services/aws-memorydb/cfn-props-mixins.generated.d.ts +0 -97
- package/lib/services/aws-memorydb/cfn-props-mixins.generated.js +7 -109
- package/lib/services/{aws-cognitosync → aws-mgn}/.jsiirc.json +3 -3
- package/lib/services/aws-mgn/cfn-props-mixins.generated.d.ts +193 -0
- package/lib/services/aws-mgn/cfn-props-mixins.generated.js +91 -0
- package/lib/services/aws-mpa/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-msk/cfn-props-mixins.generated.d.ts +724 -0
- package/lib/services/aws-msk/cfn-props-mixins.generated.js +70 -9
- package/lib/services/aws-mwaa/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-mwaaserverless/cfn-props-mixins.generated.d.ts +42 -0
- package/lib/services/aws-mwaaserverless/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-neptune/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-neptunegraph/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-networkfirewall/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-networkflowmonitor/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-networkmanager/cfn-props-mixins.generated.js +16 -16
- package/lib/services/aws-nimblestudio/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-notifications/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-notificationscontacts/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-novaact/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-oam/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-observabilityadmin/cfn-props-mixins.generated.d.ts +39 -0
- package/lib/services/aws-observabilityadmin/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-odb/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-omics/cfn-props-mixins.generated.d.ts +35 -40
- package/lib/services/aws-omics/cfn-props-mixins.generated.js +21 -21
- package/lib/services/{aws-thinclient → aws-opensearch}/.jsiirc.json +3 -3
- package/lib/services/aws-opensearch/cfn-props-mixins.generated.d.ts +97 -0
- package/lib/services/aws-opensearch/cfn-props-mixins.generated.js +78 -0
- package/lib/services/aws-opensearch/index.d.ts +1 -0
- package/lib/services/aws-opensearch/index.js +17 -0
- package/lib/services/aws-opensearchserverless/cfn-props-mixins.generated.d.ts +1 -1
- package/lib/services/aws-opensearchserverless/cfn-props-mixins.generated.js +10 -10
- package/lib/services/aws-opensearchservice/cfn-props-mixins.generated.d.ts +4 -0
- package/lib/services/aws-opensearchservice/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-opsworks/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-opsworkscm/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-organizations/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-osis/cfn-props-mixins.generated.d.ts +0 -43
- package/lib/services/aws-osis/cfn-props-mixins.generated.js +2 -52
- package/lib/services/aws-outposts/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-panorama/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-paymentcryptography/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-pcaconnectorad/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-pcaconnectorscep/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-pcs/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-personalize/cfn-props-mixins.generated.d.ts +145 -55
- package/lib/services/aws-personalize/cfn-props-mixins.generated.js +33 -33
- package/lib/services/aws-pinpoint/cfn-props-mixins.generated.js +19 -19
- package/lib/services/aws-pinpointemail/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-pipes/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-pricingplanmanager/.jsiirc.json +13 -0
- package/lib/services/aws-pricingplanmanager/cfn-props-mixins.generated.d.ts +67 -0
- package/lib/services/{aws-usernotifications → aws-pricingplanmanager}/cfn-props-mixins.generated.js +15 -15
- package/lib/services/aws-pricingplanmanager/index.d.ts +1 -0
- package/lib/services/aws-pricingplanmanager/index.js +17 -0
- package/lib/services/aws-proton/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-qbusiness/cfn-props-mixins.generated.js +8 -8
- package/lib/services/aws-qldb/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-quicksight/cfn-props-mixins.generated.d.ts +464 -0
- package/lib/services/aws-quicksight/cfn-props-mixins.generated.js +218 -18
- package/lib/services/aws-ram/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-rbin/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-rds/cfn-props-mixins.generated.d.ts +122 -0
- package/lib/services/aws-rds/cfn-props-mixins.generated.js +117 -17
- package/lib/services/aws-redshift/cfn-props-mixins.generated.d.ts +65 -0
- package/lib/services/aws-redshift/cfn-props-mixins.generated.js +61 -11
- package/lib/services/aws-redshiftserverless/cfn-props-mixins.generated.d.ts +0 -45
- package/lib/services/aws-redshiftserverless/cfn-props-mixins.generated.js +4 -56
- package/lib/services/aws-refactorspaces/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-rekognition/cfn-props-mixins.generated.d.ts +57 -0
- package/lib/services/aws-rekognition/cfn-props-mixins.generated.js +54 -4
- package/lib/services/aws-resiliencehub/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-resiliencehubv2/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-resourceexplorer2/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-resourcegroups/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-robomaker/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-rolesanywhere/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-route53/cfn-props-mixins.generated.d.ts +1 -75
- package/lib/services/aws-route53/cfn-props-mixins.generated.js +8 -8
- package/lib/services/aws-route53globalresolver/cfn-props-mixins.generated.d.ts +2 -2
- package/lib/services/aws-route53globalresolver/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-route53profiles/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-route53recoverycontrol/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-route53recoveryreadiness/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-route53resolver/cfn-props-mixins.generated.js +11 -11
- package/lib/services/aws-rtbfabric/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-rum/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-s3/cfn-props-mixins.generated.d.ts +34 -24
- package/lib/services/aws-s3/cfn-props-mixins.generated.js +10 -10
- package/lib/services/aws-s3express/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-s3files/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-s3objectlambda/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-s3outposts/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-s3tables/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-s3vectors/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-sagemaker/cfn-props-mixins.generated.d.ts +971 -630
- package/lib/services/aws-sagemaker/cfn-props-mixins.generated.js +169 -169
- package/lib/services/aws-sam/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-scheduler/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-scn/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-sdb/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-secretsmanager/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-securityagent/cfn-props-mixins.generated.d.ts +133 -0
- package/lib/services/aws-securityagent/cfn-props-mixins.generated.js +58 -6
- package/lib/services/aws-securityhub/cfn-props-mixins.generated.d.ts +0 -2
- package/lib/services/aws-securityhub/cfn-props-mixins.generated.js +16 -16
- package/lib/services/aws-securitylake/cfn-props-mixins.generated.js +4 -4
- package/lib/services/{aws-controlcatalog → aws-serverlessrepo}/.jsiirc.json +3 -3
- package/lib/services/aws-serverlessrepo/cfn-props-mixins.generated.d.ts +107 -0
- package/lib/services/{aws-cognitosync → aws-serverlessrepo}/cfn-props-mixins.generated.js +14 -16
- package/lib/services/aws-serverlessrepo/index.d.ts +1 -0
- package/lib/services/aws-serverlessrepo/index.js +17 -0
- package/lib/services/aws-servicecatalog/cfn-props-mixins.generated.js +16 -16
- package/lib/services/aws-servicecatalogappregistry/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-servicediscovery/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-ses/cfn-props-mixins.generated.js +21 -21
- package/lib/services/aws-shield/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-signer/cfn-props-mixins.generated.d.ts +0 -125
- package/lib/services/aws-signer/cfn-props-mixins.generated.js +3 -55
- package/lib/services/aws-simspaceweaver/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-smsvoice/cfn-props-mixins.generated.js +8 -8
- package/lib/services/aws-sns/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-sqs/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-ssm/cfn-props-mixins.generated.d.ts +196 -17
- package/lib/services/aws-ssm/cfn-props-mixins.generated.js +77 -23
- package/lib/services/aws-ssmcontacts/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-ssmguiconnect/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-ssmincidents/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-ssmquicksetup/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-sso/cfn-props-mixins.generated.d.ts +0 -102
- package/lib/services/aws-sso/cfn-props-mixins.generated.js +7 -57
- package/lib/services/aws-stepfunctions/cfn-props-mixins.generated.d.ts +0 -185
- package/lib/services/aws-stepfunctions/cfn-props-mixins.generated.js +5 -57
- package/lib/services/aws-storagegateway/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-supportapp/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-supportauthz/.jsiirc.json +13 -0
- package/lib/services/aws-supportauthz/cfn-props-mixins.generated.d.ts +202 -0
- package/lib/services/aws-supportauthz/cfn-props-mixins.generated.js +93 -0
- package/lib/services/aws-supportauthz/index.d.ts +1 -0
- package/lib/services/aws-supportauthz/index.js +17 -0
- package/lib/services/aws-synthetics/cfn-props-mixins.generated.d.ts +84 -0
- package/lib/services/aws-synthetics/cfn-props-mixins.generated.js +20 -3
- package/lib/services/aws-systemsmanagersap/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-textract/.jsiirc.json +13 -0
- package/lib/services/aws-textract/cfn-props-mixins.generated.d.ts +73 -0
- package/lib/services/aws-textract/cfn-props-mixins.generated.js +91 -0
- package/lib/services/aws-textract/index.d.ts +1 -0
- package/lib/services/aws-textract/index.js +17 -0
- package/lib/services/aws-timestream/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-transcribe/cfn-props-mixins.generated.d.ts +0 -136
- package/lib/services/aws-transcribe/cfn-props-mixins.generated.js +2 -52
- package/lib/services/aws-transfer/cfn-props-mixins.generated.d.ts +63 -0
- package/lib/services/aws-transfer/cfn-props-mixins.generated.js +59 -9
- package/lib/services/aws-translate/.jsiirc.json +13 -0
- package/lib/services/aws-translate/cfn-props-mixins.generated.d.ts +132 -0
- package/lib/services/{aws-thinclient → aws-translate}/cfn-props-mixins.generated.js +14 -14
- package/lib/services/aws-translate/index.d.ts +1 -0
- package/lib/services/aws-translate/index.js +17 -0
- package/lib/services/aws-uxc/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-verifiedpermissions/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-voiceid/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-vpclattice/cfn-props-mixins.generated.js +14 -14
- package/lib/services/aws-waf/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-wafregional/cfn-props-mixins.generated.js +11 -11
- package/lib/services/aws-wafv2/cfn-props-mixins.generated.d.ts +90 -0
- package/lib/services/aws-wafv2/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-wellarchitected/cfn-props-mixins.generated.d.ts +159 -0
- package/lib/services/aws-wellarchitected/cfn-props-mixins.generated.js +54 -4
- package/lib/services/aws-wickr/.jsiirc.json +13 -0
- package/lib/services/aws-wickr/cfn-props-mixins.generated.d.ts +57 -0
- package/lib/services/{aws-controlcatalog → aws-wickr}/cfn-props-mixins.generated.js +16 -14
- package/lib/services/aws-wickr/index.d.ts +1 -0
- package/lib/services/aws-wickr/index.js +17 -0
- package/lib/services/aws-wisdom/cfn-props-mixins.generated.js +12 -12
- package/lib/services/aws-workspaces/cfn-props-mixins.generated.d.ts +1 -1
- package/lib/services/aws-workspaces/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-workspacesinstances/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-workspacesthinclient/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-workspacesweb/cfn-props-mixins.generated.js +10 -10
- package/lib/services/aws-xray/cfn-props-mixins.generated.js +4 -4
- package/lib/services/index.d.ts +13 -7
- package/lib/services/index.js +20 -13
- package/package.json +20 -13
- package/lib/services/aws-artifact/cfn-props-mixins.generated.d.ts +0 -41
- package/lib/services/aws-backupsearch/cfn-props-mixins.generated.d.ts +0 -91
- package/lib/services/aws-cognitosync/cfn-props-mixins.generated.d.ts +0 -63
- package/lib/services/aws-controlcatalog/cfn-props-mixins.generated.d.ts +0 -64
- package/lib/services/aws-states/cfn-props-mixins.generated.d.ts +0 -59
- package/lib/services/aws-thinclient/cfn-props-mixins.generated.d.ts +0 -70
- package/lib/services/aws-usernotifications/.jsiirc.json +0 -13
- package/lib/services/aws-usernotifications/cfn-props-mixins.generated.d.ts +0 -55
- /package/lib/services/{aws-artifact → aws-accountaccess}/index.d.ts +0 -0
- /package/lib/services/{aws-artifact → aws-accountaccess}/index.js +0 -0
- /package/lib/services/{aws-backupsearch → aws-agentregistry}/index.d.ts +0 -0
- /package/lib/services/{aws-backupsearch → aws-agentregistry}/index.js +0 -0
- /package/lib/services/{aws-cognitosync → aws-cloudhsm}/index.d.ts +0 -0
- /package/lib/services/{aws-cognitosync → aws-cloudhsm}/index.js +0 -0
- /package/lib/services/{aws-controlcatalog → aws-dataexchange}/index.d.ts +0 -0
- /package/lib/services/{aws-controlcatalog → aws-dataexchange}/index.js +0 -0
- /package/lib/services/{aws-states → aws-drs}/index.d.ts +0 -0
- /package/lib/services/{aws-states → aws-drs}/index.js +0 -0
- /package/lib/services/{aws-thinclient → aws-iotsecuretunneling}/index.d.ts +0 -0
- /package/lib/services/{aws-thinclient → aws-iotsecuretunneling}/index.js +0 -0
- /package/lib/services/{aws-usernotifications → aws-mgn}/index.d.ts +0 -0
- /package/lib/services/{aws-usernotifications → aws-mgn}/index.js +0 -0
|
@@ -1283,6 +1283,10 @@ export declare namespace CfnFunctionPropsMixin {
|
|
|
1283
1283
|
*/
|
|
1284
1284
|
readonly s3Key?: string;
|
|
1285
1285
|
/**
|
|
1286
|
+
* Specifies the storage mode for the deployment package.
|
|
1287
|
+
*
|
|
1288
|
+
* Use ``COPY`` to store the package in LAMlong-managed storage. Use ``REFERENCE`` to read the package directly from the Amazon S3 bucket. If omitted, the default is ``COPY``.
|
|
1289
|
+
*
|
|
1286
1290
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html#cfn-lambda-function-code-s3objectstoragemode
|
|
1287
1291
|
*/
|
|
1288
1292
|
readonly s3ObjectStorageMode?: string;
|
|
@@ -1333,6 +1337,23 @@ export declare namespace CfnFunctionPropsMixin {
|
|
|
1333
1337
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-filesystemconfig.html#cfn-lambda-function-filesystemconfig-localmountpath
|
|
1334
1338
|
*/
|
|
1335
1339
|
readonly localMountPath?: string;
|
|
1340
|
+
/**
|
|
1341
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-filesystemconfig.html#cfn-lambda-function-filesystemconfig-s3filesconfig
|
|
1342
|
+
*/
|
|
1343
|
+
readonly s3FilesConfig?: cdk.IResolvable | CfnFunctionPropsMixin.S3FilesConfigProperty;
|
|
1344
|
+
}
|
|
1345
|
+
/**
|
|
1346
|
+
* @struct
|
|
1347
|
+
* @stability external
|
|
1348
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-s3filesconfig.html
|
|
1349
|
+
*/
|
|
1350
|
+
interface S3FilesConfigProperty {
|
|
1351
|
+
/**
|
|
1352
|
+
* Specifies if a function reads from the file system for the lowest latency, or through Amazon S3 Files feature "direct Amazon S3 bucket reads" for the highest throughput.
|
|
1353
|
+
*
|
|
1354
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-s3filesconfig.html#cfn-lambda-function-s3filesconfig-directs3read
|
|
1355
|
+
*/
|
|
1356
|
+
readonly directS3Read?: string;
|
|
1336
1357
|
}
|
|
1337
1358
|
/**
|
|
1338
1359
|
* A function's environment variable settings.
|
|
@@ -1408,6 +1429,8 @@ export declare namespace CfnFunctionPropsMixin {
|
|
|
1408
1429
|
*/
|
|
1409
1430
|
readonly executionTimeout?: number;
|
|
1410
1431
|
/**
|
|
1432
|
+
* The ARN of the KMSlong (KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.
|
|
1433
|
+
*
|
|
1411
1434
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-durableconfig.html#cfn-lambda-function-durableconfig-kmskeyarn
|
|
1412
1435
|
*/
|
|
1413
1436
|
readonly kmsKeyArn?: string;
|
|
@@ -2557,6 +2580,8 @@ export declare namespace CfnCapacityProviderPropsMixin {
|
|
|
2557
2580
|
*/
|
|
2558
2581
|
interface CapacityProviderTelemetryConfigProperty {
|
|
2559
2582
|
/**
|
|
2583
|
+
* The capacity provider's Amazon CloudWatch Logs configuration settings.
|
|
2584
|
+
*
|
|
2560
2585
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityprovidertelemetryconfig.html#cfn-lambda-capacityprovider-capacityprovidertelemetryconfig-loggingconfig
|
|
2561
2586
|
*/
|
|
2562
2587
|
readonly loggingConfig?: CfnCapacityProviderPropsMixin.CapacityProviderLoggingConfigProperty | cdk.IResolvable;
|
|
@@ -2570,10 +2595,18 @@ export declare namespace CfnCapacityProviderPropsMixin {
|
|
|
2570
2595
|
*/
|
|
2571
2596
|
interface CapacityProviderLoggingConfigProperty {
|
|
2572
2597
|
/**
|
|
2598
|
+
* The name of the Amazon CloudWatch log group the capacity provider sends logs to.
|
|
2599
|
+
*
|
|
2600
|
+
* By default, Lambda capacity providers send logs to a default log group named ``/aws/lambda/capacity-provider/<capacity provider name>``. To use a different log group, enter an existing log group or enter a new log group name.
|
|
2601
|
+
*
|
|
2573
2602
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderloggingconfig.html#cfn-lambda-capacityprovider-capacityproviderloggingconfig-loggroup
|
|
2574
2603
|
*/
|
|
2575
2604
|
readonly logGroup?: string;
|
|
2576
2605
|
/**
|
|
2606
|
+
* Set this property to filter the system logs for your capacity provider that Lambda sends to CloudWatch.
|
|
2607
|
+
*
|
|
2608
|
+
* Lambda only sends system logs at the selected level of detail and lower, where ``DEBUG`` is the highest level and ``WARN`` is the lowest.
|
|
2609
|
+
*
|
|
2577
2610
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderloggingconfig.html#cfn-lambda-capacityprovider-capacityproviderloggingconfig-systemloglevel
|
|
2578
2611
|
*/
|
|
2579
2612
|
readonly systemLogLevel?: string;
|
|
@@ -2628,6 +2661,8 @@ export interface CfnCapacityProviderMixinProps {
|
|
|
2628
2661
|
*/
|
|
2629
2662
|
readonly tags?: Array<cdk.CfnTag>;
|
|
2630
2663
|
/**
|
|
2664
|
+
* Configuration that specifies the telemetry collection for the capacity provider.
|
|
2665
|
+
*
|
|
2631
2666
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html#cfn-lambda-capacityprovider-telemetryconfig
|
|
2632
2667
|
*/
|
|
2633
2668
|
readonly telemetryConfig?: CfnCapacityProviderPropsMixin.CapacityProviderTelemetryConfigProperty | cdk.IResolvable;
|
|
@@ -3040,3 +3075,71 @@ export interface CfnNetworkConnectorMixinProps {
|
|
|
3040
3075
|
*/
|
|
3041
3076
|
readonly tags?: Array<cdk.CfnTag>;
|
|
3042
3077
|
}
|
|
3078
|
+
/**
|
|
3079
|
+
* Use the ``AWS::Lambda::ResourcePolicy`` resource to attach a resource-based policy to a LAM resource.
|
|
3080
|
+
*
|
|
3081
|
+
* A resource-based policy applies to a single LAM resource, for example, a function, function version, or function alias. To learn more about using resource-based policies with LAM, see [Working with resource-based policies in](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html) in the *Developer Guide*.
|
|
3082
|
+
* You can use resource-based policies to grant permissions to other AWS services, AWS accounts and organizations, and IAM users and roles to access your LAM resource. You can also deny access to specific entities, and use the full range of IAM global condition keys to further restrict who has access to your LAM resource. For example, you can limit access to calls originating from a specified IP address or VPC.
|
|
3083
|
+
* A resource-based policy is a JSON document containing a number of statements. Each statement defines the entities you want to grant permission to, the API actions you want to allow or deny, and the LAM resource you want the statement to apply to. A statement can also optionally include an array of logical conditions using the IAM global condition keys.
|
|
3084
|
+
* To use the ``AWS::Lambda::ResourcePolicy`` resource, make sure that you have the [resource-based policy permissions for Lambda](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#access-control-resource-based-permissions).
|
|
3085
|
+
* To learn more about creating resource-based policies, see [Policies and permissions in](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html) in the *User Guide*. For more information about example policies for providing permissions to AWS services, other AWS accounts, and IAM users and roles, see [Example resource-based policies for functions](https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-examples.html) in the *Developer Guide*.
|
|
3086
|
+
* **Avoid mixing permission resource types**
|
|
3087
|
+
* To grant permissions to access your function, we recommend using the ``AWS::Lambda::ResourcePolicy`` resource to set access permissions. With this resource, you have more flexibility and fine-grained control than ``AWS::Lambda::Permission``. This resource grants an AWS service or another account permission to call a particular API action on a function.
|
|
3088
|
+
* You can also use the ``AWS::Lambda::Permission`` resource, however using both ``AWS::Lambda::Permission`` and ``AWS::Lambda::ResourcePolicy`` to set permissions on a function can result in errors. Permissions defined in ``AWS::Lambda::Permission`` can be unintentionally overwritten, whether in a single CFN stack or across multiple stacks. Don't use both resource types to set permissions on a function.
|
|
3089
|
+
* To migrate existing permissions for a function from ``AWS::Lambda::Permission`` to ``AWS::Lambda::ResourcePolicy``, do the following:
|
|
3090
|
+
* 1. Set a ``Retain``[deletion policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html) on the ``AWS::Lambda::Permission`` resources you want to migrate. This is necessary so that Lambda does not delete statements with the same statement ID when you delete these resources.
|
|
3091
|
+
* 1. Use the [GetResourcePolicy](https://docs.aws.amazon.com/lambda/latest/api/API_GetResourcePolicy.html)LAM API to retrieve the resource-based policy currently attached to the function.
|
|
3092
|
+
* 1. Use this policy to create a new ``AWS::Lambda::ResourcePolicy`` resource.
|
|
3093
|
+
* 1. Delete all the existing ``AWS::Lambda::Permission`` resources for the function.
|
|
3094
|
+
*
|
|
3095
|
+
* @cloudformationResource AWS::Lambda::ResourcePolicy
|
|
3096
|
+
* @mixin true
|
|
3097
|
+
* @stability external
|
|
3098
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-resourcepolicy.html
|
|
3099
|
+
*/
|
|
3100
|
+
export declare class CfnResourcePolicyPropsMixin extends cdk.Mixin implements constructs.IMixin {
|
|
3101
|
+
protected static readonly CFN_PROPERTY_KEYS: Array<string>;
|
|
3102
|
+
protected readonly props: CfnResourcePolicyMixinProps;
|
|
3103
|
+
protected readonly strategy: cdk.IMergeStrategy;
|
|
3104
|
+
/**
|
|
3105
|
+
* Create a mixin to apply properties to `AWS::Lambda::ResourcePolicy`.
|
|
3106
|
+
*
|
|
3107
|
+
* @param props L1 properties to apply
|
|
3108
|
+
* @param options Mixin options
|
|
3109
|
+
*/
|
|
3110
|
+
constructor(props: CfnResourcePolicyMixinProps, options?: mixins.CfnPropertyMixinOptions);
|
|
3111
|
+
/**
|
|
3112
|
+
* Check if this mixin supports the given construct
|
|
3113
|
+
*/
|
|
3114
|
+
supports(construct: constructs.IConstruct): construct is service.CfnResourcePolicy;
|
|
3115
|
+
/**
|
|
3116
|
+
* Apply the mixin properties to the construct
|
|
3117
|
+
*/
|
|
3118
|
+
applyTo(construct: constructs.IConstruct): void;
|
|
3119
|
+
}
|
|
3120
|
+
/**
|
|
3121
|
+
* Properties for CfnResourcePolicyPropsMixin
|
|
3122
|
+
*
|
|
3123
|
+
* @struct
|
|
3124
|
+
* @stability external
|
|
3125
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-resourcepolicy.html
|
|
3126
|
+
*/
|
|
3127
|
+
export interface CfnResourcePolicyMixinProps {
|
|
3128
|
+
/**
|
|
3129
|
+
* The policy document you want to add to your LAM resource.
|
|
3130
|
+
*
|
|
3131
|
+
* This is formatted as a JSON string.
|
|
3132
|
+
* For more information, see [Working with resource-based policies in](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html) in the *Developer Guide*.
|
|
3133
|
+
*
|
|
3134
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-resourcepolicy.html#cfn-lambda-resourcepolicy-policydocument
|
|
3135
|
+
*/
|
|
3136
|
+
readonly policyDocument?: any | cdk.IResolvable;
|
|
3137
|
+
/**
|
|
3138
|
+
* The Amazon Resource Name (ARN) of the LAM resource you want to add the policy to.
|
|
3139
|
+
*
|
|
3140
|
+
* For a function, you can use a qualified or an unqualified ARN. The value must be a complete ARN, and the operation does not accept wildcard characters.
|
|
3141
|
+
*
|
|
3142
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-resourcepolicy.html#cfn-lambda-resourcepolicy-resourcearn
|
|
3143
|
+
*/
|
|
3144
|
+
readonly resourceArn?: string;
|
|
3145
|
+
}
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.CfnNetworkConnectorPropsMixin = exports.CfnMicrovmImagePropsMixin = exports.CfnCapacityProviderPropsMixin = exports.CfnVersionPropsMixin = exports.CfnUrlPropsMixin = exports.CfnPermissionPropsMixin = exports.CfnLayerVersionPermissionPropsMixin = exports.CfnLayerVersionPropsMixin = exports.CfnFunctionPropsMixin = exports.CfnEventSourceMappingPropsMixin = exports.CfnEventInvokeConfigPropsMixin = exports.CfnCodeSigningConfigPropsMixin = exports.CfnAliasPropsMixin = void 0;
|
|
36
|
+
exports.CfnResourcePolicyPropsMixin = exports.CfnNetworkConnectorPropsMixin = exports.CfnMicrovmImagePropsMixin = exports.CfnCapacityProviderPropsMixin = exports.CfnVersionPropsMixin = exports.CfnUrlPropsMixin = exports.CfnPermissionPropsMixin = exports.CfnLayerVersionPermissionPropsMixin = exports.CfnLayerVersionPropsMixin = exports.CfnFunctionPropsMixin = exports.CfnEventSourceMappingPropsMixin = exports.CfnEventInvokeConfigPropsMixin = exports.CfnCodeSigningConfigPropsMixin = exports.CfnAliasPropsMixin = void 0;
|
|
37
37
|
const jsiiDeprecationWarnings = require("../../../.warnings.jsii.js");
|
|
38
38
|
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
39
39
|
/* eslint-disable @stylistic/max-len, eol-last */
|
|
@@ -50,7 +50,7 @@ const service = __importStar(require("aws-cdk-lib/aws-lambda"));
|
|
|
50
50
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html
|
|
51
51
|
*/
|
|
52
52
|
class CfnAliasPropsMixin extends cdk.Mixin {
|
|
53
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnAliasPropsMixin", version: "2.
|
|
53
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnAliasPropsMixin", version: "2.269.0" };
|
|
54
54
|
static CFN_PROPERTY_KEYS = ["description", "functionName", "functionVersion", "name", "provisionedConcurrencyConfig", "routingConfig"];
|
|
55
55
|
props;
|
|
56
56
|
strategy;
|
|
@@ -112,7 +112,7 @@ function flattenCfnAliasMixinProps(props) {
|
|
|
112
112
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html
|
|
113
113
|
*/
|
|
114
114
|
class CfnCodeSigningConfigPropsMixin extends cdk.Mixin {
|
|
115
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnCodeSigningConfigPropsMixin", version: "2.
|
|
115
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnCodeSigningConfigPropsMixin", version: "2.269.0" };
|
|
116
116
|
static CFN_PROPERTY_KEYS = ["allowedPublishers", "codeSigningPolicies", "description", "tags"];
|
|
117
117
|
props;
|
|
118
118
|
strategy;
|
|
@@ -182,7 +182,7 @@ function flattenCfnCodeSigningConfigMixinProps(props) {
|
|
|
182
182
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html
|
|
183
183
|
*/
|
|
184
184
|
class CfnEventInvokeConfigPropsMixin extends cdk.Mixin {
|
|
185
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnEventInvokeConfigPropsMixin", version: "2.
|
|
185
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnEventInvokeConfigPropsMixin", version: "2.269.0" };
|
|
186
186
|
static CFN_PROPERTY_KEYS = ["destinationConfig", "functionName", "maximumEventAgeInSeconds", "maximumRetryAttempts", "qualifier"];
|
|
187
187
|
props;
|
|
188
188
|
strategy;
|
|
@@ -283,7 +283,7 @@ function flattenCfnEventInvokeConfigMixinProps(props) {
|
|
|
283
283
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html
|
|
284
284
|
*/
|
|
285
285
|
class CfnEventSourceMappingPropsMixin extends cdk.Mixin {
|
|
286
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnEventSourceMappingPropsMixin", version: "2.
|
|
286
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnEventSourceMappingPropsMixin", version: "2.269.0" };
|
|
287
287
|
static CFN_PROPERTY_KEYS = ["amazonManagedKafkaEventSourceConfig", "batchSize", "bisectBatchOnFunctionError", "destinationConfig", "documentDbEventSourceConfig", "enabled", "eventSourceArn", "filterCriteria", "functionName", "functionResponseTypes", "kmsKeyArn", "loggingConfig", "maximumBatchingWindowInSeconds", "maximumRecordAgeInSeconds", "maximumRetryAttempts", "metricsConfig", "parallelizationFactor", "provisionedPollerConfig", "queues", "scalingConfig", "selfManagedEventSource", "selfManagedKafkaEventSourceConfig", "sourceAccessConfigurations", "startingPosition", "startingPositionTimestamp", "tags", "topics", "tumblingWindowInSeconds"];
|
|
288
288
|
props;
|
|
289
289
|
strategy;
|
|
@@ -377,7 +377,7 @@ function flattenCfnEventSourceMappingMixinProps(props) {
|
|
|
377
377
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html
|
|
378
378
|
*/
|
|
379
379
|
class CfnFunctionPropsMixin extends cdk.Mixin {
|
|
380
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnFunctionPropsMixin", version: "2.
|
|
380
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnFunctionPropsMixin", version: "2.269.0" };
|
|
381
381
|
static CFN_PROPERTY_KEYS = ["architectures", "capacityProviderConfig", "code", "codeSigningConfigArn", "deadLetterConfig", "description", "durableConfig", "environment", "ephemeralStorage", "fileSystemConfigs", "functionName", "functionScalingConfig", "handler", "imageConfig", "kmsKeyArn", "layers", "loggingConfig", "memorySize", "packageType", "publishToLatestPublished", "recursiveLoop", "reservedConcurrentExecutions", "role", "runtime", "runtimeManagementConfig", "snapStart", "tags", "tenancyConfig", "timeout", "tracingConfig", "vpcConfig"];
|
|
382
382
|
props;
|
|
383
383
|
strategy;
|
|
@@ -459,7 +459,8 @@ function flattenCfnFunctionPropsMixinFileSystemConfigProperty(props) {
|
|
|
459
459
|
return props;
|
|
460
460
|
return {
|
|
461
461
|
arn: (!props.arn ? undefined : cdk.getRefProperty(props.arn?.accessPointRef, 'accessPointArn') ?? cdk.ensureStringOrUndefined(props.arn, "arn", "efs.IAccessPointRef | string")),
|
|
462
|
-
localMountPath: (!props.localMountPath ? undefined : props.localMountPath)
|
|
462
|
+
localMountPath: (!props.localMountPath ? undefined : props.localMountPath),
|
|
463
|
+
s3FilesConfig: (!props.s3FilesConfig ? undefined : props.s3FilesConfig)
|
|
463
464
|
};
|
|
464
465
|
}
|
|
465
466
|
// @ts-ignore TS6133
|
|
@@ -505,7 +506,7 @@ function flattenCfnFunctionMixinProps(props) {
|
|
|
505
506
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html
|
|
506
507
|
*/
|
|
507
508
|
class CfnLayerVersionPropsMixin extends cdk.Mixin {
|
|
508
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnLayerVersionPropsMixin", version: "2.
|
|
509
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnLayerVersionPropsMixin", version: "2.269.0" };
|
|
509
510
|
static CFN_PROPERTY_KEYS = ["compatibleArchitectures", "compatibleRuntimes", "content", "description", "layerName", "licenseInfo"];
|
|
510
511
|
props;
|
|
511
512
|
strategy;
|
|
@@ -578,7 +579,7 @@ function flattenCfnLayerVersionMixinProps(props) {
|
|
|
578
579
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html
|
|
579
580
|
*/
|
|
580
581
|
class CfnLayerVersionPermissionPropsMixin extends cdk.Mixin {
|
|
581
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnLayerVersionPermissionPropsMixin", version: "2.
|
|
582
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnLayerVersionPermissionPropsMixin", version: "2.269.0" };
|
|
582
583
|
static CFN_PROPERTY_KEYS = ["action", "layerVersionArn", "organizationId", "principal"];
|
|
583
584
|
props;
|
|
584
585
|
strategy;
|
|
@@ -646,7 +647,7 @@ function flattenCfnLayerVersionPermissionMixinProps(props) {
|
|
|
646
647
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html
|
|
647
648
|
*/
|
|
648
649
|
class CfnPermissionPropsMixin extends cdk.Mixin {
|
|
649
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnPermissionPropsMixin", version: "2.
|
|
650
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnPermissionPropsMixin", version: "2.269.0" };
|
|
650
651
|
static CFN_PROPERTY_KEYS = ["action", "eventSourceToken", "functionName", "functionUrlAuthType", "invokedViaFunctionUrl", "principal", "principalOrgId", "sourceAccount", "sourceArn"];
|
|
651
652
|
props;
|
|
652
653
|
strategy;
|
|
@@ -712,7 +713,7 @@ function flattenCfnPermissionMixinProps(props) {
|
|
|
712
713
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html
|
|
713
714
|
*/
|
|
714
715
|
class CfnUrlPropsMixin extends cdk.Mixin {
|
|
715
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnUrlPropsMixin", version: "2.
|
|
716
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnUrlPropsMixin", version: "2.269.0" };
|
|
716
717
|
static CFN_PROPERTY_KEYS = ["authType", "cors", "invokeMode", "qualifier", "targetFunctionArn"];
|
|
717
718
|
props;
|
|
718
719
|
strategy;
|
|
@@ -772,7 +773,7 @@ function flattenCfnUrlMixinProps(props) {
|
|
|
772
773
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html
|
|
773
774
|
*/
|
|
774
775
|
class CfnVersionPropsMixin extends cdk.Mixin {
|
|
775
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnVersionPropsMixin", version: "2.
|
|
776
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnVersionPropsMixin", version: "2.269.0" };
|
|
776
777
|
static CFN_PROPERTY_KEYS = ["codeSha256", "description", "functionName", "functionScalingConfig", "provisionedConcurrencyConfig", "runtimePolicy"];
|
|
777
778
|
props;
|
|
778
779
|
strategy;
|
|
@@ -832,7 +833,7 @@ function flattenCfnVersionMixinProps(props) {
|
|
|
832
833
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html
|
|
833
834
|
*/
|
|
834
835
|
class CfnCapacityProviderPropsMixin extends cdk.Mixin {
|
|
835
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnCapacityProviderPropsMixin", version: "2.
|
|
836
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnCapacityProviderPropsMixin", version: "2.269.0" };
|
|
836
837
|
static CFN_PROPERTY_KEYS = ["capacityProviderName", "capacityProviderScalingConfig", "instanceRequirements", "kmsKeyArn", "permissionsConfig", "propagateTags", "tags", "telemetryConfig", "vpcConfig"];
|
|
837
838
|
props;
|
|
838
839
|
strategy;
|
|
@@ -882,7 +883,7 @@ exports.CfnCapacityProviderPropsMixin = CfnCapacityProviderPropsMixin;
|
|
|
882
883
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html
|
|
883
884
|
*/
|
|
884
885
|
class CfnMicrovmImagePropsMixin extends cdk.Mixin {
|
|
885
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnMicrovmImagePropsMixin", version: "2.
|
|
886
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnMicrovmImagePropsMixin", version: "2.269.0" };
|
|
886
887
|
static CFN_PROPERTY_KEYS = ["additionalOsCapabilities", "baseImageArn", "baseImageVersion", "buildRoleArn", "codeArtifact", "cpuConfigurations", "description", "egressNetworkConnectors", "environmentVariables", "hooks", "logging", "name", "resources", "tags"];
|
|
887
888
|
props;
|
|
888
889
|
strategy;
|
|
@@ -932,7 +933,7 @@ exports.CfnMicrovmImagePropsMixin = CfnMicrovmImagePropsMixin;
|
|
|
932
933
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-networkconnector.html
|
|
933
934
|
*/
|
|
934
935
|
class CfnNetworkConnectorPropsMixin extends cdk.Mixin {
|
|
935
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnNetworkConnectorPropsMixin", version: "2.
|
|
936
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnNetworkConnectorPropsMixin", version: "2.269.0" };
|
|
936
937
|
static CFN_PROPERTY_KEYS = ["configuration", "name", "operatorRole", "tags"];
|
|
937
938
|
props;
|
|
938
939
|
strategy;
|
|
@@ -973,3 +974,67 @@ class CfnNetworkConnectorPropsMixin extends cdk.Mixin {
|
|
|
973
974
|
}
|
|
974
975
|
}
|
|
975
976
|
exports.CfnNetworkConnectorPropsMixin = CfnNetworkConnectorPropsMixin;
|
|
977
|
+
/**
|
|
978
|
+
* Use the ``AWS::Lambda::ResourcePolicy`` resource to attach a resource-based policy to a LAM resource.
|
|
979
|
+
*
|
|
980
|
+
* A resource-based policy applies to a single LAM resource, for example, a function, function version, or function alias. To learn more about using resource-based policies with LAM, see [Working with resource-based policies in](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html) in the *Developer Guide*.
|
|
981
|
+
* You can use resource-based policies to grant permissions to other AWS services, AWS accounts and organizations, and IAM users and roles to access your LAM resource. You can also deny access to specific entities, and use the full range of IAM global condition keys to further restrict who has access to your LAM resource. For example, you can limit access to calls originating from a specified IP address or VPC.
|
|
982
|
+
* A resource-based policy is a JSON document containing a number of statements. Each statement defines the entities you want to grant permission to, the API actions you want to allow or deny, and the LAM resource you want the statement to apply to. A statement can also optionally include an array of logical conditions using the IAM global condition keys.
|
|
983
|
+
* To use the ``AWS::Lambda::ResourcePolicy`` resource, make sure that you have the [resource-based policy permissions for Lambda](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#access-control-resource-based-permissions).
|
|
984
|
+
* To learn more about creating resource-based policies, see [Policies and permissions in](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html) in the *User Guide*. For more information about example policies for providing permissions to AWS services, other AWS accounts, and IAM users and roles, see [Example resource-based policies for functions](https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-examples.html) in the *Developer Guide*.
|
|
985
|
+
* **Avoid mixing permission resource types**
|
|
986
|
+
* To grant permissions to access your function, we recommend using the ``AWS::Lambda::ResourcePolicy`` resource to set access permissions. With this resource, you have more flexibility and fine-grained control than ``AWS::Lambda::Permission``. This resource grants an AWS service or another account permission to call a particular API action on a function.
|
|
987
|
+
* You can also use the ``AWS::Lambda::Permission`` resource, however using both ``AWS::Lambda::Permission`` and ``AWS::Lambda::ResourcePolicy`` to set permissions on a function can result in errors. Permissions defined in ``AWS::Lambda::Permission`` can be unintentionally overwritten, whether in a single CFN stack or across multiple stacks. Don't use both resource types to set permissions on a function.
|
|
988
|
+
* To migrate existing permissions for a function from ``AWS::Lambda::Permission`` to ``AWS::Lambda::ResourcePolicy``, do the following:
|
|
989
|
+
* 1. Set a ``Retain``[deletion policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html) on the ``AWS::Lambda::Permission`` resources you want to migrate. This is necessary so that Lambda does not delete statements with the same statement ID when you delete these resources.
|
|
990
|
+
* 1. Use the [GetResourcePolicy](https://docs.aws.amazon.com/lambda/latest/api/API_GetResourcePolicy.html)LAM API to retrieve the resource-based policy currently attached to the function.
|
|
991
|
+
* 1. Use this policy to create a new ``AWS::Lambda::ResourcePolicy`` resource.
|
|
992
|
+
* 1. Delete all the existing ``AWS::Lambda::Permission`` resources for the function.
|
|
993
|
+
*
|
|
994
|
+
* @cloudformationResource AWS::Lambda::ResourcePolicy
|
|
995
|
+
* @mixin true
|
|
996
|
+
* @stability external
|
|
997
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-resourcepolicy.html
|
|
998
|
+
*/
|
|
999
|
+
class CfnResourcePolicyPropsMixin extends cdk.Mixin {
|
|
1000
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lambda.CfnResourcePolicyPropsMixin", version: "2.269.0" };
|
|
1001
|
+
static CFN_PROPERTY_KEYS = ["policyDocument", "resourceArn"];
|
|
1002
|
+
props;
|
|
1003
|
+
strategy;
|
|
1004
|
+
/**
|
|
1005
|
+
* Create a mixin to apply properties to `AWS::Lambda::ResourcePolicy`.
|
|
1006
|
+
*
|
|
1007
|
+
* @param props L1 properties to apply
|
|
1008
|
+
* @param options Mixin options
|
|
1009
|
+
*/
|
|
1010
|
+
constructor(props, options = {}) {
|
|
1011
|
+
super();
|
|
1012
|
+
try {
|
|
1013
|
+
jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_lambda_CfnResourcePolicyMixinProps(props);
|
|
1014
|
+
jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
|
|
1015
|
+
}
|
|
1016
|
+
catch (error) {
|
|
1017
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
1018
|
+
Error.captureStackTrace(error, CfnResourcePolicyPropsMixin);
|
|
1019
|
+
}
|
|
1020
|
+
throw error;
|
|
1021
|
+
}
|
|
1022
|
+
this.props = props;
|
|
1023
|
+
this.strategy = (options.strategy ?? cdk.PropertyMergeStrategy.combine());
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* Check if this mixin supports the given construct
|
|
1027
|
+
*/
|
|
1028
|
+
supports(construct) {
|
|
1029
|
+
return (cdk.CfnResource.isCfnResource(construct) && service.CfnResourcePolicy.isCfnResourcePolicy(construct));
|
|
1030
|
+
}
|
|
1031
|
+
/**
|
|
1032
|
+
* Apply the mixin properties to the construct
|
|
1033
|
+
*/
|
|
1034
|
+
applyTo(construct) {
|
|
1035
|
+
if (this.supports(construct)) {
|
|
1036
|
+
this.strategy.apply(construct, this.props, CfnResourcePolicyPropsMixin.CFN_PROPERTY_KEYS);
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
exports.CfnResourcePolicyPropsMixin = CfnResourcePolicyPropsMixin;
|
|
@@ -50,7 +50,7 @@ const service = __importStar(require("aws-cdk-lib/aws-launchwizard"));
|
|
|
50
50
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-launchwizard-deployment.html
|
|
51
51
|
*/
|
|
52
52
|
class CfnDeploymentPropsMixin extends cdk.Mixin {
|
|
53
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_launchwizard.CfnDeploymentPropsMixin", version: "2.
|
|
53
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_launchwizard.CfnDeploymentPropsMixin", version: "2.269.0" };
|
|
54
54
|
static CFN_PROPERTY_KEYS = ["deploymentPatternName", "name", "specifications", "tags", "workloadName"];
|
|
55
55
|
props;
|
|
56
56
|
strategy;
|
|
@@ -3173,6 +3173,45 @@ export declare namespace CfnBotPropsMixin {
|
|
|
3173
3173
|
*/
|
|
3174
3174
|
readonly replicaRegions?: Array<string>;
|
|
3175
3175
|
}
|
|
3176
|
+
/**
|
|
3177
|
+
* A bot that is a member of a bot network.
|
|
3178
|
+
*
|
|
3179
|
+
* @struct
|
|
3180
|
+
* @stability external
|
|
3181
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-botmember.html
|
|
3182
|
+
*/
|
|
3183
|
+
interface BotMemberProperty {
|
|
3184
|
+
/**
|
|
3185
|
+
* The alias ID of a bot that is a member of this network of bots.
|
|
3186
|
+
*
|
|
3187
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-botmember.html#cfn-lex-bot-botmember-botmemberaliasid
|
|
3188
|
+
*/
|
|
3189
|
+
readonly botMemberAliasId?: string;
|
|
3190
|
+
/**
|
|
3191
|
+
* The alias name of a bot that is a member of this network of bots.
|
|
3192
|
+
*
|
|
3193
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-botmember.html#cfn-lex-bot-botmember-botmemberaliasname
|
|
3194
|
+
*/
|
|
3195
|
+
readonly botMemberAliasName?: string;
|
|
3196
|
+
/**
|
|
3197
|
+
* The unique ID of a bot that is a member of this network of bots.
|
|
3198
|
+
*
|
|
3199
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-botmember.html#cfn-lex-bot-botmember-botmemberid
|
|
3200
|
+
*/
|
|
3201
|
+
readonly botMemberId?: string;
|
|
3202
|
+
/**
|
|
3203
|
+
* The unique name of a bot that is a member of this network of bots.
|
|
3204
|
+
*
|
|
3205
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-botmember.html#cfn-lex-bot-botmember-botmembername
|
|
3206
|
+
*/
|
|
3207
|
+
readonly botMemberName?: string;
|
|
3208
|
+
/**
|
|
3209
|
+
* The version of a bot that is a member of this network of bots.
|
|
3210
|
+
*
|
|
3211
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-botmember.html#cfn-lex-bot-botmember-botmemberversion
|
|
3212
|
+
*/
|
|
3213
|
+
readonly botMemberVersion?: string;
|
|
3214
|
+
}
|
|
3176
3215
|
}
|
|
3177
3216
|
/**
|
|
3178
3217
|
* Properties for CfnBotPropsMixin
|
|
@@ -3202,6 +3241,12 @@ export interface CfnBotMixinProps {
|
|
|
3202
3241
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-bot.html#cfn-lex-bot-botlocales
|
|
3203
3242
|
*/
|
|
3204
3243
|
readonly botLocales?: Array<CfnBotPropsMixin.BotLocaleProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
3244
|
+
/**
|
|
3245
|
+
* The list of bot members in a network to be created.
|
|
3246
|
+
*
|
|
3247
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-bot.html#cfn-lex-bot-botmembers
|
|
3248
|
+
*/
|
|
3249
|
+
readonly botMembers?: Array<CfnBotPropsMixin.BotMemberProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
3205
3250
|
/**
|
|
3206
3251
|
* A list of tags to add to the bot.
|
|
3207
3252
|
*
|
|
@@ -3210,6 +3255,13 @@ export interface CfnBotMixinProps {
|
|
|
3210
3255
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-bot.html#cfn-lex-bot-bottags
|
|
3211
3256
|
*/
|
|
3212
3257
|
readonly botTags?: Array<cdk.CfnTag>;
|
|
3258
|
+
/**
|
|
3259
|
+
* The type of a bot to create.
|
|
3260
|
+
*
|
|
3261
|
+
* @default - "Bot"
|
|
3262
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-bot.html#cfn-lex-bot-bottype
|
|
3263
|
+
*/
|
|
3264
|
+
readonly botType?: string;
|
|
3213
3265
|
/**
|
|
3214
3266
|
* By default, data stored by Amazon Lex is encrypted.
|
|
3215
3267
|
*
|
|
@@ -52,8 +52,8 @@ const service = __importStar(require("aws-cdk-lib/aws-lex"));
|
|
|
52
52
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-bot.html
|
|
53
53
|
*/
|
|
54
54
|
class CfnBotPropsMixin extends cdk.Mixin {
|
|
55
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lex.CfnBotPropsMixin", version: "2.
|
|
56
|
-
static CFN_PROPERTY_KEYS = ["autoBuildBotLocales", "botFileS3Location", "botLocales", "botTags", "dataPrivacy", "description", "errorLogSettings", "idleSessionTtlInSeconds", "name", "replication", "roleArn", "testBotAliasSettings", "testBotAliasTags"];
|
|
55
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lex.CfnBotPropsMixin", version: "2.269.0" };
|
|
56
|
+
static CFN_PROPERTY_KEYS = ["autoBuildBotLocales", "botFileS3Location", "botLocales", "botMembers", "botTags", "botType", "dataPrivacy", "description", "errorLogSettings", "idleSessionTtlInSeconds", "name", "replication", "roleArn", "testBotAliasSettings", "testBotAliasTags"];
|
|
57
57
|
props;
|
|
58
58
|
strategy;
|
|
59
59
|
/**
|
|
@@ -116,7 +116,7 @@ function flattenCfnBotMixinProps(props) {
|
|
|
116
116
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-botalias.html
|
|
117
117
|
*/
|
|
118
118
|
class CfnBotAliasPropsMixin extends cdk.Mixin {
|
|
119
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lex.CfnBotAliasPropsMixin", version: "2.
|
|
119
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lex.CfnBotAliasPropsMixin", version: "2.269.0" };
|
|
120
120
|
static CFN_PROPERTY_KEYS = ["botAliasLocaleSettings", "botAliasName", "botAliasTags", "botId", "botVersion", "conversationLogSettings", "description", "sentimentAnalysisSettings"];
|
|
121
121
|
props;
|
|
122
122
|
strategy;
|
|
@@ -279,7 +279,7 @@ function flattenCfnBotAliasMixinProps(props) {
|
|
|
279
279
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-botversion.html
|
|
280
280
|
*/
|
|
281
281
|
class CfnBotVersionPropsMixin extends cdk.Mixin {
|
|
282
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lex.CfnBotVersionPropsMixin", version: "2.
|
|
282
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lex.CfnBotVersionPropsMixin", version: "2.269.0" };
|
|
283
283
|
static CFN_PROPERTY_KEYS = ["botId", "botVersionLocaleSpecification", "description"];
|
|
284
284
|
props;
|
|
285
285
|
strategy;
|
|
@@ -341,7 +341,7 @@ function flattenCfnBotVersionMixinProps(props) {
|
|
|
341
341
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-resourcepolicy.html
|
|
342
342
|
*/
|
|
343
343
|
class CfnResourcePolicyPropsMixin extends cdk.Mixin {
|
|
344
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lex.CfnResourcePolicyPropsMixin", version: "2.
|
|
344
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_lex.CfnResourcePolicyPropsMixin", version: "2.269.0" };
|
|
345
345
|
static CFN_PROPERTY_KEYS = ["policy", "resourceArn"];
|
|
346
346
|
props;
|
|
347
347
|
strategy;
|