aws-cdk-lib 2.219.0__py3-none-any.whl → 2.221.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 +33 -35
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.219.0.jsii.tgz → aws-cdk-lib@2.221.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -0
- aws_cdk/aws_accessanalyzer/__init__.py +3 -0
- aws_cdk/aws_acmpca/__init__.py +4 -1
- aws_cdk/aws_aiops/__init__.py +3 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -29
- aws_cdk/aws_amplify/__init__.py +3 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +3 -0
- aws_cdk/aws_apigateway/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2/__init__.py +3 -0
- aws_cdk/aws_appconfig/__init__.py +3 -29
- aws_cdk/aws_appflow/__init__.py +3 -0
- aws_cdk/aws_appintegrations/__init__.py +3 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +3 -0
- aws_cdk/aws_applicationinsights/__init__.py +3 -0
- aws_cdk/aws_applicationsignals/__init__.py +453 -2
- aws_cdk/aws_appmesh/__init__.py +3 -0
- aws_cdk/aws_apprunner/__init__.py +3 -0
- aws_cdk/aws_appstream/__init__.py +3 -0
- aws_cdk/aws_appsync/__init__.py +3 -0
- aws_cdk/aws_apptest/__init__.py +3 -0
- aws_cdk/aws_aps/__init__.py +1168 -83
- aws_cdk/aws_arcregionswitch/__init__.py +11 -0
- aws_cdk/aws_arczonalshift/__init__.py +3 -0
- aws_cdk/aws_athena/__init__.py +3 -0
- aws_cdk/aws_auditmanager/__init__.py +3 -0
- aws_cdk/aws_autoscaling/__init__.py +3 -0
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +3 -0
- aws_cdk/aws_b2bi/__init__.py +3 -0
- aws_cdk/aws_backup/__init__.py +32 -29
- aws_cdk/aws_backupgateway/__init__.py +3 -0
- aws_cdk/aws_batch/__init__.py +112 -7
- aws_cdk/aws_bcmdataexports/__init__.py +3 -0
- aws_cdk/aws_bedrock/__init__.py +53 -45
- aws_cdk/aws_bedrockagentcore/__init__.py +8499 -1732
- aws_cdk/aws_billingconductor/__init__.py +3 -0
- aws_cdk/aws_budgets/__init__.py +3 -0
- aws_cdk/aws_cassandra/__init__.py +3 -0
- aws_cdk/aws_ce/__init__.py +3 -0
- aws_cdk/aws_certificatemanager/__init__.py +3 -0
- aws_cdk/aws_chatbot/__init__.py +3 -0
- aws_cdk/aws_cleanrooms/__init__.py +3 -0
- aws_cdk/aws_cleanroomsml/__init__.py +3 -0
- aws_cdk/aws_cloud9/__init__.py +3 -0
- aws_cdk/aws_cloudformation/__init__.py +3 -0
- aws_cdk/aws_cloudfront/__init__.py +69 -3
- aws_cdk/aws_cloudfront/experimental/__init__.py +4 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +87 -6
- aws_cdk/aws_cloudtrail/__init__.py +3 -0
- aws_cdk/aws_cloudwatch/__init__.py +8 -5
- aws_cdk/aws_codeartifact/__init__.py +3 -0
- aws_cdk/aws_codebuild/__init__.py +3 -0
- aws_cdk/aws_codecommit/__init__.py +3 -0
- aws_cdk/aws_codeconnections/__init__.py +3 -0
- aws_cdk/aws_codedeploy/__init__.py +3 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
- aws_cdk/aws_codegurureviewer/__init__.py +3 -0
- aws_cdk/aws_codepipeline/__init__.py +3 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
- aws_cdk/aws_codestar/__init__.py +3 -0
- aws_cdk/aws_codestarconnections/__init__.py +3 -0
- aws_cdk/aws_codestarnotifications/__init__.py +3 -0
- aws_cdk/aws_cognito/__init__.py +9 -4
- aws_cdk/aws_cognito_identitypool/__init__.py +3 -0
- aws_cdk/aws_comprehend/__init__.py +3 -0
- aws_cdk/aws_config/__init__.py +3 -0
- aws_cdk/aws_connect/__init__.py +1232 -2
- aws_cdk/aws_connectcampaigns/__init__.py +3 -0
- aws_cdk/aws_connectcampaignsv2/__init__.py +3 -0
- aws_cdk/aws_controltower/__init__.py +3 -0
- aws_cdk/aws_cur/__init__.py +3 -0
- aws_cdk/aws_customerprofiles/__init__.py +3 -29
- aws_cdk/aws_databrew/__init__.py +3 -0
- aws_cdk/aws_datapipeline/__init__.py +3 -0
- aws_cdk/aws_datasync/__init__.py +3 -0
- aws_cdk/aws_datazone/__init__.py +17 -15
- aws_cdk/aws_dax/__init__.py +15 -3
- aws_cdk/aws_deadline/__init__.py +3 -0
- aws_cdk/aws_detective/__init__.py +3 -0
- aws_cdk/aws_devicefarm/__init__.py +3 -0
- aws_cdk/aws_devopsguru/__init__.py +3 -0
- aws_cdk/aws_directoryservice/__init__.py +32 -0
- aws_cdk/aws_dlm/__init__.py +3 -0
- aws_cdk/aws_dms/__init__.py +3 -0
- aws_cdk/aws_docdb/__init__.py +14 -3
- aws_cdk/aws_docdbelastic/__init__.py +3 -0
- aws_cdk/aws_dsql/__init__.py +3 -0
- aws_cdk/aws_dynamodb/__init__.py +3 -0
- aws_cdk/aws_ec2/__init__.py +205 -48
- aws_cdk/aws_ecr/__init__.py +156 -33
- aws_cdk/aws_ecs/__init__.py +429 -182
- aws_cdk/aws_efs/__init__.py +3 -0
- aws_cdk/aws_eks/__init__.py +117 -67
- aws_cdk/aws_elasticache/__init__.py +3 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +445 -36
- aws_cdk/aws_elasticsearch/__init__.py +3 -0
- aws_cdk/aws_emr/__init__.py +3 -0
- aws_cdk/aws_emrcontainers/__init__.py +3 -0
- aws_cdk/aws_emrserverless/__init__.py +12 -11
- aws_cdk/aws_entityresolution/__init__.py +3 -0
- aws_cdk/aws_events/__init__.py +73 -29
- aws_cdk/aws_events_targets/__init__.py +3 -0
- aws_cdk/aws_eventschemas/__init__.py +3 -0
- aws_cdk/aws_evidently/__init__.py +3 -0
- aws_cdk/aws_evs/__init__.py +3 -0
- aws_cdk/aws_finspace/__init__.py +3 -0
- aws_cdk/aws_fis/__init__.py +3 -0
- aws_cdk/aws_fms/__init__.py +3 -0
- aws_cdk/aws_forecast/__init__.py +3 -0
- aws_cdk/aws_frauddetector/__init__.py +3 -0
- aws_cdk/aws_fsx/__init__.py +7 -4
- aws_cdk/aws_gamelift/__init__.py +3 -0
- aws_cdk/aws_gameliftstreams/__init__.py +8 -5
- aws_cdk/aws_globalaccelerator/__init__.py +3 -0
- aws_cdk/aws_glue/__init__.py +11 -80
- aws_cdk/aws_grafana/__init__.py +3 -0
- aws_cdk/aws_greengrass/__init__.py +3 -0
- aws_cdk/aws_greengrassv2/__init__.py +3 -0
- aws_cdk/aws_groundstation/__init__.py +3 -0
- aws_cdk/aws_guardduty/__init__.py +3 -0
- aws_cdk/aws_healthimaging/__init__.py +3 -0
- aws_cdk/aws_healthlake/__init__.py +3 -0
- aws_cdk/aws_iam/__init__.py +30 -32
- aws_cdk/aws_identitystore/__init__.py +3 -0
- aws_cdk/aws_imagebuilder/__init__.py +896 -0
- aws_cdk/aws_inspector/__init__.py +3 -0
- aws_cdk/aws_inspectorv2/__init__.py +3 -0
- aws_cdk/aws_internetmonitor/__init__.py +3 -0
- aws_cdk/aws_invoicing/__init__.py +3 -0
- aws_cdk/aws_iot/__init__.py +3 -0
- aws_cdk/aws_iotanalytics/__init__.py +3 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
- aws_cdk/aws_iotevents/__init__.py +3 -0
- aws_cdk/aws_iotfleethub/__init__.py +3 -0
- aws_cdk/aws_iotfleetwise/__init__.py +3 -0
- aws_cdk/aws_iotsitewise/__init__.py +139 -80
- aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
- aws_cdk/aws_iottwinmaker/__init__.py +3 -87
- aws_cdk/aws_iotwireless/__init__.py +61 -0
- aws_cdk/aws_ivs/__init__.py +3 -0
- aws_cdk/aws_ivschat/__init__.py +3 -0
- aws_cdk/aws_kafkaconnect/__init__.py +3 -0
- aws_cdk/aws_kendra/__init__.py +3 -58
- aws_cdk/aws_kendraranking/__init__.py +3 -0
- aws_cdk/aws_kinesis/__init__.py +98 -4
- aws_cdk/aws_kinesisanalytics/__init__.py +3 -0
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +3 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +1709 -10
- aws_cdk/aws_kinesisvideo/__init__.py +3 -29
- aws_cdk/aws_kms/__init__.py +3 -0
- aws_cdk/aws_lakeformation/__init__.py +3 -0
- aws_cdk/aws_lambda/__init__.py +57 -7
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
- aws_cdk/aws_launchwizard/__init__.py +3 -0
- aws_cdk/aws_lex/__init__.py +3 -29
- aws_cdk/aws_licensemanager/__init__.py +3 -0
- aws_cdk/aws_lightsail/__init__.py +587 -0
- aws_cdk/aws_location/__init__.py +3 -0
- aws_cdk/aws_logs/__init__.py +283 -9
- aws_cdk/aws_lookoutequipment/__init__.py +3 -29
- aws_cdk/aws_lookoutmetrics/__init__.py +17 -2
- aws_cdk/aws_lookoutvision/__init__.py +3 -0
- aws_cdk/aws_m2/__init__.py +62 -13
- aws_cdk/aws_macie/__init__.py +3 -0
- aws_cdk/aws_managedblockchain/__init__.py +3 -0
- aws_cdk/aws_mediaconnect/__init__.py +3 -0
- aws_cdk/aws_mediaconvert/__init__.py +3 -0
- aws_cdk/aws_medialive/__init__.py +279 -33
- aws_cdk/aws_mediapackage/__init__.py +3 -0
- aws_cdk/aws_mediapackagev2/__init__.py +3 -0
- aws_cdk/aws_mediastore/__init__.py +3 -0
- aws_cdk/aws_mediatailor/__init__.py +3 -58
- aws_cdk/aws_memorydb/__init__.py +3 -0
- aws_cdk/aws_mpa/__init__.py +3 -0
- aws_cdk/aws_msk/__init__.py +3 -0
- aws_cdk/aws_mwaa/__init__.py +8 -5
- aws_cdk/aws_neptune/__init__.py +188 -70
- aws_cdk/aws_neptunegraph/__init__.py +3 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -0
- aws_cdk/aws_networkmanager/__init__.py +32 -0
- aws_cdk/aws_nimblestudio/__init__.py +3 -0
- aws_cdk/aws_notifications/__init__.py +3 -0
- aws_cdk/aws_notificationscontacts/__init__.py +3 -0
- aws_cdk/aws_oam/__init__.py +3 -0
- aws_cdk/aws_observabilityadmin/__init__.py +1365 -187
- aws_cdk/aws_odb/__init__.py +4 -1
- aws_cdk/aws_omics/__init__.py +10 -1
- aws_cdk/aws_opensearchserverless/__init__.py +3 -0
- aws_cdk/aws_opensearchservice/__init__.py +9 -0
- aws_cdk/aws_opsworks/__init__.py +3 -0
- aws_cdk/aws_opsworkscm/__init__.py +3 -0
- aws_cdk/aws_organizations/__init__.py +3 -116
- aws_cdk/aws_osis/__init__.py +157 -0
- aws_cdk/aws_panorama/__init__.py +3 -0
- aws_cdk/aws_paymentcryptography/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +3 -0
- aws_cdk/aws_pcs/__init__.py +227 -33
- aws_cdk/aws_personalize/__init__.py +3 -0
- aws_cdk/aws_pinpoint/__init__.py +61 -58
- aws_cdk/aws_pinpointemail/__init__.py +3 -0
- aws_cdk/aws_pipes/__init__.py +3 -0
- aws_cdk/aws_proton/__init__.py +3 -0
- aws_cdk/aws_qbusiness/__init__.py +3 -174
- aws_cdk/aws_qldb/__init__.py +3 -29
- aws_cdk/aws_quicksight/__init__.py +493 -406
- aws_cdk/aws_ram/__init__.py +3 -0
- aws_cdk/aws_rbin/__init__.py +3 -0
- aws_cdk/aws_rds/__init__.py +71 -42
- aws_cdk/aws_redshift/__init__.py +3 -0
- aws_cdk/aws_redshiftserverless/__init__.py +3 -0
- aws_cdk/aws_refactorspaces/__init__.py +21 -6
- aws_cdk/aws_rekognition/__init__.py +3 -29
- aws_cdk/aws_resiliencehub/__init__.py +3 -0
- aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
- aws_cdk/aws_resourcegroups/__init__.py +3 -0
- aws_cdk/aws_robomaker/__init__.py +3 -0
- aws_cdk/aws_rolesanywhere/__init__.py +3 -0
- aws_cdk/aws_route53/__init__.py +148 -24
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +3 -0
- aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
- aws_cdk/aws_route53resolver/__init__.py +11 -4
- aws_cdk/aws_rum/__init__.py +3 -0
- aws_cdk/aws_s3/__init__.py +80 -43
- aws_cdk/aws_s3_deployment/__init__.py +3 -0
- aws_cdk/aws_s3express/__init__.py +3 -0
- aws_cdk/aws_s3objectlambda/__init__.py +47 -12
- aws_cdk/aws_s3outposts/__init__.py +3 -0
- aws_cdk/aws_s3tables/__init__.py +3 -0
- aws_cdk/aws_sagemaker/__init__.py +166 -87
- aws_cdk/aws_sam/__init__.py +3 -0
- aws_cdk/aws_scheduler/__init__.py +3 -29
- aws_cdk/aws_sdb/__init__.py +3 -0
- aws_cdk/aws_secretsmanager/__init__.py +3 -0
- aws_cdk/aws_securityhub/__init__.py +3 -0
- aws_cdk/aws_securitylake/__init__.py +3 -0
- aws_cdk/aws_servicecatalog/__init__.py +161 -144
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
- aws_cdk/aws_servicediscovery/__init__.py +3 -0
- aws_cdk/aws_ses/__init__.py +3 -0
- aws_cdk/aws_shield/__init__.py +3 -0
- aws_cdk/aws_signer/__init__.py +3 -0
- aws_cdk/aws_simspaceweaver/__init__.py +3 -0
- aws_cdk/aws_smsvoice/__init__.py +3 -29
- aws_cdk/aws_sns/__init__.py +3 -0
- aws_cdk/aws_sqs/__init__.py +3 -0
- aws_cdk/aws_ssm/__init__.py +10 -3
- aws_cdk/aws_ssmcontacts/__init__.py +3 -0
- aws_cdk/aws_ssmguiconnect/__init__.py +3 -0
- aws_cdk/aws_ssmincidents/__init__.py +3 -0
- aws_cdk/aws_ssmquicksetup/__init__.py +470 -3
- aws_cdk/aws_sso/__init__.py +3 -0
- aws_cdk/aws_stepfunctions/__init__.py +23 -19
- aws_cdk/aws_stepfunctions_tasks/__init__.py +6 -3
- aws_cdk/aws_supportapp/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +80 -27
- aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
- aws_cdk/aws_timestream/__init__.py +3 -29
- aws_cdk/aws_transfer/__init__.py +20 -34
- aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
- aws_cdk/aws_voiceid/__init__.py +3 -0
- aws_cdk/aws_vpclattice/__init__.py +7 -4
- aws_cdk/aws_waf/__init__.py +3 -0
- aws_cdk/aws_wafregional/__init__.py +3 -0
- aws_cdk/aws_wafv2/__init__.py +3 -0
- aws_cdk/aws_wisdom/__init__.py +3 -116
- aws_cdk/aws_workspaces/__init__.py +3 -0
- aws_cdk/aws_workspacesinstances/__init__.py +3 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
- aws_cdk/aws_workspacesweb/__init__.py +3 -0
- aws_cdk/aws_xray/__init__.py +3 -0
- aws_cdk/cloud_assembly_schema/__init__.py +3 -0
- aws_cdk/cx_api/__init__.py +34 -0
- aws_cdk/pipelines/__init__.py +3 -0
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +3 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.221.0.dist-info/RECORD +313 -0
- aws_cdk_lib-2.219.0.dist-info/RECORD +0 -313
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/top_level.txt +0 -0
|
@@ -202,6 +202,127 @@ class CfnConfigurationManagerProps:
|
|
|
202
202
|
)
|
|
203
203
|
|
|
204
204
|
|
|
205
|
+
@jsii.data_type(
|
|
206
|
+
jsii_type="aws-cdk-lib.aws_ssmquicksetup.CfnLifecycleAutomationProps",
|
|
207
|
+
jsii_struct_bases=[],
|
|
208
|
+
name_mapping={
|
|
209
|
+
"automation_document": "automationDocument",
|
|
210
|
+
"automation_parameters": "automationParameters",
|
|
211
|
+
"resource_key": "resourceKey",
|
|
212
|
+
"tags": "tags",
|
|
213
|
+
},
|
|
214
|
+
)
|
|
215
|
+
class CfnLifecycleAutomationProps:
|
|
216
|
+
def __init__(
|
|
217
|
+
self,
|
|
218
|
+
*,
|
|
219
|
+
automation_document: builtins.str,
|
|
220
|
+
automation_parameters: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Sequence[builtins.str]]],
|
|
221
|
+
resource_key: builtins.str,
|
|
222
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
223
|
+
) -> None:
|
|
224
|
+
'''Properties for defining a ``CfnLifecycleAutomation``.
|
|
225
|
+
|
|
226
|
+
:param automation_document: The name of the SSM Automation document to execute in response to AWS CloudFormation lifecycle events (CREATE, UPDATE, DELETE).
|
|
227
|
+
:param automation_parameters: A map of key-value parameters passed to the Automation document during execution. Each parameter name maps to a list of values, even for single values. Parameters can include configuration-specific values for your automation workflow.
|
|
228
|
+
:param resource_key: A unique identifier used for generating the SSM Association name. This ensures uniqueness when multiple lifecycle automation resources exist in the same stack.
|
|
229
|
+
:param tags: Tags applied to the underlying SSM Association created by this resource. Tags help identify and organize automation executions.
|
|
230
|
+
|
|
231
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmquicksetup-lifecycleautomation.html
|
|
232
|
+
:exampleMetadata: fixture=_generated
|
|
233
|
+
|
|
234
|
+
Example::
|
|
235
|
+
|
|
236
|
+
# The code below shows an example of how to instantiate this type.
|
|
237
|
+
# The values are placeholders you should change.
|
|
238
|
+
from aws_cdk import aws_ssmquicksetup as ssmquicksetup
|
|
239
|
+
|
|
240
|
+
cfn_lifecycle_automation_props = ssmquicksetup.CfnLifecycleAutomationProps(
|
|
241
|
+
automation_document="automationDocument",
|
|
242
|
+
automation_parameters={
|
|
243
|
+
"automation_parameters_key": ["automationParameters"]
|
|
244
|
+
},
|
|
245
|
+
resource_key="resourceKey",
|
|
246
|
+
|
|
247
|
+
# the properties below are optional
|
|
248
|
+
tags={
|
|
249
|
+
"tags_key": "tags"
|
|
250
|
+
}
|
|
251
|
+
)
|
|
252
|
+
'''
|
|
253
|
+
if __debug__:
|
|
254
|
+
type_hints = typing.get_type_hints(_typecheckingstub__79199d718c2b2c172a1d7d84b00e0168a3213bd466a48735b8cbd4b538315455)
|
|
255
|
+
check_type(argname="argument automation_document", value=automation_document, expected_type=type_hints["automation_document"])
|
|
256
|
+
check_type(argname="argument automation_parameters", value=automation_parameters, expected_type=type_hints["automation_parameters"])
|
|
257
|
+
check_type(argname="argument resource_key", value=resource_key, expected_type=type_hints["resource_key"])
|
|
258
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
259
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
260
|
+
"automation_document": automation_document,
|
|
261
|
+
"automation_parameters": automation_parameters,
|
|
262
|
+
"resource_key": resource_key,
|
|
263
|
+
}
|
|
264
|
+
if tags is not None:
|
|
265
|
+
self._values["tags"] = tags
|
|
266
|
+
|
|
267
|
+
@builtins.property
|
|
268
|
+
def automation_document(self) -> builtins.str:
|
|
269
|
+
'''The name of the SSM Automation document to execute in response to AWS CloudFormation lifecycle events (CREATE, UPDATE, DELETE).
|
|
270
|
+
|
|
271
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmquicksetup-lifecycleautomation.html#cfn-ssmquicksetup-lifecycleautomation-automationdocument
|
|
272
|
+
'''
|
|
273
|
+
result = self._values.get("automation_document")
|
|
274
|
+
assert result is not None, "Required property 'automation_document' is missing"
|
|
275
|
+
return typing.cast(builtins.str, result)
|
|
276
|
+
|
|
277
|
+
@builtins.property
|
|
278
|
+
def automation_parameters(
|
|
279
|
+
self,
|
|
280
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.List[builtins.str]]]:
|
|
281
|
+
'''A map of key-value parameters passed to the Automation document during execution.
|
|
282
|
+
|
|
283
|
+
Each parameter name maps to a list of values, even for single values. Parameters can include configuration-specific values for your automation workflow.
|
|
284
|
+
|
|
285
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmquicksetup-lifecycleautomation.html#cfn-ssmquicksetup-lifecycleautomation-automationparameters
|
|
286
|
+
'''
|
|
287
|
+
result = self._values.get("automation_parameters")
|
|
288
|
+
assert result is not None, "Required property 'automation_parameters' is missing"
|
|
289
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.List[builtins.str]]], result)
|
|
290
|
+
|
|
291
|
+
@builtins.property
|
|
292
|
+
def resource_key(self) -> builtins.str:
|
|
293
|
+
'''A unique identifier used for generating the SSM Association name.
|
|
294
|
+
|
|
295
|
+
This ensures uniqueness when multiple lifecycle automation resources exist in the same stack.
|
|
296
|
+
|
|
297
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmquicksetup-lifecycleautomation.html#cfn-ssmquicksetup-lifecycleautomation-resourcekey
|
|
298
|
+
'''
|
|
299
|
+
result = self._values.get("resource_key")
|
|
300
|
+
assert result is not None, "Required property 'resource_key' is missing"
|
|
301
|
+
return typing.cast(builtins.str, result)
|
|
302
|
+
|
|
303
|
+
@builtins.property
|
|
304
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
305
|
+
'''Tags applied to the underlying SSM Association created by this resource.
|
|
306
|
+
|
|
307
|
+
Tags help identify and organize automation executions.
|
|
308
|
+
|
|
309
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmquicksetup-lifecycleautomation.html#cfn-ssmquicksetup-lifecycleautomation-tags
|
|
310
|
+
'''
|
|
311
|
+
result = self._values.get("tags")
|
|
312
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
313
|
+
|
|
314
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
315
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
316
|
+
|
|
317
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
318
|
+
return not (rhs == self)
|
|
319
|
+
|
|
320
|
+
def __repr__(self) -> str:
|
|
321
|
+
return "CfnLifecycleAutomationProps(%s)" % ", ".join(
|
|
322
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
323
|
+
)
|
|
324
|
+
|
|
325
|
+
|
|
205
326
|
@jsii.data_type(
|
|
206
327
|
jsii_type="aws-cdk-lib.aws_ssmquicksetup.ConfigurationManagerReference",
|
|
207
328
|
jsii_struct_bases=[],
|
|
@@ -294,6 +415,98 @@ class _IConfigurationManagerRefProxy(
|
|
|
294
415
|
typing.cast(typing.Any, IConfigurationManagerRef).__jsii_proxy_class__ = lambda : _IConfigurationManagerRefProxy
|
|
295
416
|
|
|
296
417
|
|
|
418
|
+
@jsii.interface(jsii_type="aws-cdk-lib.aws_ssmquicksetup.ILifecycleAutomationRef")
|
|
419
|
+
class ILifecycleAutomationRef(
|
|
420
|
+
_constructs_77d1e7e8.IConstruct,
|
|
421
|
+
typing_extensions.Protocol,
|
|
422
|
+
):
|
|
423
|
+
'''(experimental) Indicates that this resource can be referenced as a LifecycleAutomation.
|
|
424
|
+
|
|
425
|
+
:stability: experimental
|
|
426
|
+
'''
|
|
427
|
+
|
|
428
|
+
@builtins.property
|
|
429
|
+
@jsii.member(jsii_name="lifecycleAutomationRef")
|
|
430
|
+
def lifecycle_automation_ref(self) -> "LifecycleAutomationReference":
|
|
431
|
+
'''(experimental) A reference to a LifecycleAutomation resource.
|
|
432
|
+
|
|
433
|
+
:stability: experimental
|
|
434
|
+
'''
|
|
435
|
+
...
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
class _ILifecycleAutomationRefProxy(
|
|
439
|
+
jsii.proxy_for(_constructs_77d1e7e8.IConstruct), # type: ignore[misc]
|
|
440
|
+
):
|
|
441
|
+
'''(experimental) Indicates that this resource can be referenced as a LifecycleAutomation.
|
|
442
|
+
|
|
443
|
+
:stability: experimental
|
|
444
|
+
'''
|
|
445
|
+
|
|
446
|
+
__jsii_type__: typing.ClassVar[str] = "aws-cdk-lib.aws_ssmquicksetup.ILifecycleAutomationRef"
|
|
447
|
+
|
|
448
|
+
@builtins.property
|
|
449
|
+
@jsii.member(jsii_name="lifecycleAutomationRef")
|
|
450
|
+
def lifecycle_automation_ref(self) -> "LifecycleAutomationReference":
|
|
451
|
+
'''(experimental) A reference to a LifecycleAutomation resource.
|
|
452
|
+
|
|
453
|
+
:stability: experimental
|
|
454
|
+
'''
|
|
455
|
+
return typing.cast("LifecycleAutomationReference", jsii.get(self, "lifecycleAutomationRef"))
|
|
456
|
+
|
|
457
|
+
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
458
|
+
typing.cast(typing.Any, ILifecycleAutomationRef).__jsii_proxy_class__ = lambda : _ILifecycleAutomationRefProxy
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
@jsii.data_type(
|
|
462
|
+
jsii_type="aws-cdk-lib.aws_ssmquicksetup.LifecycleAutomationReference",
|
|
463
|
+
jsii_struct_bases=[],
|
|
464
|
+
name_mapping={"association_id": "associationId"},
|
|
465
|
+
)
|
|
466
|
+
class LifecycleAutomationReference:
|
|
467
|
+
def __init__(self, *, association_id: builtins.str) -> None:
|
|
468
|
+
'''A reference to a LifecycleAutomation resource.
|
|
469
|
+
|
|
470
|
+
:param association_id: The AssociationId of the LifecycleAutomation resource.
|
|
471
|
+
|
|
472
|
+
:exampleMetadata: fixture=_generated
|
|
473
|
+
|
|
474
|
+
Example::
|
|
475
|
+
|
|
476
|
+
# The code below shows an example of how to instantiate this type.
|
|
477
|
+
# The values are placeholders you should change.
|
|
478
|
+
from aws_cdk import aws_ssmquicksetup as ssmquicksetup
|
|
479
|
+
|
|
480
|
+
lifecycle_automation_reference = ssmquicksetup.LifecycleAutomationReference(
|
|
481
|
+
association_id="associationId"
|
|
482
|
+
)
|
|
483
|
+
'''
|
|
484
|
+
if __debug__:
|
|
485
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3ee89d89706a6e2c7f4f0e1ea57af408844dd20f0d22fb4ea042d2b6d6b608e2)
|
|
486
|
+
check_type(argname="argument association_id", value=association_id, expected_type=type_hints["association_id"])
|
|
487
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
488
|
+
"association_id": association_id,
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
@builtins.property
|
|
492
|
+
def association_id(self) -> builtins.str:
|
|
493
|
+
'''The AssociationId of the LifecycleAutomation resource.'''
|
|
494
|
+
result = self._values.get("association_id")
|
|
495
|
+
assert result is not None, "Required property 'association_id' is missing"
|
|
496
|
+
return typing.cast(builtins.str, result)
|
|
497
|
+
|
|
498
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
499
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
500
|
+
|
|
501
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
502
|
+
return not (rhs == self)
|
|
503
|
+
|
|
504
|
+
def __repr__(self) -> str:
|
|
505
|
+
return "LifecycleAutomationReference(%s)" % ", ".join(
|
|
506
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
507
|
+
)
|
|
508
|
+
|
|
509
|
+
|
|
297
510
|
@jsii.implements(_IInspectable_c2943556, IConfigurationManagerRef, _ITaggableV2_4e6798f8)
|
|
298
511
|
class CfnConfigurationManager(
|
|
299
512
|
_CfnResource_9df397a6,
|
|
@@ -538,7 +751,7 @@ class CfnConfigurationManager(
|
|
|
538
751
|
) -> None:
|
|
539
752
|
'''The definition of a Quick Setup configuration.
|
|
540
753
|
|
|
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.
|
|
754
|
+
: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
755
|
:param type: The type of the Quick Setup configuration.
|
|
543
756
|
:param id: The ID of the configuration definition.
|
|
544
757
|
: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 +861,7 @@ class CfnConfigurationManager(
|
|
|
648
861
|
- 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
862
|
- ``TargetRegions``
|
|
650
863
|
- 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)** - - ``
|
|
864
|
+
- **Default Host Management Configuration (Type: AWS QuickSetupType-DHMC)** - - ``UpdateSsmAgent``
|
|
652
865
|
- 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
866
|
- ``TargetOrganizationalUnits``
|
|
654
867
|
- Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
|
|
@@ -692,7 +905,7 @@ class CfnConfigurationManager(
|
|
|
692
905
|
- Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
|
|
693
906
|
- ``TargetRegions``
|
|
694
907
|
- Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
695
|
-
- **Host Management (Type: AWS QuickSetupType-SSMHostMgmt)** - - ``
|
|
908
|
+
- **Host Management (Type: AWS QuickSetupType-SSMHostMgmt)** - - ``UpdateSsmAgent``
|
|
696
909
|
- 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
910
|
- ``UpdateEc2LaunchAgent``
|
|
698
911
|
- 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`` ".
|
|
@@ -1001,11 +1214,197 @@ class CfnConfigurationManager(
|
|
|
1001
1214
|
)
|
|
1002
1215
|
|
|
1003
1216
|
|
|
1217
|
+
@jsii.implements(_IInspectable_c2943556, ILifecycleAutomationRef, _ITaggableV2_4e6798f8)
|
|
1218
|
+
class CfnLifecycleAutomation(
|
|
1219
|
+
_CfnResource_9df397a6,
|
|
1220
|
+
metaclass=jsii.JSIIMeta,
|
|
1221
|
+
jsii_type="aws-cdk-lib.aws_ssmquicksetup.CfnLifecycleAutomation",
|
|
1222
|
+
):
|
|
1223
|
+
'''Creates a lifecycle automation resource that executes SSM Automation documents during AWS CloudFormation stack operations.
|
|
1224
|
+
|
|
1225
|
+
This resource replaces inline AWS Lambda custom resources and provides a managed way to handle lifecycle events in Quick Setup configurations.
|
|
1226
|
+
|
|
1227
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmquicksetup-lifecycleautomation.html
|
|
1228
|
+
:cloudformationResource: AWS::SSMQuickSetup::LifecycleAutomation
|
|
1229
|
+
:exampleMetadata: fixture=_generated
|
|
1230
|
+
|
|
1231
|
+
Example::
|
|
1232
|
+
|
|
1233
|
+
# The code below shows an example of how to instantiate this type.
|
|
1234
|
+
# The values are placeholders you should change.
|
|
1235
|
+
from aws_cdk import aws_ssmquicksetup as ssmquicksetup
|
|
1236
|
+
|
|
1237
|
+
cfn_lifecycle_automation = ssmquicksetup.CfnLifecycleAutomation(self, "MyCfnLifecycleAutomation",
|
|
1238
|
+
automation_document="automationDocument",
|
|
1239
|
+
automation_parameters={
|
|
1240
|
+
"automation_parameters_key": ["automationParameters"]
|
|
1241
|
+
},
|
|
1242
|
+
resource_key="resourceKey",
|
|
1243
|
+
|
|
1244
|
+
# the properties below are optional
|
|
1245
|
+
tags={
|
|
1246
|
+
"tags_key": "tags"
|
|
1247
|
+
}
|
|
1248
|
+
)
|
|
1249
|
+
'''
|
|
1250
|
+
|
|
1251
|
+
def __init__(
|
|
1252
|
+
self,
|
|
1253
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1254
|
+
id: builtins.str,
|
|
1255
|
+
*,
|
|
1256
|
+
automation_document: builtins.str,
|
|
1257
|
+
automation_parameters: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Sequence[builtins.str]]],
|
|
1258
|
+
resource_key: builtins.str,
|
|
1259
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1260
|
+
) -> None:
|
|
1261
|
+
'''
|
|
1262
|
+
:param scope: Scope in which this resource is defined.
|
|
1263
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
1264
|
+
:param automation_document: The name of the SSM Automation document to execute in response to AWS CloudFormation lifecycle events (CREATE, UPDATE, DELETE).
|
|
1265
|
+
:param automation_parameters: A map of key-value parameters passed to the Automation document during execution. Each parameter name maps to a list of values, even for single values. Parameters can include configuration-specific values for your automation workflow.
|
|
1266
|
+
:param resource_key: A unique identifier used for generating the SSM Association name. This ensures uniqueness when multiple lifecycle automation resources exist in the same stack.
|
|
1267
|
+
:param tags: Tags applied to the underlying SSM Association created by this resource. Tags help identify and organize automation executions.
|
|
1268
|
+
'''
|
|
1269
|
+
if __debug__:
|
|
1270
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c274d30b541ddefe9caa5141a1a8e43de7216c46c089f1fdae60d544955044c1)
|
|
1271
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1272
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1273
|
+
props = CfnLifecycleAutomationProps(
|
|
1274
|
+
automation_document=automation_document,
|
|
1275
|
+
automation_parameters=automation_parameters,
|
|
1276
|
+
resource_key=resource_key,
|
|
1277
|
+
tags=tags,
|
|
1278
|
+
)
|
|
1279
|
+
|
|
1280
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
1281
|
+
|
|
1282
|
+
@jsii.member(jsii_name="inspect")
|
|
1283
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1284
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
1285
|
+
|
|
1286
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
1287
|
+
'''
|
|
1288
|
+
if __debug__:
|
|
1289
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b61518a077583ff2e93eed054066c48444474de51f56598ef7dc62899ec1a45a)
|
|
1290
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
1291
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
1292
|
+
|
|
1293
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1294
|
+
def _render_properties(
|
|
1295
|
+
self,
|
|
1296
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1297
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1298
|
+
'''
|
|
1299
|
+
:param props: -
|
|
1300
|
+
'''
|
|
1301
|
+
if __debug__:
|
|
1302
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6cd496f7ff2d2a510224b971ab519684923a9242e8a1a01531513a93a820248b)
|
|
1303
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1304
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1305
|
+
|
|
1306
|
+
@jsii.python.classproperty
|
|
1307
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
1308
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1309
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
1310
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1311
|
+
|
|
1312
|
+
@builtins.property
|
|
1313
|
+
@jsii.member(jsii_name="attrAssociationId")
|
|
1314
|
+
def attr_association_id(self) -> builtins.str:
|
|
1315
|
+
'''Returns the ID of the SSM Association created to manage the automation document execution lifecycle.
|
|
1316
|
+
|
|
1317
|
+
:cloudformationAttribute: AssociationId
|
|
1318
|
+
'''
|
|
1319
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAssociationId"))
|
|
1320
|
+
|
|
1321
|
+
@builtins.property
|
|
1322
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
1323
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
1324
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
1325
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
1326
|
+
|
|
1327
|
+
@builtins.property
|
|
1328
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
1329
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1330
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1331
|
+
|
|
1332
|
+
@builtins.property
|
|
1333
|
+
@jsii.member(jsii_name="lifecycleAutomationRef")
|
|
1334
|
+
def lifecycle_automation_ref(self) -> LifecycleAutomationReference:
|
|
1335
|
+
'''A reference to a LifecycleAutomation resource.'''
|
|
1336
|
+
return typing.cast(LifecycleAutomationReference, jsii.get(self, "lifecycleAutomationRef"))
|
|
1337
|
+
|
|
1338
|
+
@builtins.property
|
|
1339
|
+
@jsii.member(jsii_name="automationDocument")
|
|
1340
|
+
def automation_document(self) -> builtins.str:
|
|
1341
|
+
'''The name of the SSM Automation document to execute in response to AWS CloudFormation lifecycle events (CREATE, UPDATE, DELETE).'''
|
|
1342
|
+
return typing.cast(builtins.str, jsii.get(self, "automationDocument"))
|
|
1343
|
+
|
|
1344
|
+
@automation_document.setter
|
|
1345
|
+
def automation_document(self, value: builtins.str) -> None:
|
|
1346
|
+
if __debug__:
|
|
1347
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f18b1ccb93713180dcde6f2a5b7f8b438d176c39463a1cdbe77796016b4f5477)
|
|
1348
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1349
|
+
jsii.set(self, "automationDocument", value) # pyright: ignore[reportArgumentType]
|
|
1350
|
+
|
|
1351
|
+
@builtins.property
|
|
1352
|
+
@jsii.member(jsii_name="automationParameters")
|
|
1353
|
+
def automation_parameters(
|
|
1354
|
+
self,
|
|
1355
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.List[builtins.str]]]:
|
|
1356
|
+
'''A map of key-value parameters passed to the Automation document during execution.'''
|
|
1357
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.List[builtins.str]]], jsii.get(self, "automationParameters"))
|
|
1358
|
+
|
|
1359
|
+
@automation_parameters.setter
|
|
1360
|
+
def automation_parameters(
|
|
1361
|
+
self,
|
|
1362
|
+
value: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.List[builtins.str]]],
|
|
1363
|
+
) -> None:
|
|
1364
|
+
if __debug__:
|
|
1365
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b2fd63e0dc60f38ac5eb15dfe40d1d3878ce56f7a2d8643491a70e49d6ccfa30)
|
|
1366
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1367
|
+
jsii.set(self, "automationParameters", value) # pyright: ignore[reportArgumentType]
|
|
1368
|
+
|
|
1369
|
+
@builtins.property
|
|
1370
|
+
@jsii.member(jsii_name="resourceKey")
|
|
1371
|
+
def resource_key(self) -> builtins.str:
|
|
1372
|
+
'''A unique identifier used for generating the SSM Association name.'''
|
|
1373
|
+
return typing.cast(builtins.str, jsii.get(self, "resourceKey"))
|
|
1374
|
+
|
|
1375
|
+
@resource_key.setter
|
|
1376
|
+
def resource_key(self, value: builtins.str) -> None:
|
|
1377
|
+
if __debug__:
|
|
1378
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2f96da7665a8689d4fe9b08c4f9bec294f3b27e4583a6ae4b29260dd89217910)
|
|
1379
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1380
|
+
jsii.set(self, "resourceKey", value) # pyright: ignore[reportArgumentType]
|
|
1381
|
+
|
|
1382
|
+
@builtins.property
|
|
1383
|
+
@jsii.member(jsii_name="tags")
|
|
1384
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1385
|
+
'''Tags applied to the underlying SSM Association created by this resource.'''
|
|
1386
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
1387
|
+
|
|
1388
|
+
@tags.setter
|
|
1389
|
+
def tags(
|
|
1390
|
+
self,
|
|
1391
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
1392
|
+
) -> None:
|
|
1393
|
+
if __debug__:
|
|
1394
|
+
type_hints = typing.get_type_hints(_typecheckingstub__281612b8a25a7f26b4f0331e29ea2ded32674afc0ad11cfc1baedf75edc158e8)
|
|
1395
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1396
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
1397
|
+
|
|
1398
|
+
|
|
1004
1399
|
__all__ = [
|
|
1005
1400
|
"CfnConfigurationManager",
|
|
1006
1401
|
"CfnConfigurationManagerProps",
|
|
1402
|
+
"CfnLifecycleAutomation",
|
|
1403
|
+
"CfnLifecycleAutomationProps",
|
|
1007
1404
|
"ConfigurationManagerReference",
|
|
1008
1405
|
"IConfigurationManagerRef",
|
|
1406
|
+
"ILifecycleAutomationRef",
|
|
1407
|
+
"LifecycleAutomationReference",
|
|
1009
1408
|
]
|
|
1010
1409
|
|
|
1011
1410
|
publication.publish()
|
|
@@ -1020,6 +1419,16 @@ def _typecheckingstub__0bd2e12c3bb5f4087218fbe0db9640c52d608411ab3980220b7dd2ff4
|
|
|
1020
1419
|
"""Type checking stubs"""
|
|
1021
1420
|
pass
|
|
1022
1421
|
|
|
1422
|
+
def _typecheckingstub__79199d718c2b2c172a1d7d84b00e0168a3213bd466a48735b8cbd4b538315455(
|
|
1423
|
+
*,
|
|
1424
|
+
automation_document: builtins.str,
|
|
1425
|
+
automation_parameters: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Sequence[builtins.str]]],
|
|
1426
|
+
resource_key: builtins.str,
|
|
1427
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1428
|
+
) -> None:
|
|
1429
|
+
"""Type checking stubs"""
|
|
1430
|
+
pass
|
|
1431
|
+
|
|
1023
1432
|
def _typecheckingstub__605416c7622c4d2af93037d22c1a25b719cc761f49f957bc94aea7a182cf18ca(
|
|
1024
1433
|
*,
|
|
1025
1434
|
manager_arn: builtins.str,
|
|
@@ -1027,6 +1436,13 @@ def _typecheckingstub__605416c7622c4d2af93037d22c1a25b719cc761f49f957bc94aea7a18
|
|
|
1027
1436
|
"""Type checking stubs"""
|
|
1028
1437
|
pass
|
|
1029
1438
|
|
|
1439
|
+
def _typecheckingstub__3ee89d89706a6e2c7f4f0e1ea57af408844dd20f0d22fb4ea042d2b6d6b608e2(
|
|
1440
|
+
*,
|
|
1441
|
+
association_id: builtins.str,
|
|
1442
|
+
) -> None:
|
|
1443
|
+
"""Type checking stubs"""
|
|
1444
|
+
pass
|
|
1445
|
+
|
|
1030
1446
|
def _typecheckingstub__12a9f65dcaf9bde5bcf296a113eb81107c3f8fa3375cf583d296e98f6c35b8bc(
|
|
1031
1447
|
scope: _constructs_77d1e7e8.Construct,
|
|
1032
1448
|
id: builtins.str,
|
|
@@ -1097,3 +1513,54 @@ def _typecheckingstub__0a15d3717729affa2b751047a4b5b72469d29c10060f85ac60b65e8bc
|
|
|
1097
1513
|
) -> None:
|
|
1098
1514
|
"""Type checking stubs"""
|
|
1099
1515
|
pass
|
|
1516
|
+
|
|
1517
|
+
def _typecheckingstub__c274d30b541ddefe9caa5141a1a8e43de7216c46c089f1fdae60d544955044c1(
|
|
1518
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1519
|
+
id: builtins.str,
|
|
1520
|
+
*,
|
|
1521
|
+
automation_document: builtins.str,
|
|
1522
|
+
automation_parameters: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Sequence[builtins.str]]],
|
|
1523
|
+
resource_key: builtins.str,
|
|
1524
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1525
|
+
) -> None:
|
|
1526
|
+
"""Type checking stubs"""
|
|
1527
|
+
pass
|
|
1528
|
+
|
|
1529
|
+
def _typecheckingstub__b61518a077583ff2e93eed054066c48444474de51f56598ef7dc62899ec1a45a(
|
|
1530
|
+
inspector: _TreeInspector_488e0dd5,
|
|
1531
|
+
) -> None:
|
|
1532
|
+
"""Type checking stubs"""
|
|
1533
|
+
pass
|
|
1534
|
+
|
|
1535
|
+
def _typecheckingstub__6cd496f7ff2d2a510224b971ab519684923a9242e8a1a01531513a93a820248b(
|
|
1536
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1537
|
+
) -> None:
|
|
1538
|
+
"""Type checking stubs"""
|
|
1539
|
+
pass
|
|
1540
|
+
|
|
1541
|
+
def _typecheckingstub__f18b1ccb93713180dcde6f2a5b7f8b438d176c39463a1cdbe77796016b4f5477(
|
|
1542
|
+
value: builtins.str,
|
|
1543
|
+
) -> None:
|
|
1544
|
+
"""Type checking stubs"""
|
|
1545
|
+
pass
|
|
1546
|
+
|
|
1547
|
+
def _typecheckingstub__b2fd63e0dc60f38ac5eb15dfe40d1d3878ce56f7a2d8643491a70e49d6ccfa30(
|
|
1548
|
+
value: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.List[builtins.str]]],
|
|
1549
|
+
) -> None:
|
|
1550
|
+
"""Type checking stubs"""
|
|
1551
|
+
pass
|
|
1552
|
+
|
|
1553
|
+
def _typecheckingstub__2f96da7665a8689d4fe9b08c4f9bec294f3b27e4583a6ae4b29260dd89217910(
|
|
1554
|
+
value: builtins.str,
|
|
1555
|
+
) -> None:
|
|
1556
|
+
"""Type checking stubs"""
|
|
1557
|
+
pass
|
|
1558
|
+
|
|
1559
|
+
def _typecheckingstub__281612b8a25a7f26b4f0331e29ea2ded32674afc0ad11cfc1baedf75edc158e8(
|
|
1560
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
1561
|
+
) -> None:
|
|
1562
|
+
"""Type checking stubs"""
|
|
1563
|
+
pass
|
|
1564
|
+
|
|
1565
|
+
for cls in [IConfigurationManagerRef, ILifecycleAutomationRef]:
|
|
1566
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
aws_cdk/aws_sso/__init__.py
CHANGED
|
@@ -3822,3 +3822,6 @@ def _typecheckingstub__3c2d8d05593bb4e7d39ec67bed0cc26753709cc6922b06793024dbd9a
|
|
|
3822
3822
|
) -> None:
|
|
3823
3823
|
"""Type checking stubs"""
|
|
3824
3824
|
pass
|
|
3825
|
+
|
|
3826
|
+
for cls in [IApplicationAssignmentRef, IApplicationRef, IAssignmentRef, IInstanceAccessControlAttributeConfigurationRef, IInstanceRef, IPermissionSetRef]:
|
|
3827
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|