aws-cdk-lib 2.142.1__py3-none-any.whl → 2.143.1__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/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.142.1.jsii.tgz → aws-cdk-lib@2.143.1.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +12 -5
- aws_cdk/aws_backup/__init__.py +3 -3
- aws_cdk/aws_batch/__init__.py +237 -0
- aws_cdk/aws_bedrock/__init__.py +700 -16
- aws_cdk/aws_budgets/__init__.py +282 -3
- aws_cdk/aws_cloudtrail/__init__.py +12 -2
- aws_cdk/aws_codebuild/__init__.py +44 -0
- aws_cdk/aws_codepipeline/__init__.py +91 -4
- aws_cdk/aws_cognito/__init__.py +75 -0
- aws_cdk/aws_datazone/__init__.py +1743 -448
- aws_cdk/aws_dynamodb/__init__.py +60 -25
- aws_cdk/aws_ec2/__init__.py +112 -39
- aws_cdk/aws_ecs/__init__.py +3 -3
- aws_cdk/aws_ecs_patterns/__init__.py +106 -0
- aws_cdk/aws_eks/__init__.py +13 -10
- aws_cdk/aws_elasticache/__init__.py +9 -0
- aws_cdk/aws_events/__init__.py +219 -14
- aws_cdk/aws_events_targets/__init__.py +140 -3
- aws_cdk/aws_fms/__init__.py +42 -43
- aws_cdk/aws_fsx/__init__.py +3 -3
- aws_cdk/aws_identitystore/__init__.py +11 -11
- aws_cdk/aws_lambda/__init__.py +45 -0
- aws_cdk/aws_lambda_nodejs/__init__.py +16 -6
- aws_cdk/aws_lightsail/__init__.py +9 -0
- aws_cdk/aws_location/__init__.py +8 -4
- aws_cdk/aws_mediaconnect/__init__.py +1789 -39
- aws_cdk/aws_mediatailor/__init__.py +21 -1
- aws_cdk/aws_mwaa/__init__.py +82 -0
- aws_cdk/aws_neptune/__init__.py +374 -0
- aws_cdk/aws_personalize/__init__.py +9 -3
- aws_cdk/aws_pipes/__init__.py +7 -7
- aws_cdk/aws_quicksight/__init__.py +684 -156
- aws_cdk/aws_rds/__init__.py +88 -24
- aws_cdk/aws_redshift/__init__.py +0 -46
- aws_cdk/aws_route53resolver/__init__.py +23 -0
- aws_cdk/aws_s3/__init__.py +4 -4
- aws_cdk/aws_sagemaker/__init__.py +185 -4
- aws_cdk/aws_securityhub/__init__.py +387 -1
- aws_cdk/aws_ssm/__init__.py +14 -6
- aws_cdk/aws_sso/__init__.py +1243 -34
- aws_cdk/cx_api/__init__.py +16 -0
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/RECORD +49 -49
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_sso/__init__.py
CHANGED
|
@@ -49,11 +49,787 @@ from .. import (
|
|
|
49
49
|
IInspectable as _IInspectable_c2943556,
|
|
50
50
|
IResolvable as _IResolvable_da3f097b,
|
|
51
51
|
ITaggable as _ITaggable_36806126,
|
|
52
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
52
53
|
TagManager as _TagManager_0a598cb3,
|
|
53
54
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
54
55
|
)
|
|
55
56
|
|
|
56
57
|
|
|
58
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
59
|
+
class CfnApplication(
|
|
60
|
+
_CfnResource_9df397a6,
|
|
61
|
+
metaclass=jsii.JSIIMeta,
|
|
62
|
+
jsii_type="aws-cdk-lib.aws_sso.CfnApplication",
|
|
63
|
+
):
|
|
64
|
+
'''Creates an application in IAM Identity Center for the given application provider.
|
|
65
|
+
|
|
66
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-application.html
|
|
67
|
+
:cloudformationResource: AWS::SSO::Application
|
|
68
|
+
:exampleMetadata: fixture=_generated
|
|
69
|
+
|
|
70
|
+
Example::
|
|
71
|
+
|
|
72
|
+
# The code below shows an example of how to instantiate this type.
|
|
73
|
+
# The values are placeholders you should change.
|
|
74
|
+
from aws_cdk import aws_sso as sso
|
|
75
|
+
|
|
76
|
+
cfn_application = sso.CfnApplication(self, "MyCfnApplication",
|
|
77
|
+
application_provider_arn="applicationProviderArn",
|
|
78
|
+
instance_arn="instanceArn",
|
|
79
|
+
name="name",
|
|
80
|
+
|
|
81
|
+
# the properties below are optional
|
|
82
|
+
description="description",
|
|
83
|
+
portal_options=sso.CfnApplication.PortalOptionsConfigurationProperty(
|
|
84
|
+
sign_in_options=sso.CfnApplication.SignInOptionsProperty(
|
|
85
|
+
origin="origin",
|
|
86
|
+
|
|
87
|
+
# the properties below are optional
|
|
88
|
+
application_url="applicationUrl"
|
|
89
|
+
),
|
|
90
|
+
visibility="visibility"
|
|
91
|
+
),
|
|
92
|
+
status="status",
|
|
93
|
+
tags=[CfnTag(
|
|
94
|
+
key="key",
|
|
95
|
+
value="value"
|
|
96
|
+
)]
|
|
97
|
+
)
|
|
98
|
+
'''
|
|
99
|
+
|
|
100
|
+
def __init__(
|
|
101
|
+
self,
|
|
102
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
103
|
+
id: builtins.str,
|
|
104
|
+
*,
|
|
105
|
+
application_provider_arn: builtins.str,
|
|
106
|
+
instance_arn: builtins.str,
|
|
107
|
+
name: builtins.str,
|
|
108
|
+
description: typing.Optional[builtins.str] = None,
|
|
109
|
+
portal_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.PortalOptionsConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
110
|
+
status: typing.Optional[builtins.str] = None,
|
|
111
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
112
|
+
) -> None:
|
|
113
|
+
'''
|
|
114
|
+
:param scope: Scope in which this resource is defined.
|
|
115
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
116
|
+
:param application_provider_arn: The ARN of the application provider for this application.
|
|
117
|
+
:param instance_arn: The ARN of the instance of IAM Identity Center that is configured with this application.
|
|
118
|
+
:param name: The name of the application.
|
|
119
|
+
:param description: The description of the application.
|
|
120
|
+
:param portal_options: A structure that describes the options for the access portal associated with this application.
|
|
121
|
+
:param status: The current status of the application in this instance of IAM Identity Center.
|
|
122
|
+
:param tags: Specifies tags to be attached to the application.
|
|
123
|
+
'''
|
|
124
|
+
if __debug__:
|
|
125
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1882af793991a2b06f4da60775b164d8785694f90e87227b4954cfd75eea83eb)
|
|
126
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
127
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
128
|
+
props = CfnApplicationProps(
|
|
129
|
+
application_provider_arn=application_provider_arn,
|
|
130
|
+
instance_arn=instance_arn,
|
|
131
|
+
name=name,
|
|
132
|
+
description=description,
|
|
133
|
+
portal_options=portal_options,
|
|
134
|
+
status=status,
|
|
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__756574096955e2bcef2c96538adf5308085d83bf3bd8773ab5a103afd2c88998)
|
|
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__6355b954b667198799a07400cfed9d2b006a0fb064f93e6394dff0d371c18fe4)
|
|
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="attrApplicationArn")
|
|
172
|
+
def attr_application_arn(self) -> builtins.str:
|
|
173
|
+
'''The ARN of the application.
|
|
174
|
+
|
|
175
|
+
:cloudformationAttribute: ApplicationArn
|
|
176
|
+
'''
|
|
177
|
+
return typing.cast(builtins.str, jsii.get(self, "attrApplicationArn"))
|
|
178
|
+
|
|
179
|
+
@builtins.property
|
|
180
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
181
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
182
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
183
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
184
|
+
|
|
185
|
+
@builtins.property
|
|
186
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
187
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
188
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
189
|
+
|
|
190
|
+
@builtins.property
|
|
191
|
+
@jsii.member(jsii_name="applicationProviderArn")
|
|
192
|
+
def application_provider_arn(self) -> builtins.str:
|
|
193
|
+
'''The ARN of the application provider for this application.'''
|
|
194
|
+
return typing.cast(builtins.str, jsii.get(self, "applicationProviderArn"))
|
|
195
|
+
|
|
196
|
+
@application_provider_arn.setter
|
|
197
|
+
def application_provider_arn(self, value: builtins.str) -> None:
|
|
198
|
+
if __debug__:
|
|
199
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c707449b4fef9672e313760f308fd576bc0ba85393db473a38bfcbacefb2bd06)
|
|
200
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
201
|
+
jsii.set(self, "applicationProviderArn", value)
|
|
202
|
+
|
|
203
|
+
@builtins.property
|
|
204
|
+
@jsii.member(jsii_name="instanceArn")
|
|
205
|
+
def instance_arn(self) -> builtins.str:
|
|
206
|
+
'''The ARN of the instance of IAM Identity Center that is configured with this application.'''
|
|
207
|
+
return typing.cast(builtins.str, jsii.get(self, "instanceArn"))
|
|
208
|
+
|
|
209
|
+
@instance_arn.setter
|
|
210
|
+
def instance_arn(self, value: builtins.str) -> None:
|
|
211
|
+
if __debug__:
|
|
212
|
+
type_hints = typing.get_type_hints(_typecheckingstub__80acd28f699e35c6569019561a9885fb33a687399127a98f7ef032e0f229ead2)
|
|
213
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
214
|
+
jsii.set(self, "instanceArn", value)
|
|
215
|
+
|
|
216
|
+
@builtins.property
|
|
217
|
+
@jsii.member(jsii_name="name")
|
|
218
|
+
def name(self) -> builtins.str:
|
|
219
|
+
'''The name of the application.'''
|
|
220
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
221
|
+
|
|
222
|
+
@name.setter
|
|
223
|
+
def name(self, value: builtins.str) -> None:
|
|
224
|
+
if __debug__:
|
|
225
|
+
type_hints = typing.get_type_hints(_typecheckingstub__23ad8dda9a55b908073f216b57023b2b16556e7d404354abb5cded800fbfad19)
|
|
226
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
227
|
+
jsii.set(self, "name", value)
|
|
228
|
+
|
|
229
|
+
@builtins.property
|
|
230
|
+
@jsii.member(jsii_name="description")
|
|
231
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
232
|
+
'''The description of the application.'''
|
|
233
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
234
|
+
|
|
235
|
+
@description.setter
|
|
236
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
237
|
+
if __debug__:
|
|
238
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b70bd99865693cb4bce70da1b35fa7beb773464b6d85b3799ef393fbd0af0574)
|
|
239
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
240
|
+
jsii.set(self, "description", value)
|
|
241
|
+
|
|
242
|
+
@builtins.property
|
|
243
|
+
@jsii.member(jsii_name="portalOptions")
|
|
244
|
+
def portal_options(
|
|
245
|
+
self,
|
|
246
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.PortalOptionsConfigurationProperty"]]:
|
|
247
|
+
'''A structure that describes the options for the access portal associated with this application.'''
|
|
248
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.PortalOptionsConfigurationProperty"]], jsii.get(self, "portalOptions"))
|
|
249
|
+
|
|
250
|
+
@portal_options.setter
|
|
251
|
+
def portal_options(
|
|
252
|
+
self,
|
|
253
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.PortalOptionsConfigurationProperty"]],
|
|
254
|
+
) -> None:
|
|
255
|
+
if __debug__:
|
|
256
|
+
type_hints = typing.get_type_hints(_typecheckingstub__59b9af6ead80cc3b937e2b7fe70751b4964334b1a52da19352b8fc87ad7c8b40)
|
|
257
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
258
|
+
jsii.set(self, "portalOptions", value)
|
|
259
|
+
|
|
260
|
+
@builtins.property
|
|
261
|
+
@jsii.member(jsii_name="status")
|
|
262
|
+
def status(self) -> typing.Optional[builtins.str]:
|
|
263
|
+
'''The current status of the application in this instance of IAM Identity Center.'''
|
|
264
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "status"))
|
|
265
|
+
|
|
266
|
+
@status.setter
|
|
267
|
+
def status(self, value: typing.Optional[builtins.str]) -> None:
|
|
268
|
+
if __debug__:
|
|
269
|
+
type_hints = typing.get_type_hints(_typecheckingstub__85a18facdd637743b1c0644e64da9a7f78c17fcafcc11c671955de3fd99f2ad3)
|
|
270
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
271
|
+
jsii.set(self, "status", value)
|
|
272
|
+
|
|
273
|
+
@builtins.property
|
|
274
|
+
@jsii.member(jsii_name="tags")
|
|
275
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
276
|
+
'''Specifies tags to be attached to the application.'''
|
|
277
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
278
|
+
|
|
279
|
+
@tags.setter
|
|
280
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
281
|
+
if __debug__:
|
|
282
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b93309bf67faa9d00d995b1c3cacabed71e582b5b2ae932439414536bde54a02)
|
|
283
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
284
|
+
jsii.set(self, "tags", value)
|
|
285
|
+
|
|
286
|
+
@jsii.data_type(
|
|
287
|
+
jsii_type="aws-cdk-lib.aws_sso.CfnApplication.PortalOptionsConfigurationProperty",
|
|
288
|
+
jsii_struct_bases=[],
|
|
289
|
+
name_mapping={"sign_in_options": "signInOptions", "visibility": "visibility"},
|
|
290
|
+
)
|
|
291
|
+
class PortalOptionsConfigurationProperty:
|
|
292
|
+
def __init__(
|
|
293
|
+
self,
|
|
294
|
+
*,
|
|
295
|
+
sign_in_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.SignInOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
296
|
+
visibility: typing.Optional[builtins.str] = None,
|
|
297
|
+
) -> None:
|
|
298
|
+
'''A structure that describes the options for the portal associated with an application.
|
|
299
|
+
|
|
300
|
+
:param sign_in_options: A structure that describes the sign-in options for the access portal.
|
|
301
|
+
:param visibility: Indicates whether this application is visible in the access portal.
|
|
302
|
+
|
|
303
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-application-portaloptionsconfiguration.html
|
|
304
|
+
:exampleMetadata: fixture=_generated
|
|
305
|
+
|
|
306
|
+
Example::
|
|
307
|
+
|
|
308
|
+
# The code below shows an example of how to instantiate this type.
|
|
309
|
+
# The values are placeholders you should change.
|
|
310
|
+
from aws_cdk import aws_sso as sso
|
|
311
|
+
|
|
312
|
+
portal_options_configuration_property = sso.CfnApplication.PortalOptionsConfigurationProperty(
|
|
313
|
+
sign_in_options=sso.CfnApplication.SignInOptionsProperty(
|
|
314
|
+
origin="origin",
|
|
315
|
+
|
|
316
|
+
# the properties below are optional
|
|
317
|
+
application_url="applicationUrl"
|
|
318
|
+
),
|
|
319
|
+
visibility="visibility"
|
|
320
|
+
)
|
|
321
|
+
'''
|
|
322
|
+
if __debug__:
|
|
323
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0969f1ee3e1ee427fc6e8564ee61698e5879cc7b45bdeebbb656e2184e711f3e)
|
|
324
|
+
check_type(argname="argument sign_in_options", value=sign_in_options, expected_type=type_hints["sign_in_options"])
|
|
325
|
+
check_type(argname="argument visibility", value=visibility, expected_type=type_hints["visibility"])
|
|
326
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
327
|
+
if sign_in_options is not None:
|
|
328
|
+
self._values["sign_in_options"] = sign_in_options
|
|
329
|
+
if visibility is not None:
|
|
330
|
+
self._values["visibility"] = visibility
|
|
331
|
+
|
|
332
|
+
@builtins.property
|
|
333
|
+
def sign_in_options(
|
|
334
|
+
self,
|
|
335
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.SignInOptionsProperty"]]:
|
|
336
|
+
'''A structure that describes the sign-in options for the access portal.
|
|
337
|
+
|
|
338
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-application-portaloptionsconfiguration.html#cfn-sso-application-portaloptionsconfiguration-signinoptions
|
|
339
|
+
'''
|
|
340
|
+
result = self._values.get("sign_in_options")
|
|
341
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.SignInOptionsProperty"]], result)
|
|
342
|
+
|
|
343
|
+
@builtins.property
|
|
344
|
+
def visibility(self) -> typing.Optional[builtins.str]:
|
|
345
|
+
'''Indicates whether this application is visible in the access portal.
|
|
346
|
+
|
|
347
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-application-portaloptionsconfiguration.html#cfn-sso-application-portaloptionsconfiguration-visibility
|
|
348
|
+
'''
|
|
349
|
+
result = self._values.get("visibility")
|
|
350
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
351
|
+
|
|
352
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
353
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
354
|
+
|
|
355
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
356
|
+
return not (rhs == self)
|
|
357
|
+
|
|
358
|
+
def __repr__(self) -> str:
|
|
359
|
+
return "PortalOptionsConfigurationProperty(%s)" % ", ".join(
|
|
360
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
361
|
+
)
|
|
362
|
+
|
|
363
|
+
@jsii.data_type(
|
|
364
|
+
jsii_type="aws-cdk-lib.aws_sso.CfnApplication.SignInOptionsProperty",
|
|
365
|
+
jsii_struct_bases=[],
|
|
366
|
+
name_mapping={"origin": "origin", "application_url": "applicationUrl"},
|
|
367
|
+
)
|
|
368
|
+
class SignInOptionsProperty:
|
|
369
|
+
def __init__(
|
|
370
|
+
self,
|
|
371
|
+
*,
|
|
372
|
+
origin: builtins.str,
|
|
373
|
+
application_url: typing.Optional[builtins.str] = None,
|
|
374
|
+
) -> None:
|
|
375
|
+
'''A structure that describes the sign-in options for an application portal.
|
|
376
|
+
|
|
377
|
+
:param origin: This determines how IAM Identity Center navigates the user to the target application. It can be one of the following values: - ``APPLICATION`` : IAM Identity Center redirects the customer to the configured ``ApplicationUrl`` . - ``IDENTITY_CENTER`` : IAM Identity Center uses SAML identity-provider initiated authentication to sign the customer directly into a SAML-based application.
|
|
378
|
+
:param application_url: The URL that accepts authentication requests for an application. This is a required parameter if the ``Origin`` parameter is ``APPLICATION`` .
|
|
379
|
+
|
|
380
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-application-signinoptions.html
|
|
381
|
+
:exampleMetadata: fixture=_generated
|
|
382
|
+
|
|
383
|
+
Example::
|
|
384
|
+
|
|
385
|
+
# The code below shows an example of how to instantiate this type.
|
|
386
|
+
# The values are placeholders you should change.
|
|
387
|
+
from aws_cdk import aws_sso as sso
|
|
388
|
+
|
|
389
|
+
sign_in_options_property = sso.CfnApplication.SignInOptionsProperty(
|
|
390
|
+
origin="origin",
|
|
391
|
+
|
|
392
|
+
# the properties below are optional
|
|
393
|
+
application_url="applicationUrl"
|
|
394
|
+
)
|
|
395
|
+
'''
|
|
396
|
+
if __debug__:
|
|
397
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8101af69aeff480caab8cecd79da061473f2fc9a270ca8954c86daf1a1c9edb4)
|
|
398
|
+
check_type(argname="argument origin", value=origin, expected_type=type_hints["origin"])
|
|
399
|
+
check_type(argname="argument application_url", value=application_url, expected_type=type_hints["application_url"])
|
|
400
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
401
|
+
"origin": origin,
|
|
402
|
+
}
|
|
403
|
+
if application_url is not None:
|
|
404
|
+
self._values["application_url"] = application_url
|
|
405
|
+
|
|
406
|
+
@builtins.property
|
|
407
|
+
def origin(self) -> builtins.str:
|
|
408
|
+
'''This determines how IAM Identity Center navigates the user to the target application.
|
|
409
|
+
|
|
410
|
+
It can be one of the following values:
|
|
411
|
+
|
|
412
|
+
- ``APPLICATION`` : IAM Identity Center redirects the customer to the configured ``ApplicationUrl`` .
|
|
413
|
+
- ``IDENTITY_CENTER`` : IAM Identity Center uses SAML identity-provider initiated authentication to sign the customer directly into a SAML-based application.
|
|
414
|
+
|
|
415
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-application-signinoptions.html#cfn-sso-application-signinoptions-origin
|
|
416
|
+
'''
|
|
417
|
+
result = self._values.get("origin")
|
|
418
|
+
assert result is not None, "Required property 'origin' is missing"
|
|
419
|
+
return typing.cast(builtins.str, result)
|
|
420
|
+
|
|
421
|
+
@builtins.property
|
|
422
|
+
def application_url(self) -> typing.Optional[builtins.str]:
|
|
423
|
+
'''The URL that accepts authentication requests for an application.
|
|
424
|
+
|
|
425
|
+
This is a required parameter if the ``Origin`` parameter is ``APPLICATION`` .
|
|
426
|
+
|
|
427
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-application-signinoptions.html#cfn-sso-application-signinoptions-applicationurl
|
|
428
|
+
'''
|
|
429
|
+
result = self._values.get("application_url")
|
|
430
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
431
|
+
|
|
432
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
433
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
434
|
+
|
|
435
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
436
|
+
return not (rhs == self)
|
|
437
|
+
|
|
438
|
+
def __repr__(self) -> str:
|
|
439
|
+
return "SignInOptionsProperty(%s)" % ", ".join(
|
|
440
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
441
|
+
)
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
445
|
+
class CfnApplicationAssignment(
|
|
446
|
+
_CfnResource_9df397a6,
|
|
447
|
+
metaclass=jsii.JSIIMeta,
|
|
448
|
+
jsii_type="aws-cdk-lib.aws_sso.CfnApplicationAssignment",
|
|
449
|
+
):
|
|
450
|
+
'''A structure that describes an assignment of a principal to an application.
|
|
451
|
+
|
|
452
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-applicationassignment.html
|
|
453
|
+
:cloudformationResource: AWS::SSO::ApplicationAssignment
|
|
454
|
+
:exampleMetadata: fixture=_generated
|
|
455
|
+
|
|
456
|
+
Example::
|
|
457
|
+
|
|
458
|
+
# The code below shows an example of how to instantiate this type.
|
|
459
|
+
# The values are placeholders you should change.
|
|
460
|
+
from aws_cdk import aws_sso as sso
|
|
461
|
+
|
|
462
|
+
cfn_application_assignment = sso.CfnApplicationAssignment(self, "MyCfnApplicationAssignment",
|
|
463
|
+
application_arn="applicationArn",
|
|
464
|
+
principal_id="principalId",
|
|
465
|
+
principal_type="principalType"
|
|
466
|
+
)
|
|
467
|
+
'''
|
|
468
|
+
|
|
469
|
+
def __init__(
|
|
470
|
+
self,
|
|
471
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
472
|
+
id: builtins.str,
|
|
473
|
+
*,
|
|
474
|
+
application_arn: builtins.str,
|
|
475
|
+
principal_id: builtins.str,
|
|
476
|
+
principal_type: builtins.str,
|
|
477
|
+
) -> None:
|
|
478
|
+
'''
|
|
479
|
+
:param scope: Scope in which this resource is defined.
|
|
480
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
481
|
+
:param application_arn: The ARN of the application that has principals assigned.
|
|
482
|
+
:param principal_id: The unique identifier of the principal assigned to the application.
|
|
483
|
+
:param principal_type: The type of the principal assigned to the application.
|
|
484
|
+
'''
|
|
485
|
+
if __debug__:
|
|
486
|
+
type_hints = typing.get_type_hints(_typecheckingstub__979032c6bbab2c8833e714d153fe0ed25e5ea6b8ae998fc88df825d8aa44068f)
|
|
487
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
488
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
489
|
+
props = CfnApplicationAssignmentProps(
|
|
490
|
+
application_arn=application_arn,
|
|
491
|
+
principal_id=principal_id,
|
|
492
|
+
principal_type=principal_type,
|
|
493
|
+
)
|
|
494
|
+
|
|
495
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
496
|
+
|
|
497
|
+
@jsii.member(jsii_name="inspect")
|
|
498
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
499
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
500
|
+
|
|
501
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
502
|
+
'''
|
|
503
|
+
if __debug__:
|
|
504
|
+
type_hints = typing.get_type_hints(_typecheckingstub__631b770102bc683f42e26416dd672e029d8998264b069387218ab50f180d599c)
|
|
505
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
506
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
507
|
+
|
|
508
|
+
@jsii.member(jsii_name="renderProperties")
|
|
509
|
+
def _render_properties(
|
|
510
|
+
self,
|
|
511
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
512
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
513
|
+
'''
|
|
514
|
+
:param props: -
|
|
515
|
+
'''
|
|
516
|
+
if __debug__:
|
|
517
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6958d8c33128077c3cdda85d802617762aa3660d15369e6b80e975c877c64659)
|
|
518
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
519
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
520
|
+
|
|
521
|
+
@jsii.python.classproperty
|
|
522
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
523
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
524
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
525
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
526
|
+
|
|
527
|
+
@builtins.property
|
|
528
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
529
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
530
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
531
|
+
|
|
532
|
+
@builtins.property
|
|
533
|
+
@jsii.member(jsii_name="applicationArn")
|
|
534
|
+
def application_arn(self) -> builtins.str:
|
|
535
|
+
'''The ARN of the application that has principals assigned.'''
|
|
536
|
+
return typing.cast(builtins.str, jsii.get(self, "applicationArn"))
|
|
537
|
+
|
|
538
|
+
@application_arn.setter
|
|
539
|
+
def application_arn(self, value: builtins.str) -> None:
|
|
540
|
+
if __debug__:
|
|
541
|
+
type_hints = typing.get_type_hints(_typecheckingstub__31ae6296e9e35e54186a4dc00aa843315f2b271fa1e587d0844325fbb7205e33)
|
|
542
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
543
|
+
jsii.set(self, "applicationArn", value)
|
|
544
|
+
|
|
545
|
+
@builtins.property
|
|
546
|
+
@jsii.member(jsii_name="principalId")
|
|
547
|
+
def principal_id(self) -> builtins.str:
|
|
548
|
+
'''The unique identifier of the principal assigned to the application.'''
|
|
549
|
+
return typing.cast(builtins.str, jsii.get(self, "principalId"))
|
|
550
|
+
|
|
551
|
+
@principal_id.setter
|
|
552
|
+
def principal_id(self, value: builtins.str) -> None:
|
|
553
|
+
if __debug__:
|
|
554
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d359f14d921063d732cf35a9b393dcb95c8f3dae899d5107fbace012db6fbaee)
|
|
555
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
556
|
+
jsii.set(self, "principalId", value)
|
|
557
|
+
|
|
558
|
+
@builtins.property
|
|
559
|
+
@jsii.member(jsii_name="principalType")
|
|
560
|
+
def principal_type(self) -> builtins.str:
|
|
561
|
+
'''The type of the principal assigned to the application.'''
|
|
562
|
+
return typing.cast(builtins.str, jsii.get(self, "principalType"))
|
|
563
|
+
|
|
564
|
+
@principal_type.setter
|
|
565
|
+
def principal_type(self, value: builtins.str) -> None:
|
|
566
|
+
if __debug__:
|
|
567
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7d7aa16c36ca93ae3f9d86cdbbc98ad214d487831d9bb9732f619ef623813782)
|
|
568
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
569
|
+
jsii.set(self, "principalType", value)
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
@jsii.data_type(
|
|
573
|
+
jsii_type="aws-cdk-lib.aws_sso.CfnApplicationAssignmentProps",
|
|
574
|
+
jsii_struct_bases=[],
|
|
575
|
+
name_mapping={
|
|
576
|
+
"application_arn": "applicationArn",
|
|
577
|
+
"principal_id": "principalId",
|
|
578
|
+
"principal_type": "principalType",
|
|
579
|
+
},
|
|
580
|
+
)
|
|
581
|
+
class CfnApplicationAssignmentProps:
|
|
582
|
+
def __init__(
|
|
583
|
+
self,
|
|
584
|
+
*,
|
|
585
|
+
application_arn: builtins.str,
|
|
586
|
+
principal_id: builtins.str,
|
|
587
|
+
principal_type: builtins.str,
|
|
588
|
+
) -> None:
|
|
589
|
+
'''Properties for defining a ``CfnApplicationAssignment``.
|
|
590
|
+
|
|
591
|
+
:param application_arn: The ARN of the application that has principals assigned.
|
|
592
|
+
:param principal_id: The unique identifier of the principal assigned to the application.
|
|
593
|
+
:param principal_type: The type of the principal assigned to the application.
|
|
594
|
+
|
|
595
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-applicationassignment.html
|
|
596
|
+
:exampleMetadata: fixture=_generated
|
|
597
|
+
|
|
598
|
+
Example::
|
|
599
|
+
|
|
600
|
+
# The code below shows an example of how to instantiate this type.
|
|
601
|
+
# The values are placeholders you should change.
|
|
602
|
+
from aws_cdk import aws_sso as sso
|
|
603
|
+
|
|
604
|
+
cfn_application_assignment_props = sso.CfnApplicationAssignmentProps(
|
|
605
|
+
application_arn="applicationArn",
|
|
606
|
+
principal_id="principalId",
|
|
607
|
+
principal_type="principalType"
|
|
608
|
+
)
|
|
609
|
+
'''
|
|
610
|
+
if __debug__:
|
|
611
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2e99502b5c0c93849bd3c91f9cb83a46f5303bf4aea29d1929d7811fd2a1efe2)
|
|
612
|
+
check_type(argname="argument application_arn", value=application_arn, expected_type=type_hints["application_arn"])
|
|
613
|
+
check_type(argname="argument principal_id", value=principal_id, expected_type=type_hints["principal_id"])
|
|
614
|
+
check_type(argname="argument principal_type", value=principal_type, expected_type=type_hints["principal_type"])
|
|
615
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
616
|
+
"application_arn": application_arn,
|
|
617
|
+
"principal_id": principal_id,
|
|
618
|
+
"principal_type": principal_type,
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
@builtins.property
|
|
622
|
+
def application_arn(self) -> builtins.str:
|
|
623
|
+
'''The ARN of the application that has principals assigned.
|
|
624
|
+
|
|
625
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-applicationassignment.html#cfn-sso-applicationassignment-applicationarn
|
|
626
|
+
'''
|
|
627
|
+
result = self._values.get("application_arn")
|
|
628
|
+
assert result is not None, "Required property 'application_arn' is missing"
|
|
629
|
+
return typing.cast(builtins.str, result)
|
|
630
|
+
|
|
631
|
+
@builtins.property
|
|
632
|
+
def principal_id(self) -> builtins.str:
|
|
633
|
+
'''The unique identifier of the principal assigned to the application.
|
|
634
|
+
|
|
635
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-applicationassignment.html#cfn-sso-applicationassignment-principalid
|
|
636
|
+
'''
|
|
637
|
+
result = self._values.get("principal_id")
|
|
638
|
+
assert result is not None, "Required property 'principal_id' is missing"
|
|
639
|
+
return typing.cast(builtins.str, result)
|
|
640
|
+
|
|
641
|
+
@builtins.property
|
|
642
|
+
def principal_type(self) -> builtins.str:
|
|
643
|
+
'''The type of the principal assigned to the application.
|
|
644
|
+
|
|
645
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-applicationassignment.html#cfn-sso-applicationassignment-principaltype
|
|
646
|
+
'''
|
|
647
|
+
result = self._values.get("principal_type")
|
|
648
|
+
assert result is not None, "Required property 'principal_type' is missing"
|
|
649
|
+
return typing.cast(builtins.str, result)
|
|
650
|
+
|
|
651
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
652
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
653
|
+
|
|
654
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
655
|
+
return not (rhs == self)
|
|
656
|
+
|
|
657
|
+
def __repr__(self) -> str:
|
|
658
|
+
return "CfnApplicationAssignmentProps(%s)" % ", ".join(
|
|
659
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
660
|
+
)
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
@jsii.data_type(
|
|
664
|
+
jsii_type="aws-cdk-lib.aws_sso.CfnApplicationProps",
|
|
665
|
+
jsii_struct_bases=[],
|
|
666
|
+
name_mapping={
|
|
667
|
+
"application_provider_arn": "applicationProviderArn",
|
|
668
|
+
"instance_arn": "instanceArn",
|
|
669
|
+
"name": "name",
|
|
670
|
+
"description": "description",
|
|
671
|
+
"portal_options": "portalOptions",
|
|
672
|
+
"status": "status",
|
|
673
|
+
"tags": "tags",
|
|
674
|
+
},
|
|
675
|
+
)
|
|
676
|
+
class CfnApplicationProps:
|
|
677
|
+
def __init__(
|
|
678
|
+
self,
|
|
679
|
+
*,
|
|
680
|
+
application_provider_arn: builtins.str,
|
|
681
|
+
instance_arn: builtins.str,
|
|
682
|
+
name: builtins.str,
|
|
683
|
+
description: typing.Optional[builtins.str] = None,
|
|
684
|
+
portal_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.PortalOptionsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
685
|
+
status: typing.Optional[builtins.str] = None,
|
|
686
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
687
|
+
) -> None:
|
|
688
|
+
'''Properties for defining a ``CfnApplication``.
|
|
689
|
+
|
|
690
|
+
:param application_provider_arn: The ARN of the application provider for this application.
|
|
691
|
+
:param instance_arn: The ARN of the instance of IAM Identity Center that is configured with this application.
|
|
692
|
+
:param name: The name of the application.
|
|
693
|
+
:param description: The description of the application.
|
|
694
|
+
:param portal_options: A structure that describes the options for the access portal associated with this application.
|
|
695
|
+
:param status: The current status of the application in this instance of IAM Identity Center.
|
|
696
|
+
:param tags: Specifies tags to be attached to the application.
|
|
697
|
+
|
|
698
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-application.html
|
|
699
|
+
:exampleMetadata: fixture=_generated
|
|
700
|
+
|
|
701
|
+
Example::
|
|
702
|
+
|
|
703
|
+
# The code below shows an example of how to instantiate this type.
|
|
704
|
+
# The values are placeholders you should change.
|
|
705
|
+
from aws_cdk import aws_sso as sso
|
|
706
|
+
|
|
707
|
+
cfn_application_props = sso.CfnApplicationProps(
|
|
708
|
+
application_provider_arn="applicationProviderArn",
|
|
709
|
+
instance_arn="instanceArn",
|
|
710
|
+
name="name",
|
|
711
|
+
|
|
712
|
+
# the properties below are optional
|
|
713
|
+
description="description",
|
|
714
|
+
portal_options=sso.CfnApplication.PortalOptionsConfigurationProperty(
|
|
715
|
+
sign_in_options=sso.CfnApplication.SignInOptionsProperty(
|
|
716
|
+
origin="origin",
|
|
717
|
+
|
|
718
|
+
# the properties below are optional
|
|
719
|
+
application_url="applicationUrl"
|
|
720
|
+
),
|
|
721
|
+
visibility="visibility"
|
|
722
|
+
),
|
|
723
|
+
status="status",
|
|
724
|
+
tags=[CfnTag(
|
|
725
|
+
key="key",
|
|
726
|
+
value="value"
|
|
727
|
+
)]
|
|
728
|
+
)
|
|
729
|
+
'''
|
|
730
|
+
if __debug__:
|
|
731
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c2514f5693f02615ac7b916b565453bec3f3c9c79df28bdb7a6f6d323841c143)
|
|
732
|
+
check_type(argname="argument application_provider_arn", value=application_provider_arn, expected_type=type_hints["application_provider_arn"])
|
|
733
|
+
check_type(argname="argument instance_arn", value=instance_arn, expected_type=type_hints["instance_arn"])
|
|
734
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
735
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
736
|
+
check_type(argname="argument portal_options", value=portal_options, expected_type=type_hints["portal_options"])
|
|
737
|
+
check_type(argname="argument status", value=status, expected_type=type_hints["status"])
|
|
738
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
739
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
740
|
+
"application_provider_arn": application_provider_arn,
|
|
741
|
+
"instance_arn": instance_arn,
|
|
742
|
+
"name": name,
|
|
743
|
+
}
|
|
744
|
+
if description is not None:
|
|
745
|
+
self._values["description"] = description
|
|
746
|
+
if portal_options is not None:
|
|
747
|
+
self._values["portal_options"] = portal_options
|
|
748
|
+
if status is not None:
|
|
749
|
+
self._values["status"] = status
|
|
750
|
+
if tags is not None:
|
|
751
|
+
self._values["tags"] = tags
|
|
752
|
+
|
|
753
|
+
@builtins.property
|
|
754
|
+
def application_provider_arn(self) -> builtins.str:
|
|
755
|
+
'''The ARN of the application provider for this application.
|
|
756
|
+
|
|
757
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-application.html#cfn-sso-application-applicationproviderarn
|
|
758
|
+
'''
|
|
759
|
+
result = self._values.get("application_provider_arn")
|
|
760
|
+
assert result is not None, "Required property 'application_provider_arn' is missing"
|
|
761
|
+
return typing.cast(builtins.str, result)
|
|
762
|
+
|
|
763
|
+
@builtins.property
|
|
764
|
+
def instance_arn(self) -> builtins.str:
|
|
765
|
+
'''The ARN of the instance of IAM Identity Center that is configured with this application.
|
|
766
|
+
|
|
767
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-application.html#cfn-sso-application-instancearn
|
|
768
|
+
'''
|
|
769
|
+
result = self._values.get("instance_arn")
|
|
770
|
+
assert result is not None, "Required property 'instance_arn' is missing"
|
|
771
|
+
return typing.cast(builtins.str, result)
|
|
772
|
+
|
|
773
|
+
@builtins.property
|
|
774
|
+
def name(self) -> builtins.str:
|
|
775
|
+
'''The name of the application.
|
|
776
|
+
|
|
777
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-application.html#cfn-sso-application-name
|
|
778
|
+
'''
|
|
779
|
+
result = self._values.get("name")
|
|
780
|
+
assert result is not None, "Required property 'name' is missing"
|
|
781
|
+
return typing.cast(builtins.str, result)
|
|
782
|
+
|
|
783
|
+
@builtins.property
|
|
784
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
785
|
+
'''The description of the application.
|
|
786
|
+
|
|
787
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-application.html#cfn-sso-application-description
|
|
788
|
+
'''
|
|
789
|
+
result = self._values.get("description")
|
|
790
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
791
|
+
|
|
792
|
+
@builtins.property
|
|
793
|
+
def portal_options(
|
|
794
|
+
self,
|
|
795
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.PortalOptionsConfigurationProperty]]:
|
|
796
|
+
'''A structure that describes the options for the access portal associated with this application.
|
|
797
|
+
|
|
798
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-application.html#cfn-sso-application-portaloptions
|
|
799
|
+
'''
|
|
800
|
+
result = self._values.get("portal_options")
|
|
801
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.PortalOptionsConfigurationProperty]], result)
|
|
802
|
+
|
|
803
|
+
@builtins.property
|
|
804
|
+
def status(self) -> typing.Optional[builtins.str]:
|
|
805
|
+
'''The current status of the application in this instance of IAM Identity Center.
|
|
806
|
+
|
|
807
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-application.html#cfn-sso-application-status
|
|
808
|
+
'''
|
|
809
|
+
result = self._values.get("status")
|
|
810
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
811
|
+
|
|
812
|
+
@builtins.property
|
|
813
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
814
|
+
'''Specifies tags to be attached to the application.
|
|
815
|
+
|
|
816
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-application.html#cfn-sso-application-tags
|
|
817
|
+
'''
|
|
818
|
+
result = self._values.get("tags")
|
|
819
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
820
|
+
|
|
821
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
822
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
823
|
+
|
|
824
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
825
|
+
return not (rhs == self)
|
|
826
|
+
|
|
827
|
+
def __repr__(self) -> str:
|
|
828
|
+
return "CfnApplicationProps(%s)" % ", ".join(
|
|
829
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
830
|
+
)
|
|
831
|
+
|
|
832
|
+
|
|
57
833
|
@jsii.implements(_IInspectable_c2943556)
|
|
58
834
|
class CfnAssignment(
|
|
59
835
|
_CfnResource_9df397a6,
|
|
@@ -327,57 +1103,220 @@ class CfnAssignmentProps:
|
|
|
327
1103
|
return typing.cast(builtins.str, result)
|
|
328
1104
|
|
|
329
1105
|
@builtins.property
|
|
330
|
-
def principal_id(self) -> builtins.str:
|
|
331
|
-
'''An identifier for an object in IAM Identity Center, such as a user or group.
|
|
1106
|
+
def principal_id(self) -> builtins.str:
|
|
1107
|
+
'''An identifier for an object in IAM Identity Center, such as a user or group.
|
|
1108
|
+
|
|
1109
|
+
PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the `IAM Identity Center Identity Store API Reference <https://docs.aws.amazon.com//singlesignon/latest/IdentityStoreAPIReference/welcome.html>`_ .
|
|
1110
|
+
|
|
1111
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-assignment.html#cfn-sso-assignment-principalid
|
|
1112
|
+
'''
|
|
1113
|
+
result = self._values.get("principal_id")
|
|
1114
|
+
assert result is not None, "Required property 'principal_id' is missing"
|
|
1115
|
+
return typing.cast(builtins.str, result)
|
|
1116
|
+
|
|
1117
|
+
@builtins.property
|
|
1118
|
+
def principal_type(self) -> builtins.str:
|
|
1119
|
+
'''The entity type for which the assignment will be created.
|
|
1120
|
+
|
|
1121
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-assignment.html#cfn-sso-assignment-principaltype
|
|
1122
|
+
'''
|
|
1123
|
+
result = self._values.get("principal_type")
|
|
1124
|
+
assert result is not None, "Required property 'principal_type' is missing"
|
|
1125
|
+
return typing.cast(builtins.str, result)
|
|
1126
|
+
|
|
1127
|
+
@builtins.property
|
|
1128
|
+
def target_id(self) -> builtins.str:
|
|
1129
|
+
'''TargetID is an AWS account identifier, (For example, 123456789012).
|
|
1130
|
+
|
|
1131
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-assignment.html#cfn-sso-assignment-targetid
|
|
1132
|
+
'''
|
|
1133
|
+
result = self._values.get("target_id")
|
|
1134
|
+
assert result is not None, "Required property 'target_id' is missing"
|
|
1135
|
+
return typing.cast(builtins.str, result)
|
|
1136
|
+
|
|
1137
|
+
@builtins.property
|
|
1138
|
+
def target_type(self) -> builtins.str:
|
|
1139
|
+
'''The entity type for which the assignment will be created.
|
|
1140
|
+
|
|
1141
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-assignment.html#cfn-sso-assignment-targettype
|
|
1142
|
+
'''
|
|
1143
|
+
result = self._values.get("target_type")
|
|
1144
|
+
assert result is not None, "Required property 'target_type' is missing"
|
|
1145
|
+
return typing.cast(builtins.str, result)
|
|
1146
|
+
|
|
1147
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1148
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1149
|
+
|
|
1150
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1151
|
+
return not (rhs == self)
|
|
1152
|
+
|
|
1153
|
+
def __repr__(self) -> str:
|
|
1154
|
+
return "CfnAssignmentProps(%s)" % ", ".join(
|
|
1155
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1156
|
+
)
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
1160
|
+
class CfnInstance(
|
|
1161
|
+
_CfnResource_9df397a6,
|
|
1162
|
+
metaclass=jsii.JSIIMeta,
|
|
1163
|
+
jsii_type="aws-cdk-lib.aws_sso.CfnInstance",
|
|
1164
|
+
):
|
|
1165
|
+
'''Creates an instance of IAM Identity Center for a standalone AWS account that is not managed by AWS Organizations or a member AWS account in an organization.
|
|
1166
|
+
|
|
1167
|
+
You can create only one instance per account and across all AWS Regions .
|
|
1168
|
+
|
|
1169
|
+
The CreateInstance request is rejected if the following apply:
|
|
1170
|
+
|
|
1171
|
+
- The instance is created within the organization management account.
|
|
1172
|
+
- An instance already exists in the same account.
|
|
1173
|
+
|
|
1174
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-instance.html
|
|
1175
|
+
:cloudformationResource: AWS::SSO::Instance
|
|
1176
|
+
:exampleMetadata: fixture=_generated
|
|
1177
|
+
|
|
1178
|
+
Example::
|
|
1179
|
+
|
|
1180
|
+
# The code below shows an example of how to instantiate this type.
|
|
1181
|
+
# The values are placeholders you should change.
|
|
1182
|
+
from aws_cdk import aws_sso as sso
|
|
1183
|
+
|
|
1184
|
+
cfn_instance = sso.CfnInstance(self, "MyCfnInstance",
|
|
1185
|
+
name="name",
|
|
1186
|
+
tags=[CfnTag(
|
|
1187
|
+
key="key",
|
|
1188
|
+
value="value"
|
|
1189
|
+
)]
|
|
1190
|
+
)
|
|
1191
|
+
'''
|
|
1192
|
+
|
|
1193
|
+
def __init__(
|
|
1194
|
+
self,
|
|
1195
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1196
|
+
id: builtins.str,
|
|
1197
|
+
*,
|
|
1198
|
+
name: typing.Optional[builtins.str] = None,
|
|
1199
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1200
|
+
) -> None:
|
|
1201
|
+
'''
|
|
1202
|
+
:param scope: Scope in which this resource is defined.
|
|
1203
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
1204
|
+
:param name: The name of the Identity Center instance.
|
|
1205
|
+
:param tags: Specifies tags to be attached to the instance of IAM Identity Center.
|
|
1206
|
+
'''
|
|
1207
|
+
if __debug__:
|
|
1208
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b3490809ee3929963beefa80737fc3a806a477fd4b46a9ae6f32f7e0be13251f)
|
|
1209
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1210
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1211
|
+
props = CfnInstanceProps(name=name, tags=tags)
|
|
1212
|
+
|
|
1213
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
1214
|
+
|
|
1215
|
+
@jsii.member(jsii_name="inspect")
|
|
1216
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1217
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
1218
|
+
|
|
1219
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
1220
|
+
'''
|
|
1221
|
+
if __debug__:
|
|
1222
|
+
type_hints = typing.get_type_hints(_typecheckingstub__99cda831f38994858fd7d3fa114976e29a359f4baaa292fcf2821c1bfd4929b2)
|
|
1223
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
1224
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
1225
|
+
|
|
1226
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1227
|
+
def _render_properties(
|
|
1228
|
+
self,
|
|
1229
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1230
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1231
|
+
'''
|
|
1232
|
+
:param props: -
|
|
1233
|
+
'''
|
|
1234
|
+
if __debug__:
|
|
1235
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dabb535aed1ee9738cb08205c2699a7f5799cd74346dadf0d087143917d220cc)
|
|
1236
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1237
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1238
|
+
|
|
1239
|
+
@jsii.python.classproperty
|
|
1240
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
1241
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1242
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
1243
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1244
|
+
|
|
1245
|
+
@builtins.property
|
|
1246
|
+
@jsii.member(jsii_name="attrIdentityStoreId")
|
|
1247
|
+
def attr_identity_store_id(self) -> builtins.str:
|
|
1248
|
+
'''The identifier of the identity store that is connected to the Identity Center instance.
|
|
1249
|
+
|
|
1250
|
+
:cloudformationAttribute: IdentityStoreId
|
|
1251
|
+
'''
|
|
1252
|
+
return typing.cast(builtins.str, jsii.get(self, "attrIdentityStoreId"))
|
|
1253
|
+
|
|
1254
|
+
@builtins.property
|
|
1255
|
+
@jsii.member(jsii_name="attrInstanceArn")
|
|
1256
|
+
def attr_instance_arn(self) -> builtins.str:
|
|
1257
|
+
'''The ARN of the Identity Center instance under which the operation will be executed.
|
|
332
1258
|
|
|
333
|
-
|
|
1259
|
+
For more information about ARNs, see `Amazon Resource
|
|
1260
|
+
Names (ARNs) and AWS Service Namespaces <https://docs.aws.amazon.com//general/latest/gr/aws-arns-and-namespaces.html>`_ in the *AWS General Reference* .
|
|
334
1261
|
|
|
335
|
-
:
|
|
1262
|
+
:cloudformationAttribute: InstanceArn
|
|
336
1263
|
'''
|
|
337
|
-
|
|
338
|
-
assert result is not None, "Required property 'principal_id' is missing"
|
|
339
|
-
return typing.cast(builtins.str, result)
|
|
1264
|
+
return typing.cast(builtins.str, jsii.get(self, "attrInstanceArn"))
|
|
340
1265
|
|
|
341
1266
|
@builtins.property
|
|
342
|
-
|
|
343
|
-
|
|
1267
|
+
@jsii.member(jsii_name="attrOwnerAccountId")
|
|
1268
|
+
def attr_owner_account_id(self) -> builtins.str:
|
|
1269
|
+
'''The AWS account ID number of the owner of the Identity Center instance.
|
|
344
1270
|
|
|
345
|
-
:
|
|
1271
|
+
:cloudformationAttribute: OwnerAccountId
|
|
346
1272
|
'''
|
|
347
|
-
|
|
348
|
-
assert result is not None, "Required property 'principal_type' is missing"
|
|
349
|
-
return typing.cast(builtins.str, result)
|
|
1273
|
+
return typing.cast(builtins.str, jsii.get(self, "attrOwnerAccountId"))
|
|
350
1274
|
|
|
351
1275
|
@builtins.property
|
|
352
|
-
|
|
353
|
-
|
|
1276
|
+
@jsii.member(jsii_name="attrStatus")
|
|
1277
|
+
def attr_status(self) -> builtins.str:
|
|
1278
|
+
'''The current status of this Identity Center instance.
|
|
354
1279
|
|
|
355
|
-
:
|
|
1280
|
+
:cloudformationAttribute: Status
|
|
356
1281
|
'''
|
|
357
|
-
|
|
358
|
-
assert result is not None, "Required property 'target_id' is missing"
|
|
359
|
-
return typing.cast(builtins.str, result)
|
|
1282
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
360
1283
|
|
|
361
1284
|
@builtins.property
|
|
362
|
-
|
|
363
|
-
|
|
1285
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
1286
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
1287
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
1288
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
364
1289
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
return typing.cast(builtins.str, result)
|
|
1290
|
+
@builtins.property
|
|
1291
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
1292
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1293
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
370
1294
|
|
|
371
|
-
|
|
372
|
-
|
|
1295
|
+
@builtins.property
|
|
1296
|
+
@jsii.member(jsii_name="name")
|
|
1297
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
1298
|
+
'''The name of the Identity Center instance.'''
|
|
1299
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "name"))
|
|
373
1300
|
|
|
374
|
-
|
|
375
|
-
|
|
1301
|
+
@name.setter
|
|
1302
|
+
def name(self, value: typing.Optional[builtins.str]) -> None:
|
|
1303
|
+
if __debug__:
|
|
1304
|
+
type_hints = typing.get_type_hints(_typecheckingstub__29c733d6eb71eda7b1b7641f2d65e1793d14f904e3d13ebfb70320768423d391)
|
|
1305
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1306
|
+
jsii.set(self, "name", value)
|
|
376
1307
|
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
1308
|
+
@builtins.property
|
|
1309
|
+
@jsii.member(jsii_name="tags")
|
|
1310
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1311
|
+
'''Specifies tags to be attached to the instance of IAM Identity Center.'''
|
|
1312
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
1313
|
+
|
|
1314
|
+
@tags.setter
|
|
1315
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
1316
|
+
if __debug__:
|
|
1317
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1d325fc6660cba7432138a31aa3aa63308801d12cd69a35aebde3fb2b2bd9481)
|
|
1318
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1319
|
+
jsii.set(self, "tags", value)
|
|
381
1320
|
|
|
382
1321
|
|
|
383
1322
|
@jsii.implements(_IInspectable_c2943556)
|
|
@@ -851,6 +1790,80 @@ class CfnInstanceAccessControlAttributeConfigurationProps:
|
|
|
851
1790
|
)
|
|
852
1791
|
|
|
853
1792
|
|
|
1793
|
+
@jsii.data_type(
|
|
1794
|
+
jsii_type="aws-cdk-lib.aws_sso.CfnInstanceProps",
|
|
1795
|
+
jsii_struct_bases=[],
|
|
1796
|
+
name_mapping={"name": "name", "tags": "tags"},
|
|
1797
|
+
)
|
|
1798
|
+
class CfnInstanceProps:
|
|
1799
|
+
def __init__(
|
|
1800
|
+
self,
|
|
1801
|
+
*,
|
|
1802
|
+
name: typing.Optional[builtins.str] = None,
|
|
1803
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1804
|
+
) -> None:
|
|
1805
|
+
'''Properties for defining a ``CfnInstance``.
|
|
1806
|
+
|
|
1807
|
+
:param name: The name of the Identity Center instance.
|
|
1808
|
+
:param tags: Specifies tags to be attached to the instance of IAM Identity Center.
|
|
1809
|
+
|
|
1810
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-instance.html
|
|
1811
|
+
:exampleMetadata: fixture=_generated
|
|
1812
|
+
|
|
1813
|
+
Example::
|
|
1814
|
+
|
|
1815
|
+
# The code below shows an example of how to instantiate this type.
|
|
1816
|
+
# The values are placeholders you should change.
|
|
1817
|
+
from aws_cdk import aws_sso as sso
|
|
1818
|
+
|
|
1819
|
+
cfn_instance_props = sso.CfnInstanceProps(
|
|
1820
|
+
name="name",
|
|
1821
|
+
tags=[CfnTag(
|
|
1822
|
+
key="key",
|
|
1823
|
+
value="value"
|
|
1824
|
+
)]
|
|
1825
|
+
)
|
|
1826
|
+
'''
|
|
1827
|
+
if __debug__:
|
|
1828
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0f634899cf67a8770f6832cba1a68a83d918d171183c520835eb3a482eebdc23)
|
|
1829
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1830
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1831
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1832
|
+
if name is not None:
|
|
1833
|
+
self._values["name"] = name
|
|
1834
|
+
if tags is not None:
|
|
1835
|
+
self._values["tags"] = tags
|
|
1836
|
+
|
|
1837
|
+
@builtins.property
|
|
1838
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
1839
|
+
'''The name of the Identity Center instance.
|
|
1840
|
+
|
|
1841
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-instance.html#cfn-sso-instance-name
|
|
1842
|
+
'''
|
|
1843
|
+
result = self._values.get("name")
|
|
1844
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1845
|
+
|
|
1846
|
+
@builtins.property
|
|
1847
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1848
|
+
'''Specifies tags to be attached to the instance of IAM Identity Center.
|
|
1849
|
+
|
|
1850
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-instance.html#cfn-sso-instance-tags
|
|
1851
|
+
'''
|
|
1852
|
+
result = self._values.get("tags")
|
|
1853
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
1854
|
+
|
|
1855
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1856
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1857
|
+
|
|
1858
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1859
|
+
return not (rhs == self)
|
|
1860
|
+
|
|
1861
|
+
def __repr__(self) -> str:
|
|
1862
|
+
return "CfnInstanceProps(%s)" % ", ".join(
|
|
1863
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1864
|
+
)
|
|
1865
|
+
|
|
1866
|
+
|
|
854
1867
|
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
855
1868
|
class CfnPermissionSet(
|
|
856
1869
|
_CfnResource_9df397a6,
|
|
@@ -1549,16 +2562,170 @@ class CfnPermissionSetProps:
|
|
|
1549
2562
|
|
|
1550
2563
|
|
|
1551
2564
|
__all__ = [
|
|
2565
|
+
"CfnApplication",
|
|
2566
|
+
"CfnApplicationAssignment",
|
|
2567
|
+
"CfnApplicationAssignmentProps",
|
|
2568
|
+
"CfnApplicationProps",
|
|
1552
2569
|
"CfnAssignment",
|
|
1553
2570
|
"CfnAssignmentProps",
|
|
2571
|
+
"CfnInstance",
|
|
1554
2572
|
"CfnInstanceAccessControlAttributeConfiguration",
|
|
1555
2573
|
"CfnInstanceAccessControlAttributeConfigurationProps",
|
|
2574
|
+
"CfnInstanceProps",
|
|
1556
2575
|
"CfnPermissionSet",
|
|
1557
2576
|
"CfnPermissionSetProps",
|
|
1558
2577
|
]
|
|
1559
2578
|
|
|
1560
2579
|
publication.publish()
|
|
1561
2580
|
|
|
2581
|
+
def _typecheckingstub__1882af793991a2b06f4da60775b164d8785694f90e87227b4954cfd75eea83eb(
|
|
2582
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2583
|
+
id: builtins.str,
|
|
2584
|
+
*,
|
|
2585
|
+
application_provider_arn: builtins.str,
|
|
2586
|
+
instance_arn: builtins.str,
|
|
2587
|
+
name: builtins.str,
|
|
2588
|
+
description: typing.Optional[builtins.str] = None,
|
|
2589
|
+
portal_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.PortalOptionsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2590
|
+
status: typing.Optional[builtins.str] = None,
|
|
2591
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2592
|
+
) -> None:
|
|
2593
|
+
"""Type checking stubs"""
|
|
2594
|
+
pass
|
|
2595
|
+
|
|
2596
|
+
def _typecheckingstub__756574096955e2bcef2c96538adf5308085d83bf3bd8773ab5a103afd2c88998(
|
|
2597
|
+
inspector: _TreeInspector_488e0dd5,
|
|
2598
|
+
) -> None:
|
|
2599
|
+
"""Type checking stubs"""
|
|
2600
|
+
pass
|
|
2601
|
+
|
|
2602
|
+
def _typecheckingstub__6355b954b667198799a07400cfed9d2b006a0fb064f93e6394dff0d371c18fe4(
|
|
2603
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2604
|
+
) -> None:
|
|
2605
|
+
"""Type checking stubs"""
|
|
2606
|
+
pass
|
|
2607
|
+
|
|
2608
|
+
def _typecheckingstub__c707449b4fef9672e313760f308fd576bc0ba85393db473a38bfcbacefb2bd06(
|
|
2609
|
+
value: builtins.str,
|
|
2610
|
+
) -> None:
|
|
2611
|
+
"""Type checking stubs"""
|
|
2612
|
+
pass
|
|
2613
|
+
|
|
2614
|
+
def _typecheckingstub__80acd28f699e35c6569019561a9885fb33a687399127a98f7ef032e0f229ead2(
|
|
2615
|
+
value: builtins.str,
|
|
2616
|
+
) -> None:
|
|
2617
|
+
"""Type checking stubs"""
|
|
2618
|
+
pass
|
|
2619
|
+
|
|
2620
|
+
def _typecheckingstub__23ad8dda9a55b908073f216b57023b2b16556e7d404354abb5cded800fbfad19(
|
|
2621
|
+
value: builtins.str,
|
|
2622
|
+
) -> None:
|
|
2623
|
+
"""Type checking stubs"""
|
|
2624
|
+
pass
|
|
2625
|
+
|
|
2626
|
+
def _typecheckingstub__b70bd99865693cb4bce70da1b35fa7beb773464b6d85b3799ef393fbd0af0574(
|
|
2627
|
+
value: typing.Optional[builtins.str],
|
|
2628
|
+
) -> None:
|
|
2629
|
+
"""Type checking stubs"""
|
|
2630
|
+
pass
|
|
2631
|
+
|
|
2632
|
+
def _typecheckingstub__59b9af6ead80cc3b937e2b7fe70751b4964334b1a52da19352b8fc87ad7c8b40(
|
|
2633
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.PortalOptionsConfigurationProperty]],
|
|
2634
|
+
) -> None:
|
|
2635
|
+
"""Type checking stubs"""
|
|
2636
|
+
pass
|
|
2637
|
+
|
|
2638
|
+
def _typecheckingstub__85a18facdd637743b1c0644e64da9a7f78c17fcafcc11c671955de3fd99f2ad3(
|
|
2639
|
+
value: typing.Optional[builtins.str],
|
|
2640
|
+
) -> None:
|
|
2641
|
+
"""Type checking stubs"""
|
|
2642
|
+
pass
|
|
2643
|
+
|
|
2644
|
+
def _typecheckingstub__b93309bf67faa9d00d995b1c3cacabed71e582b5b2ae932439414536bde54a02(
|
|
2645
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
2646
|
+
) -> None:
|
|
2647
|
+
"""Type checking stubs"""
|
|
2648
|
+
pass
|
|
2649
|
+
|
|
2650
|
+
def _typecheckingstub__0969f1ee3e1ee427fc6e8564ee61698e5879cc7b45bdeebbb656e2184e711f3e(
|
|
2651
|
+
*,
|
|
2652
|
+
sign_in_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.SignInOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2653
|
+
visibility: typing.Optional[builtins.str] = None,
|
|
2654
|
+
) -> None:
|
|
2655
|
+
"""Type checking stubs"""
|
|
2656
|
+
pass
|
|
2657
|
+
|
|
2658
|
+
def _typecheckingstub__8101af69aeff480caab8cecd79da061473f2fc9a270ca8954c86daf1a1c9edb4(
|
|
2659
|
+
*,
|
|
2660
|
+
origin: builtins.str,
|
|
2661
|
+
application_url: typing.Optional[builtins.str] = None,
|
|
2662
|
+
) -> None:
|
|
2663
|
+
"""Type checking stubs"""
|
|
2664
|
+
pass
|
|
2665
|
+
|
|
2666
|
+
def _typecheckingstub__979032c6bbab2c8833e714d153fe0ed25e5ea6b8ae998fc88df825d8aa44068f(
|
|
2667
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2668
|
+
id: builtins.str,
|
|
2669
|
+
*,
|
|
2670
|
+
application_arn: builtins.str,
|
|
2671
|
+
principal_id: builtins.str,
|
|
2672
|
+
principal_type: builtins.str,
|
|
2673
|
+
) -> None:
|
|
2674
|
+
"""Type checking stubs"""
|
|
2675
|
+
pass
|
|
2676
|
+
|
|
2677
|
+
def _typecheckingstub__631b770102bc683f42e26416dd672e029d8998264b069387218ab50f180d599c(
|
|
2678
|
+
inspector: _TreeInspector_488e0dd5,
|
|
2679
|
+
) -> None:
|
|
2680
|
+
"""Type checking stubs"""
|
|
2681
|
+
pass
|
|
2682
|
+
|
|
2683
|
+
def _typecheckingstub__6958d8c33128077c3cdda85d802617762aa3660d15369e6b80e975c877c64659(
|
|
2684
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2685
|
+
) -> None:
|
|
2686
|
+
"""Type checking stubs"""
|
|
2687
|
+
pass
|
|
2688
|
+
|
|
2689
|
+
def _typecheckingstub__31ae6296e9e35e54186a4dc00aa843315f2b271fa1e587d0844325fbb7205e33(
|
|
2690
|
+
value: builtins.str,
|
|
2691
|
+
) -> None:
|
|
2692
|
+
"""Type checking stubs"""
|
|
2693
|
+
pass
|
|
2694
|
+
|
|
2695
|
+
def _typecheckingstub__d359f14d921063d732cf35a9b393dcb95c8f3dae899d5107fbace012db6fbaee(
|
|
2696
|
+
value: builtins.str,
|
|
2697
|
+
) -> None:
|
|
2698
|
+
"""Type checking stubs"""
|
|
2699
|
+
pass
|
|
2700
|
+
|
|
2701
|
+
def _typecheckingstub__7d7aa16c36ca93ae3f9d86cdbbc98ad214d487831d9bb9732f619ef623813782(
|
|
2702
|
+
value: builtins.str,
|
|
2703
|
+
) -> None:
|
|
2704
|
+
"""Type checking stubs"""
|
|
2705
|
+
pass
|
|
2706
|
+
|
|
2707
|
+
def _typecheckingstub__2e99502b5c0c93849bd3c91f9cb83a46f5303bf4aea29d1929d7811fd2a1efe2(
|
|
2708
|
+
*,
|
|
2709
|
+
application_arn: builtins.str,
|
|
2710
|
+
principal_id: builtins.str,
|
|
2711
|
+
principal_type: builtins.str,
|
|
2712
|
+
) -> None:
|
|
2713
|
+
"""Type checking stubs"""
|
|
2714
|
+
pass
|
|
2715
|
+
|
|
2716
|
+
def _typecheckingstub__c2514f5693f02615ac7b916b565453bec3f3c9c79df28bdb7a6f6d323841c143(
|
|
2717
|
+
*,
|
|
2718
|
+
application_provider_arn: builtins.str,
|
|
2719
|
+
instance_arn: builtins.str,
|
|
2720
|
+
name: builtins.str,
|
|
2721
|
+
description: typing.Optional[builtins.str] = None,
|
|
2722
|
+
portal_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.PortalOptionsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2723
|
+
status: typing.Optional[builtins.str] = None,
|
|
2724
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2725
|
+
) -> None:
|
|
2726
|
+
"""Type checking stubs"""
|
|
2727
|
+
pass
|
|
2728
|
+
|
|
1562
2729
|
def _typecheckingstub__ebef8d250e1dbc37b65303c039a5211da7116d20618441b3967d658d6503e2f7(
|
|
1563
2730
|
scope: _constructs_77d1e7e8.Construct,
|
|
1564
2731
|
id: builtins.str,
|
|
@@ -1633,6 +2800,40 @@ def _typecheckingstub__af8b1b897ea9ab77a0f2e4bab0d57a02afda473ba2e2680b392d3403b
|
|
|
1633
2800
|
"""Type checking stubs"""
|
|
1634
2801
|
pass
|
|
1635
2802
|
|
|
2803
|
+
def _typecheckingstub__b3490809ee3929963beefa80737fc3a806a477fd4b46a9ae6f32f7e0be13251f(
|
|
2804
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2805
|
+
id: builtins.str,
|
|
2806
|
+
*,
|
|
2807
|
+
name: typing.Optional[builtins.str] = None,
|
|
2808
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2809
|
+
) -> None:
|
|
2810
|
+
"""Type checking stubs"""
|
|
2811
|
+
pass
|
|
2812
|
+
|
|
2813
|
+
def _typecheckingstub__99cda831f38994858fd7d3fa114976e29a359f4baaa292fcf2821c1bfd4929b2(
|
|
2814
|
+
inspector: _TreeInspector_488e0dd5,
|
|
2815
|
+
) -> None:
|
|
2816
|
+
"""Type checking stubs"""
|
|
2817
|
+
pass
|
|
2818
|
+
|
|
2819
|
+
def _typecheckingstub__dabb535aed1ee9738cb08205c2699a7f5799cd74346dadf0d087143917d220cc(
|
|
2820
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2821
|
+
) -> None:
|
|
2822
|
+
"""Type checking stubs"""
|
|
2823
|
+
pass
|
|
2824
|
+
|
|
2825
|
+
def _typecheckingstub__29c733d6eb71eda7b1b7641f2d65e1793d14f904e3d13ebfb70320768423d391(
|
|
2826
|
+
value: typing.Optional[builtins.str],
|
|
2827
|
+
) -> None:
|
|
2828
|
+
"""Type checking stubs"""
|
|
2829
|
+
pass
|
|
2830
|
+
|
|
2831
|
+
def _typecheckingstub__1d325fc6660cba7432138a31aa3aa63308801d12cd69a35aebde3fb2b2bd9481(
|
|
2832
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
2833
|
+
) -> None:
|
|
2834
|
+
"""Type checking stubs"""
|
|
2835
|
+
pass
|
|
2836
|
+
|
|
1636
2837
|
def _typecheckingstub__9f7a7752ad192f44dab8a4f16ca8392acad24cb912eaff617dbf10c8149c7542(
|
|
1637
2838
|
scope: _constructs_77d1e7e8.Construct,
|
|
1638
2839
|
id: builtins.str,
|
|
@@ -1705,6 +2906,14 @@ def _typecheckingstub__814fa18856a1f832fbf758087fb132fbc281321791aa0253818b3fa51
|
|
|
1705
2906
|
"""Type checking stubs"""
|
|
1706
2907
|
pass
|
|
1707
2908
|
|
|
2909
|
+
def _typecheckingstub__0f634899cf67a8770f6832cba1a68a83d918d171183c520835eb3a482eebdc23(
|
|
2910
|
+
*,
|
|
2911
|
+
name: typing.Optional[builtins.str] = None,
|
|
2912
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2913
|
+
) -> None:
|
|
2914
|
+
"""Type checking stubs"""
|
|
2915
|
+
pass
|
|
2916
|
+
|
|
1708
2917
|
def _typecheckingstub__29742c4712f9aeed238f180c9db8677986b9e95f63644b8358d20bbe6f9f8c9d(
|
|
1709
2918
|
scope: _constructs_77d1e7e8.Construct,
|
|
1710
2919
|
id: builtins.str,
|