aws-cdk-lib 2.155.0__py3-none-any.whl → 2.157.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 +28 -24
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.155.0.jsii.tgz → aws-cdk-lib@2.157.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +10 -75
- aws_cdk/aws_amplify/__init__.py +106 -0
- aws_cdk/aws_apigatewayv2/__init__.py +81 -13
- aws_cdk/aws_appintegrations/__init__.py +14 -14
- aws_cdk/aws_applicationsignals/__init__.py +750 -1
- aws_cdk/aws_appsync/__init__.py +50 -18
- aws_cdk/aws_autoscaling/__init__.py +6 -6
- aws_cdk/aws_backup/__init__.py +39 -0
- aws_cdk/aws_batch/__init__.py +41 -0
- aws_cdk/aws_bedrock/__init__.py +1528 -91
- aws_cdk/aws_chatbot/__init__.py +6 -6
- aws_cdk/aws_cloudformation/__init__.py +22 -22
- aws_cdk/aws_cloudfront/__init__.py +650 -57
- aws_cdk/aws_cloudfront/experimental/__init__.py +30 -3
- aws_cdk/aws_cloudfront_origins/__init__.py +2034 -91
- aws_cdk/aws_codebuild/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +40 -29
- aws_cdk/aws_docdb/__init__.py +78 -6
- aws_cdk/aws_ec2/__init__.py +397 -75
- aws_cdk/aws_ecs/__init__.py +271 -101
- aws_cdk/aws_ecs_patterns/__init__.py +129 -11
- aws_cdk/aws_eks/__init__.py +40 -4
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +26 -50
- aws_cdk/aws_entityresolution/__init__.py +117 -4
- aws_cdk/aws_events/__init__.py +40 -14
- aws_cdk/aws_events_targets/__init__.py +357 -0
- aws_cdk/aws_glue/__init__.py +0 -8
- aws_cdk/aws_groundstation/__init__.py +27 -16
- aws_cdk/aws_guardduty/__init__.py +26 -14
- aws_cdk/aws_iam/__init__.py +7 -8
- aws_cdk/aws_iotfleetwise/__init__.py +108 -0
- aws_cdk/aws_kms/__init__.py +53 -10
- aws_cdk/aws_lambda/__init__.py +147 -17
- aws_cdk/aws_lambda_nodejs/__init__.py +30 -3
- aws_cdk/aws_macie/__init__.py +4 -4
- aws_cdk/aws_medialive/__init__.py +348 -0
- aws_cdk/aws_mediapackagev2/__init__.py +38 -38
- aws_cdk/aws_neptune/__init__.py +14 -8
- aws_cdk/aws_opensearchservice/__init__.py +194 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +884 -0
- aws_cdk/aws_personalize/__init__.py +2 -2
- aws_cdk/aws_pipes/__init__.py +22 -22
- aws_cdk/aws_qbusiness/__init__.py +675 -6
- aws_cdk/aws_quicksight/__init__.py +3285 -0
- aws_cdk/aws_rds/__init__.py +24 -0
- aws_cdk/aws_s3/__init__.py +13 -14
- aws_cdk/aws_sagemaker/__init__.py +1167 -0
- aws_cdk/aws_secretsmanager/__init__.py +2 -3
- aws_cdk/aws_securityhub/__init__.py +108 -103
- aws_cdk/aws_ses/__init__.py +31 -0
- aws_cdk/aws_sns/__init__.py +19 -13
- aws_cdk/aws_ssm/__init__.py +10 -6
- aws_cdk/aws_ssmquicksetup/__init__.py +967 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +106 -45
- aws_cdk/aws_synthetics/__init__.py +13 -0
- aws_cdk/cx_api/__init__.py +16 -0
- aws_cdk/triggers/__init__.py +30 -3
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/RECORD +66 -64
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,967 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# AWS::SSMQuickSetup Construct Library
|
|
3
|
+
|
|
4
|
+
<!--BEGIN STABILITY BANNER-->---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
> All classes with the `Cfn` prefix in this module ([CFN Resources](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) are always stable and safe to use.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
<!--END STABILITY BANNER-->
|
|
13
|
+
|
|
14
|
+
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
15
|
+
|
|
16
|
+
```python
|
|
17
|
+
import aws_cdk.aws_ssmquicksetup as ssmquicksetup
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
21
|
+
|
|
22
|
+
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
|
|
23
|
+
|
|
24
|
+
* Search [Construct Hub for SSMQuickSetup construct libraries](https://constructs.dev/search?q=ssmquicksetup)
|
|
25
|
+
* Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::SSMQuickSetup resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_SSMQuickSetup.html) directly.
|
|
26
|
+
|
|
27
|
+
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
28
|
+
|
|
29
|
+
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
|
|
30
|
+
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
|
|
31
|
+
|
|
32
|
+
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::SSMQuickSetup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_SSMQuickSetup.html).
|
|
33
|
+
|
|
34
|
+
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
|
|
35
|
+
|
|
36
|
+
<!--END CFNONLY DISCLAIMER-->
|
|
37
|
+
'''
|
|
38
|
+
from pkgutil import extend_path
|
|
39
|
+
__path__ = extend_path(__path__, __name__)
|
|
40
|
+
|
|
41
|
+
import abc
|
|
42
|
+
import builtins
|
|
43
|
+
import datetime
|
|
44
|
+
import enum
|
|
45
|
+
import typing
|
|
46
|
+
|
|
47
|
+
import jsii
|
|
48
|
+
import publication
|
|
49
|
+
import typing_extensions
|
|
50
|
+
|
|
51
|
+
from typeguard import check_type
|
|
52
|
+
|
|
53
|
+
from .._jsii import *
|
|
54
|
+
|
|
55
|
+
import constructs as _constructs_77d1e7e8
|
|
56
|
+
from .. import (
|
|
57
|
+
CfnResource as _CfnResource_9df397a6,
|
|
58
|
+
IInspectable as _IInspectable_c2943556,
|
|
59
|
+
IResolvable as _IResolvable_da3f097b,
|
|
60
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
61
|
+
TagManager as _TagManager_0a598cb3,
|
|
62
|
+
TreeInspector as _TreeInspector_488e0dd5,
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
67
|
+
class CfnConfigurationManager(
|
|
68
|
+
_CfnResource_9df397a6,
|
|
69
|
+
metaclass=jsii.JSIIMeta,
|
|
70
|
+
jsii_type="aws-cdk-lib.aws_ssmquicksetup.CfnConfigurationManager",
|
|
71
|
+
):
|
|
72
|
+
'''Creates a Quick Setup configuration manager resource.
|
|
73
|
+
|
|
74
|
+
This object is a collection of desired state configurations for multiple configuration definitions and summaries describing the deployments of those definitions.
|
|
75
|
+
|
|
76
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmquicksetup-configurationmanager.html
|
|
77
|
+
:cloudformationResource: AWS::SSMQuickSetup::ConfigurationManager
|
|
78
|
+
:exampleMetadata: fixture=_generated
|
|
79
|
+
|
|
80
|
+
Example::
|
|
81
|
+
|
|
82
|
+
# The code below shows an example of how to instantiate this type.
|
|
83
|
+
# The values are placeholders you should change.
|
|
84
|
+
from aws_cdk import aws_ssmquicksetup as ssmquicksetup
|
|
85
|
+
|
|
86
|
+
cfn_configuration_manager = ssmquicksetup.CfnConfigurationManager(self, "MyCfnConfigurationManager",
|
|
87
|
+
configuration_definitions=[ssmquicksetup.CfnConfigurationManager.ConfigurationDefinitionProperty(
|
|
88
|
+
parameters={
|
|
89
|
+
"parameters_key": "parameters"
|
|
90
|
+
},
|
|
91
|
+
type="type",
|
|
92
|
+
|
|
93
|
+
# the properties below are optional
|
|
94
|
+
id="id",
|
|
95
|
+
local_deployment_administration_role_arn="localDeploymentAdministrationRoleArn",
|
|
96
|
+
local_deployment_execution_role_name="localDeploymentExecutionRoleName",
|
|
97
|
+
type_version="typeVersion"
|
|
98
|
+
)],
|
|
99
|
+
|
|
100
|
+
# the properties below are optional
|
|
101
|
+
description="description",
|
|
102
|
+
name="name",
|
|
103
|
+
tags={
|
|
104
|
+
"tags_key": "tags"
|
|
105
|
+
}
|
|
106
|
+
)
|
|
107
|
+
'''
|
|
108
|
+
|
|
109
|
+
def __init__(
|
|
110
|
+
self,
|
|
111
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
112
|
+
id: builtins.str,
|
|
113
|
+
*,
|
|
114
|
+
configuration_definitions: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConfigurationManager.ConfigurationDefinitionProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
115
|
+
description: typing.Optional[builtins.str] = None,
|
|
116
|
+
name: typing.Optional[builtins.str] = None,
|
|
117
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
118
|
+
) -> None:
|
|
119
|
+
'''
|
|
120
|
+
:param scope: Scope in which this resource is defined.
|
|
121
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
122
|
+
:param configuration_definitions: The definition of the Quick Setup configuration that the configuration manager deploys.
|
|
123
|
+
:param description: The description of the configuration.
|
|
124
|
+
:param name: The name of the configuration.
|
|
125
|
+
:param tags: Key-value pairs of metadata to assign to the configuration manager.
|
|
126
|
+
'''
|
|
127
|
+
if __debug__:
|
|
128
|
+
type_hints = typing.get_type_hints(_typecheckingstub__12a9f65dcaf9bde5bcf296a113eb81107c3f8fa3375cf583d296e98f6c35b8bc)
|
|
129
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
130
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
131
|
+
props = CfnConfigurationManagerProps(
|
|
132
|
+
configuration_definitions=configuration_definitions,
|
|
133
|
+
description=description,
|
|
134
|
+
name=name,
|
|
135
|
+
tags=tags,
|
|
136
|
+
)
|
|
137
|
+
|
|
138
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
139
|
+
|
|
140
|
+
@jsii.member(jsii_name="inspect")
|
|
141
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
142
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
143
|
+
|
|
144
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
145
|
+
'''
|
|
146
|
+
if __debug__:
|
|
147
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1e179f5a174a371bbe7011b09d95b0c0f8863380aab0eca42d0e1c516056fd7f)
|
|
148
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
149
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
150
|
+
|
|
151
|
+
@jsii.member(jsii_name="renderProperties")
|
|
152
|
+
def _render_properties(
|
|
153
|
+
self,
|
|
154
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
155
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
156
|
+
'''
|
|
157
|
+
:param props: -
|
|
158
|
+
'''
|
|
159
|
+
if __debug__:
|
|
160
|
+
type_hints = typing.get_type_hints(_typecheckingstub__10d90d0d66ba3df3f5de0b8ff99770b8d42dfd5facc456d26ad810ff8b812062)
|
|
161
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
162
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
163
|
+
|
|
164
|
+
@jsii.python.classproperty
|
|
165
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
166
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
167
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
168
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
169
|
+
|
|
170
|
+
@builtins.property
|
|
171
|
+
@jsii.member(jsii_name="attrCreatedAt")
|
|
172
|
+
def attr_created_at(self) -> builtins.str:
|
|
173
|
+
'''The datetime stamp when the configuration manager was created.
|
|
174
|
+
|
|
175
|
+
:cloudformationAttribute: CreatedAt
|
|
176
|
+
'''
|
|
177
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
|
|
178
|
+
|
|
179
|
+
@builtins.property
|
|
180
|
+
@jsii.member(jsii_name="attrLastModifiedAt")
|
|
181
|
+
def attr_last_modified_at(self) -> builtins.str:
|
|
182
|
+
'''The datetime stamp when the configuration manager was last updated.
|
|
183
|
+
|
|
184
|
+
:cloudformationAttribute: LastModifiedAt
|
|
185
|
+
'''
|
|
186
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLastModifiedAt"))
|
|
187
|
+
|
|
188
|
+
@builtins.property
|
|
189
|
+
@jsii.member(jsii_name="attrManagerArn")
|
|
190
|
+
def attr_manager_arn(self) -> builtins.str:
|
|
191
|
+
'''The ARN of the Quick Setup configuration.
|
|
192
|
+
|
|
193
|
+
:cloudformationAttribute: ManagerArn
|
|
194
|
+
'''
|
|
195
|
+
return typing.cast(builtins.str, jsii.get(self, "attrManagerArn"))
|
|
196
|
+
|
|
197
|
+
@builtins.property
|
|
198
|
+
@jsii.member(jsii_name="attrStatusSummaries")
|
|
199
|
+
def attr_status_summaries(self) -> _IResolvable_da3f097b:
|
|
200
|
+
'''Summaries of the state of the configuration manager.
|
|
201
|
+
|
|
202
|
+
These summaries include an aggregate of the statuses from the configuration definition associated with the configuration manager. This includes deployment statuses, association statuses, drift statuses, health checks, and more.
|
|
203
|
+
|
|
204
|
+
:cloudformationAttribute: StatusSummaries
|
|
205
|
+
'''
|
|
206
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrStatusSummaries"))
|
|
207
|
+
|
|
208
|
+
@builtins.property
|
|
209
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
210
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
211
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
212
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
213
|
+
|
|
214
|
+
@builtins.property
|
|
215
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
216
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
217
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
218
|
+
|
|
219
|
+
@builtins.property
|
|
220
|
+
@jsii.member(jsii_name="configurationDefinitions")
|
|
221
|
+
def configuration_definitions(
|
|
222
|
+
self,
|
|
223
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnConfigurationManager.ConfigurationDefinitionProperty"]]]:
|
|
224
|
+
'''The definition of the Quick Setup configuration that the configuration manager deploys.'''
|
|
225
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnConfigurationManager.ConfigurationDefinitionProperty"]]], jsii.get(self, "configurationDefinitions"))
|
|
226
|
+
|
|
227
|
+
@configuration_definitions.setter
|
|
228
|
+
def configuration_definitions(
|
|
229
|
+
self,
|
|
230
|
+
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnConfigurationManager.ConfigurationDefinitionProperty"]]],
|
|
231
|
+
) -> None:
|
|
232
|
+
if __debug__:
|
|
233
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4f9aeebefd7ded0fa6621da4ee350d72e44673d4d472c3967d6a19c3b1ec3fb9)
|
|
234
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
235
|
+
jsii.set(self, "configurationDefinitions", value) # pyright: ignore[reportArgumentType]
|
|
236
|
+
|
|
237
|
+
@builtins.property
|
|
238
|
+
@jsii.member(jsii_name="description")
|
|
239
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
240
|
+
'''The description of the configuration.'''
|
|
241
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
242
|
+
|
|
243
|
+
@description.setter
|
|
244
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
245
|
+
if __debug__:
|
|
246
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5852dd23f0023b595328038c8285dd65948105e865dc6f9a8d33fa247d3cafdf)
|
|
247
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
248
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
249
|
+
|
|
250
|
+
@builtins.property
|
|
251
|
+
@jsii.member(jsii_name="name")
|
|
252
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
253
|
+
'''The name of the configuration.'''
|
|
254
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "name"))
|
|
255
|
+
|
|
256
|
+
@name.setter
|
|
257
|
+
def name(self, value: typing.Optional[builtins.str]) -> None:
|
|
258
|
+
if __debug__:
|
|
259
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a06c169a588f9a4b4d4faaa65107990461de3b50e29cd51fe8259fe6982b259f)
|
|
260
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
261
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
262
|
+
|
|
263
|
+
@builtins.property
|
|
264
|
+
@jsii.member(jsii_name="tags")
|
|
265
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
266
|
+
'''Key-value pairs of metadata to assign to the configuration manager.'''
|
|
267
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
268
|
+
|
|
269
|
+
@tags.setter
|
|
270
|
+
def tags(
|
|
271
|
+
self,
|
|
272
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
273
|
+
) -> None:
|
|
274
|
+
if __debug__:
|
|
275
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e616ab12615353ce8adb7959fdd264518ca60136764500b5507fb35dd10ead43)
|
|
276
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
277
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
278
|
+
|
|
279
|
+
@jsii.data_type(
|
|
280
|
+
jsii_type="aws-cdk-lib.aws_ssmquicksetup.CfnConfigurationManager.ConfigurationDefinitionProperty",
|
|
281
|
+
jsii_struct_bases=[],
|
|
282
|
+
name_mapping={
|
|
283
|
+
"parameters": "parameters",
|
|
284
|
+
"type": "type",
|
|
285
|
+
"id": "id",
|
|
286
|
+
"local_deployment_administration_role_arn": "localDeploymentAdministrationRoleArn",
|
|
287
|
+
"local_deployment_execution_role_name": "localDeploymentExecutionRoleName",
|
|
288
|
+
"type_version": "typeVersion",
|
|
289
|
+
},
|
|
290
|
+
)
|
|
291
|
+
class ConfigurationDefinitionProperty:
|
|
292
|
+
def __init__(
|
|
293
|
+
self,
|
|
294
|
+
*,
|
|
295
|
+
parameters: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]],
|
|
296
|
+
type: builtins.str,
|
|
297
|
+
id: typing.Optional[builtins.str] = None,
|
|
298
|
+
local_deployment_administration_role_arn: typing.Optional[builtins.str] = None,
|
|
299
|
+
local_deployment_execution_role_name: typing.Optional[builtins.str] = None,
|
|
300
|
+
type_version: typing.Optional[builtins.str] = None,
|
|
301
|
+
) -> None:
|
|
302
|
+
'''The definition of a Quick Setup configuration.
|
|
303
|
+
|
|
304
|
+
:param parameters: The parameters for the configuration definition type. Parameters for configuration definitions vary based the configuration type. The following tables outline the parameters for each configuration type. - **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. - **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. - **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. - **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. - **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. - **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. - **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. - **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. - **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 the EC2 Launch agent is updated on the target instances every month. 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. - **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. - **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 boolean value that determines whether the selected patch baselines are all AWS provided. - ``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) A boolean value that determines whether instances are rebooted after patches are installed. 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`` ". - ``OutputLogEnableS3`` - Description: (Optional) A boolean value that determines whether command output logs are sent to Amazon S3. - ``OutputS3Location`` - Description: (Optional) A JSON string containing information about the Amazon S3 bucket where you want to store the output details of the request. - ``OutputS3BucketRegion`` - Description: (Optional) The AWS Region where the Amazon S3 bucket you want AWS Config to deliver command output to is located. - ``OutputS3BucketName`` - Description: (Optional) The name of the Amazon S3 bucket you want AWS Config 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.
|
|
305
|
+
:param type: The type of the Quick Setup configuration.
|
|
306
|
+
:param id: The ID of the configuration definition.
|
|
307
|
+
:param local_deployment_administration_role_arn: The ARN of the IAM role used to administrate local configuration deployments.
|
|
308
|
+
:param local_deployment_execution_role_name: The name of the IAM role used to deploy local configurations.
|
|
309
|
+
:param type_version: The version of the Quick Setup type used.
|
|
310
|
+
|
|
311
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-configurationdefinition.html
|
|
312
|
+
:exampleMetadata: fixture=_generated
|
|
313
|
+
|
|
314
|
+
Example::
|
|
315
|
+
|
|
316
|
+
# The code below shows an example of how to instantiate this type.
|
|
317
|
+
# The values are placeholders you should change.
|
|
318
|
+
from aws_cdk import aws_ssmquicksetup as ssmquicksetup
|
|
319
|
+
|
|
320
|
+
configuration_definition_property = ssmquicksetup.CfnConfigurationManager.ConfigurationDefinitionProperty(
|
|
321
|
+
parameters={
|
|
322
|
+
"parameters_key": "parameters"
|
|
323
|
+
},
|
|
324
|
+
type="type",
|
|
325
|
+
|
|
326
|
+
# the properties below are optional
|
|
327
|
+
id="id",
|
|
328
|
+
local_deployment_administration_role_arn="localDeploymentAdministrationRoleArn",
|
|
329
|
+
local_deployment_execution_role_name="localDeploymentExecutionRoleName",
|
|
330
|
+
type_version="typeVersion"
|
|
331
|
+
)
|
|
332
|
+
'''
|
|
333
|
+
if __debug__:
|
|
334
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5de88cdf2c4ba7069e306fade91e021ab2a61a9f9d1bdde1ced8a9f3f54e2741)
|
|
335
|
+
check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
|
|
336
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
337
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
338
|
+
check_type(argname="argument local_deployment_administration_role_arn", value=local_deployment_administration_role_arn, expected_type=type_hints["local_deployment_administration_role_arn"])
|
|
339
|
+
check_type(argname="argument local_deployment_execution_role_name", value=local_deployment_execution_role_name, expected_type=type_hints["local_deployment_execution_role_name"])
|
|
340
|
+
check_type(argname="argument type_version", value=type_version, expected_type=type_hints["type_version"])
|
|
341
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
342
|
+
"parameters": parameters,
|
|
343
|
+
"type": type,
|
|
344
|
+
}
|
|
345
|
+
if id is not None:
|
|
346
|
+
self._values["id"] = id
|
|
347
|
+
if local_deployment_administration_role_arn is not None:
|
|
348
|
+
self._values["local_deployment_administration_role_arn"] = local_deployment_administration_role_arn
|
|
349
|
+
if local_deployment_execution_role_name is not None:
|
|
350
|
+
self._values["local_deployment_execution_role_name"] = local_deployment_execution_role_name
|
|
351
|
+
if type_version is not None:
|
|
352
|
+
self._values["type_version"] = type_version
|
|
353
|
+
|
|
354
|
+
@builtins.property
|
|
355
|
+
def parameters(
|
|
356
|
+
self,
|
|
357
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]:
|
|
358
|
+
'''The parameters for the configuration definition type.
|
|
359
|
+
|
|
360
|
+
Parameters for configuration definitions vary based the configuration type. The following tables outline the parameters for each configuration type.
|
|
361
|
+
|
|
362
|
+
- **OpsCenter (Type: AWS QuickSetupType-SSMOpsCenter)** - - ``DelegatedAccountId``
|
|
363
|
+
- Description: (Required) The ID of the delegated administrator account.
|
|
364
|
+
- ``TargetOrganizationalUnits``
|
|
365
|
+
- Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
|
|
366
|
+
- ``TargetRegions``
|
|
367
|
+
- Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
368
|
+
- **Resource Scheduler (Type: AWS QuickSetupType-Scheduler)** - - ``TargetTagKey``
|
|
369
|
+
- Description: (Required) The tag key assigned to the instances you want to target.
|
|
370
|
+
- ``TargetTagValue``
|
|
371
|
+
- Description: (Required) The value of the tag key assigned to the instances you want to target.
|
|
372
|
+
- ``ICalendarString``
|
|
373
|
+
- Description: (Required) An iCalendar formatted string containing the schedule you want Change Manager to use.
|
|
374
|
+
- ``TargetAccounts``
|
|
375
|
+
- 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`` .
|
|
376
|
+
- ``TargetOrganizationalUnits``
|
|
377
|
+
- Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
|
|
378
|
+
- ``TargetRegions``
|
|
379
|
+
- Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
380
|
+
- **Default Host Management Configuration (Type: AWS QuickSetupType-DHMC)** - - ``UpdateSSMAgent``
|
|
381
|
+
- 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`` ".
|
|
382
|
+
- ``TargetOrganizationalUnits``
|
|
383
|
+
- Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
|
|
384
|
+
- ``TargetRegions``
|
|
385
|
+
- Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
386
|
+
- **Resource Explorer (Type: AWS QuickSetupType-ResourceExplorer)** - - ``SelectedAggregatorRegion``
|
|
387
|
+
- Description: (Required) The AWS Region where you want to create the aggregator index.
|
|
388
|
+
- ``ReplaceExistingAggregator``
|
|
389
|
+
- 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`` .
|
|
390
|
+
- ``TargetOrganizationalUnits``
|
|
391
|
+
- Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
|
|
392
|
+
- ``TargetRegions``
|
|
393
|
+
- Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
394
|
+
- **Change Manager (Type: AWS QuickSetupType-SSMChangeMgr)** - - ``DelegatedAccountId``
|
|
395
|
+
- Description: (Required) The ID of the delegated administrator account.
|
|
396
|
+
- ``JobFunction``
|
|
397
|
+
- Description: (Required) The name for the Change Manager job function.
|
|
398
|
+
- ``PermissionType``
|
|
399
|
+
- 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`` .
|
|
400
|
+
- ``CustomPermissions``
|
|
401
|
+
- 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.
|
|
402
|
+
- ``TargetOrganizationalUnits``
|
|
403
|
+
- Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
|
|
404
|
+
- ``TargetRegions``
|
|
405
|
+
- Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
406
|
+
- **DevOps Guru (Type: AWS QuickSetupType-DevOpsGuru)** - - ``AnalyseAllResources``
|
|
407
|
+
- Description: (Optional) A boolean value that determines whether DevOps Guru analyzes all AWS CloudFormation stacks in the account. The default value is " ``false`` ".
|
|
408
|
+
- ``EnableSnsNotifications``
|
|
409
|
+
- Description: (Optional) A boolean value that determines whether DevOps Guru sends notifications when an insight is created. The default value is " ``true`` ".
|
|
410
|
+
- ``EnableSsmOpsItems``
|
|
411
|
+
- Description: (Optional) A boolean value that determines whether DevOps Guru creates an OpsCenter OpsItem when an insight is created. The default value is " ``true`` ".
|
|
412
|
+
- ``EnableDriftRemediation``
|
|
413
|
+
- Description: (Optional) A boolean value that determines whether a drift remediation schedule is used. The default value is " ``false`` ".
|
|
414
|
+
- ``RemediationSchedule``
|
|
415
|
+
- 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`` ".
|
|
416
|
+
- ``TargetAccounts``
|
|
417
|
+
- 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`` .
|
|
418
|
+
- ``TargetOrganizationalUnits``
|
|
419
|
+
- Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
|
|
420
|
+
- ``TargetRegions``
|
|
421
|
+
- Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
422
|
+
- **Conformance Packs (Type: AWS QuickSetupType-CFGCPacks)** - - ``DelegatedAccountId``
|
|
423
|
+
- Description: (Optional) The ID of the delegated administrator account. This parameter is required for Organization deployments.
|
|
424
|
+
- ``RemediationSchedule``
|
|
425
|
+
- 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`` ".
|
|
426
|
+
- ``CPackNames``
|
|
427
|
+
- Description: (Required) A comma separated list of AWS Config conformance packs.
|
|
428
|
+
- ``TargetAccounts``
|
|
429
|
+
- 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`` .
|
|
430
|
+
- ``TargetOrganizationalUnits``
|
|
431
|
+
- 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.
|
|
432
|
+
- ``TargetRegions``
|
|
433
|
+
- Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
434
|
+
- **AWS Config Recording (Type: AWS QuickSetupType-CFGRecording)** - - ``RecordAllResources``
|
|
435
|
+
- Description: (Optional) A boolean value that determines whether all supported resources are recorded. The default value is " ``true`` ".
|
|
436
|
+
- ``ResourceTypesToRecord``
|
|
437
|
+
- Description: (Optional) A comma separated list of resource types you want to record.
|
|
438
|
+
- ``RecordGlobalResourceTypes``
|
|
439
|
+
- Description: (Optional) A boolean value that determines whether global resources are recorded with all resource configurations. The default value is " ``false`` ".
|
|
440
|
+
- ``GlobalResourceTypesRegion``
|
|
441
|
+
- Description: (Optional) Determines the AWS Region where global resources are recorded.
|
|
442
|
+
- ``UseCustomBucket``
|
|
443
|
+
- Description: (Optional) A boolean value that determines whether a custom Amazon S3 bucket is used for delivery. The default value is " ``false`` ".
|
|
444
|
+
- ``DeliveryBucketName``
|
|
445
|
+
- Description: (Optional) The name of the Amazon S3 bucket you want AWS Config to deliver configuration snapshots and configuration history files to.
|
|
446
|
+
- ``DeliveryBucketPrefix``
|
|
447
|
+
- Description: (Optional) The key prefix you want to use in the custom Amazon S3 bucket.
|
|
448
|
+
- ``NotificationOptions``
|
|
449
|
+
- Description: (Optional) Determines the notification configuration for the recorder. The valid values are ``NoStreaming`` , ``UseExistingTopic`` , and ``CreateTopic`` . The default value is ``NoStreaming`` .
|
|
450
|
+
- ``CustomDeliveryTopicAccountId``
|
|
451
|
+
- 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.
|
|
452
|
+
- ``CustomDeliveryTopicName``
|
|
453
|
+
- 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.
|
|
454
|
+
- ``RemediationSchedule``
|
|
455
|
+
- 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`` ".
|
|
456
|
+
- ``TargetAccounts``
|
|
457
|
+
- 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`` .
|
|
458
|
+
- ``TargetOrganizationalUnits``
|
|
459
|
+
- 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.
|
|
460
|
+
- ``TargetRegions``
|
|
461
|
+
- Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
462
|
+
- **Host Management (Type: AWS QuickSetupType-SSMHostMgmt)** - - ``UpdateSSMAgent``
|
|
463
|
+
- 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`` ".
|
|
464
|
+
- ``UpdateEc2LaunchAgent``
|
|
465
|
+
- 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`` ".
|
|
466
|
+
- ``CollectInventory``
|
|
467
|
+
- Description: (Optional) A boolean value that determines whether the EC2 Launch agent is updated on the target instances every month. The default value is " ``true`` ".
|
|
468
|
+
- ``ScanInstances``
|
|
469
|
+
- Description: (Optional) A boolean value that determines whether the target instances are scanned daily for available patches. The default value is " ``true`` ".
|
|
470
|
+
- ``InstallCloudWatchAgent``
|
|
471
|
+
- Description: (Optional) A boolean value that determines whether the Amazon CloudWatch agent is installed on the target instances. The default value is " ``false`` ".
|
|
472
|
+
- ``UpdateCloudWatchAgent``
|
|
473
|
+
- 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`` ".
|
|
474
|
+
- ``IsPolicyAttachAllowed``
|
|
475
|
+
- 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`` ".
|
|
476
|
+
- ``TargetType``
|
|
477
|
+
- 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.
|
|
478
|
+
- ``TargetInstances``
|
|
479
|
+
- 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.
|
|
480
|
+
- ``TargetTagKey``
|
|
481
|
+
- 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.
|
|
482
|
+
- ``TargetTagValue``
|
|
483
|
+
- 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.
|
|
484
|
+
- ``ResourceGroupName``
|
|
485
|
+
- 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.
|
|
486
|
+
- ``TargetAccounts``
|
|
487
|
+
- 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`` .
|
|
488
|
+
- ``TargetOrganizationalUnits``
|
|
489
|
+
- Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
|
|
490
|
+
- ``TargetRegions``
|
|
491
|
+
- Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
492
|
+
- **Distributor (Type: AWS QuickSetupType-Distributor)** - - ``PackagesToInstall``
|
|
493
|
+
- Description: (Required) A comma separated list of packages you want to install on the target instances. The valid values are ``AWSEFSTools`` , ``AWSCWAgent`` , and ``AWSEC2LaunchAgent`` .
|
|
494
|
+
- ``RemediationSchedule``
|
|
495
|
+
- 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)`` ".
|
|
496
|
+
- ``IsPolicyAttachAllowed``
|
|
497
|
+
- 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`` ".
|
|
498
|
+
- ``TargetType``
|
|
499
|
+
- 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.
|
|
500
|
+
- ``TargetInstances``
|
|
501
|
+
- 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.
|
|
502
|
+
- ``TargetTagKey``
|
|
503
|
+
- 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.
|
|
504
|
+
- ``TargetTagValue``
|
|
505
|
+
- 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.
|
|
506
|
+
- ``ResourceGroupName``
|
|
507
|
+
- 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.
|
|
508
|
+
- ``TargetAccounts``
|
|
509
|
+
- 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`` .
|
|
510
|
+
- ``TargetOrganizationalUnits``
|
|
511
|
+
- Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
|
|
512
|
+
- ``TargetRegions``
|
|
513
|
+
- Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
514
|
+
- **Patch Policy (Type: AWS QuickSetupType-PatchPolicy)** - - ``PatchPolicyName``
|
|
515
|
+
- Description: (Required) A name for the patch policy. The value you provide is applied to target Amazon EC2 instances as a tag.
|
|
516
|
+
- ``SelectedPatchBaselines``
|
|
517
|
+
- Description: (Required) An array of JSON objects containing the information for the patch baselines to include in your patch policy.
|
|
518
|
+
- ``PatchBaselineUseDefault``
|
|
519
|
+
- Description: (Optional) A boolean value that determines whether the selected patch baselines are all AWS provided.
|
|
520
|
+
- ``ConfigurationOptionsPatchOperation``
|
|
521
|
+
- 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`` .
|
|
522
|
+
- ``ConfigurationOptionsScanValue``
|
|
523
|
+
- Description: (Optional) A cron expression that is used as the schedule for when instances scan for available patches.
|
|
524
|
+
- ``ConfigurationOptionsInstallValue``
|
|
525
|
+
- Description: (Optional) A cron expression that is used as the schedule for when instances install available patches.
|
|
526
|
+
- ``ConfigurationOptionsScanNextInterval``
|
|
527
|
+
- Description: (Optional) A boolean value that determines whether instances should scan for available patches at the next cron interval. The default value is " ``false`` ".
|
|
528
|
+
- ``ConfigurationOptionsInstallNextInterval``
|
|
529
|
+
- Description: (Optional) A boolean value that determines whether instances should scan for available patches at the next cron interval. The default value is " ``false`` ".
|
|
530
|
+
- ``RebootOption``
|
|
531
|
+
- Description: (Optional) A boolean value that determines whether instances are rebooted after patches are installed. The default value is " ``false`` ".
|
|
532
|
+
- ``IsPolicyAttachAllowed``
|
|
533
|
+
- 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`` ".
|
|
534
|
+
- ``OutputLogEnableS3``
|
|
535
|
+
- Description: (Optional) A boolean value that determines whether command output logs are sent to Amazon S3.
|
|
536
|
+
- ``OutputS3Location``
|
|
537
|
+
- Description: (Optional) A JSON string containing information about the Amazon S3 bucket where you want to store the output details of the request.
|
|
538
|
+
- ``OutputS3BucketRegion``
|
|
539
|
+
- Description: (Optional) The AWS Region where the Amazon S3 bucket you want AWS Config to deliver command output to is located.
|
|
540
|
+
- ``OutputS3BucketName``
|
|
541
|
+
- Description: (Optional) The name of the Amazon S3 bucket you want AWS Config to deliver command output to.
|
|
542
|
+
- ``OutputS3KeyPrefix``
|
|
543
|
+
- Description: (Optional) The key prefix you want to use in the custom Amazon S3 bucket.
|
|
544
|
+
- ``TargetType``
|
|
545
|
+
- 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.
|
|
546
|
+
- ``TargetInstances``
|
|
547
|
+
- 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.
|
|
548
|
+
- ``TargetTagKey``
|
|
549
|
+
- 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.
|
|
550
|
+
- ``TargetTagValue``
|
|
551
|
+
- 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.
|
|
552
|
+
- ``ResourceGroupName``
|
|
553
|
+
- 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.
|
|
554
|
+
- ``TargetAccounts``
|
|
555
|
+
- 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`` .
|
|
556
|
+
- ``TargetOrganizationalUnits``
|
|
557
|
+
- Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
|
|
558
|
+
- ``TargetRegions``
|
|
559
|
+
- Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
|
|
560
|
+
|
|
561
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-configurationdefinition.html#cfn-ssmquicksetup-configurationmanager-configurationdefinition-parameters
|
|
562
|
+
'''
|
|
563
|
+
result = self._values.get("parameters")
|
|
564
|
+
assert result is not None, "Required property 'parameters' is missing"
|
|
565
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]], result)
|
|
566
|
+
|
|
567
|
+
@builtins.property
|
|
568
|
+
def type(self) -> builtins.str:
|
|
569
|
+
'''The type of the Quick Setup configuration.
|
|
570
|
+
|
|
571
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-configurationdefinition.html#cfn-ssmquicksetup-configurationmanager-configurationdefinition-type
|
|
572
|
+
'''
|
|
573
|
+
result = self._values.get("type")
|
|
574
|
+
assert result is not None, "Required property 'type' is missing"
|
|
575
|
+
return typing.cast(builtins.str, result)
|
|
576
|
+
|
|
577
|
+
@builtins.property
|
|
578
|
+
def id(self) -> typing.Optional[builtins.str]:
|
|
579
|
+
'''The ID of the configuration definition.
|
|
580
|
+
|
|
581
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-configurationdefinition.html#cfn-ssmquicksetup-configurationmanager-configurationdefinition-id
|
|
582
|
+
'''
|
|
583
|
+
result = self._values.get("id")
|
|
584
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
585
|
+
|
|
586
|
+
@builtins.property
|
|
587
|
+
def local_deployment_administration_role_arn(
|
|
588
|
+
self,
|
|
589
|
+
) -> typing.Optional[builtins.str]:
|
|
590
|
+
'''The ARN of the IAM role used to administrate local configuration deployments.
|
|
591
|
+
|
|
592
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-configurationdefinition.html#cfn-ssmquicksetup-configurationmanager-configurationdefinition-localdeploymentadministrationrolearn
|
|
593
|
+
'''
|
|
594
|
+
result = self._values.get("local_deployment_administration_role_arn")
|
|
595
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
596
|
+
|
|
597
|
+
@builtins.property
|
|
598
|
+
def local_deployment_execution_role_name(self) -> typing.Optional[builtins.str]:
|
|
599
|
+
'''The name of the IAM role used to deploy local configurations.
|
|
600
|
+
|
|
601
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-configurationdefinition.html#cfn-ssmquicksetup-configurationmanager-configurationdefinition-localdeploymentexecutionrolename
|
|
602
|
+
'''
|
|
603
|
+
result = self._values.get("local_deployment_execution_role_name")
|
|
604
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
605
|
+
|
|
606
|
+
@builtins.property
|
|
607
|
+
def type_version(self) -> typing.Optional[builtins.str]:
|
|
608
|
+
'''The version of the Quick Setup type used.
|
|
609
|
+
|
|
610
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-configurationdefinition.html#cfn-ssmquicksetup-configurationmanager-configurationdefinition-typeversion
|
|
611
|
+
'''
|
|
612
|
+
result = self._values.get("type_version")
|
|
613
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
614
|
+
|
|
615
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
616
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
617
|
+
|
|
618
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
619
|
+
return not (rhs == self)
|
|
620
|
+
|
|
621
|
+
def __repr__(self) -> str:
|
|
622
|
+
return "ConfigurationDefinitionProperty(%s)" % ", ".join(
|
|
623
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
624
|
+
)
|
|
625
|
+
|
|
626
|
+
@jsii.data_type(
|
|
627
|
+
jsii_type="aws-cdk-lib.aws_ssmquicksetup.CfnConfigurationManager.StatusSummaryProperty",
|
|
628
|
+
jsii_struct_bases=[],
|
|
629
|
+
name_mapping={
|
|
630
|
+
"last_updated_at": "lastUpdatedAt",
|
|
631
|
+
"status_type": "statusType",
|
|
632
|
+
"status": "status",
|
|
633
|
+
"status_details": "statusDetails",
|
|
634
|
+
"status_message": "statusMessage",
|
|
635
|
+
},
|
|
636
|
+
)
|
|
637
|
+
class StatusSummaryProperty:
|
|
638
|
+
def __init__(
|
|
639
|
+
self,
|
|
640
|
+
*,
|
|
641
|
+
last_updated_at: builtins.str,
|
|
642
|
+
status_type: builtins.str,
|
|
643
|
+
status: typing.Optional[builtins.str] = None,
|
|
644
|
+
status_details: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
645
|
+
status_message: typing.Optional[builtins.str] = None,
|
|
646
|
+
) -> None:
|
|
647
|
+
'''A summarized description of the status.
|
|
648
|
+
|
|
649
|
+
:param last_updated_at: The datetime stamp when the status was last updated.
|
|
650
|
+
:param status_type: The type of a status summary.
|
|
651
|
+
:param status: The current status.
|
|
652
|
+
:param status_details: Details about the status.
|
|
653
|
+
:param status_message: When applicable, returns an informational message relevant to the current status and status type of the status summary object. We don't recommend implementing parsing logic around this value since the messages returned can vary in format.
|
|
654
|
+
|
|
655
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-statussummary.html
|
|
656
|
+
:exampleMetadata: fixture=_generated
|
|
657
|
+
|
|
658
|
+
Example::
|
|
659
|
+
|
|
660
|
+
# The code below shows an example of how to instantiate this type.
|
|
661
|
+
# The values are placeholders you should change.
|
|
662
|
+
from aws_cdk import aws_ssmquicksetup as ssmquicksetup
|
|
663
|
+
|
|
664
|
+
status_summary_property = ssmquicksetup.CfnConfigurationManager.StatusSummaryProperty(
|
|
665
|
+
last_updated_at="lastUpdatedAt",
|
|
666
|
+
status_type="statusType",
|
|
667
|
+
|
|
668
|
+
# the properties below are optional
|
|
669
|
+
status="status",
|
|
670
|
+
status_details={
|
|
671
|
+
"status_details_key": "statusDetails"
|
|
672
|
+
},
|
|
673
|
+
status_message="statusMessage"
|
|
674
|
+
)
|
|
675
|
+
'''
|
|
676
|
+
if __debug__:
|
|
677
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0a15d3717729affa2b751047a4b5b72469d29c10060f85ac60b65e8bc8f4a4e1)
|
|
678
|
+
check_type(argname="argument last_updated_at", value=last_updated_at, expected_type=type_hints["last_updated_at"])
|
|
679
|
+
check_type(argname="argument status_type", value=status_type, expected_type=type_hints["status_type"])
|
|
680
|
+
check_type(argname="argument status", value=status, expected_type=type_hints["status"])
|
|
681
|
+
check_type(argname="argument status_details", value=status_details, expected_type=type_hints["status_details"])
|
|
682
|
+
check_type(argname="argument status_message", value=status_message, expected_type=type_hints["status_message"])
|
|
683
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
684
|
+
"last_updated_at": last_updated_at,
|
|
685
|
+
"status_type": status_type,
|
|
686
|
+
}
|
|
687
|
+
if status is not None:
|
|
688
|
+
self._values["status"] = status
|
|
689
|
+
if status_details is not None:
|
|
690
|
+
self._values["status_details"] = status_details
|
|
691
|
+
if status_message is not None:
|
|
692
|
+
self._values["status_message"] = status_message
|
|
693
|
+
|
|
694
|
+
@builtins.property
|
|
695
|
+
def last_updated_at(self) -> builtins.str:
|
|
696
|
+
'''The datetime stamp when the status was last updated.
|
|
697
|
+
|
|
698
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-statussummary.html#cfn-ssmquicksetup-configurationmanager-statussummary-lastupdatedat
|
|
699
|
+
'''
|
|
700
|
+
result = self._values.get("last_updated_at")
|
|
701
|
+
assert result is not None, "Required property 'last_updated_at' is missing"
|
|
702
|
+
return typing.cast(builtins.str, result)
|
|
703
|
+
|
|
704
|
+
@builtins.property
|
|
705
|
+
def status_type(self) -> builtins.str:
|
|
706
|
+
'''The type of a status summary.
|
|
707
|
+
|
|
708
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-statussummary.html#cfn-ssmquicksetup-configurationmanager-statussummary-statustype
|
|
709
|
+
'''
|
|
710
|
+
result = self._values.get("status_type")
|
|
711
|
+
assert result is not None, "Required property 'status_type' is missing"
|
|
712
|
+
return typing.cast(builtins.str, result)
|
|
713
|
+
|
|
714
|
+
@builtins.property
|
|
715
|
+
def status(self) -> typing.Optional[builtins.str]:
|
|
716
|
+
'''The current status.
|
|
717
|
+
|
|
718
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-statussummary.html#cfn-ssmquicksetup-configurationmanager-statussummary-status
|
|
719
|
+
'''
|
|
720
|
+
result = self._values.get("status")
|
|
721
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
722
|
+
|
|
723
|
+
@builtins.property
|
|
724
|
+
def status_details(
|
|
725
|
+
self,
|
|
726
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
727
|
+
'''Details about the status.
|
|
728
|
+
|
|
729
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-statussummary.html#cfn-ssmquicksetup-configurationmanager-statussummary-statusdetails
|
|
730
|
+
'''
|
|
731
|
+
result = self._values.get("status_details")
|
|
732
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], result)
|
|
733
|
+
|
|
734
|
+
@builtins.property
|
|
735
|
+
def status_message(self) -> typing.Optional[builtins.str]:
|
|
736
|
+
'''When applicable, returns an informational message relevant to the current status and status type of the status summary object.
|
|
737
|
+
|
|
738
|
+
We don't recommend implementing parsing logic around this value since the messages returned can vary in format.
|
|
739
|
+
|
|
740
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmquicksetup-configurationmanager-statussummary.html#cfn-ssmquicksetup-configurationmanager-statussummary-statusmessage
|
|
741
|
+
'''
|
|
742
|
+
result = self._values.get("status_message")
|
|
743
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
744
|
+
|
|
745
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
746
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
747
|
+
|
|
748
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
749
|
+
return not (rhs == self)
|
|
750
|
+
|
|
751
|
+
def __repr__(self) -> str:
|
|
752
|
+
return "StatusSummaryProperty(%s)" % ", ".join(
|
|
753
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
754
|
+
)
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
@jsii.data_type(
|
|
758
|
+
jsii_type="aws-cdk-lib.aws_ssmquicksetup.CfnConfigurationManagerProps",
|
|
759
|
+
jsii_struct_bases=[],
|
|
760
|
+
name_mapping={
|
|
761
|
+
"configuration_definitions": "configurationDefinitions",
|
|
762
|
+
"description": "description",
|
|
763
|
+
"name": "name",
|
|
764
|
+
"tags": "tags",
|
|
765
|
+
},
|
|
766
|
+
)
|
|
767
|
+
class CfnConfigurationManagerProps:
|
|
768
|
+
def __init__(
|
|
769
|
+
self,
|
|
770
|
+
*,
|
|
771
|
+
configuration_definitions: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConfigurationManager.ConfigurationDefinitionProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
772
|
+
description: typing.Optional[builtins.str] = None,
|
|
773
|
+
name: typing.Optional[builtins.str] = None,
|
|
774
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
775
|
+
) -> None:
|
|
776
|
+
'''Properties for defining a ``CfnConfigurationManager``.
|
|
777
|
+
|
|
778
|
+
:param configuration_definitions: The definition of the Quick Setup configuration that the configuration manager deploys.
|
|
779
|
+
:param description: The description of the configuration.
|
|
780
|
+
:param name: The name of the configuration.
|
|
781
|
+
:param tags: Key-value pairs of metadata to assign to the configuration manager.
|
|
782
|
+
|
|
783
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmquicksetup-configurationmanager.html
|
|
784
|
+
:exampleMetadata: fixture=_generated
|
|
785
|
+
|
|
786
|
+
Example::
|
|
787
|
+
|
|
788
|
+
# The code below shows an example of how to instantiate this type.
|
|
789
|
+
# The values are placeholders you should change.
|
|
790
|
+
from aws_cdk import aws_ssmquicksetup as ssmquicksetup
|
|
791
|
+
|
|
792
|
+
cfn_configuration_manager_props = ssmquicksetup.CfnConfigurationManagerProps(
|
|
793
|
+
configuration_definitions=[ssmquicksetup.CfnConfigurationManager.ConfigurationDefinitionProperty(
|
|
794
|
+
parameters={
|
|
795
|
+
"parameters_key": "parameters"
|
|
796
|
+
},
|
|
797
|
+
type="type",
|
|
798
|
+
|
|
799
|
+
# the properties below are optional
|
|
800
|
+
id="id",
|
|
801
|
+
local_deployment_administration_role_arn="localDeploymentAdministrationRoleArn",
|
|
802
|
+
local_deployment_execution_role_name="localDeploymentExecutionRoleName",
|
|
803
|
+
type_version="typeVersion"
|
|
804
|
+
)],
|
|
805
|
+
|
|
806
|
+
# the properties below are optional
|
|
807
|
+
description="description",
|
|
808
|
+
name="name",
|
|
809
|
+
tags={
|
|
810
|
+
"tags_key": "tags"
|
|
811
|
+
}
|
|
812
|
+
)
|
|
813
|
+
'''
|
|
814
|
+
if __debug__:
|
|
815
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0bd2e12c3bb5f4087218fbe0db9640c52d608411ab3980220b7dd2ff438750e0)
|
|
816
|
+
check_type(argname="argument configuration_definitions", value=configuration_definitions, expected_type=type_hints["configuration_definitions"])
|
|
817
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
818
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
819
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
820
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
821
|
+
"configuration_definitions": configuration_definitions,
|
|
822
|
+
}
|
|
823
|
+
if description is not None:
|
|
824
|
+
self._values["description"] = description
|
|
825
|
+
if name is not None:
|
|
826
|
+
self._values["name"] = name
|
|
827
|
+
if tags is not None:
|
|
828
|
+
self._values["tags"] = tags
|
|
829
|
+
|
|
830
|
+
@builtins.property
|
|
831
|
+
def configuration_definitions(
|
|
832
|
+
self,
|
|
833
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnConfigurationManager.ConfigurationDefinitionProperty]]]:
|
|
834
|
+
'''The definition of the Quick Setup configuration that the configuration manager deploys.
|
|
835
|
+
|
|
836
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmquicksetup-configurationmanager.html#cfn-ssmquicksetup-configurationmanager-configurationdefinitions
|
|
837
|
+
'''
|
|
838
|
+
result = self._values.get("configuration_definitions")
|
|
839
|
+
assert result is not None, "Required property 'configuration_definitions' is missing"
|
|
840
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnConfigurationManager.ConfigurationDefinitionProperty]]], result)
|
|
841
|
+
|
|
842
|
+
@builtins.property
|
|
843
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
844
|
+
'''The description of the configuration.
|
|
845
|
+
|
|
846
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmquicksetup-configurationmanager.html#cfn-ssmquicksetup-configurationmanager-description
|
|
847
|
+
'''
|
|
848
|
+
result = self._values.get("description")
|
|
849
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
850
|
+
|
|
851
|
+
@builtins.property
|
|
852
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
853
|
+
'''The name of the configuration.
|
|
854
|
+
|
|
855
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmquicksetup-configurationmanager.html#cfn-ssmquicksetup-configurationmanager-name
|
|
856
|
+
'''
|
|
857
|
+
result = self._values.get("name")
|
|
858
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
859
|
+
|
|
860
|
+
@builtins.property
|
|
861
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
862
|
+
'''Key-value pairs of metadata to assign to the configuration manager.
|
|
863
|
+
|
|
864
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmquicksetup-configurationmanager.html#cfn-ssmquicksetup-configurationmanager-tags
|
|
865
|
+
'''
|
|
866
|
+
result = self._values.get("tags")
|
|
867
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
868
|
+
|
|
869
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
870
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
871
|
+
|
|
872
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
873
|
+
return not (rhs == self)
|
|
874
|
+
|
|
875
|
+
def __repr__(self) -> str:
|
|
876
|
+
return "CfnConfigurationManagerProps(%s)" % ", ".join(
|
|
877
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
878
|
+
)
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
__all__ = [
|
|
882
|
+
"CfnConfigurationManager",
|
|
883
|
+
"CfnConfigurationManagerProps",
|
|
884
|
+
]
|
|
885
|
+
|
|
886
|
+
publication.publish()
|
|
887
|
+
|
|
888
|
+
def _typecheckingstub__12a9f65dcaf9bde5bcf296a113eb81107c3f8fa3375cf583d296e98f6c35b8bc(
|
|
889
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
890
|
+
id: builtins.str,
|
|
891
|
+
*,
|
|
892
|
+
configuration_definitions: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConfigurationManager.ConfigurationDefinitionProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
893
|
+
description: typing.Optional[builtins.str] = None,
|
|
894
|
+
name: typing.Optional[builtins.str] = None,
|
|
895
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
896
|
+
) -> None:
|
|
897
|
+
"""Type checking stubs"""
|
|
898
|
+
pass
|
|
899
|
+
|
|
900
|
+
def _typecheckingstub__1e179f5a174a371bbe7011b09d95b0c0f8863380aab0eca42d0e1c516056fd7f(
|
|
901
|
+
inspector: _TreeInspector_488e0dd5,
|
|
902
|
+
) -> None:
|
|
903
|
+
"""Type checking stubs"""
|
|
904
|
+
pass
|
|
905
|
+
|
|
906
|
+
def _typecheckingstub__10d90d0d66ba3df3f5de0b8ff99770b8d42dfd5facc456d26ad810ff8b812062(
|
|
907
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
908
|
+
) -> None:
|
|
909
|
+
"""Type checking stubs"""
|
|
910
|
+
pass
|
|
911
|
+
|
|
912
|
+
def _typecheckingstub__4f9aeebefd7ded0fa6621da4ee350d72e44673d4d472c3967d6a19c3b1ec3fb9(
|
|
913
|
+
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnConfigurationManager.ConfigurationDefinitionProperty]]],
|
|
914
|
+
) -> None:
|
|
915
|
+
"""Type checking stubs"""
|
|
916
|
+
pass
|
|
917
|
+
|
|
918
|
+
def _typecheckingstub__5852dd23f0023b595328038c8285dd65948105e865dc6f9a8d33fa247d3cafdf(
|
|
919
|
+
value: typing.Optional[builtins.str],
|
|
920
|
+
) -> None:
|
|
921
|
+
"""Type checking stubs"""
|
|
922
|
+
pass
|
|
923
|
+
|
|
924
|
+
def _typecheckingstub__a06c169a588f9a4b4d4faaa65107990461de3b50e29cd51fe8259fe6982b259f(
|
|
925
|
+
value: typing.Optional[builtins.str],
|
|
926
|
+
) -> None:
|
|
927
|
+
"""Type checking stubs"""
|
|
928
|
+
pass
|
|
929
|
+
|
|
930
|
+
def _typecheckingstub__e616ab12615353ce8adb7959fdd264518ca60136764500b5507fb35dd10ead43(
|
|
931
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
932
|
+
) -> None:
|
|
933
|
+
"""Type checking stubs"""
|
|
934
|
+
pass
|
|
935
|
+
|
|
936
|
+
def _typecheckingstub__5de88cdf2c4ba7069e306fade91e021ab2a61a9f9d1bdde1ced8a9f3f54e2741(
|
|
937
|
+
*,
|
|
938
|
+
parameters: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]],
|
|
939
|
+
type: builtins.str,
|
|
940
|
+
id: typing.Optional[builtins.str] = None,
|
|
941
|
+
local_deployment_administration_role_arn: typing.Optional[builtins.str] = None,
|
|
942
|
+
local_deployment_execution_role_name: typing.Optional[builtins.str] = None,
|
|
943
|
+
type_version: typing.Optional[builtins.str] = None,
|
|
944
|
+
) -> None:
|
|
945
|
+
"""Type checking stubs"""
|
|
946
|
+
pass
|
|
947
|
+
|
|
948
|
+
def _typecheckingstub__0a15d3717729affa2b751047a4b5b72469d29c10060f85ac60b65e8bc8f4a4e1(
|
|
949
|
+
*,
|
|
950
|
+
last_updated_at: builtins.str,
|
|
951
|
+
status_type: builtins.str,
|
|
952
|
+
status: typing.Optional[builtins.str] = None,
|
|
953
|
+
status_details: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
954
|
+
status_message: typing.Optional[builtins.str] = None,
|
|
955
|
+
) -> None:
|
|
956
|
+
"""Type checking stubs"""
|
|
957
|
+
pass
|
|
958
|
+
|
|
959
|
+
def _typecheckingstub__0bd2e12c3bb5f4087218fbe0db9640c52d608411ab3980220b7dd2ff438750e0(
|
|
960
|
+
*,
|
|
961
|
+
configuration_definitions: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConfigurationManager.ConfigurationDefinitionProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
962
|
+
description: typing.Optional[builtins.str] = None,
|
|
963
|
+
name: typing.Optional[builtins.str] = None,
|
|
964
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
965
|
+
) -> None:
|
|
966
|
+
"""Type checking stubs"""
|
|
967
|
+
pass
|