aws-cdk-lib 2.212.0__py3-none-any.whl → 2.214.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 +23 -3
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.212.0.jsii.tgz → aws-cdk-lib@2.214.0.jsii.tgz} +0 -0
- aws_cdk/aws_appconfig/__init__.py +18 -6
- aws_cdk/aws_appintegrations/__init__.py +4 -4
- aws_cdk/aws_apprunner/__init__.py +5 -8
- aws_cdk/aws_aps/__init__.py +243 -10
- aws_cdk/aws_b2bi/__init__.py +1015 -128
- aws_cdk/aws_batch/__init__.py +33 -11
- aws_cdk/aws_bedrock/__init__.py +22 -216
- aws_cdk/aws_budgets/__init__.py +18 -0
- aws_cdk/aws_certificatemanager/__init__.py +96 -15
- aws_cdk/aws_cloudformation/__init__.py +3 -3
- aws_cdk/aws_cloudwatch/__init__.py +80 -49
- aws_cdk/aws_cognito/__init__.py +76 -5
- aws_cdk/aws_connect/__init__.py +188 -2
- aws_cdk/aws_datazone/__init__.py +2267 -0
- aws_cdk/aws_deadline/__init__.py +6 -5
- aws_cdk/aws_dynamodb/__init__.py +418 -56
- aws_cdk/aws_ec2/__init__.py +51 -10
- aws_cdk/aws_ecs/__init__.py +288 -25
- aws_cdk/aws_ecs_patterns/__init__.py +2 -0
- aws_cdk/aws_eks/__init__.py +124 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +6 -2
- aws_cdk/aws_entityresolution/__init__.py +107 -0
- aws_cdk/aws_events/__init__.py +153 -55
- aws_cdk/aws_events_targets/__init__.py +87 -36
- aws_cdk/aws_fsx/__init__.py +62 -0
- aws_cdk/aws_gameliftstreams/__init__.py +1 -1
- aws_cdk/aws_glue/__init__.py +205 -23
- aws_cdk/aws_guardduty/__init__.py +205 -100
- aws_cdk/aws_iam/__init__.py +18 -0
- aws_cdk/aws_inspectorv2/__init__.py +125 -80
- aws_cdk/aws_iot/__init__.py +37 -19
- aws_cdk/aws_iotsitewise/__init__.py +111 -75
- aws_cdk/aws_ivs/__init__.py +17 -17
- aws_cdk/aws_kinesisanalytics/__init__.py +122 -3
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +122 -3
- aws_cdk/aws_lambda/__init__.py +23 -2
- aws_cdk/aws_logs/__init__.py +20 -15
- aws_cdk/aws_mediapackagev2/__init__.py +2 -2
- aws_cdk/aws_networkfirewall/__init__.py +6 -6
- aws_cdk/aws_omics/__init__.py +477 -2
- aws_cdk/aws_qbusiness/__init__.py +4 -2
- aws_cdk/aws_rds/__init__.py +132 -4
- aws_cdk/aws_route53/__init__.py +18 -11
- aws_cdk/aws_s3/__init__.py +4 -4
- aws_cdk/aws_s3_deployment/__init__.py +45 -0
- aws_cdk/aws_sagemaker/__init__.py +653 -0
- aws_cdk/aws_servicediscovery/__init__.py +22 -37
- aws_cdk/aws_sns/__init__.py +12 -2
- aws_cdk/aws_sns_subscriptions/__init__.py +3 -1
- aws_cdk/aws_sqs/__init__.py +5 -5
- aws_cdk/aws_ssm/__init__.py +8 -3
- aws_cdk/aws_ssmquicksetup/__init__.py +2 -2
- aws_cdk/aws_synthetics/__init__.py +222 -12
- aws_cdk/aws_transfer/__init__.py +15 -2
- aws_cdk/aws_vpclattice/__init__.py +41 -0
- aws_cdk/aws_workspacesweb/__init__.py +71 -41
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/RECORD +65 -65
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/top_level.txt +0 -0
|
@@ -146,6 +146,17 @@ acm.PrivateCertificate(self, "PrivateCertificate",
|
|
|
146
146
|
)
|
|
147
147
|
```
|
|
148
148
|
|
|
149
|
+
## Requesting public SSL/TLS certificates exportable to use anywhere
|
|
150
|
+
|
|
151
|
+
AWS Certificate Manager can issue an exportable public certificate. There is a charge at certificate issuance and again when the certificate renews. See [opting out of certificate transparency logging](https://docs.aws.amazon.com/acm/latest/userguide/acm-exportable-certificates.html) for details.
|
|
152
|
+
|
|
153
|
+
```python
|
|
154
|
+
acm.Certificate(self, "Certificate",
|
|
155
|
+
domain_name="test.example.com",
|
|
156
|
+
allow_export=True
|
|
157
|
+
)
|
|
158
|
+
```
|
|
159
|
+
|
|
149
160
|
## Requesting certificates without transparency logging
|
|
150
161
|
|
|
151
162
|
Transparency logging can be opted out of for AWS Certificate Manager certificates. See [opting out of certificate transparency logging](https://docs.aws.amazon.com/acm/latest/userguide/acm-bestpractices.html#best-practices-transparency) for limits.
|
|
@@ -276,6 +287,7 @@ from ..aws_route53 import IHostedZone as _IHostedZone_9a6907ad
|
|
|
276
287
|
jsii_struct_bases=[],
|
|
277
288
|
name_mapping={
|
|
278
289
|
"domain_name": "domainName",
|
|
290
|
+
"allow_export": "allowExport",
|
|
279
291
|
"certificate_name": "certificateName",
|
|
280
292
|
"key_algorithm": "keyAlgorithm",
|
|
281
293
|
"subject_alternative_names": "subjectAlternativeNames",
|
|
@@ -288,6 +300,7 @@ class CertificateProps:
|
|
|
288
300
|
self,
|
|
289
301
|
*,
|
|
290
302
|
domain_name: builtins.str,
|
|
303
|
+
allow_export: typing.Optional[builtins.bool] = None,
|
|
291
304
|
certificate_name: typing.Optional[builtins.str] = None,
|
|
292
305
|
key_algorithm: typing.Optional["KeyAlgorithm"] = None,
|
|
293
306
|
subject_alternative_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -297,6 +310,7 @@ class CertificateProps:
|
|
|
297
310
|
'''Properties for your certificate.
|
|
298
311
|
|
|
299
312
|
:param domain_name: Fully-qualified domain name to request a certificate for. May contain wildcards, such as ``*.domain.com``.
|
|
313
|
+
:param allow_export: Enable or disable export of this certificate. If you issue an exportable public certificate, there is a charge at certificate issuance and again when the certificate renews. Ref: https://aws.amazon.com/certificate-manager/pricing Default: false
|
|
300
314
|
:param certificate_name: The Certificate name. Since the Certificate resource doesn't support providing a physical name, the value provided here will be recorded in the ``Name`` tag Default: the full, absolute path of this construct
|
|
301
315
|
:param key_algorithm: Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. Default: KeyAlgorithm.RSA_2048
|
|
302
316
|
:param subject_alternative_names: Alternative domain names on your certificate. Use this to register alternative domain names that represent the same site. Default: - No additional FQDNs will be included as alternative domain names.
|
|
@@ -307,27 +321,27 @@ class CertificateProps:
|
|
|
307
321
|
|
|
308
322
|
Example::
|
|
309
323
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
import aws_cdk.aws_route53 as route53
|
|
313
|
-
|
|
314
|
-
# hosted_zone: route53.HostedZone
|
|
315
|
-
|
|
316
|
-
# my_bucket: s3.Bucket
|
|
317
|
-
|
|
318
|
-
my_certificate = acm.Certificate(self, "mySiteCert",
|
|
319
|
-
domain_name="www.example.com",
|
|
320
|
-
validation=acm.CertificateValidation.from_dns(hosted_zone)
|
|
324
|
+
example_com = route53.HostedZone(self, "ExampleCom",
|
|
325
|
+
zone_name="example.com"
|
|
321
326
|
)
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
327
|
+
example_net = route53.HostedZone(self, "ExampleNet",
|
|
328
|
+
zone_name="example.net"
|
|
329
|
+
)
|
|
330
|
+
|
|
331
|
+
cert = acm.Certificate(self, "Certificate",
|
|
332
|
+
domain_name="test.example.com",
|
|
333
|
+
subject_alternative_names=["cool.example.com", "test.example.net"],
|
|
334
|
+
validation=acm.CertificateValidation.from_dns_multi_zone({
|
|
335
|
+
"test.example.com": example_com,
|
|
336
|
+
"cool.example.com": example_com,
|
|
337
|
+
"test.example.net": example_net
|
|
338
|
+
})
|
|
326
339
|
)
|
|
327
340
|
'''
|
|
328
341
|
if __debug__:
|
|
329
342
|
type_hints = typing.get_type_hints(_typecheckingstub__0454180af2ed6575d11cf361cd5374f722ba32d4007970472aca57751d85258f)
|
|
330
343
|
check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
|
|
344
|
+
check_type(argname="argument allow_export", value=allow_export, expected_type=type_hints["allow_export"])
|
|
331
345
|
check_type(argname="argument certificate_name", value=certificate_name, expected_type=type_hints["certificate_name"])
|
|
332
346
|
check_type(argname="argument key_algorithm", value=key_algorithm, expected_type=type_hints["key_algorithm"])
|
|
333
347
|
check_type(argname="argument subject_alternative_names", value=subject_alternative_names, expected_type=type_hints["subject_alternative_names"])
|
|
@@ -336,6 +350,8 @@ class CertificateProps:
|
|
|
336
350
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
337
351
|
"domain_name": domain_name,
|
|
338
352
|
}
|
|
353
|
+
if allow_export is not None:
|
|
354
|
+
self._values["allow_export"] = allow_export
|
|
339
355
|
if certificate_name is not None:
|
|
340
356
|
self._values["certificate_name"] = certificate_name
|
|
341
357
|
if key_algorithm is not None:
|
|
@@ -357,6 +373,18 @@ class CertificateProps:
|
|
|
357
373
|
assert result is not None, "Required property 'domain_name' is missing"
|
|
358
374
|
return typing.cast(builtins.str, result)
|
|
359
375
|
|
|
376
|
+
@builtins.property
|
|
377
|
+
def allow_export(self) -> typing.Optional[builtins.bool]:
|
|
378
|
+
'''Enable or disable export of this certificate.
|
|
379
|
+
|
|
380
|
+
If you issue an exportable public certificate, there is a charge at certificate issuance and again when the certificate renews.
|
|
381
|
+
Ref: https://aws.amazon.com/certificate-manager/pricing
|
|
382
|
+
|
|
383
|
+
:default: false
|
|
384
|
+
'''
|
|
385
|
+
result = self._values.get("allow_export")
|
|
386
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
387
|
+
|
|
360
388
|
@builtins.property
|
|
361
389
|
def certificate_name(self) -> typing.Optional[builtins.str]:
|
|
362
390
|
'''The Certificate name.
|
|
@@ -1511,6 +1539,7 @@ class CfnCertificateProps:
|
|
|
1511
1539
|
jsii_struct_bases=[CertificateProps],
|
|
1512
1540
|
name_mapping={
|
|
1513
1541
|
"domain_name": "domainName",
|
|
1542
|
+
"allow_export": "allowExport",
|
|
1514
1543
|
"certificate_name": "certificateName",
|
|
1515
1544
|
"key_algorithm": "keyAlgorithm",
|
|
1516
1545
|
"subject_alternative_names": "subjectAlternativeNames",
|
|
@@ -1528,6 +1557,7 @@ class DnsValidatedCertificateProps(CertificateProps):
|
|
|
1528
1557
|
self,
|
|
1529
1558
|
*,
|
|
1530
1559
|
domain_name: builtins.str,
|
|
1560
|
+
allow_export: typing.Optional[builtins.bool] = None,
|
|
1531
1561
|
certificate_name: typing.Optional[builtins.str] = None,
|
|
1532
1562
|
key_algorithm: typing.Optional["KeyAlgorithm"] = None,
|
|
1533
1563
|
subject_alternative_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -1542,6 +1572,7 @@ class DnsValidatedCertificateProps(CertificateProps):
|
|
|
1542
1572
|
'''Properties to create a DNS validated certificate managed by AWS Certificate Manager.
|
|
1543
1573
|
|
|
1544
1574
|
:param domain_name: Fully-qualified domain name to request a certificate for. May contain wildcards, such as ``*.domain.com``.
|
|
1575
|
+
:param allow_export: Enable or disable export of this certificate. If you issue an exportable public certificate, there is a charge at certificate issuance and again when the certificate renews. Ref: https://aws.amazon.com/certificate-manager/pricing Default: false
|
|
1545
1576
|
:param certificate_name: The Certificate name. Since the Certificate resource doesn't support providing a physical name, the value provided here will be recorded in the ``Name`` tag Default: the full, absolute path of this construct
|
|
1546
1577
|
:param key_algorithm: Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. Default: KeyAlgorithm.RSA_2048
|
|
1547
1578
|
:param subject_alternative_names: Alternative domain names on your certificate. Use this to register alternative domain names that represent the same site. Default: - No additional FQDNs will be included as alternative domain names.
|
|
@@ -1573,6 +1604,7 @@ class DnsValidatedCertificateProps(CertificateProps):
|
|
|
1573
1604
|
hosted_zone=hosted_zone,
|
|
1574
1605
|
|
|
1575
1606
|
# the properties below are optional
|
|
1607
|
+
allow_export=False,
|
|
1576
1608
|
certificate_name="certificateName",
|
|
1577
1609
|
cleanup_route53_records=False,
|
|
1578
1610
|
custom_resource_role=role,
|
|
@@ -1587,6 +1619,7 @@ class DnsValidatedCertificateProps(CertificateProps):
|
|
|
1587
1619
|
if __debug__:
|
|
1588
1620
|
type_hints = typing.get_type_hints(_typecheckingstub__f8749c95da859ba878861eff7c4231de11fa86681f0df8dbe02a3b4e4f5128b6)
|
|
1589
1621
|
check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
|
|
1622
|
+
check_type(argname="argument allow_export", value=allow_export, expected_type=type_hints["allow_export"])
|
|
1590
1623
|
check_type(argname="argument certificate_name", value=certificate_name, expected_type=type_hints["certificate_name"])
|
|
1591
1624
|
check_type(argname="argument key_algorithm", value=key_algorithm, expected_type=type_hints["key_algorithm"])
|
|
1592
1625
|
check_type(argname="argument subject_alternative_names", value=subject_alternative_names, expected_type=type_hints["subject_alternative_names"])
|
|
@@ -1601,6 +1634,8 @@ class DnsValidatedCertificateProps(CertificateProps):
|
|
|
1601
1634
|
"domain_name": domain_name,
|
|
1602
1635
|
"hosted_zone": hosted_zone,
|
|
1603
1636
|
}
|
|
1637
|
+
if allow_export is not None:
|
|
1638
|
+
self._values["allow_export"] = allow_export
|
|
1604
1639
|
if certificate_name is not None:
|
|
1605
1640
|
self._values["certificate_name"] = certificate_name
|
|
1606
1641
|
if key_algorithm is not None:
|
|
@@ -1630,6 +1665,18 @@ class DnsValidatedCertificateProps(CertificateProps):
|
|
|
1630
1665
|
assert result is not None, "Required property 'domain_name' is missing"
|
|
1631
1666
|
return typing.cast(builtins.str, result)
|
|
1632
1667
|
|
|
1668
|
+
@builtins.property
|
|
1669
|
+
def allow_export(self) -> typing.Optional[builtins.bool]:
|
|
1670
|
+
'''Enable or disable export of this certificate.
|
|
1671
|
+
|
|
1672
|
+
If you issue an exportable public certificate, there is a charge at certificate issuance and again when the certificate renews.
|
|
1673
|
+
Ref: https://aws.amazon.com/certificate-manager/pricing
|
|
1674
|
+
|
|
1675
|
+
:default: false
|
|
1676
|
+
'''
|
|
1677
|
+
result = self._values.get("allow_export")
|
|
1678
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
1679
|
+
|
|
1633
1680
|
@builtins.property
|
|
1634
1681
|
def certificate_name(self) -> typing.Optional[builtins.str]:
|
|
1635
1682
|
'''The Certificate name.
|
|
@@ -1999,6 +2046,7 @@ class PrivateCertificate(
|
|
|
1999
2046
|
*,
|
|
2000
2047
|
certificate_authority: _ICertificateAuthority_26727cab,
|
|
2001
2048
|
domain_name: builtins.str,
|
|
2049
|
+
allow_export: typing.Optional[builtins.bool] = None,
|
|
2002
2050
|
key_algorithm: typing.Optional[KeyAlgorithm] = None,
|
|
2003
2051
|
subject_alternative_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2004
2052
|
) -> None:
|
|
@@ -2007,6 +2055,7 @@ class PrivateCertificate(
|
|
|
2007
2055
|
:param id: -
|
|
2008
2056
|
:param certificate_authority: Private certificate authority (CA) that will be used to issue the certificate.
|
|
2009
2057
|
:param domain_name: Fully-qualified domain name to request a private certificate for. May contain wildcards, such as ``*.domain.com``.
|
|
2058
|
+
:param allow_export: Enable or disable export of this certificate. If you issue an exportable public certificate, there is a charge at certificate issuance and again when the certificate renews. Ref: https://aws.amazon.com/certificate-manager/pricing Default: false
|
|
2010
2059
|
:param key_algorithm: Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. When you request a private PKI certificate signed by a CA from AWS Private CA, the specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key. Default: KeyAlgorithm.RSA_2048
|
|
2011
2060
|
:param subject_alternative_names: Alternative domain names on your private certificate. Use this to register alternative domain names that represent the same site. Default: - No additional FQDNs will be included as alternative domain names.
|
|
2012
2061
|
'''
|
|
@@ -2017,6 +2066,7 @@ class PrivateCertificate(
|
|
|
2017
2066
|
props = PrivateCertificateProps(
|
|
2018
2067
|
certificate_authority=certificate_authority,
|
|
2019
2068
|
domain_name=domain_name,
|
|
2069
|
+
allow_export=allow_export,
|
|
2020
2070
|
key_algorithm=key_algorithm,
|
|
2021
2071
|
subject_alternative_names=subject_alternative_names,
|
|
2022
2072
|
)
|
|
@@ -2122,6 +2172,7 @@ class PrivateCertificate(
|
|
|
2122
2172
|
name_mapping={
|
|
2123
2173
|
"certificate_authority": "certificateAuthority",
|
|
2124
2174
|
"domain_name": "domainName",
|
|
2175
|
+
"allow_export": "allowExport",
|
|
2125
2176
|
"key_algorithm": "keyAlgorithm",
|
|
2126
2177
|
"subject_alternative_names": "subjectAlternativeNames",
|
|
2127
2178
|
},
|
|
@@ -2132,6 +2183,7 @@ class PrivateCertificateProps:
|
|
|
2132
2183
|
*,
|
|
2133
2184
|
certificate_authority: _ICertificateAuthority_26727cab,
|
|
2134
2185
|
domain_name: builtins.str,
|
|
2186
|
+
allow_export: typing.Optional[builtins.bool] = None,
|
|
2135
2187
|
key_algorithm: typing.Optional[KeyAlgorithm] = None,
|
|
2136
2188
|
subject_alternative_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2137
2189
|
) -> None:
|
|
@@ -2139,6 +2191,7 @@ class PrivateCertificateProps:
|
|
|
2139
2191
|
|
|
2140
2192
|
:param certificate_authority: Private certificate authority (CA) that will be used to issue the certificate.
|
|
2141
2193
|
:param domain_name: Fully-qualified domain name to request a private certificate for. May contain wildcards, such as ``*.domain.com``.
|
|
2194
|
+
:param allow_export: Enable or disable export of this certificate. If you issue an exportable public certificate, there is a charge at certificate issuance and again when the certificate renews. Ref: https://aws.amazon.com/certificate-manager/pricing Default: false
|
|
2142
2195
|
:param key_algorithm: Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. When you request a private PKI certificate signed by a CA from AWS Private CA, the specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key. Default: KeyAlgorithm.RSA_2048
|
|
2143
2196
|
:param subject_alternative_names: Alternative domain names on your private certificate. Use this to register alternative domain names that represent the same site. Default: - No additional FQDNs will be included as alternative domain names.
|
|
2144
2197
|
|
|
@@ -2160,12 +2213,15 @@ class PrivateCertificateProps:
|
|
|
2160
2213
|
type_hints = typing.get_type_hints(_typecheckingstub__74588c43933e5f34a3203601cc823ca974676f71701280dcd43e9f037bba43e3)
|
|
2161
2214
|
check_type(argname="argument certificate_authority", value=certificate_authority, expected_type=type_hints["certificate_authority"])
|
|
2162
2215
|
check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
|
|
2216
|
+
check_type(argname="argument allow_export", value=allow_export, expected_type=type_hints["allow_export"])
|
|
2163
2217
|
check_type(argname="argument key_algorithm", value=key_algorithm, expected_type=type_hints["key_algorithm"])
|
|
2164
2218
|
check_type(argname="argument subject_alternative_names", value=subject_alternative_names, expected_type=type_hints["subject_alternative_names"])
|
|
2165
2219
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2166
2220
|
"certificate_authority": certificate_authority,
|
|
2167
2221
|
"domain_name": domain_name,
|
|
2168
2222
|
}
|
|
2223
|
+
if allow_export is not None:
|
|
2224
|
+
self._values["allow_export"] = allow_export
|
|
2169
2225
|
if key_algorithm is not None:
|
|
2170
2226
|
self._values["key_algorithm"] = key_algorithm
|
|
2171
2227
|
if subject_alternative_names is not None:
|
|
@@ -2188,6 +2244,18 @@ class PrivateCertificateProps:
|
|
|
2188
2244
|
assert result is not None, "Required property 'domain_name' is missing"
|
|
2189
2245
|
return typing.cast(builtins.str, result)
|
|
2190
2246
|
|
|
2247
|
+
@builtins.property
|
|
2248
|
+
def allow_export(self) -> typing.Optional[builtins.bool]:
|
|
2249
|
+
'''Enable or disable export of this certificate.
|
|
2250
|
+
|
|
2251
|
+
If you issue an exportable public certificate, there is a charge at certificate issuance and again when the certificate renews.
|
|
2252
|
+
Ref: https://aws.amazon.com/certificate-manager/pricing
|
|
2253
|
+
|
|
2254
|
+
:default: false
|
|
2255
|
+
'''
|
|
2256
|
+
result = self._values.get("allow_export")
|
|
2257
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
2258
|
+
|
|
2191
2259
|
@builtins.property
|
|
2192
2260
|
def key_algorithm(self) -> typing.Optional[KeyAlgorithm]:
|
|
2193
2261
|
'''Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data.
|
|
@@ -2278,6 +2346,7 @@ class Certificate(
|
|
|
2278
2346
|
id: builtins.str,
|
|
2279
2347
|
*,
|
|
2280
2348
|
domain_name: builtins.str,
|
|
2349
|
+
allow_export: typing.Optional[builtins.bool] = None,
|
|
2281
2350
|
certificate_name: typing.Optional[builtins.str] = None,
|
|
2282
2351
|
key_algorithm: typing.Optional[KeyAlgorithm] = None,
|
|
2283
2352
|
subject_alternative_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -2288,6 +2357,7 @@ class Certificate(
|
|
|
2288
2357
|
:param scope: -
|
|
2289
2358
|
:param id: -
|
|
2290
2359
|
:param domain_name: Fully-qualified domain name to request a certificate for. May contain wildcards, such as ``*.domain.com``.
|
|
2360
|
+
:param allow_export: Enable or disable export of this certificate. If you issue an exportable public certificate, there is a charge at certificate issuance and again when the certificate renews. Ref: https://aws.amazon.com/certificate-manager/pricing Default: false
|
|
2291
2361
|
:param certificate_name: The Certificate name. Since the Certificate resource doesn't support providing a physical name, the value provided here will be recorded in the ``Name`` tag Default: the full, absolute path of this construct
|
|
2292
2362
|
:param key_algorithm: Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. Default: KeyAlgorithm.RSA_2048
|
|
2293
2363
|
:param subject_alternative_names: Alternative domain names on your certificate. Use this to register alternative domain names that represent the same site. Default: - No additional FQDNs will be included as alternative domain names.
|
|
@@ -2300,6 +2370,7 @@ class Certificate(
|
|
|
2300
2370
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2301
2371
|
props = CertificateProps(
|
|
2302
2372
|
domain_name=domain_name,
|
|
2373
|
+
allow_export=allow_export,
|
|
2303
2374
|
certificate_name=certificate_name,
|
|
2304
2375
|
key_algorithm=key_algorithm,
|
|
2305
2376
|
subject_alternative_names=subject_alternative_names,
|
|
@@ -2437,6 +2508,7 @@ class DnsValidatedCertificate(
|
|
|
2437
2508
|
hosted_zone=hosted_zone,
|
|
2438
2509
|
|
|
2439
2510
|
# the properties below are optional
|
|
2511
|
+
allow_export=False,
|
|
2440
2512
|
certificate_name="certificateName",
|
|
2441
2513
|
cleanup_route53_records=False,
|
|
2442
2514
|
custom_resource_role=role,
|
|
@@ -2460,6 +2532,7 @@ class DnsValidatedCertificate(
|
|
|
2460
2532
|
region: typing.Optional[builtins.str] = None,
|
|
2461
2533
|
route53_endpoint: typing.Optional[builtins.str] = None,
|
|
2462
2534
|
domain_name: builtins.str,
|
|
2535
|
+
allow_export: typing.Optional[builtins.bool] = None,
|
|
2463
2536
|
certificate_name: typing.Optional[builtins.str] = None,
|
|
2464
2537
|
key_algorithm: typing.Optional[KeyAlgorithm] = None,
|
|
2465
2538
|
subject_alternative_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -2475,6 +2548,7 @@ class DnsValidatedCertificate(
|
|
|
2475
2548
|
:param region: AWS region that will host the certificate. This is needed especially for certificates used for CloudFront distributions, which require the region to be us-east-1. Default: the region the stack is deployed in.
|
|
2476
2549
|
:param route53_endpoint: An endpoint of Route53 service, which is not necessary as AWS SDK could figure out the right endpoints for most regions, but for some regions such as those in aws-cn partition, the default endpoint is not working now, hence the right endpoint need to be specified through this prop. Route53 is not been officially launched in China, it is only available for AWS internal accounts now. To make DnsValidatedCertificate work for internal accounts now, a special endpoint needs to be provided. Default: - The AWS SDK will determine the Route53 endpoint to use based on region
|
|
2477
2550
|
:param domain_name: Fully-qualified domain name to request a certificate for. May contain wildcards, such as ``*.domain.com``.
|
|
2551
|
+
:param allow_export: Enable or disable export of this certificate. If you issue an exportable public certificate, there is a charge at certificate issuance and again when the certificate renews. Ref: https://aws.amazon.com/certificate-manager/pricing Default: false
|
|
2478
2552
|
:param certificate_name: The Certificate name. Since the Certificate resource doesn't support providing a physical name, the value provided here will be recorded in the ``Name`` tag Default: the full, absolute path of this construct
|
|
2479
2553
|
:param key_algorithm: Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. Default: KeyAlgorithm.RSA_2048
|
|
2480
2554
|
:param subject_alternative_names: Alternative domain names on your certificate. Use this to register alternative domain names that represent the same site. Default: - No additional FQDNs will be included as alternative domain names.
|
|
@@ -2494,6 +2568,7 @@ class DnsValidatedCertificate(
|
|
|
2494
2568
|
region=region,
|
|
2495
2569
|
route53_endpoint=route53_endpoint,
|
|
2496
2570
|
domain_name=domain_name,
|
|
2571
|
+
allow_export=allow_export,
|
|
2497
2572
|
certificate_name=certificate_name,
|
|
2498
2573
|
key_algorithm=key_algorithm,
|
|
2499
2574
|
subject_alternative_names=subject_alternative_names,
|
|
@@ -2640,6 +2715,7 @@ publication.publish()
|
|
|
2640
2715
|
def _typecheckingstub__0454180af2ed6575d11cf361cd5374f722ba32d4007970472aca57751d85258f(
|
|
2641
2716
|
*,
|
|
2642
2717
|
domain_name: builtins.str,
|
|
2718
|
+
allow_export: typing.Optional[builtins.bool] = None,
|
|
2643
2719
|
certificate_name: typing.Optional[builtins.str] = None,
|
|
2644
2720
|
key_algorithm: typing.Optional[KeyAlgorithm] = None,
|
|
2645
2721
|
subject_alternative_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -2828,6 +2904,7 @@ def _typecheckingstub__0e42a641d895acaee35ba9ec88335a357b8cbfb64b98867f1792ccd63
|
|
|
2828
2904
|
def _typecheckingstub__f8749c95da859ba878861eff7c4231de11fa86681f0df8dbe02a3b4e4f5128b6(
|
|
2829
2905
|
*,
|
|
2830
2906
|
domain_name: builtins.str,
|
|
2907
|
+
allow_export: typing.Optional[builtins.bool] = None,
|
|
2831
2908
|
certificate_name: typing.Optional[builtins.str] = None,
|
|
2832
2909
|
key_algorithm: typing.Optional[KeyAlgorithm] = None,
|
|
2833
2910
|
subject_alternative_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -2854,6 +2931,7 @@ def _typecheckingstub__f15cee4bdac8e70000027c8ca1386d49408a399d3919aa965c46bb68f
|
|
|
2854
2931
|
*,
|
|
2855
2932
|
certificate_authority: _ICertificateAuthority_26727cab,
|
|
2856
2933
|
domain_name: builtins.str,
|
|
2934
|
+
allow_export: typing.Optional[builtins.bool] = None,
|
|
2857
2935
|
key_algorithm: typing.Optional[KeyAlgorithm] = None,
|
|
2858
2936
|
subject_alternative_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2859
2937
|
) -> None:
|
|
@@ -2872,6 +2950,7 @@ def _typecheckingstub__74588c43933e5f34a3203601cc823ca974676f71701280dcd43e9f037
|
|
|
2872
2950
|
*,
|
|
2873
2951
|
certificate_authority: _ICertificateAuthority_26727cab,
|
|
2874
2952
|
domain_name: builtins.str,
|
|
2953
|
+
allow_export: typing.Optional[builtins.bool] = None,
|
|
2875
2954
|
key_algorithm: typing.Optional[KeyAlgorithm] = None,
|
|
2876
2955
|
subject_alternative_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2877
2956
|
) -> None:
|
|
@@ -2883,6 +2962,7 @@ def _typecheckingstub__64139efa4ed87482ec95b7e38ad6cf94c6873d02b05ba33c374316868
|
|
|
2883
2962
|
id: builtins.str,
|
|
2884
2963
|
*,
|
|
2885
2964
|
domain_name: builtins.str,
|
|
2965
|
+
allow_export: typing.Optional[builtins.bool] = None,
|
|
2886
2966
|
certificate_name: typing.Optional[builtins.str] = None,
|
|
2887
2967
|
key_algorithm: typing.Optional[KeyAlgorithm] = None,
|
|
2888
2968
|
subject_alternative_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -2910,6 +2990,7 @@ def _typecheckingstub__9ce11c00a812f11e5a7783956e3e90d7c684153bef62852779a324183
|
|
|
2910
2990
|
region: typing.Optional[builtins.str] = None,
|
|
2911
2991
|
route53_endpoint: typing.Optional[builtins.str] = None,
|
|
2912
2992
|
domain_name: builtins.str,
|
|
2993
|
+
allow_export: typing.Optional[builtins.bool] = None,
|
|
2913
2994
|
certificate_name: typing.Optional[builtins.str] = None,
|
|
2914
2995
|
key_algorithm: typing.Optional[KeyAlgorithm] = None,
|
|
2915
2996
|
subject_alternative_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -2478,7 +2478,7 @@ class CfnLambdaHook(
|
|
|
2478
2478
|
:param lambda_function: Specifies the Lambda function for the Hook. You can use:. - The full Amazon Resource Name (ARN) without a suffix. - A qualified ARN with a version or alias suffix.
|
|
2479
2479
|
:param target_operations: Specifies the list of operations the Hook is run against. For more information, see `Hook targets <https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-concepts.html#hook-terms-hook-target>`_ in the *AWS CloudFormation Hooks User Guide* . Valid values: ``STACK`` | ``RESOURCE`` | ``CHANGE_SET`` | ``CLOUD_CONTROL``
|
|
2480
2480
|
:param stack_filters: Specifies the stack level filters for the Hook. Example stack level filter in JSON: ``"StackFilters": {"FilteringCriteria": "ALL", "StackNames": {"Exclude": [ "stack-1", "stack-2"]}}`` Example stack level filter in YAML: ``StackFilters: FilteringCriteria: ALL StackNames: Exclude: - stack-1 - stack-2``
|
|
2481
|
-
:param target_filters: Specifies the target filters for the Hook. Example target filter in JSON: ``"TargetFilters": {"Actions": [ "
|
|
2481
|
+
:param target_filters: Specifies the target filters for the Hook. Example target filter in JSON: ``"TargetFilters": {"Actions": [ "CREATE", "UPDATE", "DELETE" ]}`` Example target filter in YAML: ``TargetFilters: Actions: - CREATE - UPDATE - DELETE``
|
|
2482
2482
|
'''
|
|
2483
2483
|
if __debug__:
|
|
2484
2484
|
type_hints = typing.get_type_hints(_typecheckingstub__fec9ac58a382959177810e26366e5dddc9f912aaf73b09411981c9ecbce1010a)
|
|
@@ -3169,7 +3169,7 @@ class CfnLambdaHookProps:
|
|
|
3169
3169
|
:param lambda_function: Specifies the Lambda function for the Hook. You can use:. - The full Amazon Resource Name (ARN) without a suffix. - A qualified ARN with a version or alias suffix.
|
|
3170
3170
|
:param target_operations: Specifies the list of operations the Hook is run against. For more information, see `Hook targets <https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-concepts.html#hook-terms-hook-target>`_ in the *AWS CloudFormation Hooks User Guide* . Valid values: ``STACK`` | ``RESOURCE`` | ``CHANGE_SET`` | ``CLOUD_CONTROL``
|
|
3171
3171
|
:param stack_filters: Specifies the stack level filters for the Hook. Example stack level filter in JSON: ``"StackFilters": {"FilteringCriteria": "ALL", "StackNames": {"Exclude": [ "stack-1", "stack-2"]}}`` Example stack level filter in YAML: ``StackFilters: FilteringCriteria: ALL StackNames: Exclude: - stack-1 - stack-2``
|
|
3172
|
-
:param target_filters: Specifies the target filters for the Hook. Example target filter in JSON: ``"TargetFilters": {"Actions": [ "
|
|
3172
|
+
:param target_filters: Specifies the target filters for the Hook. Example target filter in JSON: ``"TargetFilters": {"Actions": [ "CREATE", "UPDATE", "DELETE" ]}`` Example target filter in YAML: ``TargetFilters: Actions: - CREATE - UPDATE - DELETE``
|
|
3173
3173
|
|
|
3174
3174
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html
|
|
3175
3175
|
:exampleMetadata: fixture=_generated
|
|
@@ -3340,7 +3340,7 @@ class CfnLambdaHookProps:
|
|
|
3340
3340
|
|
|
3341
3341
|
Example target filter in JSON:
|
|
3342
3342
|
|
|
3343
|
-
``"TargetFilters": {"Actions": [ "
|
|
3343
|
+
``"TargetFilters": {"Actions": [ "CREATE", "UPDATE", "DELETE" ]}``
|
|
3344
3344
|
|
|
3345
3345
|
Example target filter in YAML:
|
|
3346
3346
|
|