aws-cdk-lib 2.219.0__py3-none-any.whl → 2.220.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 +12 -17
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.219.0.jsii.tgz → aws-cdk-lib@2.220.0.jsii.tgz} +0 -0
- aws_cdk/aws_applicationsignals/__init__.py +450 -2
- aws_cdk/aws_arcregionswitch/__init__.py +8 -0
- aws_cdk/aws_backup/__init__.py +29 -0
- aws_cdk/aws_batch/__init__.py +109 -7
- aws_cdk/aws_bedrock/__init__.py +44 -16
- aws_cdk/aws_bedrockagentcore/__init__.py +7872 -1718
- aws_cdk/aws_cloudfront/experimental/__init__.py +4 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +87 -6
- aws_cdk/aws_cloudwatch/__init__.py +5 -5
- aws_cdk/aws_cognito/__init__.py +6 -4
- aws_cdk/aws_dax/__init__.py +12 -3
- aws_cdk/aws_directoryservice/__init__.py +29 -0
- aws_cdk/aws_ec2/__init__.py +99 -8
- aws_cdk/aws_ecs/__init__.py +342 -134
- aws_cdk/aws_eks/__init__.py +114 -9
- aws_cdk/aws_fsx/__init__.py +4 -4
- aws_cdk/aws_imagebuilder/__init__.py +397 -0
- aws_cdk/aws_iotsitewise/__init__.py +136 -80
- aws_cdk/aws_kinesis/__init__.py +95 -4
- aws_cdk/aws_lambda/__init__.py +43 -0
- aws_cdk/aws_lightsail/__init__.py +584 -0
- aws_cdk/aws_logs/__init__.py +57 -0
- aws_cdk/aws_lookoutmetrics/__init__.py +14 -2
- aws_cdk/aws_m2/__init__.py +59 -13
- aws_cdk/aws_medialive/__init__.py +108 -0
- aws_cdk/aws_mwaa/__init__.py +5 -5
- aws_cdk/aws_neptune/__init__.py +133 -70
- aws_cdk/aws_networkmanager/__init__.py +29 -0
- aws_cdk/aws_observabilityadmin/__init__.py +1227 -83
- aws_cdk/aws_omics/__init__.py +7 -1
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_pcs/__init__.py +224 -33
- aws_cdk/aws_pinpoint/__init__.py +58 -0
- aws_cdk/aws_quicksight/__init__.py +80 -0
- aws_cdk/aws_rds/__init__.py +29 -23
- aws_cdk/aws_refactorspaces/__init__.py +18 -6
- aws_cdk/aws_route53/__init__.py +130 -6
- aws_cdk/aws_s3/__init__.py +29 -2
- aws_cdk/aws_s3objectlambda/__init__.py +44 -12
- aws_cdk/aws_servicecatalog/__init__.py +25 -20
- aws_cdk/aws_ssmquicksetup/__init__.py +3 -3
- aws_cdk/aws_synthetics/__init__.py +21 -1
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/RECORD +51 -51
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_s3/__init__.py
CHANGED
|
@@ -2110,17 +2110,23 @@ class BucketNotificationDestinationType(enum.Enum):
|
|
|
2110
2110
|
@jsii.data_type(
|
|
2111
2111
|
jsii_type="aws-cdk-lib.aws_s3.BucketPolicyProps",
|
|
2112
2112
|
jsii_struct_bases=[],
|
|
2113
|
-
name_mapping={
|
|
2113
|
+
name_mapping={
|
|
2114
|
+
"bucket": "bucket",
|
|
2115
|
+
"document": "document",
|
|
2116
|
+
"removal_policy": "removalPolicy",
|
|
2117
|
+
},
|
|
2114
2118
|
)
|
|
2115
2119
|
class BucketPolicyProps:
|
|
2116
2120
|
def __init__(
|
|
2117
2121
|
self,
|
|
2118
2122
|
*,
|
|
2119
2123
|
bucket: "IBucket",
|
|
2124
|
+
document: typing.Optional[_PolicyDocument_3ac34393] = None,
|
|
2120
2125
|
removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
2121
2126
|
) -> None:
|
|
2122
2127
|
'''
|
|
2123
2128
|
:param bucket: The Amazon S3 bucket that the policy applies to.
|
|
2129
|
+
:param document: Policy document to apply to the bucket. Default: - A new empty PolicyDocument will be created.
|
|
2124
2130
|
:param removal_policy: Policy to apply when the policy is removed from this stack. Default: - RemovalPolicy.DESTROY.
|
|
2125
2131
|
|
|
2126
2132
|
:exampleMetadata: fixture=_generated
|
|
@@ -2130,24 +2136,30 @@ class BucketPolicyProps:
|
|
|
2130
2136
|
# The code below shows an example of how to instantiate this type.
|
|
2131
2137
|
# The values are placeholders you should change.
|
|
2132
2138
|
import aws_cdk as cdk
|
|
2139
|
+
from aws_cdk import aws_iam as iam
|
|
2133
2140
|
from aws_cdk import aws_s3 as s3
|
|
2134
2141
|
|
|
2135
2142
|
# bucket: s3.Bucket
|
|
2143
|
+
# policy_document: iam.PolicyDocument
|
|
2136
2144
|
|
|
2137
2145
|
bucket_policy_props = s3.BucketPolicyProps(
|
|
2138
2146
|
bucket=bucket,
|
|
2139
2147
|
|
|
2140
2148
|
# the properties below are optional
|
|
2149
|
+
document=policy_document,
|
|
2141
2150
|
removal_policy=cdk.RemovalPolicy.DESTROY
|
|
2142
2151
|
)
|
|
2143
2152
|
'''
|
|
2144
2153
|
if __debug__:
|
|
2145
2154
|
type_hints = typing.get_type_hints(_typecheckingstub__4d7b9233434273933326211f004f27c2982fedd89ad904dc86d84c54f0f50ac6)
|
|
2146
2155
|
check_type(argname="argument bucket", value=bucket, expected_type=type_hints["bucket"])
|
|
2156
|
+
check_type(argname="argument document", value=document, expected_type=type_hints["document"])
|
|
2147
2157
|
check_type(argname="argument removal_policy", value=removal_policy, expected_type=type_hints["removal_policy"])
|
|
2148
2158
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2149
2159
|
"bucket": bucket,
|
|
2150
2160
|
}
|
|
2161
|
+
if document is not None:
|
|
2162
|
+
self._values["document"] = document
|
|
2151
2163
|
if removal_policy is not None:
|
|
2152
2164
|
self._values["removal_policy"] = removal_policy
|
|
2153
2165
|
|
|
@@ -2158,6 +2170,15 @@ class BucketPolicyProps:
|
|
|
2158
2170
|
assert result is not None, "Required property 'bucket' is missing"
|
|
2159
2171
|
return typing.cast("IBucket", result)
|
|
2160
2172
|
|
|
2173
|
+
@builtins.property
|
|
2174
|
+
def document(self) -> typing.Optional[_PolicyDocument_3ac34393]:
|
|
2175
|
+
'''Policy document to apply to the bucket.
|
|
2176
|
+
|
|
2177
|
+
:default: - A new empty PolicyDocument will be created.
|
|
2178
|
+
'''
|
|
2179
|
+
result = self._values.get("document")
|
|
2180
|
+
return typing.cast(typing.Optional[_PolicyDocument_3ac34393], result)
|
|
2181
|
+
|
|
2161
2182
|
@builtins.property
|
|
2162
2183
|
def removal_policy(self) -> typing.Optional[_RemovalPolicy_9f93c814]:
|
|
2163
2184
|
'''Policy to apply when the policy is removed from this stack.
|
|
@@ -8546,19 +8567,23 @@ class BucketPolicy(
|
|
|
8546
8567
|
id: builtins.str,
|
|
8547
8568
|
*,
|
|
8548
8569
|
bucket: "IBucket",
|
|
8570
|
+
document: typing.Optional[_PolicyDocument_3ac34393] = None,
|
|
8549
8571
|
removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
8550
8572
|
) -> None:
|
|
8551
8573
|
'''
|
|
8552
8574
|
:param scope: -
|
|
8553
8575
|
:param id: -
|
|
8554
8576
|
:param bucket: The Amazon S3 bucket that the policy applies to.
|
|
8577
|
+
:param document: Policy document to apply to the bucket. Default: - A new empty PolicyDocument will be created.
|
|
8555
8578
|
:param removal_policy: Policy to apply when the policy is removed from this stack. Default: - RemovalPolicy.DESTROY.
|
|
8556
8579
|
'''
|
|
8557
8580
|
if __debug__:
|
|
8558
8581
|
type_hints = typing.get_type_hints(_typecheckingstub__910b3df1208e67cb52dad0b0b8c5feb43c7bddb0ced50eaf6c953477298a840e)
|
|
8559
8582
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
8560
8583
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
8561
|
-
props = BucketPolicyProps(
|
|
8584
|
+
props = BucketPolicyProps(
|
|
8585
|
+
bucket=bucket, document=document, removal_policy=removal_policy
|
|
8586
|
+
)
|
|
8562
8587
|
|
|
8563
8588
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
8564
8589
|
|
|
@@ -23634,6 +23659,7 @@ def _typecheckingstub__d6a435bc6f062bf994c2d09482e0e60e726c10272a9b728fd3ffc4281
|
|
|
23634
23659
|
def _typecheckingstub__4d7b9233434273933326211f004f27c2982fedd89ad904dc86d84c54f0f50ac6(
|
|
23635
23660
|
*,
|
|
23636
23661
|
bucket: IBucket,
|
|
23662
|
+
document: typing.Optional[_PolicyDocument_3ac34393] = None,
|
|
23637
23663
|
removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
23638
23664
|
) -> None:
|
|
23639
23665
|
"""Type checking stubs"""
|
|
@@ -24088,6 +24114,7 @@ def _typecheckingstub__910b3df1208e67cb52dad0b0b8c5feb43c7bddb0ced50eaf6c9534772
|
|
|
24088
24114
|
id: builtins.str,
|
|
24089
24115
|
*,
|
|
24090
24116
|
bucket: IBucket,
|
|
24117
|
+
document: typing.Optional[_PolicyDocument_3ac34393] = None,
|
|
24091
24118
|
removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
24092
24119
|
) -> None:
|
|
24093
24120
|
"""Type checking stubs"""
|
|
@@ -205,7 +205,7 @@ class CfnAccessPointPolicyProps:
|
|
|
205
205
|
) -> None:
|
|
206
206
|
'''Properties for defining a ``CfnAccessPointPolicy``.
|
|
207
207
|
|
|
208
|
-
:param object_lambda_access_point: An access point with an attached AWS Lambda function used to access transformed data from an Amazon S3 bucket.
|
|
208
|
+
:param object_lambda_access_point: .. epigraph:: Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025. If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ . An access point with an attached AWS Lambda function used to access transformed data from an Amazon S3 bucket.
|
|
209
209
|
:param policy_document: Object Lambda Access Point resource policy document.
|
|
210
210
|
|
|
211
211
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspointpolicy.html
|
|
@@ -235,7 +235,13 @@ class CfnAccessPointPolicyProps:
|
|
|
235
235
|
|
|
236
236
|
@builtins.property
|
|
237
237
|
def object_lambda_access_point(self) -> builtins.str:
|
|
238
|
-
'''
|
|
238
|
+
'''.. epigraph::
|
|
239
|
+
|
|
240
|
+
Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025.
|
|
241
|
+
|
|
242
|
+
If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ .
|
|
243
|
+
|
|
244
|
+
An access point with an attached AWS Lambda function used to access transformed data from an Amazon S3 bucket.
|
|
239
245
|
|
|
240
246
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspointpolicy.html#cfn-s3objectlambda-accesspointpolicy-objectlambdaaccesspoint
|
|
241
247
|
'''
|
|
@@ -282,7 +288,7 @@ class CfnAccessPointProps:
|
|
|
282
288
|
) -> None:
|
|
283
289
|
'''Properties for defining a ``CfnAccessPoint``.
|
|
284
290
|
|
|
285
|
-
:param object_lambda_configuration: A configuration used when creating an Object Lambda Access Point.
|
|
291
|
+
:param object_lambda_configuration: .. epigraph:: Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025. If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ . A configuration used when creating an Object Lambda Access Point.
|
|
286
292
|
:param name: The name of this access point.
|
|
287
293
|
|
|
288
294
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspoint.html
|
|
@@ -327,7 +333,13 @@ class CfnAccessPointProps:
|
|
|
327
333
|
def object_lambda_configuration(
|
|
328
334
|
self,
|
|
329
335
|
) -> typing.Union[_IResolvable_da3f097b, "CfnAccessPoint.ObjectLambdaConfigurationProperty"]:
|
|
330
|
-
'''
|
|
336
|
+
'''.. epigraph::
|
|
337
|
+
|
|
338
|
+
Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025.
|
|
339
|
+
|
|
340
|
+
If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ .
|
|
341
|
+
|
|
342
|
+
A configuration used when creating an Object Lambda Access Point.
|
|
331
343
|
|
|
332
344
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspoint.html#cfn-s3objectlambda-accesspoint-objectlambdaconfiguration
|
|
333
345
|
'''
|
|
@@ -488,7 +500,7 @@ class CfnAccessPoint(
|
|
|
488
500
|
'''
|
|
489
501
|
:param scope: Scope in which this resource is defined.
|
|
490
502
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
491
|
-
:param object_lambda_configuration: A configuration used when creating an Object Lambda Access Point.
|
|
503
|
+
:param object_lambda_configuration: .. epigraph:: Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025. If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ . A configuration used when creating an Object Lambda Access Point.
|
|
492
504
|
:param name: The name of this access point.
|
|
493
505
|
'''
|
|
494
506
|
if __debug__:
|
|
@@ -665,7 +677,9 @@ class CfnAccessPoint(
|
|
|
665
677
|
def object_lambda_configuration(
|
|
666
678
|
self,
|
|
667
679
|
) -> typing.Union[_IResolvable_da3f097b, "CfnAccessPoint.ObjectLambdaConfigurationProperty"]:
|
|
668
|
-
'''
|
|
680
|
+
'''.. epigraph::
|
|
681
|
+
|
|
682
|
+
Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025.'''
|
|
669
683
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnAccessPoint.ObjectLambdaConfigurationProperty"], jsii.get(self, "objectLambdaConfiguration"))
|
|
670
684
|
|
|
671
685
|
@object_lambda_configuration.setter
|
|
@@ -703,9 +717,13 @@ class CfnAccessPoint(
|
|
|
703
717
|
value: builtins.str,
|
|
704
718
|
status: typing.Optional[builtins.str] = None,
|
|
705
719
|
) -> None:
|
|
706
|
-
'''
|
|
720
|
+
'''.. epigraph::
|
|
721
|
+
|
|
722
|
+
Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025.
|
|
707
723
|
|
|
708
|
-
|
|
724
|
+
If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ .
|
|
725
|
+
|
|
726
|
+
The alias of an Object Lambda Access Point. For more information, see `How to use a bucket-style alias for your S3 bucket Object Lambda Access Point <https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-use.html#ol-access-points-alias>`_ .
|
|
709
727
|
|
|
710
728
|
:param value: The alias value of the Object Lambda Access Point.
|
|
711
729
|
:param status: The status of the Object Lambda Access Point alias. If the status is ``PROVISIONING`` , the Object Lambda Access Point is provisioning the alias and the alias is not ready for use yet. If the status is ``READY`` , the Object Lambda Access Point alias is successfully provisioned and ready for use.
|
|
@@ -921,7 +939,13 @@ class CfnAccessPoint(
|
|
|
921
939
|
allowed_features: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
922
940
|
cloud_watch_metrics_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
923
941
|
) -> None:
|
|
924
|
-
'''
|
|
942
|
+
'''.. epigraph::
|
|
943
|
+
|
|
944
|
+
Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025.
|
|
945
|
+
|
|
946
|
+
If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ .
|
|
947
|
+
|
|
948
|
+
A configuration used when creating an Object Lambda Access Point.
|
|
925
949
|
|
|
926
950
|
:param supporting_access_point: Standard access point associated with the Object Lambda Access Point.
|
|
927
951
|
:param transformation_configurations: A container for transformation configurations for an Object Lambda Access Point.
|
|
@@ -1239,7 +1263,13 @@ class CfnAccessPoint(
|
|
|
1239
1263
|
actions: typing.Sequence[builtins.str],
|
|
1240
1264
|
content_transformation: typing.Any,
|
|
1241
1265
|
) -> None:
|
|
1242
|
-
'''
|
|
1266
|
+
'''.. epigraph::
|
|
1267
|
+
|
|
1268
|
+
Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025.
|
|
1269
|
+
|
|
1270
|
+
If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ .
|
|
1271
|
+
|
|
1272
|
+
A configuration used when creating an Object Lambda Access Point transformation.
|
|
1243
1273
|
|
|
1244
1274
|
:param actions: A container for the action of an Object Lambda Access Point configuration. Valid inputs are ``GetObject`` , ``HeadObject`` , ``ListObject`` , and ``ListObjectV2`` .
|
|
1245
1275
|
:param content_transformation: A container for the content transformation of an Object Lambda Access Point configuration. Can include the FunctionArn and FunctionPayload. For more information, see `AwsLambdaTransformation <https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_AwsLambdaTransformation.html>`_ in the *Amazon S3 API Reference* .
|
|
@@ -1342,7 +1372,7 @@ class CfnAccessPointPolicy(
|
|
|
1342
1372
|
'''
|
|
1343
1373
|
:param scope: Scope in which this resource is defined.
|
|
1344
1374
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1345
|
-
:param object_lambda_access_point: An access point with an attached AWS Lambda function used to access transformed data from an Amazon S3 bucket.
|
|
1375
|
+
:param object_lambda_access_point: .. epigraph:: Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025. If you would like to use the service, please sign up prior to 11/7/2025. For capabilities similar to S3 Object Lambda, learn more here - `Amazon S3 Object Lambda availability change <https://docs.aws.amazon.com/AmazonS3/latest/userguide/amazons3-ol-change.html>`_ . An access point with an attached AWS Lambda function used to access transformed data from an Amazon S3 bucket.
|
|
1346
1376
|
:param policy_document: Object Lambda Access Point resource policy document.
|
|
1347
1377
|
'''
|
|
1348
1378
|
if __debug__:
|
|
@@ -1400,7 +1430,9 @@ class CfnAccessPointPolicy(
|
|
|
1400
1430
|
@builtins.property
|
|
1401
1431
|
@jsii.member(jsii_name="objectLambdaAccessPoint")
|
|
1402
1432
|
def object_lambda_access_point(self) -> builtins.str:
|
|
1403
|
-
'''
|
|
1433
|
+
'''.. epigraph::
|
|
1434
|
+
|
|
1435
|
+
Amazon S3 Object Lambda will no longer be open to new customers starting on 11/7/2025.'''
|
|
1404
1436
|
return typing.cast(builtins.str, jsii.get(self, "objectLambdaAccessPoint"))
|
|
1405
1437
|
|
|
1406
1438
|
@object_lambda_access_point.setter
|
|
@@ -5920,13 +5920,14 @@ class PortfolioShareOptions:
|
|
|
5920
5920
|
@jsii.data_type(
|
|
5921
5921
|
jsii_type="aws-cdk-lib.aws_servicecatalog.PortfolioShareReference",
|
|
5922
5922
|
jsii_struct_bases=[],
|
|
5923
|
-
name_mapping={"
|
|
5923
|
+
name_mapping={"account_id": "accountId", "portfolio_id": "portfolioId"},
|
|
5924
5924
|
)
|
|
5925
5925
|
class PortfolioShareReference:
|
|
5926
|
-
def __init__(self, *,
|
|
5926
|
+
def __init__(self, *, account_id: builtins.str, portfolio_id: builtins.str) -> None:
|
|
5927
5927
|
'''A reference to a PortfolioShare resource.
|
|
5928
5928
|
|
|
5929
|
-
:param
|
|
5929
|
+
:param account_id: The AccountId of the PortfolioShare resource.
|
|
5930
|
+
:param portfolio_id: The PortfolioId of the PortfolioShare resource.
|
|
5930
5931
|
|
|
5931
5932
|
:exampleMetadata: fixture=_generated
|
|
5932
5933
|
|
|
@@ -5937,21 +5938,31 @@ class PortfolioShareReference:
|
|
|
5937
5938
|
from aws_cdk import aws_servicecatalog as servicecatalog
|
|
5938
5939
|
|
|
5939
5940
|
portfolio_share_reference = servicecatalog.PortfolioShareReference(
|
|
5940
|
-
|
|
5941
|
+
account_id="accountId",
|
|
5942
|
+
portfolio_id="portfolioId"
|
|
5941
5943
|
)
|
|
5942
5944
|
'''
|
|
5943
5945
|
if __debug__:
|
|
5944
5946
|
type_hints = typing.get_type_hints(_typecheckingstub__47bf57dd430337266528b07d46c4fa85ec8fdf2a3fbe5ce72a6b4889e91fa7b8)
|
|
5945
|
-
check_type(argname="argument
|
|
5947
|
+
check_type(argname="argument account_id", value=account_id, expected_type=type_hints["account_id"])
|
|
5948
|
+
check_type(argname="argument portfolio_id", value=portfolio_id, expected_type=type_hints["portfolio_id"])
|
|
5946
5949
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5947
|
-
"
|
|
5950
|
+
"account_id": account_id,
|
|
5951
|
+
"portfolio_id": portfolio_id,
|
|
5948
5952
|
}
|
|
5949
5953
|
|
|
5950
5954
|
@builtins.property
|
|
5951
|
-
def
|
|
5952
|
-
'''The
|
|
5953
|
-
result = self._values.get("
|
|
5954
|
-
assert result is not None, "Required property '
|
|
5955
|
+
def account_id(self) -> builtins.str:
|
|
5956
|
+
'''The AccountId of the PortfolioShare resource.'''
|
|
5957
|
+
result = self._values.get("account_id")
|
|
5958
|
+
assert result is not None, "Required property 'account_id' is missing"
|
|
5959
|
+
return typing.cast(builtins.str, result)
|
|
5960
|
+
|
|
5961
|
+
@builtins.property
|
|
5962
|
+
def portfolio_id(self) -> builtins.str:
|
|
5963
|
+
'''The PortfolioId of the PortfolioShare resource.'''
|
|
5964
|
+
result = self._values.get("portfolio_id")
|
|
5965
|
+
assert result is not None, "Required property 'portfolio_id' is missing"
|
|
5955
5966
|
return typing.cast(builtins.str, result)
|
|
5956
5967
|
|
|
5957
5968
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
@@ -10162,14 +10173,6 @@ class CfnPortfolioShare(
|
|
|
10162
10173
|
'''The CloudFormation resource type name for this resource class.'''
|
|
10163
10174
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
10164
10175
|
|
|
10165
|
-
@builtins.property
|
|
10166
|
-
@jsii.member(jsii_name="attrId")
|
|
10167
|
-
def attr_id(self) -> builtins.str:
|
|
10168
|
-
'''
|
|
10169
|
-
:cloudformationAttribute: Id
|
|
10170
|
-
'''
|
|
10171
|
-
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
10172
|
-
|
|
10173
10176
|
@builtins.property
|
|
10174
10177
|
@jsii.member(jsii_name="cfnProperties")
|
|
10175
10178
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -10335,7 +10338,8 @@ class CfnResourceUpdateConstraint(
|
|
|
10335
10338
|
@builtins.property
|
|
10336
10339
|
@jsii.member(jsii_name="attrId")
|
|
10337
10340
|
def attr_id(self) -> builtins.str:
|
|
10338
|
-
'''
|
|
10341
|
+
'''Unique identifier for the constraint.
|
|
10342
|
+
|
|
10339
10343
|
:cloudformationAttribute: Id
|
|
10340
10344
|
'''
|
|
10341
10345
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
@@ -12233,7 +12237,8 @@ def _typecheckingstub__fcaaa8353ed1607f501f7b9fcd87b34c195d54486861a0e11ed689dd4
|
|
|
12233
12237
|
|
|
12234
12238
|
def _typecheckingstub__47bf57dd430337266528b07d46c4fa85ec8fdf2a3fbe5ce72a6b4889e91fa7b8(
|
|
12235
12239
|
*,
|
|
12236
|
-
|
|
12240
|
+
account_id: builtins.str,
|
|
12241
|
+
portfolio_id: builtins.str,
|
|
12237
12242
|
) -> None:
|
|
12238
12243
|
"""Type checking stubs"""
|
|
12239
12244
|
pass
|
|
@@ -538,7 +538,7 @@ class CfnConfigurationManager(
|
|
|
538
538
|
) -> None:
|
|
539
539
|
'''The definition of a Quick Setup configuration.
|
|
540
540
|
|
|
541
|
-
:param parameters: The parameters for the configuration definition type. Parameters for configuration definitions vary based the configuration type. The following lists outline the parameters for each configuration type. - **AWS Config Recording (Type: AWS QuickSetupType-CFGRecording)** - - ``RecordAllResources`` - Description: (Optional) A boolean value that determines whether all supported resources are recorded. The default value is " ``true`` ". - ``ResourceTypesToRecord`` - Description: (Optional) A comma separated list of resource types you want to record. - ``RecordGlobalResourceTypes`` - Description: (Optional) A boolean value that determines whether global resources are recorded with all resource configurations. The default value is " ``false`` ". - ``GlobalResourceTypesRegion`` - Description: (Optional) Determines the AWS Region where global resources are recorded. - ``UseCustomBucket`` - Description: (Optional) A boolean value that determines whether a custom Amazon S3 bucket is used for delivery. The default value is " ``false`` ". - ``DeliveryBucketName`` - Description: (Optional) The name of the Amazon S3 bucket you want AWS Config to deliver configuration snapshots and configuration history files to. - ``DeliveryBucketPrefix`` - Description: (Optional) The key prefix you want to use in the custom Amazon S3 bucket. - ``NotificationOptions`` - Description: (Optional) Determines the notification configuration for the recorder. The valid values are ``NoStreaming`` , ``UseExistingTopic`` , and ``CreateTopic`` . The default value is ``NoStreaming`` . - ``CustomDeliveryTopicAccountId`` - Description: (Optional) The ID of the AWS account where the Amazon SNS topic you want to use for notifications resides. You must specify a value for this parameter if you use the ``UseExistingTopic`` notification option. - ``CustomDeliveryTopicName`` - Description: (Optional) The name of the Amazon SNS topic you want to use for notifications. You must specify a value for this parameter if you use the ``UseExistingTopic`` notification option. - ``RemediationSchedule`` - Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are ``rate(30 days)`` , ``rate(7 days)`` , ``rate(1 days)`` , and ``none`` . The default value is " ``none`` ". - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) The ID of the root of your Organization. This configuration type doesn't currently support choosing specific OUs. The configuration will be deployed to all the OUs in the Organization. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Change Manager (Type: AWS QuickSetupType-SSMChangeMgr)** - - ``DelegatedAccountId`` - Description: (Required) The ID of the delegated administrator account. - ``JobFunction`` - Description: (Required) The name for the Change Manager job function. - ``PermissionType`` - Description: (Optional) Specifies whether you want to use default administrator permissions for the job function role, or provide a custom IAM policy. The valid values are ``CustomPermissions`` and ``AdminPermissions`` . The default value for the parameter is ``CustomerPermissions`` . - ``CustomPermissions`` - Description: (Optional) A JSON string containing the IAM policy you want your job function to use. You must provide a value for this parameter if you specify ``CustomPermissions`` for the ``PermissionType`` parameter. - ``TargetOrganizationalUnits`` - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Conformance Packs (Type: AWS QuickSetupType-CFGCPacks)** - - ``DelegatedAccountId`` - Description: (Optional) The ID of the delegated administrator account. This parameter is required for Organization deployments. - ``RemediationSchedule`` - Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are ``rate(30 days)`` , ``rate(14 days)`` , ``rate(2 days)`` , and ``none`` . The default value is " ``none`` ". - ``CPackNames`` - Description: (Required) A comma separated list of AWS Config conformance packs. - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) The ID of the root of your Organization. This configuration type doesn't currently support choosing specific OUs. The configuration will be deployed to all the OUs in the Organization. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Default Host Management Configuration (Type: AWS QuickSetupType-DHMC)** - - ``UpdateSSMAgent`` - Description: (Optional) A boolean value that determines whether the SSM Agent is updated on the target instances every 2 weeks. The default value is " ``true`` ". - ``TargetOrganizationalUnits`` - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **DevOps Guru (Type: AWS QuickSetupType-DevOpsGuru)** - - ``AnalyseAllResources`` - Description: (Optional) A boolean value that determines whether DevOps Guru analyzes all AWS CloudFormation stacks in the account. The default value is " ``false`` ". - ``EnableSnsNotifications`` - Description: (Optional) A boolean value that determines whether DevOps Guru sends notifications when an insight is created. The default value is " ``true`` ". - ``EnableSsmOpsItems`` - Description: (Optional) A boolean value that determines whether DevOps Guru creates an OpsCenter OpsItem when an insight is created. The default value is " ``true`` ". - ``EnableDriftRemediation`` - Description: (Optional) A boolean value that determines whether a drift remediation schedule is used. The default value is " ``false`` ". - ``RemediationSchedule`` - Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are ``rate(30 days)`` , ``rate(14 days)`` , ``rate(1 days)`` , and ``none`` . The default value is " ``none`` ". - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Distributor (Type: AWS QuickSetupType-Distributor)** - - ``PackagesToInstall`` - Description: (Required) A comma separated list of packages you want to install on the target instances. The valid values are ``AWSEFSTools`` , ``AWSCWAgent`` , and ``AWSEC2LaunchAgent`` . - ``RemediationSchedule`` - Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are ``rate(30 days)`` , ``rate(14 days)`` , ``rate(2 days)`` , and ``none`` . The default value is " ``rate(30 days)`` ". - ``IsPolicyAttachAllowed`` - Description: (Optional) A boolean value that determines whether Quick Setup attaches policies to instances profiles already associated with the target instances. The default value is " ``false`` ". - ``TargetType`` - Description: (Optional) Determines how instances are targeted for local account deployments. Don't specify a value for this parameter if you're deploying to OUs. The valid values are ``*`` , ``InstanceIds`` , ``ResourceGroups`` , and ``Tags`` . Use ``*`` to target all instances in the account. - ``TargetInstances`` - Description: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify ``InstanceIds`` for the ``TargetType`` parameter. - ``TargetTagKey`` - Description: (Required) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``TargetTagValue`` - Description: (Required) The value of the tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``ResourceGroupName`` - Description: (Required) The name of the resource group associated with the instances you want to target. You must provide a value for this parameter if you specify ``ResourceGroups`` for the ``TargetType`` parameter. - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Host Management (Type: AWS QuickSetupType-SSMHostMgmt)** - - ``UpdateSSMAgent`` - Description: (Optional) A boolean value that determines whether the SSM Agent is updated on the target instances every 2 weeks. The default value is " ``true`` ". - ``UpdateEc2LaunchAgent`` - Description: (Optional) A boolean value that determines whether the EC2 Launch agent is updated on the target instances every month. The default value is " ``false`` ". - ``CollectInventory`` - Description: (Optional) A boolean value that determines whether instance metadata is collected on the target instances every 30 minutes. The default value is " ``true`` ". - ``ScanInstances`` - Description: (Optional) A boolean value that determines whether the target instances are scanned daily for available patches. The default value is " ``true`` ". - ``InstallCloudWatchAgent`` - Description: (Optional) A boolean value that determines whether the Amazon CloudWatch agent is installed on the target instances. The default value is " ``false`` ". - ``UpdateCloudWatchAgent`` - Description: (Optional) A boolean value that determines whether the Amazon CloudWatch agent is updated on the target instances every month. The default value is " ``false`` ". - ``IsPolicyAttachAllowed`` - Description: (Optional) A boolean value that determines whether Quick Setup attaches policies to instances profiles already associated with the target instances. The default value is " ``false`` ". - ``TargetType`` - Description: (Optional) Determines how instances are targeted for local account deployments. Don't specify a value for this parameter if you're deploying to OUs. The valid values are ``*`` , ``InstanceIds`` , ``ResourceGroups`` , and ``Tags`` . Use ``*`` to target all instances in the account. - ``TargetInstances`` - Description: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify ``InstanceIds`` for the ``TargetType`` parameter. - ``TargetTagKey`` - Description: (Optional) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``TargetTagValue`` - Description: (Optional) The value of the tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``ResourceGroupName`` - Description: (Optional) The name of the resource group associated with the instances you want to target. You must provide a value for this parameter if you specify ``ResourceGroups`` for the ``TargetType`` parameter. - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **OpsCenter (Type: AWS QuickSetupType-SSMOpsCenter)** - - ``DelegatedAccountId`` - Description: (Required) The ID of the delegated administrator account. - ``TargetOrganizationalUnits`` - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Patch Policy (Type: AWS QuickSetupType-PatchPolicy)** - - ``PatchPolicyName`` - Description: (Required) A name for the patch policy. The value you provide is applied to target Amazon EC2 instances as a tag. - ``SelectedPatchBaselines`` - Description: (Required) An array of JSON objects containing the information for the patch baselines to include in your patch policy. - ``PatchBaselineUseDefault`` - Description: (Optional) A value that determines whether the selected patch baselines are all AWS provided. Supported values are ``default`` and ``custom`` . - ``PatchBaselineRegion`` - Description: (Required) The AWS Region where the patch baseline exist. - ``ConfigurationOptionsPatchOperation`` - Description: (Optional) Determines whether target instances scan for available patches, or scan and install available patches. The valid values are ``Scan`` and ``ScanAndInstall`` . The default value for the parameter is ``Scan`` . - ``ConfigurationOptionsScanValue`` - Description: (Optional) A cron expression that is used as the schedule for when instances scan for available patches. - ``ConfigurationOptionsInstallValue`` - Description: (Optional) A cron expression that is used as the schedule for when instances install available patches. - ``ConfigurationOptionsScanNextInterval`` - Description: (Optional) A boolean value that determines whether instances should scan for available patches at the next cron interval. The default value is " ``false`` ". - ``ConfigurationOptionsInstallNextInterval`` - Description: (Optional) A boolean value that determines whether instances should scan for available patches at the next cron interval. The default value is " ``false`` ". - ``RebootOption`` - Description: (Optional) Determines whether instances are rebooted after patches are installed. Valid values are ``RebootIfNeeded`` and ``NoReboot`` . - ``IsPolicyAttachAllowed`` - Description: (Optional) A boolean value that determines whether Quick Setup attaches policies to instances profiles already associated with the target instances. The default value is " ``false`` ". - ``OutputLogEnableS3`` - Description: (Optional) A boolean value that determines whether command output logs are sent to Amazon S3. - ``OutputS3Location`` - Description: (Optional) Information about the Amazon S3 bucket where you want to store the output details of the request. - ``OutputBucketRegion`` - Description: (Optional) The AWS Region where the Amazon S3 bucket you want to deliver command output to is located. - ``OutputS3BucketName`` - Description: (Optional) The name of the Amazon S3 bucket you want to deliver command output to. - ``OutputS3KeyPrefix`` - Description: (Optional) The key prefix you want to use in the custom Amazon S3 bucket. - ``TargetType`` - Description: (Optional) Determines how instances are targeted for local account deployments. Don't specify a value for this parameter if you're deploying to OUs. The valid values are ``*`` , ``InstanceIds`` , ``ResourceGroups`` , and ``Tags`` . Use ``*`` to target all instances in the account. - ``TargetInstances`` - Description: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify ``InstanceIds`` for the ``TargetType`` parameter. - ``TargetTagKey`` - Description: (Required) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``TargetTagValue`` - Description: (Required) The value of the tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``ResourceGroupName`` - Description: (Required) The name of the resource group associated with the instances you want to target. You must provide a value for this parameter if you specify ``ResourceGroups`` for the ``TargetType`` parameter. - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Resource Explorer (Type: AWS QuickSetupType-ResourceExplorer)** - - ``SelectedAggregatorRegion`` - Description: (Required) The AWS Region where you want to create the aggregator index. - ``ReplaceExistingAggregator`` - Description: (Required) A boolean value that determines whether to demote an existing aggregator if it is in a Region that differs from the value you specify for the ``SelectedAggregatorRegion`` . - ``TargetOrganizationalUnits`` - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Resource Scheduler (Type: AWS QuickSetupType-Scheduler)** - - ``TargetTagKey`` - Description: (Required) The tag key assigned to the instances you want to target. - ``TargetTagValue`` - Description: (Required) The value of the tag key assigned to the instances you want to target. - ``ICalendarString`` - Description: (Required) An iCalendar formatted string containing the schedule you want Change Manager to use. - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
541
|
+
:param parameters: The parameters for the configuration definition type. Parameters for configuration definitions vary based the configuration type. The following lists outline the parameters for each configuration type. - **AWS Config Recording (Type: AWS QuickSetupType-CFGRecording)** - - ``RecordAllResources`` - Description: (Optional) A boolean value that determines whether all supported resources are recorded. The default value is " ``true`` ". - ``ResourceTypesToRecord`` - Description: (Optional) A comma separated list of resource types you want to record. - ``RecordGlobalResourceTypes`` - Description: (Optional) A boolean value that determines whether global resources are recorded with all resource configurations. The default value is " ``false`` ". - ``GlobalResourceTypesRegion`` - Description: (Optional) Determines the AWS Region where global resources are recorded. - ``UseCustomBucket`` - Description: (Optional) A boolean value that determines whether a custom Amazon S3 bucket is used for delivery. The default value is " ``false`` ". - ``DeliveryBucketName`` - Description: (Optional) The name of the Amazon S3 bucket you want AWS Config to deliver configuration snapshots and configuration history files to. - ``DeliveryBucketPrefix`` - Description: (Optional) The key prefix you want to use in the custom Amazon S3 bucket. - ``NotificationOptions`` - Description: (Optional) Determines the notification configuration for the recorder. The valid values are ``NoStreaming`` , ``UseExistingTopic`` , and ``CreateTopic`` . The default value is ``NoStreaming`` . - ``CustomDeliveryTopicAccountId`` - Description: (Optional) The ID of the AWS account where the Amazon SNS topic you want to use for notifications resides. You must specify a value for this parameter if you use the ``UseExistingTopic`` notification option. - ``CustomDeliveryTopicName`` - Description: (Optional) The name of the Amazon SNS topic you want to use for notifications. You must specify a value for this parameter if you use the ``UseExistingTopic`` notification option. - ``RemediationSchedule`` - Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are ``rate(30 days)`` , ``rate(7 days)`` , ``rate(1 days)`` , and ``none`` . The default value is " ``none`` ". - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) The ID of the root of your Organization. This configuration type doesn't currently support choosing specific OUs. The configuration will be deployed to all the OUs in the Organization. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Change Manager (Type: AWS QuickSetupType-SSMChangeMgr)** - - ``DelegatedAccountId`` - Description: (Required) The ID of the delegated administrator account. - ``JobFunction`` - Description: (Required) The name for the Change Manager job function. - ``PermissionType`` - Description: (Optional) Specifies whether you want to use default administrator permissions for the job function role, or provide a custom IAM policy. The valid values are ``CustomPermissions`` and ``AdminPermissions`` . The default value for the parameter is ``CustomerPermissions`` . - ``CustomPermissions`` - Description: (Optional) A JSON string containing the IAM policy you want your job function to use. You must provide a value for this parameter if you specify ``CustomPermissions`` for the ``PermissionType`` parameter. - ``TargetOrganizationalUnits`` - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Conformance Packs (Type: AWS QuickSetupType-CFGCPacks)** - - ``DelegatedAccountId`` - Description: (Optional) The ID of the delegated administrator account. This parameter is required for Organization deployments. - ``RemediationSchedule`` - Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are ``rate(30 days)`` , ``rate(14 days)`` , ``rate(2 days)`` , and ``none`` . The default value is " ``none`` ". - ``CPackNames`` - Description: (Required) A comma separated list of AWS Config conformance packs. - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) The ID of the root of your Organization. This configuration type doesn't currently support choosing specific OUs. The configuration will be deployed to all the OUs in the Organization. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Default Host Management Configuration (Type: AWS QuickSetupType-DHMC)** - - ``UpdateSsmAgent`` - Description: (Optional) A boolean value that determines whether the SSM Agent is updated on the target instances every 2 weeks. The default value is " ``true`` ". - ``TargetOrganizationalUnits`` - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **DevOps Guru (Type: AWS QuickSetupType-DevOpsGuru)** - - ``AnalyseAllResources`` - Description: (Optional) A boolean value that determines whether DevOps Guru analyzes all AWS CloudFormation stacks in the account. The default value is " ``false`` ". - ``EnableSnsNotifications`` - Description: (Optional) A boolean value that determines whether DevOps Guru sends notifications when an insight is created. The default value is " ``true`` ". - ``EnableSsmOpsItems`` - Description: (Optional) A boolean value that determines whether DevOps Guru creates an OpsCenter OpsItem when an insight is created. The default value is " ``true`` ". - ``EnableDriftRemediation`` - Description: (Optional) A boolean value that determines whether a drift remediation schedule is used. The default value is " ``false`` ". - ``RemediationSchedule`` - Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are ``rate(30 days)`` , ``rate(14 days)`` , ``rate(1 days)`` , and ``none`` . The default value is " ``none`` ". - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Distributor (Type: AWS QuickSetupType-Distributor)** - - ``PackagesToInstall`` - Description: (Required) A comma separated list of packages you want to install on the target instances. The valid values are ``AWSEFSTools`` , ``AWSCWAgent`` , and ``AWSEC2LaunchAgent`` . - ``RemediationSchedule`` - Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are ``rate(30 days)`` , ``rate(14 days)`` , ``rate(2 days)`` , and ``none`` . The default value is " ``rate(30 days)`` ". - ``IsPolicyAttachAllowed`` - Description: (Optional) A boolean value that determines whether Quick Setup attaches policies to instances profiles already associated with the target instances. The default value is " ``false`` ". - ``TargetType`` - Description: (Optional) Determines how instances are targeted for local account deployments. Don't specify a value for this parameter if you're deploying to OUs. The valid values are ``*`` , ``InstanceIds`` , ``ResourceGroups`` , and ``Tags`` . Use ``*`` to target all instances in the account. - ``TargetInstances`` - Description: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify ``InstanceIds`` for the ``TargetType`` parameter. - ``TargetTagKey`` - Description: (Required) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``TargetTagValue`` - Description: (Required) The value of the tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``ResourceGroupName`` - Description: (Required) The name of the resource group associated with the instances you want to target. You must provide a value for this parameter if you specify ``ResourceGroups`` for the ``TargetType`` parameter. - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Host Management (Type: AWS QuickSetupType-SSMHostMgmt)** - - ``UpdateSsmAgent`` - Description: (Optional) A boolean value that determines whether the SSM Agent is updated on the target instances every 2 weeks. The default value is " ``true`` ". - ``UpdateEc2LaunchAgent`` - Description: (Optional) A boolean value that determines whether the EC2 Launch agent is updated on the target instances every month. The default value is " ``false`` ". - ``CollectInventory`` - Description: (Optional) A boolean value that determines whether instance metadata is collected on the target instances every 30 minutes. The default value is " ``true`` ". - ``ScanInstances`` - Description: (Optional) A boolean value that determines whether the target instances are scanned daily for available patches. The default value is " ``true`` ". - ``InstallCloudWatchAgent`` - Description: (Optional) A boolean value that determines whether the Amazon CloudWatch agent is installed on the target instances. The default value is " ``false`` ". - ``UpdateCloudWatchAgent`` - Description: (Optional) A boolean value that determines whether the Amazon CloudWatch agent is updated on the target instances every month. The default value is " ``false`` ". - ``IsPolicyAttachAllowed`` - Description: (Optional) A boolean value that determines whether Quick Setup attaches policies to instances profiles already associated with the target instances. The default value is " ``false`` ". - ``TargetType`` - Description: (Optional) Determines how instances are targeted for local account deployments. Don't specify a value for this parameter if you're deploying to OUs. The valid values are ``*`` , ``InstanceIds`` , ``ResourceGroups`` , and ``Tags`` . Use ``*`` to target all instances in the account. - ``TargetInstances`` - Description: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify ``InstanceIds`` for the ``TargetType`` parameter. - ``TargetTagKey`` - Description: (Optional) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``TargetTagValue`` - Description: (Optional) The value of the tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``ResourceGroupName`` - Description: (Optional) The name of the resource group associated with the instances you want to target. You must provide a value for this parameter if you specify ``ResourceGroups`` for the ``TargetType`` parameter. - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **OpsCenter (Type: AWS QuickSetupType-SSMOpsCenter)** - - ``DelegatedAccountId`` - Description: (Required) The ID of the delegated administrator account. - ``TargetOrganizationalUnits`` - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Patch Policy (Type: AWS QuickSetupType-PatchPolicy)** - - ``PatchPolicyName`` - Description: (Required) A name for the patch policy. The value you provide is applied to target Amazon EC2 instances as a tag. - ``SelectedPatchBaselines`` - Description: (Required) An array of JSON objects containing the information for the patch baselines to include in your patch policy. - ``PatchBaselineUseDefault`` - Description: (Optional) A value that determines whether the selected patch baselines are all AWS provided. Supported values are ``default`` and ``custom`` . - ``PatchBaselineRegion`` - Description: (Required) The AWS Region where the patch baseline exist. - ``ConfigurationOptionsPatchOperation`` - Description: (Optional) Determines whether target instances scan for available patches, or scan and install available patches. The valid values are ``Scan`` and ``ScanAndInstall`` . The default value for the parameter is ``Scan`` . - ``ConfigurationOptionsScanValue`` - Description: (Optional) A cron expression that is used as the schedule for when instances scan for available patches. - ``ConfigurationOptionsInstallValue`` - Description: (Optional) A cron expression that is used as the schedule for when instances install available patches. - ``ConfigurationOptionsScanNextInterval`` - Description: (Optional) A boolean value that determines whether instances should scan for available patches at the next cron interval. The default value is " ``false`` ". - ``ConfigurationOptionsInstallNextInterval`` - Description: (Optional) A boolean value that determines whether instances should scan for available patches at the next cron interval. The default value is " ``false`` ". - ``RebootOption`` - Description: (Optional) Determines whether instances are rebooted after patches are installed. Valid values are ``RebootIfNeeded`` and ``NoReboot`` . - ``IsPolicyAttachAllowed`` - Description: (Optional) A boolean value that determines whether Quick Setup attaches policies to instances profiles already associated with the target instances. The default value is " ``false`` ". - ``OutputLogEnableS3`` - Description: (Optional) A boolean value that determines whether command output logs are sent to Amazon S3. - ``OutputS3Location`` - Description: (Optional) Information about the Amazon S3 bucket where you want to store the output details of the request. - ``OutputBucketRegion`` - Description: (Optional) The AWS Region where the Amazon S3 bucket you want to deliver command output to is located. - ``OutputS3BucketName`` - Description: (Optional) The name of the Amazon S3 bucket you want to deliver command output to. - ``OutputS3KeyPrefix`` - Description: (Optional) The key prefix you want to use in the custom Amazon S3 bucket. - ``TargetType`` - Description: (Optional) Determines how instances are targeted for local account deployments. Don't specify a value for this parameter if you're deploying to OUs. The valid values are ``*`` , ``InstanceIds`` , ``ResourceGroups`` , and ``Tags`` . Use ``*`` to target all instances in the account. - ``TargetInstances`` - Description: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify ``InstanceIds`` for the ``TargetType`` parameter. - ``TargetTagKey`` - Description: (Required) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``TargetTagValue`` - Description: (Required) The value of the tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify ``Tags`` for the ``TargetType`` parameter. - ``ResourceGroupName`` - Description: (Required) The name of the resource group associated with the instances you want to target. You must provide a value for this parameter if you specify ``ResourceGroups`` for the ``TargetType`` parameter. - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Resource Explorer (Type: AWS QuickSetupType-ResourceExplorer)** - - ``SelectedAggregatorRegion`` - Description: (Required) The AWS Region where you want to create the aggregator index. - ``ReplaceExistingAggregator`` - Description: (Required) A boolean value that determines whether to demote an existing aggregator if it is in a Region that differs from the value you specify for the ``SelectedAggregatorRegion`` . - ``TargetOrganizationalUnits`` - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. - **Resource Scheduler (Type: AWS QuickSetupType-Scheduler)** - - ``TargetTagKey`` - Description: (Required) The tag key assigned to the instances you want to target. - ``TargetTagValue`` - Description: (Required) The value of the tag key assigned to the instances you want to target. - ``ICalendarString`` - Description: (Required) An iCalendar formatted string containing the schedule you want Change Manager to use. - ``TargetAccounts`` - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either ``TargetAccounts`` or ``TargetOrganizationalUnits`` . - ``TargetOrganizationalUnits`` - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. - ``TargetRegions`` - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
542
542
|
:param type: The type of the Quick Setup configuration.
|
|
543
543
|
:param id: The ID of the configuration definition.
|
|
544
544
|
:param local_deployment_administration_role_arn: The ARN of the IAM role used to administrate local configuration deployments. .. epigraph:: Although this element is listed as "Required: No", a value can be omitted only for organizational deployments of types other than ``AWSQuickSetupType-PatchPolicy`` . A value must be provided when you are running an organizational deployment for a patch policy or running any type of deployment for a single account.
|
|
@@ -648,7 +648,7 @@ class CfnConfigurationManager(
|
|
|
648
648
|
- Description: (Optional) The ID of the root of your Organization. This configuration type doesn't currently support choosing specific OUs. The configuration will be deployed to all the OUs in the Organization.
|
|
649
649
|
- ``TargetRegions``
|
|
650
650
|
- Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
651
|
-
- **Default Host Management Configuration (Type: AWS QuickSetupType-DHMC)** - - ``
|
|
651
|
+
- **Default Host Management Configuration (Type: AWS QuickSetupType-DHMC)** - - ``UpdateSsmAgent``
|
|
652
652
|
- Description: (Optional) A boolean value that determines whether the SSM Agent is updated on the target instances every 2 weeks. The default value is " ``true`` ".
|
|
653
653
|
- ``TargetOrganizationalUnits``
|
|
654
654
|
- Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
|
|
@@ -692,7 +692,7 @@ class CfnConfigurationManager(
|
|
|
692
692
|
- Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
|
|
693
693
|
- ``TargetRegions``
|
|
694
694
|
- Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
695
|
-
- **Host Management (Type: AWS QuickSetupType-SSMHostMgmt)** - - ``
|
|
695
|
+
- **Host Management (Type: AWS QuickSetupType-SSMHostMgmt)** - - ``UpdateSsmAgent``
|
|
696
696
|
- Description: (Optional) A boolean value that determines whether the SSM Agent is updated on the target instances every 2 weeks. The default value is " ``true`` ".
|
|
697
697
|
- ``UpdateEc2LaunchAgent``
|
|
698
698
|
- Description: (Optional) A boolean value that determines whether the EC2 Launch agent is updated on the target instances every month. The default value is " ``false`` ".
|
|
@@ -268,7 +268,7 @@ synthetics.Canary(self, "Bucket Canary",
|
|
|
268
268
|
```
|
|
269
269
|
|
|
270
270
|
> **Note:** Synthetics have a specified folder structure for canaries.
|
|
271
|
-
> For Node with puppeteer scripts supplied via `code.fromAsset()` or `code.fromBucket()`, the canary resource requires the following folder structure
|
|
271
|
+
> For Node with puppeteer scripts supplied via `code.fromAsset()` or `code.fromBucket()`, the canary resource requires the following folder structure for runtime versions older than `syn-nodejs-puppeteer-11.0`:
|
|
272
272
|
>
|
|
273
273
|
> ```plaintext
|
|
274
274
|
> canary/
|
|
@@ -277,6 +277,26 @@ synthetics.Canary(self, "Bucket Canary",
|
|
|
277
277
|
> ├── <filename>.js
|
|
278
278
|
> ```
|
|
279
279
|
>
|
|
280
|
+
> For puppeteer based runtime versions newer than or equal to `syn-nodejs-puppeteer-11.0`, `nodjs/node_modules` is not necessary but supported.
|
|
281
|
+
>
|
|
282
|
+
> Both
|
|
283
|
+
>
|
|
284
|
+
> ```plaintext
|
|
285
|
+
> canary/
|
|
286
|
+
> ├── nodejs/
|
|
287
|
+
> ├── node_modules/
|
|
288
|
+
> ├── <filename>.js
|
|
289
|
+
> ```
|
|
290
|
+
>
|
|
291
|
+
> And
|
|
292
|
+
>
|
|
293
|
+
> ```plaintext
|
|
294
|
+
> canary/
|
|
295
|
+
> ├── <filename>.js
|
|
296
|
+
> ```
|
|
297
|
+
>
|
|
298
|
+
> are supported.
|
|
299
|
+
>
|
|
280
300
|
> For Node with playwright scripts supplied via `code.fromAsset()` or `code.fromBucket()`, the canary resource requires the following folder structure:
|
|
281
301
|
>
|
|
282
302
|
> ```plaintext
|