aws-cdk-lib 2.153.0__py3-none-any.whl → 2.154.1__py3-none-any.whl
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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +157 -215
- aws_cdk/_jsii/__init__.py +2 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.153.0.jsii.tgz → aws-cdk-lib@2.154.1.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -3
- aws_cdk/aws_accessanalyzer/__init__.py +5 -5
- aws_cdk/aws_acmpca/__init__.py +79 -24
- aws_cdk/aws_amazonmq/__init__.py +161 -161
- aws_cdk/aws_amplify/__init__.py +36 -36
- aws_cdk/aws_amplifyuibuilder/__init__.py +32 -32
- aws_cdk/aws_apigateway/__init__.py +122 -122
- aws_cdk/aws_apigatewayv2/__init__.py +143 -130
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +12 -12
- aws_cdk/aws_appconfig/__init__.py +59 -59
- aws_cdk/aws_appflow/__init__.py +20 -20
- aws_cdk/aws_appintegrations/__init__.py +19 -19
- aws_cdk/aws_applicationautoscaling/__init__.py +31 -16
- aws_cdk/aws_applicationinsights/__init__.py +11 -11
- aws_cdk/aws_applicationsignals/__init__.py +5 -5
- aws_cdk/aws_appmesh/__init__.py +35 -35
- aws_cdk/aws_apprunner/__init__.py +25 -25
- aws_cdk/aws_appstream/__init__.py +105 -105
- aws_cdk/aws_appsync/__init__.py +89 -89
- aws_cdk/aws_apptest/__init__.py +25 -25
- aws_cdk/aws_aps/__init__.py +14 -14
- aws_cdk/aws_arczonalshift/__init__.py +200 -3
- aws_cdk/aws_athena/__init__.py +25 -25
- aws_cdk/aws_auditmanager/__init__.py +15 -15
- aws_cdk/aws_autoscaling/__init__.py +84 -84
- aws_cdk/aws_autoscalingplans/__init__.py +2 -2
- aws_cdk/aws_b2bi/__init__.py +24 -24
- aws_cdk/aws_backup/__init__.py +33 -33
- aws_cdk/aws_backupgateway/__init__.py +7 -7
- aws_cdk/aws_batch/__init__.py +289 -35
- aws_cdk/aws_bcmdataexports/__init__.py +2 -2
- aws_cdk/aws_bedrock/__init__.py +15766 -3438
- aws_cdk/aws_billingconductor/__init__.py +28 -28
- aws_cdk/aws_budgets/__init__.py +12 -12
- aws_cdk/aws_cassandra/__init__.py +16 -16
- aws_cdk/aws_ce/__init__.py +17 -17
- aws_cdk/aws_certificatemanager/__init__.py +9 -9
- aws_cdk/aws_chatbot/__init__.py +22 -22
- aws_cdk/aws_cleanrooms/__init__.py +2470 -307
- aws_cdk/aws_cleanroomsml/__init__.py +5 -5
- aws_cdk/aws_cloud9/__init__.py +10 -10
- aws_cdk/aws_cloudformation/__init__.py +94 -69
- aws_cdk/aws_cloudfront/__init__.py +47 -33
- aws_cdk/aws_cloudtrail/__init__.py +46 -44
- aws_cdk/aws_cloudwatch/__init__.py +61 -69
- aws_cdk/aws_codeartifact/__init__.py +19 -19
- aws_cdk/aws_codebuild/__init__.py +99 -68
- aws_cdk/aws_codecommit/__init__.py +10 -6
- aws_cdk/aws_codeconnections/__init__.py +5 -5
- aws_cdk/aws_codedeploy/__init__.py +28 -28
- aws_cdk/aws_codeguruprofiler/__init__.py +5 -5
- aws_cdk/aws_codegurureviewer/__init__.py +6 -6
- aws_cdk/aws_codepipeline/__init__.py +849 -52
- aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
- aws_cdk/aws_codestar/__init__.py +8 -8
- aws_cdk/aws_codestarconnections/__init__.py +17 -17
- aws_cdk/aws_codestarnotifications/__init__.py +10 -10
- aws_cdk/aws_cognito/__init__.py +465 -133
- aws_cdk/aws_comprehend/__init__.py +20 -20
- aws_cdk/aws_config/__init__.py +67 -67
- aws_cdk/aws_connect/__init__.py +139 -137
- aws_cdk/aws_connectcampaigns/__init__.py +5 -5
- aws_cdk/aws_controltower/__init__.py +12 -12
- aws_cdk/aws_cur/__init__.py +12 -12
- aws_cdk/aws_customerprofiles/__init__.py +36 -36
- aws_cdk/aws_databrew/__init__.py +45 -45
- aws_cdk/aws_datapipeline/__init__.py +12 -8
- aws_cdk/aws_datasync/__init__.py +119 -117
- aws_cdk/aws_datazone/__init__.py +63 -63
- aws_cdk/aws_dax/__init__.py +20 -20
- aws_cdk/aws_deadline/__init__.py +221 -292
- aws_cdk/aws_detective/__init__.py +8 -8
- aws_cdk/aws_devicefarm/__init__.py +37 -37
- aws_cdk/aws_devopsguru/__init__.py +2 -2
- aws_cdk/aws_directoryservice/__init__.py +15 -15
- aws_cdk/aws_dlm/__init__.py +12 -12
- aws_cdk/aws_dms/__init__.py +300 -298
- aws_cdk/aws_docdb/__init__.py +49 -49
- aws_cdk/aws_docdbelastic/__init__.py +14 -14
- aws_cdk/aws_dynamodb/__init__.py +371 -37
- aws_cdk/aws_ec2/__init__.py +914 -612
- aws_cdk/aws_ecr/__init__.py +117 -77
- aws_cdk/aws_ecr_assets/__init__.py +4 -4
- aws_cdk/aws_ecs/__init__.py +192 -191
- aws_cdk/aws_ecs_patterns/__init__.py +2 -2
- aws_cdk/aws_efs/__init__.py +22 -22
- aws_cdk/aws_eks/__init__.py +177 -61
- aws_cdk/aws_elasticache/__init__.py +218 -226
- aws_cdk/aws_elasticbeanstalk/__init__.py +25 -25
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -16
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1066 -102
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +86 -4
- aws_cdk/aws_elasticsearch/__init__.py +16 -16
- aws_cdk/aws_emr/__init__.py +74 -74
- aws_cdk/aws_emrcontainers/__init__.py +3 -3
- aws_cdk/aws_emrserverless/__init__.py +157 -14
- aws_cdk/aws_entityresolution/__init__.py +613 -35
- aws_cdk/aws_events/__init__.py +42 -42
- aws_cdk/aws_eventschemas/__init__.py +16 -16
- aws_cdk/aws_evidently/__init__.py +38 -38
- aws_cdk/aws_finspace/__init__.py +8 -8
- aws_cdk/aws_fis/__init__.py +12 -12
- aws_cdk/aws_fms/__init__.py +21 -21
- aws_cdk/aws_forecast/__init__.py +18 -11
- aws_cdk/aws_frauddetector/__init__.py +35 -35
- aws_cdk/aws_fsx/__init__.py +35 -35
- aws_cdk/aws_gamelift/__init__.py +155 -143
- aws_cdk/aws_globalaccelerator/__init__.py +46 -24
- aws_cdk/aws_glue/__init__.py +187 -143
- aws_cdk/aws_grafana/__init__.py +17 -17
- aws_cdk/aws_greengrass/__init__.py +48 -48
- aws_cdk/aws_greengrassv2/__init__.py +10 -10
- aws_cdk/aws_groundstation/__init__.py +16 -16
- aws_cdk/aws_guardduty/__init__.py +40 -38
- aws_cdk/aws_healthimaging/__init__.py +3 -3
- aws_cdk/aws_healthlake/__init__.py +6 -6
- aws_cdk/aws_iam/__init__.py +120 -122
- aws_cdk/aws_identitystore/__init__.py +6 -6
- aws_cdk/aws_imagebuilder/__init__.py +98 -98
- aws_cdk/aws_inspector/__init__.py +8 -8
- aws_cdk/aws_inspectorv2/__init__.py +102 -97
- aws_cdk/aws_internetmonitor/__init__.py +12 -12
- aws_cdk/aws_iot/__init__.py +141 -141
- aws_cdk/aws_iot1click/__init__.py +9 -9
- aws_cdk/aws_iotanalytics/__init__.py +21 -21
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +2 -2
- aws_cdk/aws_iotevents/__init__.py +20 -20
- aws_cdk/aws_iotfleethub/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +45 -45
- aws_cdk/aws_iotsitewise/__init__.py +40 -40
- aws_cdk/aws_iotthingsgraph/__init__.py +2 -2
- aws_cdk/aws_iottwinmaker/__init__.py +34 -34
- aws_cdk/aws_iotwireless/__init__.py +66 -66
- aws_cdk/aws_ivs/__init__.py +490 -34
- aws_cdk/aws_ivschat/__init__.py +9 -9
- aws_cdk/aws_kafkaconnect/__init__.py +22 -22
- aws_cdk/aws_kendra/__init__.py +28 -28
- aws_cdk/aws_kendraranking/__init__.py +4 -4
- aws_cdk/aws_kinesis/__init__.py +8 -8
- aws_cdk/aws_kinesisanalytics/__init__.py +23 -23
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +15 -15
- aws_cdk/aws_kinesisfirehose/__init__.py +677 -18
- aws_cdk/aws_kinesisvideo/__init__.py +10 -10
- aws_cdk/aws_kms/__init__.py +20 -20
- aws_cdk/aws_lakeformation/__init__.py +36 -36
- aws_cdk/aws_lambda/__init__.py +174 -118
- aws_cdk/aws_launchwizard/__init__.py +508 -0
- aws_cdk/aws_lex/__init__.py +24 -24
- aws_cdk/aws_licensemanager/__init__.py +17 -17
- aws_cdk/aws_lightsail/__init__.py +90 -90
- aws_cdk/aws_location/__init__.py +41 -41
- aws_cdk/aws_logs/__init__.py +50 -50
- aws_cdk/aws_lookoutequipment/__init__.py +9 -9
- aws_cdk/aws_lookoutmetrics/__init__.py +10 -10
- aws_cdk/aws_lookoutvision/__init__.py +1 -1
- aws_cdk/aws_m2/__init__.py +20 -20
- aws_cdk/aws_macie/__init__.py +19 -19
- aws_cdk/aws_managedblockchain/__init__.py +10 -10
- aws_cdk/aws_mediaconnect/__init__.py +114 -77
- aws_cdk/aws_mediaconvert/__init__.py +20 -20
- aws_cdk/aws_medialive/__init__.py +49 -40
- aws_cdk/aws_mediapackage/__init__.py +38 -38
- aws_cdk/aws_mediapackagev2/__init__.py +178 -25
- aws_cdk/aws_mediastore/__init__.py +7 -7
- aws_cdk/aws_mediatailor/__init__.py +40 -40
- aws_cdk/aws_memorydb/__init__.py +41 -41
- aws_cdk/aws_msk/__init__.py +127 -39
- aws_cdk/aws_mwaa/__init__.py +25 -25
- aws_cdk/aws_neptune/__init__.py +55 -55
- aws_cdk/aws_neptunegraph/__init__.py +11 -11
- aws_cdk/aws_networkfirewall/__init__.py +36 -30
- aws_cdk/aws_networkmanager/__init__.py +1062 -91
- aws_cdk/aws_nimblestudio/__init__.py +31 -31
- aws_cdk/aws_oam/__init__.py +8 -8
- aws_cdk/aws_omics/__init__.py +36 -36
- aws_cdk/aws_opensearchserverless/__init__.py +25 -25
- aws_cdk/aws_opensearchservice/__init__.py +20 -20
- aws_cdk/aws_opsworks/__init__.py +87 -87
- aws_cdk/aws_opsworkscm/__init__.py +21 -21
- aws_cdk/aws_organizations/__init__.py +17 -17
- aws_cdk/aws_osis/__init__.py +122 -9
- aws_cdk/aws_panorama/__init__.py +27 -22
- aws_cdk/aws_paymentcryptography/__init__.py +7 -7
- aws_cdk/aws_pcaconnectorad/__init__.py +17 -17
- aws_cdk/aws_personalize/__init__.py +19 -19
- aws_cdk/aws_pinpoint/__init__.py +122 -122
- aws_cdk/aws_pinpointemail/__init__.py +16 -16
- aws_cdk/aws_pipes/__init__.py +14 -16
- aws_cdk/aws_proton/__init__.py +19 -19
- aws_cdk/aws_qbusiness/__init__.py +160 -45
- aws_cdk/aws_qldb/__init__.py +12 -12
- aws_cdk/aws_quicksight/__init__.py +91 -91
- aws_cdk/aws_ram/__init__.py +11 -11
- aws_cdk/aws_rds/__init__.py +365 -259
- aws_cdk/aws_redshift/__init__.py +136 -91
- aws_cdk/aws_redshiftserverless/__init__.py +27 -27
- aws_cdk/aws_refactorspaces/__init__.py +26 -26
- aws_cdk/aws_rekognition/__init__.py +16 -16
- aws_cdk/aws_resiliencehub/__init__.py +15 -15
- aws_cdk/aws_resourceexplorer2/__init__.py +8 -8
- aws_cdk/aws_resourcegroups/__init__.py +6 -6
- aws_cdk/aws_robomaker/__init__.py +25 -25
- aws_cdk/aws_rolesanywhere/__init__.py +67 -19
- aws_cdk/aws_route53/__init__.py +36 -36
- aws_cdk/aws_route53profiles/__init__.py +11 -11
- aws_cdk/aws_route53recoverycontrol/__init__.py +14 -14
- aws_cdk/aws_route53recoveryreadiness/__init__.py +13 -13
- aws_cdk/aws_route53resolver/__init__.py +123 -82
- aws_cdk/aws_rum/__init__.py +6 -6
- aws_cdk/aws_s3/__init__.py +136 -80
- aws_cdk/aws_s3_deployment/__init__.py +30 -24
- aws_cdk/aws_s3_notifications/__init__.py +3 -4
- aws_cdk/aws_s3express/__init__.py +5 -5
- aws_cdk/aws_s3objectlambda/__init__.py +6 -6
- aws_cdk/aws_s3outposts/__init__.py +16 -16
- aws_cdk/aws_sagemaker/__init__.py +2414 -282
- aws_cdk/aws_sam/__init__.py +101 -101
- aws_cdk/aws_scheduler/__init__.py +13 -13
- aws_cdk/aws_sdb/__init__.py +1 -1
- aws_cdk/aws_secretsmanager/__init__.py +20 -19
- aws_cdk/aws_securityhub/__init__.py +70 -57
- aws_cdk/aws_securitylake/__init__.py +341 -16
- aws_cdk/aws_servicecatalog/__init__.py +87 -87
- aws_cdk/aws_servicecatalogappregistry/__init__.py +12 -12
- aws_cdk/aws_servicediscovery/__init__.py +23 -23
- aws_cdk/aws_ses/__init__.py +12038 -5604
- aws_cdk/aws_shield/__init__.py +15 -15
- aws_cdk/aws_signer/__init__.py +9 -9
- aws_cdk/aws_simspaceweaver/__init__.py +5 -5
- aws_cdk/aws_sns/__init__.py +28 -28
- aws_cdk/aws_sqs/__init__.py +20 -20
- aws_cdk/aws_ssm/__init__.py +176 -105
- aws_cdk/aws_ssmcontacts/__init__.py +18 -18
- aws_cdk/aws_ssmincidents/__init__.py +11 -11
- aws_cdk/aws_sso/__init__.py +31 -31
- aws_cdk/aws_stepfunctions/__init__.py +370 -28
- aws_cdk/aws_supportapp/__init__.py +11 -11
- aws_cdk/aws_synthetics/__init__.py +18 -18
- aws_cdk/aws_systemsmanagersap/__init__.py +48 -7
- aws_cdk/aws_timestream/__init__.py +34 -34
- aws_cdk/aws_transfer/__init__.py +57 -57
- aws_cdk/aws_verifiedpermissions/__init__.py +11 -11
- aws_cdk/aws_voiceid/__init__.py +4 -4
- aws_cdk/aws_vpclattice/__init__.py +42 -42
- aws_cdk/aws_waf/__init__.py +17 -17
- aws_cdk/aws_wafregional/__init__.py +28 -28
- aws_cdk/aws_wafv2/__init__.py +39 -39
- aws_cdk/aws_wisdom/__init__.py +16 -16
- aws_cdk/aws_workspaces/__init__.py +18 -18
- aws_cdk/aws_workspacesthinclient/__init__.py +63 -9
- aws_cdk/aws_workspacesweb/__init__.py +87 -46
- aws_cdk/aws_xray/__init__.py +12 -12
- aws_cdk/cloud_assembly_schema/__init__.py +348 -239
- aws_cdk/custom_resources/__init__.py +289 -0
- aws_cdk/cx_api/__init__.py +15 -15
- aws_cdk/pipelines/__init__.py +172 -237
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/METADATA +3 -2
- aws_cdk_lib-2.154.1.dist-info/RECORD +292 -0
- aws_cdk_lib-2.153.0.dist-info/RECORD +0 -291
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/top_level.txt +0 -0
|
@@ -118,6 +118,16 @@ cloudfront.Distribution(self, "myDist",
|
|
|
118
118
|
)
|
|
119
119
|
```
|
|
120
120
|
|
|
121
|
+
#### Moving an alternate domain name to a different distribution
|
|
122
|
+
|
|
123
|
+
When you try to add an alternate domain name to a distribution but the alternate domain name is already in use on a different distribution, you get a `CNAMEAlreadyExists` error (One or more of the CNAMEs you provided are already associated with a different resource).
|
|
124
|
+
|
|
125
|
+
In that case, you might want to move the existing alternate domain name from one distribution (the source distribution) to another (the target distribution). The following steps are an overview of the process. For more information, see [Moving an alternate domain name to a different distribution](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/alternate-domain-names-move.html).
|
|
126
|
+
|
|
127
|
+
1. Deploy the stack with the target distribution. The `certificate` property must be specified but the `domainNames` should be absent.
|
|
128
|
+
2. Move the alternate domain name by running CloudFront `associate-alias` command. For the example and preconditions, see the AWS documentation above.
|
|
129
|
+
3. Specify the `domainNames` property with the alternative domain name, then deploy the stack again to resolve the drift at the alternative domain name.
|
|
130
|
+
|
|
121
131
|
#### Cross Region Certificates
|
|
122
132
|
|
|
123
133
|
> **This feature is currently experimental**
|
|
@@ -2760,7 +2770,7 @@ class CfnCachePolicy(
|
|
|
2760
2770
|
if __debug__:
|
|
2761
2771
|
type_hints = typing.get_type_hints(_typecheckingstub__368f0f7bddba18df11229a8928c7cef7fa894a962c8f2f2c356a58aafc898f60)
|
|
2762
2772
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2763
|
-
jsii.set(self, "cachePolicyConfig", value)
|
|
2773
|
+
jsii.set(self, "cachePolicyConfig", value) # pyright: ignore[reportArgumentType]
|
|
2764
2774
|
|
|
2765
2775
|
@jsii.data_type(
|
|
2766
2776
|
jsii_type="aws-cdk-lib.aws_cloudfront.CfnCachePolicy.CachePolicyConfigProperty",
|
|
@@ -3578,7 +3588,7 @@ class CfnCloudFrontOriginAccessIdentity(
|
|
|
3578
3588
|
if __debug__:
|
|
3579
3589
|
type_hints = typing.get_type_hints(_typecheckingstub__dbd0afebd21ffa009f133a600072844fc5616264b7a1829c3dea492b21c75315)
|
|
3580
3590
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3581
|
-
jsii.set(self, "cloudFrontOriginAccessIdentityConfig", value)
|
|
3591
|
+
jsii.set(self, "cloudFrontOriginAccessIdentityConfig", value) # pyright: ignore[reportArgumentType]
|
|
3582
3592
|
|
|
3583
3593
|
@jsii.data_type(
|
|
3584
3594
|
jsii_type="aws-cdk-lib.aws_cloudfront.CfnCloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfigProperty",
|
|
@@ -3855,7 +3865,7 @@ class CfnContinuousDeploymentPolicy(
|
|
|
3855
3865
|
if __debug__:
|
|
3856
3866
|
type_hints = typing.get_type_hints(_typecheckingstub__f4581f42e1117e6de93836f594986c28a2378e8200e2f4a535cce028879382c9)
|
|
3857
3867
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3858
|
-
jsii.set(self, "continuousDeploymentPolicyConfig", value)
|
|
3868
|
+
jsii.set(self, "continuousDeploymentPolicyConfig", value) # pyright: ignore[reportArgumentType]
|
|
3859
3869
|
|
|
3860
3870
|
@jsii.data_type(
|
|
3861
3871
|
jsii_type="aws-cdk-lib.aws_cloudfront.CfnContinuousDeploymentPolicy.ContinuousDeploymentPolicyConfigProperty",
|
|
@@ -4748,7 +4758,7 @@ class CfnDistribution(
|
|
|
4748
4758
|
if __debug__:
|
|
4749
4759
|
type_hints = typing.get_type_hints(_typecheckingstub__5e8ff8a9cdfd4490d2e3cfaa371fe6e07d1dd8cd413e3d3ac95e589565d9ed0c)
|
|
4750
4760
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4751
|
-
jsii.set(self, "distributionConfig", value)
|
|
4761
|
+
jsii.set(self, "distributionConfig", value) # pyright: ignore[reportArgumentType]
|
|
4752
4762
|
|
|
4753
4763
|
@builtins.property
|
|
4754
4764
|
@jsii.member(jsii_name="tagsRaw")
|
|
@@ -4761,7 +4771,7 @@ class CfnDistribution(
|
|
|
4761
4771
|
if __debug__:
|
|
4762
4772
|
type_hints = typing.get_type_hints(_typecheckingstub__56e2d827e2f2ba5a0841aa9995f521ce75ad3be3fba3d8a6a555ca39d319d2f4)
|
|
4763
4773
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4764
|
-
jsii.set(self, "tagsRaw", value)
|
|
4774
|
+
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
4765
4775
|
|
|
4766
4776
|
@jsii.data_type(
|
|
4767
4777
|
jsii_type="aws-cdk-lib.aws_cloudfront.CfnDistribution.CacheBehaviorProperty",
|
|
@@ -9183,7 +9193,7 @@ class CfnFunction(
|
|
|
9183
9193
|
if __debug__:
|
|
9184
9194
|
type_hints = typing.get_type_hints(_typecheckingstub__97599332fb85693253c87028142c0596a8f097fc2e5e5c08def898b5d875a746)
|
|
9185
9195
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9186
|
-
jsii.set(self, "functionCode", value)
|
|
9196
|
+
jsii.set(self, "functionCode", value) # pyright: ignore[reportArgumentType]
|
|
9187
9197
|
|
|
9188
9198
|
@builtins.property
|
|
9189
9199
|
@jsii.member(jsii_name="functionConfig")
|
|
@@ -9201,7 +9211,7 @@ class CfnFunction(
|
|
|
9201
9211
|
if __debug__:
|
|
9202
9212
|
type_hints = typing.get_type_hints(_typecheckingstub__4e1085109b32e0c76599f999f799894997c5e13b7588671859ed027f4d0eceaf)
|
|
9203
9213
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9204
|
-
jsii.set(self, "functionConfig", value)
|
|
9214
|
+
jsii.set(self, "functionConfig", value) # pyright: ignore[reportArgumentType]
|
|
9205
9215
|
|
|
9206
9216
|
@builtins.property
|
|
9207
9217
|
@jsii.member(jsii_name="name")
|
|
@@ -9214,7 +9224,7 @@ class CfnFunction(
|
|
|
9214
9224
|
if __debug__:
|
|
9215
9225
|
type_hints = typing.get_type_hints(_typecheckingstub__49e27efb9a632d18d709cce44f4c9025bc32523c224dcb735351068e4a2f071f)
|
|
9216
9226
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9217
|
-
jsii.set(self, "name", value)
|
|
9227
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
9218
9228
|
|
|
9219
9229
|
@builtins.property
|
|
9220
9230
|
@jsii.member(jsii_name="autoPublish")
|
|
@@ -9232,7 +9242,7 @@ class CfnFunction(
|
|
|
9232
9242
|
if __debug__:
|
|
9233
9243
|
type_hints = typing.get_type_hints(_typecheckingstub__827ae5409caf9c9196670ea90d3ee72840fe49ac20cace1bd57d5f83fc2617cc)
|
|
9234
9244
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9235
|
-
jsii.set(self, "autoPublish", value)
|
|
9245
|
+
jsii.set(self, "autoPublish", value) # pyright: ignore[reportArgumentType]
|
|
9236
9246
|
|
|
9237
9247
|
@builtins.property
|
|
9238
9248
|
@jsii.member(jsii_name="functionMetadata")
|
|
@@ -9250,7 +9260,7 @@ class CfnFunction(
|
|
|
9250
9260
|
if __debug__:
|
|
9251
9261
|
type_hints = typing.get_type_hints(_typecheckingstub__fe3c43f2af2adeb7b33e657cb565ba1627c04114bab013dcd445631d30026b9e)
|
|
9252
9262
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9253
|
-
jsii.set(self, "functionMetadata", value)
|
|
9263
|
+
jsii.set(self, "functionMetadata", value) # pyright: ignore[reportArgumentType]
|
|
9254
9264
|
|
|
9255
9265
|
@jsii.data_type(
|
|
9256
9266
|
jsii_type="aws-cdk-lib.aws_cloudfront.CfnFunction.FunctionConfigProperty",
|
|
@@ -9723,7 +9733,7 @@ class CfnKeyGroup(
|
|
|
9723
9733
|
if __debug__:
|
|
9724
9734
|
type_hints = typing.get_type_hints(_typecheckingstub__f5ed72b1e268631c85b0ecd81a9bcb5dda1c9af4f25021249f63cf35b6102f2a)
|
|
9725
9735
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9726
|
-
jsii.set(self, "keyGroupConfig", value)
|
|
9736
|
+
jsii.set(self, "keyGroupConfig", value) # pyright: ignore[reportArgumentType]
|
|
9727
9737
|
|
|
9728
9738
|
@jsii.data_type(
|
|
9729
9739
|
jsii_type="aws-cdk-lib.aws_cloudfront.CfnKeyGroup.KeyGroupConfigProperty",
|
|
@@ -10016,7 +10026,7 @@ class CfnKeyValueStore(
|
|
|
10016
10026
|
if __debug__:
|
|
10017
10027
|
type_hints = typing.get_type_hints(_typecheckingstub__31c81f83ed9c5a25440ffda441f09dcb33411d9684b0a3146646cb289054da0c)
|
|
10018
10028
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10019
|
-
jsii.set(self, "name", value)
|
|
10029
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
10020
10030
|
|
|
10021
10031
|
@builtins.property
|
|
10022
10032
|
@jsii.member(jsii_name="comment")
|
|
@@ -10029,7 +10039,7 @@ class CfnKeyValueStore(
|
|
|
10029
10039
|
if __debug__:
|
|
10030
10040
|
type_hints = typing.get_type_hints(_typecheckingstub__e7ef3d5363a87ed84c6584e05c362a97bac2792589a6003e1851446b936205f8)
|
|
10031
10041
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10032
|
-
jsii.set(self, "comment", value)
|
|
10042
|
+
jsii.set(self, "comment", value) # pyright: ignore[reportArgumentType]
|
|
10033
10043
|
|
|
10034
10044
|
@builtins.property
|
|
10035
10045
|
@jsii.member(jsii_name="importSource")
|
|
@@ -10047,7 +10057,7 @@ class CfnKeyValueStore(
|
|
|
10047
10057
|
if __debug__:
|
|
10048
10058
|
type_hints = typing.get_type_hints(_typecheckingstub__bfd48a97d25e7b681206f3f821672b491cdb6e27eb4858257cc5f853e5674c56)
|
|
10049
10059
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10050
|
-
jsii.set(self, "importSource", value)
|
|
10060
|
+
jsii.set(self, "importSource", value) # pyright: ignore[reportArgumentType]
|
|
10051
10061
|
|
|
10052
10062
|
@jsii.data_type(
|
|
10053
10063
|
jsii_type="aws-cdk-lib.aws_cloudfront.CfnKeyValueStore.ImportSourceProperty",
|
|
@@ -10320,7 +10330,7 @@ class CfnMonitoringSubscription(
|
|
|
10320
10330
|
if __debug__:
|
|
10321
10331
|
type_hints = typing.get_type_hints(_typecheckingstub__7800c3e8dc8908a3f056fdb42d3210ab64e0eab502963a833ad4c34e4f9fd397)
|
|
10322
10332
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10323
|
-
jsii.set(self, "distributionId", value)
|
|
10333
|
+
jsii.set(self, "distributionId", value) # pyright: ignore[reportArgumentType]
|
|
10324
10334
|
|
|
10325
10335
|
@builtins.property
|
|
10326
10336
|
@jsii.member(jsii_name="monitoringSubscription")
|
|
@@ -10338,7 +10348,7 @@ class CfnMonitoringSubscription(
|
|
|
10338
10348
|
if __debug__:
|
|
10339
10349
|
type_hints = typing.get_type_hints(_typecheckingstub__a6a73e9da7bd64c6f8edfeda9db92c61f11177fd45e61323cc95783240a1f833)
|
|
10340
10350
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10341
|
-
jsii.set(self, "monitoringSubscription", value)
|
|
10351
|
+
jsii.set(self, "monitoringSubscription", value) # pyright: ignore[reportArgumentType]
|
|
10342
10352
|
|
|
10343
10353
|
@jsii.data_type(
|
|
10344
10354
|
jsii_type="aws-cdk-lib.aws_cloudfront.CfnMonitoringSubscription.MonitoringSubscriptionProperty",
|
|
@@ -10662,7 +10672,7 @@ class CfnOriginAccessControl(
|
|
|
10662
10672
|
if __debug__:
|
|
10663
10673
|
type_hints = typing.get_type_hints(_typecheckingstub__0ce66d3b823fd9ddad2c2b62c7851eb33500f3dcb8168e58af67867c2f6aae9d)
|
|
10664
10674
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10665
|
-
jsii.set(self, "originAccessControlConfig", value)
|
|
10675
|
+
jsii.set(self, "originAccessControlConfig", value) # pyright: ignore[reportArgumentType]
|
|
10666
10676
|
|
|
10667
10677
|
@jsii.data_type(
|
|
10668
10678
|
jsii_type="aws-cdk-lib.aws_cloudfront.CfnOriginAccessControl.OriginAccessControlConfigProperty",
|
|
@@ -11021,7 +11031,7 @@ class CfnOriginRequestPolicy(
|
|
|
11021
11031
|
if __debug__:
|
|
11022
11032
|
type_hints = typing.get_type_hints(_typecheckingstub__708e0c2a481cb4e4b68fc467580d318614020b97e17eaa433b6804731ced5237)
|
|
11023
11033
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11024
|
-
jsii.set(self, "originRequestPolicyConfig", value)
|
|
11034
|
+
jsii.set(self, "originRequestPolicyConfig", value) # pyright: ignore[reportArgumentType]
|
|
11025
11035
|
|
|
11026
11036
|
@jsii.data_type(
|
|
11027
11037
|
jsii_type="aws-cdk-lib.aws_cloudfront.CfnOriginRequestPolicy.CookiesConfigProperty",
|
|
@@ -11622,7 +11632,7 @@ class CfnPublicKey(
|
|
|
11622
11632
|
if __debug__:
|
|
11623
11633
|
type_hints = typing.get_type_hints(_typecheckingstub__58d675c3580a784a3be69561798d55507bf948f7a586b6ccaa1aca861f3e22dd)
|
|
11624
11634
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11625
|
-
jsii.set(self, "publicKeyConfig", value)
|
|
11635
|
+
jsii.set(self, "publicKeyConfig", value) # pyright: ignore[reportArgumentType]
|
|
11626
11636
|
|
|
11627
11637
|
@jsii.data_type(
|
|
11628
11638
|
jsii_type="aws-cdk-lib.aws_cloudfront.CfnPublicKey.PublicKeyConfigProperty",
|
|
@@ -11926,7 +11936,7 @@ class CfnRealtimeLogConfig(
|
|
|
11926
11936
|
if __debug__:
|
|
11927
11937
|
type_hints = typing.get_type_hints(_typecheckingstub__a399b0f2984cadefbe5ab1596b0a4763a8f456c302dc65036725f1ad9a543e5b)
|
|
11928
11938
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11929
|
-
jsii.set(self, "endPoints", value)
|
|
11939
|
+
jsii.set(self, "endPoints", value) # pyright: ignore[reportArgumentType]
|
|
11930
11940
|
|
|
11931
11941
|
@builtins.property
|
|
11932
11942
|
@jsii.member(jsii_name="fields")
|
|
@@ -11939,7 +11949,7 @@ class CfnRealtimeLogConfig(
|
|
|
11939
11949
|
if __debug__:
|
|
11940
11950
|
type_hints = typing.get_type_hints(_typecheckingstub__2f4acb3fc802e66b33d46f5f1737506960b7058ccd04caba1ad1db22c81983a4)
|
|
11941
11951
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11942
|
-
jsii.set(self, "fields", value)
|
|
11952
|
+
jsii.set(self, "fields", value) # pyright: ignore[reportArgumentType]
|
|
11943
11953
|
|
|
11944
11954
|
@builtins.property
|
|
11945
11955
|
@jsii.member(jsii_name="name")
|
|
@@ -11952,7 +11962,7 @@ class CfnRealtimeLogConfig(
|
|
|
11952
11962
|
if __debug__:
|
|
11953
11963
|
type_hints = typing.get_type_hints(_typecheckingstub__4611dc2e52a8827da74b1cab9e79ef1a4b59423fda9e0b7a1f949d411f767a55)
|
|
11954
11964
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11955
|
-
jsii.set(self, "name", value)
|
|
11965
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
11956
11966
|
|
|
11957
11967
|
@builtins.property
|
|
11958
11968
|
@jsii.member(jsii_name="samplingRate")
|
|
@@ -11965,7 +11975,7 @@ class CfnRealtimeLogConfig(
|
|
|
11965
11975
|
if __debug__:
|
|
11966
11976
|
type_hints = typing.get_type_hints(_typecheckingstub__fae7e2f43229ce281266cc0e965c660b0c47348bdab2a464e668be589b0b8256)
|
|
11967
11977
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11968
|
-
jsii.set(self, "samplingRate", value)
|
|
11978
|
+
jsii.set(self, "samplingRate", value) # pyright: ignore[reportArgumentType]
|
|
11969
11979
|
|
|
11970
11980
|
@jsii.data_type(
|
|
11971
11981
|
jsii_type="aws-cdk-lib.aws_cloudfront.CfnRealtimeLogConfig.EndPointProperty",
|
|
@@ -12435,7 +12445,7 @@ class CfnResponseHeadersPolicy(
|
|
|
12435
12445
|
if __debug__:
|
|
12436
12446
|
type_hints = typing.get_type_hints(_typecheckingstub__9664ad8baf2a412170daf27d190c8b070be288076aab09583c9dbfb1818b4229)
|
|
12437
12447
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12438
|
-
jsii.set(self, "responseHeadersPolicyConfig", value)
|
|
12448
|
+
jsii.set(self, "responseHeadersPolicyConfig", value) # pyright: ignore[reportArgumentType]
|
|
12439
12449
|
|
|
12440
12450
|
@jsii.data_type(
|
|
12441
12451
|
jsii_type="aws-cdk-lib.aws_cloudfront.CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty",
|
|
@@ -14439,7 +14449,7 @@ class CfnStreamingDistribution(
|
|
|
14439
14449
|
if __debug__:
|
|
14440
14450
|
type_hints = typing.get_type_hints(_typecheckingstub__dc8a8d78e195f1bab99bca7ea58d3b6a029844997b8e6940d737f147d8dcc6d2)
|
|
14441
14451
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
14442
|
-
jsii.set(self, "streamingDistributionConfig", value)
|
|
14452
|
+
jsii.set(self, "streamingDistributionConfig", value) # pyright: ignore[reportArgumentType]
|
|
14443
14453
|
|
|
14444
14454
|
@builtins.property
|
|
14445
14455
|
@jsii.member(jsii_name="tagsRaw")
|
|
@@ -14452,7 +14462,7 @@ class CfnStreamingDistribution(
|
|
|
14452
14462
|
if __debug__:
|
|
14453
14463
|
type_hints = typing.get_type_hints(_typecheckingstub__3a91a3a4fec8e270215622a8e9c4af00c6cfb4cfbe6700e58871b60ab722463f)
|
|
14454
14464
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
14455
|
-
jsii.set(self, "tagsRaw", value)
|
|
14465
|
+
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
14456
14466
|
|
|
14457
14467
|
@jsii.data_type(
|
|
14458
14468
|
jsii_type="aws-cdk-lib.aws_cloudfront.CfnStreamingDistribution.LoggingProperty",
|
|
@@ -15677,7 +15687,7 @@ class DistributionProps:
|
|
|
15677
15687
|
:param certificate: A certificate to associate with the distribution. The certificate must be located in N. Virginia (us-east-1). Default: - the CloudFront wildcard certificate (*.cloudfront.net) will be used.
|
|
15678
15688
|
:param comment: Any comments you want to include about the distribution. Default: - no comment
|
|
15679
15689
|
:param default_root_object: The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution. If no default object is set, the request goes to the origin's root (e.g., example.com/). Default: - no default root object
|
|
15680
|
-
:param domain_names: Alternative domain names for this distribution. If you want to use your own domain name, such as www.example.com, instead of the cloudfront.net domain name, you can add an alternate domain name to your distribution. If you attach a certificate to the distribution, you
|
|
15690
|
+
:param domain_names: Alternative domain names for this distribution. If you want to use your own domain name, such as www.example.com, instead of the cloudfront.net domain name, you can add an alternate domain name to your distribution. If you attach a certificate to the distribution, you should add (at least one of) the domain names of the certificate to this list. When you want to move a domain name between distributions, you can associate a certificate without specifying any domain names. For more information, see the *Moving an alternate domain name to a different distribution* section in the README. Default: - The distribution will only support the default generated name (e.g., d111111abcdef8.cloudfront.net)
|
|
15681
15691
|
:param enabled: Enable or disable the distribution. Default: true
|
|
15682
15692
|
:param enable_ipv6: Whether CloudFront will respond to IPv6 DNS requests with an IPv6 address. If you specify false, CloudFront responds to IPv6 DNS requests with the DNS response code NOERROR and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution. Default: true
|
|
15683
15693
|
:param enable_logging: Enable access logging for the distribution. Default: - false, unless ``logBucket`` is specified.
|
|
@@ -15833,7 +15843,10 @@ class DistributionProps:
|
|
|
15833
15843
|
|
|
15834
15844
|
If you want to use your own domain name, such as www.example.com, instead of the cloudfront.net domain name,
|
|
15835
15845
|
you can add an alternate domain name to your distribution. If you attach a certificate to the distribution,
|
|
15836
|
-
you
|
|
15846
|
+
you should add (at least one of) the domain names of the certificate to this list.
|
|
15847
|
+
|
|
15848
|
+
When you want to move a domain name between distributions, you can associate a certificate without specifying any domain names.
|
|
15849
|
+
For more information, see the *Moving an alternate domain name to a different distribution* section in the README.
|
|
15837
15850
|
|
|
15838
15851
|
:default: - The distribution will only support the default generated name (e.g., d111111abcdef8.cloudfront.net)
|
|
15839
15852
|
'''
|
|
@@ -18215,7 +18228,7 @@ class LambdaFunctionAssociation:
|
|
|
18215
18228
|
'''
|
|
18216
18229
|
:param event_type: The lambda event type defines at which event the lambda is called during the request lifecycle.
|
|
18217
18230
|
:param lambda_function: A version of the lambda to associate.
|
|
18218
|
-
:param include_body: Allows a Lambda function to have read access to the body content. Only valid for "request" event types (``ORIGIN_REQUEST`` or ``VIEWER_REQUEST``).
|
|
18231
|
+
:param include_body: Allows a Lambda function to have read access to the body content. Only valid for "request" event types (``ORIGIN_REQUEST`` or ``VIEWER_REQUEST``). Default: false
|
|
18219
18232
|
|
|
18220
18233
|
:exampleMetadata: fixture=_generated
|
|
18221
18234
|
|
|
@@ -18267,9 +18280,10 @@ class LambdaFunctionAssociation:
|
|
|
18267
18280
|
'''Allows a Lambda function to have read access to the body content.
|
|
18268
18281
|
|
|
18269
18282
|
Only valid for "request" event types (``ORIGIN_REQUEST`` or ``VIEWER_REQUEST``).
|
|
18270
|
-
See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-include-body-access.html
|
|
18271
18283
|
|
|
18272
18284
|
:default: false
|
|
18285
|
+
|
|
18286
|
+
:see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-include-body-access.html
|
|
18273
18287
|
'''
|
|
18274
18288
|
result = self._values.get("include_body")
|
|
18275
18289
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
@@ -22032,7 +22046,7 @@ class SourceConfiguration:
|
|
|
22032
22046
|
) -> None:
|
|
22033
22047
|
'''A source configuration is a wrapper for CloudFront origins and behaviors.
|
|
22034
22048
|
|
|
22035
|
-
An origin is what CloudFront will "be in front of" - that is, CloudFront will pull
|
|
22049
|
+
An origin is what CloudFront will "be in front of" - that is, CloudFront will pull its assets from an origin.
|
|
22036
22050
|
|
|
22037
22051
|
If you're using s3 as a source - pass the ``s3Origin`` property, otherwise, pass the ``customOriginSource`` property.
|
|
22038
22052
|
|
|
@@ -22810,7 +22824,7 @@ class CloudFrontWebDistribution(
|
|
|
22810
22824
|
]
|
|
22811
22825
|
)
|
|
22812
22826
|
|
|
22813
|
-
This will create a CloudFront distribution that uses your S3Bucket as
|
|
22827
|
+
This will create a CloudFront distribution that uses your S3Bucket as its origin.
|
|
22814
22828
|
|
|
22815
22829
|
You can customize the distribution using additional properties from the CloudFrontWebDistributionProps interface.
|
|
22816
22830
|
|
|
@@ -23043,7 +23057,7 @@ class Distribution(
|
|
|
23043
23057
|
:param certificate: A certificate to associate with the distribution. The certificate must be located in N. Virginia (us-east-1). Default: - the CloudFront wildcard certificate (*.cloudfront.net) will be used.
|
|
23044
23058
|
:param comment: Any comments you want to include about the distribution. Default: - no comment
|
|
23045
23059
|
:param default_root_object: The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution. If no default object is set, the request goes to the origin's root (e.g., example.com/). Default: - no default root object
|
|
23046
|
-
:param domain_names: Alternative domain names for this distribution. If you want to use your own domain name, such as www.example.com, instead of the cloudfront.net domain name, you can add an alternate domain name to your distribution. If you attach a certificate to the distribution, you
|
|
23060
|
+
:param domain_names: Alternative domain names for this distribution. If you want to use your own domain name, such as www.example.com, instead of the cloudfront.net domain name, you can add an alternate domain name to your distribution. If you attach a certificate to the distribution, you should add (at least one of) the domain names of the certificate to this list. When you want to move a domain name between distributions, you can associate a certificate without specifying any domain names. For more information, see the *Moving an alternate domain name to a different distribution* section in the README. Default: - The distribution will only support the default generated name (e.g., d111111abcdef8.cloudfront.net)
|
|
23047
23061
|
:param enabled: Enable or disable the distribution. Default: true
|
|
23048
23062
|
:param enable_ipv6: Whether CloudFront will respond to IPv6 DNS requests with an IPv6 address. If you specify false, CloudFront responds to IPv6 DNS requests with the DNS response code NOERROR and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution. Default: true
|
|
23049
23063
|
:param enable_logging: Enable access logging for the distribution. Default: - false, unless ``logBucket`` is specified.
|