aws-cdk-lib 2.137.0__py3-none-any.whl → 2.139.0__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 +8 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.137.0.jsii.tgz → aws-cdk-lib@2.139.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +29 -113
- aws_cdk/aws_apigateway/__init__.py +29 -16
- aws_cdk/aws_appconfig/__init__.py +315 -77
- aws_cdk/aws_appintegrations/__init__.py +55 -6
- aws_cdk/aws_apprunner/__init__.py +5 -2
- aws_cdk/aws_appsync/__init__.py +400 -13
- aws_cdk/aws_aps/__init__.py +64 -47
- aws_cdk/aws_autoscaling/__init__.py +62 -60
- aws_cdk/aws_b2bi/__init__.py +2 -6
- aws_cdk/aws_backup/__init__.py +53 -57
- aws_cdk/aws_batch/__init__.py +109 -0
- aws_cdk/aws_bcmdataexports/__init__.py +1114 -0
- aws_cdk/aws_bedrock/__init__.py +4144 -0
- aws_cdk/aws_chatbot/__init__.py +6 -4
- aws_cdk/aws_cleanrooms/__init__.py +526 -3
- aws_cdk/aws_cleanroomsml/__init__.py +960 -0
- aws_cdk/aws_cloudtrail/__init__.py +10 -10
- aws_cdk/aws_cloudwatch/__init__.py +244 -8
- aws_cdk/aws_codebuild/__init__.py +27 -22
- aws_cdk/aws_codeconnections/__init__.py +435 -0
- aws_cdk/aws_cognito/__init__.py +175 -79
- aws_cdk/aws_datazone/__init__.py +22 -0
- aws_cdk/aws_deadline/__init__.py +5394 -0
- aws_cdk/aws_dms/__init__.py +2 -4
- aws_cdk/aws_ec2/__init__.py +402 -247
- aws_cdk/aws_ecr/__init__.py +630 -0
- aws_cdk/aws_ecs/__init__.py +361 -20
- aws_cdk/aws_efs/__init__.py +594 -2
- aws_cdk/aws_elasticache/__init__.py +86 -32
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +75 -10
- aws_cdk/aws_emr/__init__.py +2 -2
- aws_cdk/aws_entityresolution/__init__.py +1982 -773
- aws_cdk/aws_events_targets/__init__.py +17 -4
- aws_cdk/aws_globalaccelerator/__init__.py +443 -0
- aws_cdk/aws_iam/__init__.py +1 -2
- aws_cdk/aws_internetmonitor/__init__.py +14 -6
- aws_cdk/aws_ivs/__init__.py +1273 -71
- aws_cdk/aws_kms/__init__.py +44 -0
- aws_cdk/aws_lambda/__init__.py +9 -0
- aws_cdk/aws_mediatailor/__init__.py +41 -0
- aws_cdk/aws_oam/__init__.py +204 -0
- aws_cdk/aws_personalize/__init__.py +8 -6
- aws_cdk/aws_pinpoint/__init__.py +5 -3
- aws_cdk/aws_pipes/__init__.py +5 -1
- aws_cdk/aws_quicksight/__init__.py +12 -6
- aws_cdk/aws_rds/__init__.py +370 -96
- aws_cdk/aws_redshiftserverless/__init__.py +157 -0
- aws_cdk/aws_route53/__init__.py +587 -14
- aws_cdk/aws_sagemaker/__init__.py +233 -2
- aws_cdk/aws_securityhub/__init__.py +4940 -102
- aws_cdk/aws_securitylake/__init__.py +1326 -89
- aws_cdk/aws_ses_actions/__init__.py +155 -0
- aws_cdk/aws_sns/__init__.py +61 -4
- aws_cdk/aws_ssm/__init__.py +5 -2
- aws_cdk/aws_ssmcontacts/__init__.py +11 -4
- aws_cdk/aws_stepfunctions/__init__.py +8 -16
- aws_cdk/aws_stepfunctions_tasks/__init__.py +676 -1
- aws_cdk/aws_timestream/__init__.py +1045 -0
- aws_cdk/aws_transfer/__init__.py +19 -10
- aws_cdk/aws_verifiedpermissions/__init__.py +114 -37
- aws_cdk/aws_wisdom/__init__.py +2 -2
- aws_cdk/aws_workspacesthinclient/__init__.py +8 -8
- aws_cdk/custom_resources/__init__.py +688 -26
- aws_cdk/cx_api/__init__.py +17 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/RECORD +73 -69
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/top_level.txt +0 -0
aws_cdk/__init__.py
CHANGED
|
@@ -33831,6 +33831,7 @@ __all__ = [
|
|
|
33831
33831
|
"aws_backup",
|
|
33832
33832
|
"aws_backupgateway",
|
|
33833
33833
|
"aws_batch",
|
|
33834
|
+
"aws_bcmdataexports",
|
|
33834
33835
|
"aws_bedrock",
|
|
33835
33836
|
"aws_billingconductor",
|
|
33836
33837
|
"aws_budgets",
|
|
@@ -33839,6 +33840,7 @@ __all__ = [
|
|
|
33839
33840
|
"aws_certificatemanager",
|
|
33840
33841
|
"aws_chatbot",
|
|
33841
33842
|
"aws_cleanrooms",
|
|
33843
|
+
"aws_cleanroomsml",
|
|
33842
33844
|
"aws_cloud9",
|
|
33843
33845
|
"aws_cloudformation",
|
|
33844
33846
|
"aws_cloudfront",
|
|
@@ -33849,6 +33851,7 @@ __all__ = [
|
|
|
33849
33851
|
"aws_codeartifact",
|
|
33850
33852
|
"aws_codebuild",
|
|
33851
33853
|
"aws_codecommit",
|
|
33854
|
+
"aws_codeconnections",
|
|
33852
33855
|
"aws_codedeploy",
|
|
33853
33856
|
"aws_codeguruprofiler",
|
|
33854
33857
|
"aws_codegurureviewer",
|
|
@@ -33870,6 +33873,7 @@ __all__ = [
|
|
|
33870
33873
|
"aws_datasync",
|
|
33871
33874
|
"aws_datazone",
|
|
33872
33875
|
"aws_dax",
|
|
33876
|
+
"aws_deadline",
|
|
33873
33877
|
"aws_detective",
|
|
33874
33878
|
"aws_devicefarm",
|
|
33875
33879
|
"aws_devopsguru",
|
|
@@ -34107,6 +34111,7 @@ from . import aws_b2bi
|
|
|
34107
34111
|
from . import aws_backup
|
|
34108
34112
|
from . import aws_backupgateway
|
|
34109
34113
|
from . import aws_batch
|
|
34114
|
+
from . import aws_bcmdataexports
|
|
34110
34115
|
from . import aws_bedrock
|
|
34111
34116
|
from . import aws_billingconductor
|
|
34112
34117
|
from . import aws_budgets
|
|
@@ -34115,6 +34120,7 @@ from . import aws_ce
|
|
|
34115
34120
|
from . import aws_certificatemanager
|
|
34116
34121
|
from . import aws_chatbot
|
|
34117
34122
|
from . import aws_cleanrooms
|
|
34123
|
+
from . import aws_cleanroomsml
|
|
34118
34124
|
from . import aws_cloud9
|
|
34119
34125
|
from . import aws_cloudformation
|
|
34120
34126
|
from . import aws_cloudfront
|
|
@@ -34125,6 +34131,7 @@ from . import aws_cloudwatch_actions
|
|
|
34125
34131
|
from . import aws_codeartifact
|
|
34126
34132
|
from . import aws_codebuild
|
|
34127
34133
|
from . import aws_codecommit
|
|
34134
|
+
from . import aws_codeconnections
|
|
34128
34135
|
from . import aws_codedeploy
|
|
34129
34136
|
from . import aws_codeguruprofiler
|
|
34130
34137
|
from . import aws_codegurureviewer
|
|
@@ -34146,6 +34153,7 @@ from . import aws_datapipeline
|
|
|
34146
34153
|
from . import aws_datasync
|
|
34147
34154
|
from . import aws_datazone
|
|
34148
34155
|
from . import aws_dax
|
|
34156
|
+
from . import aws_deadline
|
|
34149
34157
|
from . import aws_detective
|
|
34150
34158
|
from . import aws_devicefarm
|
|
34151
34159
|
from . import aws_devopsguru
|
aws_cdk/_jsii/__init__.py
CHANGED
|
@@ -19,7 +19,7 @@ import aws_cdk.asset_node_proxy_agent_v6._jsii
|
|
|
19
19
|
import constructs._jsii
|
|
20
20
|
|
|
21
21
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
22
|
-
"aws-cdk-lib", "2.
|
|
22
|
+
"aws-cdk-lib", "2.139.0", __name__[0:-6], "aws-cdk-lib@2.139.0.jsii.tgz"
|
|
23
23
|
)
|
|
24
24
|
|
|
25
25
|
__all__ = [
|
|
Binary file
|
aws_cdk/aws_amplify/__init__.py
CHANGED
|
@@ -2322,17 +2322,11 @@ class CfnDomain(
|
|
|
2322
2322
|
# the properties below are optional
|
|
2323
2323
|
auto_sub_domain_creation_patterns=["autoSubDomainCreationPatterns"],
|
|
2324
2324
|
auto_sub_domain_iam_role="autoSubDomainIamRole",
|
|
2325
|
-
certificate=amplify.CfnDomain.CertificateProperty(
|
|
2326
|
-
certificate_arn="certificateArn",
|
|
2327
|
-
certificate_type="certificateType",
|
|
2328
|
-
certificate_verification_dns_record="certificateVerificationDnsRecord"
|
|
2329
|
-
),
|
|
2330
2325
|
certificate_settings=amplify.CfnDomain.CertificateSettingsProperty(
|
|
2331
2326
|
certificate_type="certificateType",
|
|
2332
2327
|
custom_certificate_arn="customCertificateArn"
|
|
2333
2328
|
),
|
|
2334
|
-
enable_auto_sub_domain=False
|
|
2335
|
-
update_status="updateStatus"
|
|
2329
|
+
enable_auto_sub_domain=False
|
|
2336
2330
|
)
|
|
2337
2331
|
'''
|
|
2338
2332
|
|
|
@@ -2346,10 +2340,8 @@ class CfnDomain(
|
|
|
2346
2340
|
sub_domain_settings: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.SubDomainSettingProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
2347
2341
|
auto_sub_domain_creation_patterns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2348
2342
|
auto_sub_domain_iam_role: typing.Optional[builtins.str] = None,
|
|
2349
|
-
certificate: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.CertificateProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2350
2343
|
certificate_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.CertificateSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2351
2344
|
enable_auto_sub_domain: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2352
|
-
update_status: typing.Optional[builtins.str] = None,
|
|
2353
2345
|
) -> None:
|
|
2354
2346
|
'''
|
|
2355
2347
|
:param scope: Scope in which this resource is defined.
|
|
@@ -2359,10 +2351,8 @@ class CfnDomain(
|
|
|
2359
2351
|
:param sub_domain_settings: The setting for the subdomain.
|
|
2360
2352
|
:param auto_sub_domain_creation_patterns: Sets the branch patterns for automatic subdomain creation.
|
|
2361
2353
|
:param auto_sub_domain_iam_role: The required AWS Identity and Access Management (IAMlong) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
|
|
2362
|
-
:param certificate: Describes the SSL/TLS certificate for the domain association. This can be your own custom certificate or the default certificate that Amplify provisions for you. If you are updating your domain to use a different certificate, ``Certificate`` points to the new certificate that is being created instead of the current active certificate. Otherwise, ``Certificate`` points to the current active certificate.
|
|
2363
2354
|
:param certificate_settings: The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.
|
|
2364
2355
|
:param enable_auto_sub_domain: Enables the automated creation of subdomains for branches.
|
|
2365
|
-
:param update_status: The status of the domain update operation that is currently in progress. The following list describes the valid update states. - **REQUESTING_CERTIFICATE** - The certificate is in the process of being updated. - **PENDING_VERIFICATION** - Indicates that an Amplify managed certificate is in the process of being verified. This occurs during the creation of a custom domain or when a custom domain is updated to use a managed certificate. - **IMPORTING_CUSTOM_CERTIFICATE** - Indicates that an Amplify custom certificate is in the process of being imported. This occurs during the creation of a custom domain or when a custom domain is updated to use a custom certificate. - **PENDING_DEPLOYMENT** - Indicates that the subdomain or certificate changes are being propagated. - **AWAITING_APP_CNAME** - Amplify is waiting for CNAME records corresponding to subdomains to be propagated. If your custom domain is on Route 53, Amplify handles this for you automatically. For more information about custom domains, see `Setting up custom domains <https://docs.aws.amazon.com/amplify/latest/userguide/custom-domains.html>`_ in the *Amplify Hosting User Guide* . - **UPDATE_COMPLETE** - The certificate has been associated with a domain. - **UPDATE_FAILED** - The certificate has failed to be provisioned or associated, and there is no existing active certificate to roll back to.
|
|
2366
2356
|
'''
|
|
2367
2357
|
if __debug__:
|
|
2368
2358
|
type_hints = typing.get_type_hints(_typecheckingstub__a92a80249ff3da7389619f6d46781e48a0d6d9fe2d6d8bc5754daa9ff3c2f0e6)
|
|
@@ -2374,10 +2364,8 @@ class CfnDomain(
|
|
|
2374
2364
|
sub_domain_settings=sub_domain_settings,
|
|
2375
2365
|
auto_sub_domain_creation_patterns=auto_sub_domain_creation_patterns,
|
|
2376
2366
|
auto_sub_domain_iam_role=auto_sub_domain_iam_role,
|
|
2377
|
-
certificate=certificate,
|
|
2378
2367
|
certificate_settings=certificate_settings,
|
|
2379
2368
|
enable_auto_sub_domain=enable_auto_sub_domain,
|
|
2380
|
-
update_status=update_status,
|
|
2381
2369
|
)
|
|
2382
2370
|
|
|
2383
2371
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -2439,6 +2427,14 @@ class CfnDomain(
|
|
|
2439
2427
|
'''
|
|
2440
2428
|
return typing.cast(builtins.str, jsii.get(self, "attrAutoSubDomainIamRole"))
|
|
2441
2429
|
|
|
2430
|
+
@builtins.property
|
|
2431
|
+
@jsii.member(jsii_name="attrCertificate")
|
|
2432
|
+
def attr_certificate(self) -> _IResolvable_da3f097b:
|
|
2433
|
+
'''
|
|
2434
|
+
:cloudformationAttribute: Certificate
|
|
2435
|
+
'''
|
|
2436
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrCertificate"))
|
|
2437
|
+
|
|
2442
2438
|
@builtins.property
|
|
2443
2439
|
@jsii.member(jsii_name="attrCertificateRecord")
|
|
2444
2440
|
def attr_certificate_record(self) -> builtins.str:
|
|
@@ -2484,6 +2480,25 @@ class CfnDomain(
|
|
|
2484
2480
|
'''
|
|
2485
2481
|
return typing.cast(builtins.str, jsii.get(self, "attrStatusReason"))
|
|
2486
2482
|
|
|
2483
|
+
@builtins.property
|
|
2484
|
+
@jsii.member(jsii_name="attrUpdateStatus")
|
|
2485
|
+
def attr_update_status(self) -> builtins.str:
|
|
2486
|
+
'''The status of the domain update operation that is currently in progress.
|
|
2487
|
+
|
|
2488
|
+
The following list describes the valid update states.
|
|
2489
|
+
|
|
2490
|
+
- **REQUESTING_CERTIFICATE** - The certificate is in the process of being updated.
|
|
2491
|
+
- **PENDING_VERIFICATION** - Indicates that an Amplify managed certificate is in the process of being verified. This occurs during the creation of a custom domain or when a custom domain is updated to use a managed certificate.
|
|
2492
|
+
- **IMPORTING_CUSTOM_CERTIFICATE** - Indicates that an Amplify custom certificate is in the process of being imported. This occurs during the creation of a custom domain or when a custom domain is updated to use a custom certificate.
|
|
2493
|
+
- **PENDING_DEPLOYMENT** - Indicates that the subdomain or certificate changes are being propagated.
|
|
2494
|
+
- **AWAITING_APP_CNAME** - Amplify is waiting for CNAME records corresponding to subdomains to be propagated. If your custom domain is on Route 53, Amplify handles this for you automatically. For more information about custom domains, see `Setting up custom domains <https://docs.aws.amazon.com/amplify/latest/userguide/custom-domains.html>`_ in the *Amplify Hosting User Guide* .
|
|
2495
|
+
- **UPDATE_COMPLETE** - The certificate has been associated with a domain.
|
|
2496
|
+
- **UPDATE_FAILED** - The certificate has failed to be provisioned or associated, and there is no existing active certificate to roll back to.
|
|
2497
|
+
|
|
2498
|
+
:cloudformationAttribute: UpdateStatus
|
|
2499
|
+
'''
|
|
2500
|
+
return typing.cast(builtins.str, jsii.get(self, "attrUpdateStatus"))
|
|
2501
|
+
|
|
2487
2502
|
@builtins.property
|
|
2488
2503
|
@jsii.member(jsii_name="cfnProperties")
|
|
2489
2504
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -2564,24 +2579,6 @@ class CfnDomain(
|
|
|
2564
2579
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2565
2580
|
jsii.set(self, "autoSubDomainIamRole", value)
|
|
2566
2581
|
|
|
2567
|
-
@builtins.property
|
|
2568
|
-
@jsii.member(jsii_name="certificate")
|
|
2569
|
-
def certificate(
|
|
2570
|
-
self,
|
|
2571
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.CertificateProperty"]]:
|
|
2572
|
-
'''Describes the SSL/TLS certificate for the domain association.'''
|
|
2573
|
-
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.CertificateProperty"]], jsii.get(self, "certificate"))
|
|
2574
|
-
|
|
2575
|
-
@certificate.setter
|
|
2576
|
-
def certificate(
|
|
2577
|
-
self,
|
|
2578
|
-
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.CertificateProperty"]],
|
|
2579
|
-
) -> None:
|
|
2580
|
-
if __debug__:
|
|
2581
|
-
type_hints = typing.get_type_hints(_typecheckingstub__c749c783dff17010342e8e632503f7d8c47f6fbc9724e47074968d3a39f37d77)
|
|
2582
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2583
|
-
jsii.set(self, "certificate", value)
|
|
2584
|
-
|
|
2585
2582
|
@builtins.property
|
|
2586
2583
|
@jsii.member(jsii_name="certificateSettings")
|
|
2587
2584
|
def certificate_settings(
|
|
@@ -2618,19 +2615,6 @@ class CfnDomain(
|
|
|
2618
2615
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2619
2616
|
jsii.set(self, "enableAutoSubDomain", value)
|
|
2620
2617
|
|
|
2621
|
-
@builtins.property
|
|
2622
|
-
@jsii.member(jsii_name="updateStatus")
|
|
2623
|
-
def update_status(self) -> typing.Optional[builtins.str]:
|
|
2624
|
-
'''The status of the domain update operation that is currently in progress.'''
|
|
2625
|
-
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "updateStatus"))
|
|
2626
|
-
|
|
2627
|
-
@update_status.setter
|
|
2628
|
-
def update_status(self, value: typing.Optional[builtins.str]) -> None:
|
|
2629
|
-
if __debug__:
|
|
2630
|
-
type_hints = typing.get_type_hints(_typecheckingstub__32062027342583950b193d769f588d413d6109c3591219feec073c4136e23a22)
|
|
2631
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2632
|
-
jsii.set(self, "updateStatus", value)
|
|
2633
|
-
|
|
2634
2618
|
@jsii.data_type(
|
|
2635
2619
|
jsii_type="aws-cdk-lib.aws_amplify.CfnDomain.CertificateProperty",
|
|
2636
2620
|
jsii_struct_bases=[],
|
|
@@ -2891,10 +2875,8 @@ class CfnDomain(
|
|
|
2891
2875
|
"sub_domain_settings": "subDomainSettings",
|
|
2892
2876
|
"auto_sub_domain_creation_patterns": "autoSubDomainCreationPatterns",
|
|
2893
2877
|
"auto_sub_domain_iam_role": "autoSubDomainIamRole",
|
|
2894
|
-
"certificate": "certificate",
|
|
2895
2878
|
"certificate_settings": "certificateSettings",
|
|
2896
2879
|
"enable_auto_sub_domain": "enableAutoSubDomain",
|
|
2897
|
-
"update_status": "updateStatus",
|
|
2898
2880
|
},
|
|
2899
2881
|
)
|
|
2900
2882
|
class CfnDomainProps:
|
|
@@ -2906,10 +2888,8 @@ class CfnDomainProps:
|
|
|
2906
2888
|
sub_domain_settings: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.SubDomainSettingProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
2907
2889
|
auto_sub_domain_creation_patterns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2908
2890
|
auto_sub_domain_iam_role: typing.Optional[builtins.str] = None,
|
|
2909
|
-
certificate: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CertificateProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2910
2891
|
certificate_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CertificateSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2911
2892
|
enable_auto_sub_domain: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2912
|
-
update_status: typing.Optional[builtins.str] = None,
|
|
2913
2893
|
) -> None:
|
|
2914
2894
|
'''Properties for defining a ``CfnDomain``.
|
|
2915
2895
|
|
|
@@ -2918,10 +2898,8 @@ class CfnDomainProps:
|
|
|
2918
2898
|
:param sub_domain_settings: The setting for the subdomain.
|
|
2919
2899
|
:param auto_sub_domain_creation_patterns: Sets the branch patterns for automatic subdomain creation.
|
|
2920
2900
|
:param auto_sub_domain_iam_role: The required AWS Identity and Access Management (IAMlong) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
|
|
2921
|
-
:param certificate: Describes the SSL/TLS certificate for the domain association. This can be your own custom certificate or the default certificate that Amplify provisions for you. If you are updating your domain to use a different certificate, ``Certificate`` points to the new certificate that is being created instead of the current active certificate. Otherwise, ``Certificate`` points to the current active certificate.
|
|
2922
2901
|
:param certificate_settings: The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.
|
|
2923
2902
|
:param enable_auto_sub_domain: Enables the automated creation of subdomains for branches.
|
|
2924
|
-
:param update_status: The status of the domain update operation that is currently in progress. The following list describes the valid update states. - **REQUESTING_CERTIFICATE** - The certificate is in the process of being updated. - **PENDING_VERIFICATION** - Indicates that an Amplify managed certificate is in the process of being verified. This occurs during the creation of a custom domain or when a custom domain is updated to use a managed certificate. - **IMPORTING_CUSTOM_CERTIFICATE** - Indicates that an Amplify custom certificate is in the process of being imported. This occurs during the creation of a custom domain or when a custom domain is updated to use a custom certificate. - **PENDING_DEPLOYMENT** - Indicates that the subdomain or certificate changes are being propagated. - **AWAITING_APP_CNAME** - Amplify is waiting for CNAME records corresponding to subdomains to be propagated. If your custom domain is on Route 53, Amplify handles this for you automatically. For more information about custom domains, see `Setting up custom domains <https://docs.aws.amazon.com/amplify/latest/userguide/custom-domains.html>`_ in the *Amplify Hosting User Guide* . - **UPDATE_COMPLETE** - The certificate has been associated with a domain. - **UPDATE_FAILED** - The certificate has failed to be provisioned or associated, and there is no existing active certificate to roll back to.
|
|
2925
2903
|
|
|
2926
2904
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html
|
|
2927
2905
|
:exampleMetadata: fixture=_generated
|
|
@@ -2943,17 +2921,11 @@ class CfnDomainProps:
|
|
|
2943
2921
|
# the properties below are optional
|
|
2944
2922
|
auto_sub_domain_creation_patterns=["autoSubDomainCreationPatterns"],
|
|
2945
2923
|
auto_sub_domain_iam_role="autoSubDomainIamRole",
|
|
2946
|
-
certificate=amplify.CfnDomain.CertificateProperty(
|
|
2947
|
-
certificate_arn="certificateArn",
|
|
2948
|
-
certificate_type="certificateType",
|
|
2949
|
-
certificate_verification_dns_record="certificateVerificationDnsRecord"
|
|
2950
|
-
),
|
|
2951
2924
|
certificate_settings=amplify.CfnDomain.CertificateSettingsProperty(
|
|
2952
2925
|
certificate_type="certificateType",
|
|
2953
2926
|
custom_certificate_arn="customCertificateArn"
|
|
2954
2927
|
),
|
|
2955
|
-
enable_auto_sub_domain=False
|
|
2956
|
-
update_status="updateStatus"
|
|
2928
|
+
enable_auto_sub_domain=False
|
|
2957
2929
|
)
|
|
2958
2930
|
'''
|
|
2959
2931
|
if __debug__:
|
|
@@ -2963,10 +2935,8 @@ class CfnDomainProps:
|
|
|
2963
2935
|
check_type(argname="argument sub_domain_settings", value=sub_domain_settings, expected_type=type_hints["sub_domain_settings"])
|
|
2964
2936
|
check_type(argname="argument auto_sub_domain_creation_patterns", value=auto_sub_domain_creation_patterns, expected_type=type_hints["auto_sub_domain_creation_patterns"])
|
|
2965
2937
|
check_type(argname="argument auto_sub_domain_iam_role", value=auto_sub_domain_iam_role, expected_type=type_hints["auto_sub_domain_iam_role"])
|
|
2966
|
-
check_type(argname="argument certificate", value=certificate, expected_type=type_hints["certificate"])
|
|
2967
2938
|
check_type(argname="argument certificate_settings", value=certificate_settings, expected_type=type_hints["certificate_settings"])
|
|
2968
2939
|
check_type(argname="argument enable_auto_sub_domain", value=enable_auto_sub_domain, expected_type=type_hints["enable_auto_sub_domain"])
|
|
2969
|
-
check_type(argname="argument update_status", value=update_status, expected_type=type_hints["update_status"])
|
|
2970
2940
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2971
2941
|
"app_id": app_id,
|
|
2972
2942
|
"domain_name": domain_name,
|
|
@@ -2976,14 +2946,10 @@ class CfnDomainProps:
|
|
|
2976
2946
|
self._values["auto_sub_domain_creation_patterns"] = auto_sub_domain_creation_patterns
|
|
2977
2947
|
if auto_sub_domain_iam_role is not None:
|
|
2978
2948
|
self._values["auto_sub_domain_iam_role"] = auto_sub_domain_iam_role
|
|
2979
|
-
if certificate is not None:
|
|
2980
|
-
self._values["certificate"] = certificate
|
|
2981
2949
|
if certificate_settings is not None:
|
|
2982
2950
|
self._values["certificate_settings"] = certificate_settings
|
|
2983
2951
|
if enable_auto_sub_domain is not None:
|
|
2984
2952
|
self._values["enable_auto_sub_domain"] = enable_auto_sub_domain
|
|
2985
|
-
if update_status is not None:
|
|
2986
|
-
self._values["update_status"] = update_status
|
|
2987
2953
|
|
|
2988
2954
|
@builtins.property
|
|
2989
2955
|
def app_id(self) -> builtins.str:
|
|
@@ -3037,21 +3003,6 @@ class CfnDomainProps:
|
|
|
3037
3003
|
result = self._values.get("auto_sub_domain_iam_role")
|
|
3038
3004
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
3039
3005
|
|
|
3040
|
-
@builtins.property
|
|
3041
|
-
def certificate(
|
|
3042
|
-
self,
|
|
3043
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomain.CertificateProperty]]:
|
|
3044
|
-
'''Describes the SSL/TLS certificate for the domain association.
|
|
3045
|
-
|
|
3046
|
-
This can be your own custom certificate or the default certificate that Amplify provisions for you.
|
|
3047
|
-
|
|
3048
|
-
If you are updating your domain to use a different certificate, ``Certificate`` points to the new certificate that is being created instead of the current active certificate. Otherwise, ``Certificate`` points to the current active certificate.
|
|
3049
|
-
|
|
3050
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html#cfn-amplify-domain-certificate
|
|
3051
|
-
'''
|
|
3052
|
-
result = self._values.get("certificate")
|
|
3053
|
-
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomain.CertificateProperty]], result)
|
|
3054
|
-
|
|
3055
3006
|
@builtins.property
|
|
3056
3007
|
def certificate_settings(
|
|
3057
3008
|
self,
|
|
@@ -3076,25 +3027,6 @@ class CfnDomainProps:
|
|
|
3076
3027
|
result = self._values.get("enable_auto_sub_domain")
|
|
3077
3028
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
3078
3029
|
|
|
3079
|
-
@builtins.property
|
|
3080
|
-
def update_status(self) -> typing.Optional[builtins.str]:
|
|
3081
|
-
'''The status of the domain update operation that is currently in progress.
|
|
3082
|
-
|
|
3083
|
-
The following list describes the valid update states.
|
|
3084
|
-
|
|
3085
|
-
- **REQUESTING_CERTIFICATE** - The certificate is in the process of being updated.
|
|
3086
|
-
- **PENDING_VERIFICATION** - Indicates that an Amplify managed certificate is in the process of being verified. This occurs during the creation of a custom domain or when a custom domain is updated to use a managed certificate.
|
|
3087
|
-
- **IMPORTING_CUSTOM_CERTIFICATE** - Indicates that an Amplify custom certificate is in the process of being imported. This occurs during the creation of a custom domain or when a custom domain is updated to use a custom certificate.
|
|
3088
|
-
- **PENDING_DEPLOYMENT** - Indicates that the subdomain or certificate changes are being propagated.
|
|
3089
|
-
- **AWAITING_APP_CNAME** - Amplify is waiting for CNAME records corresponding to subdomains to be propagated. If your custom domain is on Route 53, Amplify handles this for you automatically. For more information about custom domains, see `Setting up custom domains <https://docs.aws.amazon.com/amplify/latest/userguide/custom-domains.html>`_ in the *Amplify Hosting User Guide* .
|
|
3090
|
-
- **UPDATE_COMPLETE** - The certificate has been associated with a domain.
|
|
3091
|
-
- **UPDATE_FAILED** - The certificate has failed to be provisioned or associated, and there is no existing active certificate to roll back to.
|
|
3092
|
-
|
|
3093
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html#cfn-amplify-domain-updatestatus
|
|
3094
|
-
'''
|
|
3095
|
-
result = self._values.get("update_status")
|
|
3096
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
3097
|
-
|
|
3098
3030
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3099
3031
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3100
3032
|
|
|
@@ -3479,10 +3411,8 @@ def _typecheckingstub__a92a80249ff3da7389619f6d46781e48a0d6d9fe2d6d8bc5754daa9ff
|
|
|
3479
3411
|
sub_domain_settings: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.SubDomainSettingProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
3480
3412
|
auto_sub_domain_creation_patterns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3481
3413
|
auto_sub_domain_iam_role: typing.Optional[builtins.str] = None,
|
|
3482
|
-
certificate: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CertificateProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3483
3414
|
certificate_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CertificateSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3484
3415
|
enable_auto_sub_domain: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3485
|
-
update_status: typing.Optional[builtins.str] = None,
|
|
3486
3416
|
) -> None:
|
|
3487
3417
|
"""Type checking stubs"""
|
|
3488
3418
|
pass
|
|
@@ -3529,12 +3459,6 @@ def _typecheckingstub__7e5c09e14aff92aaea4fa282a2b672905afabe76a4faa8624943dade2
|
|
|
3529
3459
|
"""Type checking stubs"""
|
|
3530
3460
|
pass
|
|
3531
3461
|
|
|
3532
|
-
def _typecheckingstub__c749c783dff17010342e8e632503f7d8c47f6fbc9724e47074968d3a39f37d77(
|
|
3533
|
-
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomain.CertificateProperty]],
|
|
3534
|
-
) -> None:
|
|
3535
|
-
"""Type checking stubs"""
|
|
3536
|
-
pass
|
|
3537
|
-
|
|
3538
3462
|
def _typecheckingstub__336ac8621dd20637683f7ca375d9497feeb96edc3f6a2ac808032c99f9c04449(
|
|
3539
3463
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomain.CertificateSettingsProperty]],
|
|
3540
3464
|
) -> None:
|
|
@@ -3547,12 +3471,6 @@ def _typecheckingstub__a5c15a94c5b8643d55b20a0fd990557b9f18fdec4e783bb03e0143f6e
|
|
|
3547
3471
|
"""Type checking stubs"""
|
|
3548
3472
|
pass
|
|
3549
3473
|
|
|
3550
|
-
def _typecheckingstub__32062027342583950b193d769f588d413d6109c3591219feec073c4136e23a22(
|
|
3551
|
-
value: typing.Optional[builtins.str],
|
|
3552
|
-
) -> None:
|
|
3553
|
-
"""Type checking stubs"""
|
|
3554
|
-
pass
|
|
3555
|
-
|
|
3556
3474
|
def _typecheckingstub__dfa007a3fb4a4fb8e40c976c064710502fa56b831e9a942426300a8a6396f9d6(
|
|
3557
3475
|
*,
|
|
3558
3476
|
certificate_arn: typing.Optional[builtins.str] = None,
|
|
@@ -3585,10 +3503,8 @@ def _typecheckingstub__88c16eb1917ed2b27dcef2eed98ca7097349329b83222123ac70b435f
|
|
|
3585
3503
|
sub_domain_settings: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.SubDomainSettingProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
3586
3504
|
auto_sub_domain_creation_patterns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3587
3505
|
auto_sub_domain_iam_role: typing.Optional[builtins.str] = None,
|
|
3588
|
-
certificate: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CertificateProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3589
3506
|
certificate_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CertificateSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3590
3507
|
enable_auto_sub_domain: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3591
|
-
update_status: typing.Optional[builtins.str] = None,
|
|
3592
3508
|
) -> None:
|
|
3593
3509
|
"""Type checking stubs"""
|
|
3594
3510
|
pass
|
|
@@ -387,6 +387,11 @@ class DeployStack(NestedStack):
|
|
|
387
387
|
RootStack(App())
|
|
388
388
|
```
|
|
389
389
|
|
|
390
|
+
> **Warning:** In the code above, an API Gateway deployment is created during the initial CDK deployment.
|
|
391
|
+
> However, if there are changes to the resources in subsequent CDK deployments, a new API Gateway deployment is not
|
|
392
|
+
> automatically created. As a result, the latest state of the resources is not reflected. To ensure the latest state
|
|
393
|
+
> of the resources is reflected, a manual deployment of the API Gateway is required after the CDK deployment.
|
|
394
|
+
|
|
390
395
|
## Integration Targets
|
|
391
396
|
|
|
392
397
|
Methods are associated with backend integrations, which are invoked when this
|
|
@@ -30639,25 +30644,15 @@ class RestApi(
|
|
|
30639
30644
|
|
|
30640
30645
|
Example::
|
|
30641
30646
|
|
|
30642
|
-
|
|
30643
|
-
|
|
30644
|
-
|
|
30645
|
-
)
|
|
30646
|
-
|
|
30647
|
-
stream = firehose.CfnDeliveryStream(self, "MyStream",
|
|
30648
|
-
delivery_stream_name="amazon-apigateway-delivery-stream",
|
|
30649
|
-
s3_destination_configuration=firehose.CfnDeliveryStream.S3DestinationConfigurationProperty(
|
|
30650
|
-
bucket_arn=destination_bucket.bucket_arn,
|
|
30651
|
-
role_arn=delivery_stream_role.role_arn
|
|
30652
|
-
)
|
|
30647
|
+
state_machine = stepfunctions.StateMachine(self, "MyStateMachine",
|
|
30648
|
+
state_machine_type=stepfunctions.StateMachineType.EXPRESS,
|
|
30649
|
+
definition=stepfunctions.Chain.start(stepfunctions.Pass(self, "Pass"))
|
|
30653
30650
|
)
|
|
30654
30651
|
|
|
30655
|
-
api = apigateway.RestApi(self, "
|
|
30656
|
-
|
|
30657
|
-
access_log_destination=apigateway.FirehoseLogDestination(stream),
|
|
30658
|
-
access_log_format=apigateway.AccessLogFormat.json_with_standard_fields()
|
|
30659
|
-
)
|
|
30652
|
+
api = apigateway.RestApi(self, "Api",
|
|
30653
|
+
rest_api_name="MyApi"
|
|
30660
30654
|
)
|
|
30655
|
+
api.root.add_method("GET", apigateway.StepFunctionsIntegration.start_execution(state_machine))
|
|
30661
30656
|
'''
|
|
30662
30657
|
|
|
30663
30658
|
def __init__(
|
|
@@ -30800,6 +30795,18 @@ class RestApi(
|
|
|
30800
30795
|
check_type(argname="argument rest_api_id", value=rest_api_id, expected_type=type_hints["rest_api_id"])
|
|
30801
30796
|
return typing.cast(IRestApi, jsii.sinvoke(cls, "fromRestApiId", [scope, id, rest_api_id]))
|
|
30802
30797
|
|
|
30798
|
+
@jsii.member(jsii_name="isRestApi")
|
|
30799
|
+
@builtins.classmethod
|
|
30800
|
+
def is_rest_api(cls, x: typing.Any) -> builtins.bool:
|
|
30801
|
+
'''Return whether the given object is a ``RestApi``.
|
|
30802
|
+
|
|
30803
|
+
:param x: -
|
|
30804
|
+
'''
|
|
30805
|
+
if __debug__:
|
|
30806
|
+
type_hints = typing.get_type_hints(_typecheckingstub__975bcc14418b68d5b32e6352d624877e6db5a3a0c743ab1d96feb5303ad36de5)
|
|
30807
|
+
check_type(argname="argument x", value=x, expected_type=type_hints["x"])
|
|
30808
|
+
return typing.cast(builtins.bool, jsii.sinvoke(cls, "isRestApi", [x]))
|
|
30809
|
+
|
|
30803
30810
|
@jsii.member(jsii_name="addModel")
|
|
30804
30811
|
def add_model(
|
|
30805
30812
|
self,
|
|
@@ -35410,6 +35417,12 @@ def _typecheckingstub__a6b06e31b718dd074cbb138a449b6e630b58d0b4d697f925d30a0d5dc
|
|
|
35410
35417
|
"""Type checking stubs"""
|
|
35411
35418
|
pass
|
|
35412
35419
|
|
|
35420
|
+
def _typecheckingstub__975bcc14418b68d5b32e6352d624877e6db5a3a0c743ab1d96feb5303ad36de5(
|
|
35421
|
+
x: typing.Any,
|
|
35422
|
+
) -> None:
|
|
35423
|
+
"""Type checking stubs"""
|
|
35424
|
+
pass
|
|
35425
|
+
|
|
35413
35426
|
def _typecheckingstub__1de60fc2908acd199d7f530cdd5976cf468593cf4e1b88db4f5020a88f899584(
|
|
35414
35427
|
id: builtins.str,
|
|
35415
35428
|
*,
|