aws-cdk-lib 2.137.0__py3-none-any.whl → 2.138.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 +8 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.137.0.jsii.tgz → aws-cdk-lib@2.138.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +29 -113
- aws_cdk/aws_appconfig/__init__.py +26 -33
- aws_cdk/aws_apprunner/__init__.py +5 -2
- aws_cdk/aws_appsync/__init__.py +400 -13
- aws_cdk/aws_aps/__init__.py +64 -47
- aws_cdk/aws_b2bi/__init__.py +2 -6
- aws_cdk/aws_backup/__init__.py +27 -23
- aws_cdk/aws_batch/__init__.py +103 -0
- aws_cdk/aws_bcmdataexports/__init__.py +1114 -0
- aws_cdk/aws_chatbot/__init__.py +6 -4
- aws_cdk/aws_cleanrooms/__init__.py +526 -3
- aws_cdk/aws_cleanroomsml/__init__.py +960 -0
- aws_cdk/aws_cloudtrail/__init__.py +10 -10
- aws_cdk/aws_cloudwatch/__init__.py +124 -8
- aws_cdk/aws_codebuild/__init__.py +27 -22
- aws_cdk/aws_codeconnections/__init__.py +435 -0
- aws_cdk/aws_cognito/__init__.py +175 -79
- aws_cdk/aws_deadline/__init__.py +5394 -0
- aws_cdk/aws_ec2/__init__.py +279 -163
- aws_cdk/aws_ecs/__init__.py +240 -1
- aws_cdk/aws_efs/__init__.py +2 -2
- aws_cdk/aws_elasticache/__init__.py +86 -32
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +52 -2
- aws_cdk/aws_emr/__init__.py +2 -2
- aws_cdk/aws_entityresolution/__init__.py +1982 -773
- aws_cdk/aws_globalaccelerator/__init__.py +443 -0
- aws_cdk/aws_iam/__init__.py +1 -2
- aws_cdk/aws_internetmonitor/__init__.py +14 -6
- aws_cdk/aws_ivs/__init__.py +1273 -71
- aws_cdk/aws_mediatailor/__init__.py +41 -0
- aws_cdk/aws_personalize/__init__.py +8 -6
- aws_cdk/aws_pinpoint/__init__.py +5 -3
- aws_cdk/aws_pipes/__init__.py +5 -1
- aws_cdk/aws_quicksight/__init__.py +12 -6
- aws_cdk/aws_rds/__init__.py +355 -85
- aws_cdk/aws_route53/__init__.py +587 -14
- aws_cdk/aws_sagemaker/__init__.py +233 -2
- aws_cdk/aws_securityhub/__init__.py +4940 -102
- aws_cdk/aws_securitylake/__init__.py +1237 -55
- aws_cdk/aws_sns/__init__.py +61 -4
- aws_cdk/aws_ssmcontacts/__init__.py +11 -4
- aws_cdk/aws_stepfunctions/__init__.py +8 -16
- aws_cdk/aws_stepfunctions_tasks/__init__.py +676 -1
- aws_cdk/aws_transfer/__init__.py +4 -4
- aws_cdk/aws_verifiedpermissions/__init__.py +114 -37
- aws_cdk/aws_workspacesthinclient/__init__.py +8 -8
- aws_cdk/custom_resources/__init__.py +248 -26
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/RECORD +56 -52
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_transfer/__init__.py
CHANGED
|
@@ -2060,7 +2060,7 @@ class CfnServer(
|
|
|
2060
2060
|
:param protocol_details: The protocol settings that are configured for your server. - To indicate passive mode (for FTP and FTPS protocols), use the ``PassiveIp`` parameter. Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. - To ignore the error that is generated when the client attempts to use the ``SETSTAT`` command on a file that you are uploading to an Amazon S3 bucket, use the ``SetStatOption`` parameter. To have the AWS Transfer Family server ignore the ``SETSTAT`` command and upload files without needing to make any changes to your SFTP client, set the value to ``ENABLE_NO_OP`` . If you set the ``SetStatOption`` parameter to ``ENABLE_NO_OP`` , Transfer Family generates a log entry to Amazon CloudWatch Logs, so that you can determine when the client is making a ``SETSTAT`` call. - To determine whether your AWS Transfer Family server resumes recent, negotiated sessions through a unique session ID, use the ``TlsSessionResumptionMode`` parameter. - ``As2Transports`` indicates the transport method for the AS2 messages. Currently, only HTTP is supported. The ``Protocols`` parameter is an array of strings. *Allowed values* : One or more of ``SFTP`` , ``FTPS`` , ``FTP`` , ``AS2``
|
|
2061
2061
|
:param protocols: Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are: - ``SFTP`` (Secure Shell (SSH) File Transfer Protocol): File transfer over SSH - ``FTPS`` (File Transfer Protocol Secure): File transfer with TLS encryption - ``FTP`` (File Transfer Protocol): Unencrypted file transfer - ``AS2`` (Applicability Statement 2): used for transporting structured business-to-business data .. epigraph:: - If you select ``FTPS`` , you must choose a certificate stored in AWS Certificate Manager (ACM) which is used to identify your server when clients connect to it over FTPS. - If ``Protocol`` includes either ``FTP`` or ``FTPS`` , then the ``EndpointType`` must be ``VPC`` and the ``IdentityProviderType`` must be either ``AWS_DIRECTORY_SERVICE`` , ``AWS_LAMBDA`` , or ``API_GATEWAY`` . - If ``Protocol`` includes ``FTP`` , then ``AddressAllocationIds`` cannot be associated. - If ``Protocol`` is set only to ``SFTP`` , the ``EndpointType`` can be set to ``PUBLIC`` and the ``IdentityProviderType`` can be set any of the supported identity types: ``SERVICE_MANAGED`` , ``AWS_DIRECTORY_SERVICE`` , ``AWS_LAMBDA`` , or ``API_GATEWAY`` . - If ``Protocol`` includes ``AS2`` , then the ``EndpointType`` must be ``VPC`` , and domain must be Amazon S3. The ``Protocols`` parameter is an array of strings. *Allowed values* : One or more of ``SFTP`` , ``FTPS`` , ``FTP`` , ``AS2``
|
|
2062
2062
|
:param s3_storage_options: Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default. By default, home directory mappings have a ``TYPE`` of ``DIRECTORY`` . If you enable this option, you would then need to explicitly set the ``HomeDirectoryMapEntry`` ``Type`` to ``FILE`` if you want a mapping to have a file target.
|
|
2063
|
-
:param security_policy_name: Specifies the name of the security policy
|
|
2063
|
+
:param security_policy_name: Specifies the name of the security policy for the server.
|
|
2064
2064
|
:param structured_log_destinations: Specifies the log groups to which your server logs are sent. To specify a log group, you must provide the ARN for an existing log group. In this case, the format of the log group is as follows: ``arn:aws:logs:region-name:amazon-account-id:log-group:log-group-name:*`` For example, ``arn:aws:logs:us-east-1:111122223333:log-group:mytestgroup:*`` If you have previously specified a log group for a server, you can clear it, and in effect turn off structured logging, by providing an empty value for this parameter in an ``update-server`` call. For example: ``update-server --server-id s-1234567890abcdef0 --structured-log-destinations``
|
|
2065
2065
|
:param tags: Key-value pairs that can be used to group and search for servers.
|
|
2066
2066
|
:param workflow_details: Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow. In addition to a workflow to execute when a file is uploaded completely, ``WorkflowDetails`` can also contain a workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when the session disconnects.
|
|
@@ -2344,7 +2344,7 @@ class CfnServer(
|
|
|
2344
2344
|
@builtins.property
|
|
2345
2345
|
@jsii.member(jsii_name="securityPolicyName")
|
|
2346
2346
|
def security_policy_name(self) -> typing.Optional[builtins.str]:
|
|
2347
|
-
'''Specifies the name of the security policy
|
|
2347
|
+
'''Specifies the name of the security policy for the server.'''
|
|
2348
2348
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "securityPolicyName"))
|
|
2349
2349
|
|
|
2350
2350
|
@security_policy_name.setter
|
|
@@ -3106,7 +3106,7 @@ class CfnServerProps:
|
|
|
3106
3106
|
:param protocol_details: The protocol settings that are configured for your server. - To indicate passive mode (for FTP and FTPS protocols), use the ``PassiveIp`` parameter. Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. - To ignore the error that is generated when the client attempts to use the ``SETSTAT`` command on a file that you are uploading to an Amazon S3 bucket, use the ``SetStatOption`` parameter. To have the AWS Transfer Family server ignore the ``SETSTAT`` command and upload files without needing to make any changes to your SFTP client, set the value to ``ENABLE_NO_OP`` . If you set the ``SetStatOption`` parameter to ``ENABLE_NO_OP`` , Transfer Family generates a log entry to Amazon CloudWatch Logs, so that you can determine when the client is making a ``SETSTAT`` call. - To determine whether your AWS Transfer Family server resumes recent, negotiated sessions through a unique session ID, use the ``TlsSessionResumptionMode`` parameter. - ``As2Transports`` indicates the transport method for the AS2 messages. Currently, only HTTP is supported. The ``Protocols`` parameter is an array of strings. *Allowed values* : One or more of ``SFTP`` , ``FTPS`` , ``FTP`` , ``AS2``
|
|
3107
3107
|
:param protocols: Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are: - ``SFTP`` (Secure Shell (SSH) File Transfer Protocol): File transfer over SSH - ``FTPS`` (File Transfer Protocol Secure): File transfer with TLS encryption - ``FTP`` (File Transfer Protocol): Unencrypted file transfer - ``AS2`` (Applicability Statement 2): used for transporting structured business-to-business data .. epigraph:: - If you select ``FTPS`` , you must choose a certificate stored in AWS Certificate Manager (ACM) which is used to identify your server when clients connect to it over FTPS. - If ``Protocol`` includes either ``FTP`` or ``FTPS`` , then the ``EndpointType`` must be ``VPC`` and the ``IdentityProviderType`` must be either ``AWS_DIRECTORY_SERVICE`` , ``AWS_LAMBDA`` , or ``API_GATEWAY`` . - If ``Protocol`` includes ``FTP`` , then ``AddressAllocationIds`` cannot be associated. - If ``Protocol`` is set only to ``SFTP`` , the ``EndpointType`` can be set to ``PUBLIC`` and the ``IdentityProviderType`` can be set any of the supported identity types: ``SERVICE_MANAGED`` , ``AWS_DIRECTORY_SERVICE`` , ``AWS_LAMBDA`` , or ``API_GATEWAY`` . - If ``Protocol`` includes ``AS2`` , then the ``EndpointType`` must be ``VPC`` , and domain must be Amazon S3. The ``Protocols`` parameter is an array of strings. *Allowed values* : One or more of ``SFTP`` , ``FTPS`` , ``FTP`` , ``AS2``
|
|
3108
3108
|
:param s3_storage_options: Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default. By default, home directory mappings have a ``TYPE`` of ``DIRECTORY`` . If you enable this option, you would then need to explicitly set the ``HomeDirectoryMapEntry`` ``Type`` to ``FILE`` if you want a mapping to have a file target.
|
|
3109
|
-
:param security_policy_name: Specifies the name of the security policy
|
|
3109
|
+
:param security_policy_name: Specifies the name of the security policy for the server.
|
|
3110
3110
|
:param structured_log_destinations: Specifies the log groups to which your server logs are sent. To specify a log group, you must provide the ARN for an existing log group. In this case, the format of the log group is as follows: ``arn:aws:logs:region-name:amazon-account-id:log-group:log-group-name:*`` For example, ``arn:aws:logs:us-east-1:111122223333:log-group:mytestgroup:*`` If you have previously specified a log group for a server, you can clear it, and in effect turn off structured logging, by providing an empty value for this parameter in an ``update-server`` call. For example: ``update-server --server-id s-1234567890abcdef0 --structured-log-destinations``
|
|
3111
3111
|
:param tags: Key-value pairs that can be used to group and search for servers.
|
|
3112
3112
|
:param workflow_details: Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow. In addition to a workflow to execute when a file is uploaded completely, ``WorkflowDetails`` can also contain a workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when the session disconnects.
|
|
@@ -3421,7 +3421,7 @@ class CfnServerProps:
|
|
|
3421
3421
|
|
|
3422
3422
|
@builtins.property
|
|
3423
3423
|
def security_policy_name(self) -> typing.Optional[builtins.str]:
|
|
3424
|
-
'''Specifies the name of the security policy
|
|
3424
|
+
'''Specifies the name of the security policy for the server.
|
|
3425
3425
|
|
|
3426
3426
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html#cfn-transfer-server-securitypolicyname
|
|
3427
3427
|
'''
|
|
@@ -98,7 +98,10 @@ class CfnIdentitySource(
|
|
|
98
98
|
user_pool_arn="userPoolArn",
|
|
99
99
|
|
|
100
100
|
# the properties below are optional
|
|
101
|
-
client_ids=["clientIds"]
|
|
101
|
+
client_ids=["clientIds"],
|
|
102
|
+
group_configuration=verifiedpermissions.CfnIdentitySource.CognitoGroupConfigurationProperty(
|
|
103
|
+
group_entity_type="groupEntityType"
|
|
104
|
+
)
|
|
102
105
|
)
|
|
103
106
|
),
|
|
104
107
|
policy_store_id="policyStoreId",
|
|
@@ -120,7 +123,7 @@ class CfnIdentitySource(
|
|
|
120
123
|
'''
|
|
121
124
|
:param scope: Scope in which this resource is defined.
|
|
122
125
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
123
|
-
:param configuration: Contains configuration information
|
|
126
|
+
:param configuration: Contains configuration information about an identity source.
|
|
124
127
|
:param policy_store_id: Specifies the ID of the policy store in which you want to store this identity source. Only policies and requests made using this policy store can reference identities from the identity provider configured in the new identity source.
|
|
125
128
|
:param principal_entity_type: Specifies the namespace and data type of the principals generated for identities authenticated by the new identity source.
|
|
126
129
|
'''
|
|
@@ -225,7 +228,7 @@ class CfnIdentitySource(
|
|
|
225
228
|
def configuration(
|
|
226
229
|
self,
|
|
227
230
|
) -> typing.Union[_IResolvable_da3f097b, "CfnIdentitySource.IdentitySourceConfigurationProperty"]:
|
|
228
|
-
'''Contains configuration information
|
|
231
|
+
'''Contains configuration information about an identity source.'''
|
|
229
232
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnIdentitySource.IdentitySourceConfigurationProperty"], jsii.get(self, "configuration"))
|
|
230
233
|
|
|
231
234
|
@configuration.setter
|
|
@@ -264,10 +267,70 @@ class CfnIdentitySource(
|
|
|
264
267
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
265
268
|
jsii.set(self, "principalEntityType", value)
|
|
266
269
|
|
|
270
|
+
@jsii.data_type(
|
|
271
|
+
jsii_type="aws-cdk-lib.aws_verifiedpermissions.CfnIdentitySource.CognitoGroupConfigurationProperty",
|
|
272
|
+
jsii_struct_bases=[],
|
|
273
|
+
name_mapping={"group_entity_type": "groupEntityType"},
|
|
274
|
+
)
|
|
275
|
+
class CognitoGroupConfigurationProperty:
|
|
276
|
+
def __init__(self, *, group_entity_type: builtins.str) -> None:
|
|
277
|
+
'''The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
|
|
278
|
+
|
|
279
|
+
This data type is part of a `CognitoUserPoolConfiguration <https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CognitoUserPoolConfiguration.html>`_ structure and is a request parameter in `CreateIdentitySource <https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreateIdentitySource.html>`_ .
|
|
280
|
+
|
|
281
|
+
:param group_entity_type: The name of the schema entity type that's mapped to the user pool group. Defaults to ``AWS::CognitoGroup`` .
|
|
282
|
+
|
|
283
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-cognitogroupconfiguration.html
|
|
284
|
+
:exampleMetadata: fixture=_generated
|
|
285
|
+
|
|
286
|
+
Example::
|
|
287
|
+
|
|
288
|
+
# The code below shows an example of how to instantiate this type.
|
|
289
|
+
# The values are placeholders you should change.
|
|
290
|
+
from aws_cdk import aws_verifiedpermissions as verifiedpermissions
|
|
291
|
+
|
|
292
|
+
cognito_group_configuration_property = verifiedpermissions.CfnIdentitySource.CognitoGroupConfigurationProperty(
|
|
293
|
+
group_entity_type="groupEntityType"
|
|
294
|
+
)
|
|
295
|
+
'''
|
|
296
|
+
if __debug__:
|
|
297
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ff50d74e525176f771f94518a83ce1f36926a2b0097e7525f6528be7f57412e4)
|
|
298
|
+
check_type(argname="argument group_entity_type", value=group_entity_type, expected_type=type_hints["group_entity_type"])
|
|
299
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
300
|
+
"group_entity_type": group_entity_type,
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
@builtins.property
|
|
304
|
+
def group_entity_type(self) -> builtins.str:
|
|
305
|
+
'''The name of the schema entity type that's mapped to the user pool group.
|
|
306
|
+
|
|
307
|
+
Defaults to ``AWS::CognitoGroup`` .
|
|
308
|
+
|
|
309
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-cognitogroupconfiguration.html#cfn-verifiedpermissions-identitysource-cognitogroupconfiguration-groupentitytype
|
|
310
|
+
'''
|
|
311
|
+
result = self._values.get("group_entity_type")
|
|
312
|
+
assert result is not None, "Required property 'group_entity_type' is missing"
|
|
313
|
+
return typing.cast(builtins.str, result)
|
|
314
|
+
|
|
315
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
316
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
317
|
+
|
|
318
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
319
|
+
return not (rhs == self)
|
|
320
|
+
|
|
321
|
+
def __repr__(self) -> str:
|
|
322
|
+
return "CognitoGroupConfigurationProperty(%s)" % ", ".join(
|
|
323
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
324
|
+
)
|
|
325
|
+
|
|
267
326
|
@jsii.data_type(
|
|
268
327
|
jsii_type="aws-cdk-lib.aws_verifiedpermissions.CfnIdentitySource.CognitoUserPoolConfigurationProperty",
|
|
269
328
|
jsii_struct_bases=[],
|
|
270
|
-
name_mapping={
|
|
329
|
+
name_mapping={
|
|
330
|
+
"user_pool_arn": "userPoolArn",
|
|
331
|
+
"client_ids": "clientIds",
|
|
332
|
+
"group_configuration": "groupConfiguration",
|
|
333
|
+
},
|
|
271
334
|
)
|
|
272
335
|
class CognitoUserPoolConfigurationProperty:
|
|
273
336
|
def __init__(
|
|
@@ -275,11 +338,13 @@ class CfnIdentitySource(
|
|
|
275
338
|
*,
|
|
276
339
|
user_pool_arn: builtins.str,
|
|
277
340
|
client_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
341
|
+
group_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIdentitySource.CognitoGroupConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
278
342
|
) -> None:
|
|
279
343
|
'''A structure that contains configuration information used when creating or updating an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions .
|
|
280
344
|
|
|
281
345
|
:param user_pool_arn: The `Amazon Resource Name (ARN) <https://docs.aws.amazon.com//general/latest/gr/aws-arns-and-namespaces.html>`_ of the Amazon Cognito user pool that contains the identities to be authorized.
|
|
282
346
|
:param client_ids: The unique application client IDs that are associated with the specified Amazon Cognito user pool. Example: ``"ClientIds": ["&ExampleCogClientId;"]``
|
|
347
|
+
:param group_configuration: The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
|
|
283
348
|
|
|
284
349
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-cognitouserpoolconfiguration.html
|
|
285
350
|
:exampleMetadata: fixture=_generated
|
|
@@ -294,18 +359,24 @@ class CfnIdentitySource(
|
|
|
294
359
|
user_pool_arn="userPoolArn",
|
|
295
360
|
|
|
296
361
|
# the properties below are optional
|
|
297
|
-
client_ids=["clientIds"]
|
|
362
|
+
client_ids=["clientIds"],
|
|
363
|
+
group_configuration=verifiedpermissions.CfnIdentitySource.CognitoGroupConfigurationProperty(
|
|
364
|
+
group_entity_type="groupEntityType"
|
|
365
|
+
)
|
|
298
366
|
)
|
|
299
367
|
'''
|
|
300
368
|
if __debug__:
|
|
301
369
|
type_hints = typing.get_type_hints(_typecheckingstub__75fd393134ee256da001941239770b4cb04ba63bc1c52b04b0d0a17fc493bed8)
|
|
302
370
|
check_type(argname="argument user_pool_arn", value=user_pool_arn, expected_type=type_hints["user_pool_arn"])
|
|
303
371
|
check_type(argname="argument client_ids", value=client_ids, expected_type=type_hints["client_ids"])
|
|
372
|
+
check_type(argname="argument group_configuration", value=group_configuration, expected_type=type_hints["group_configuration"])
|
|
304
373
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
305
374
|
"user_pool_arn": user_pool_arn,
|
|
306
375
|
}
|
|
307
376
|
if client_ids is not None:
|
|
308
377
|
self._values["client_ids"] = client_ids
|
|
378
|
+
if group_configuration is not None:
|
|
379
|
+
self._values["group_configuration"] = group_configuration
|
|
309
380
|
|
|
310
381
|
@builtins.property
|
|
311
382
|
def user_pool_arn(self) -> builtins.str:
|
|
@@ -328,6 +399,17 @@ class CfnIdentitySource(
|
|
|
328
399
|
result = self._values.get("client_ids")
|
|
329
400
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
330
401
|
|
|
402
|
+
@builtins.property
|
|
403
|
+
def group_configuration(
|
|
404
|
+
self,
|
|
405
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnIdentitySource.CognitoGroupConfigurationProperty"]]:
|
|
406
|
+
'''The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
|
|
407
|
+
|
|
408
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-cognitouserpoolconfiguration.html#cfn-verifiedpermissions-identitysource-cognitouserpoolconfiguration-groupconfiguration
|
|
409
|
+
'''
|
|
410
|
+
result = self._values.get("group_configuration")
|
|
411
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnIdentitySource.CognitoGroupConfigurationProperty"]], result)
|
|
412
|
+
|
|
331
413
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
332
414
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
333
415
|
|
|
@@ -376,7 +458,10 @@ class CfnIdentitySource(
|
|
|
376
458
|
user_pool_arn="userPoolArn",
|
|
377
459
|
|
|
378
460
|
# the properties below are optional
|
|
379
|
-
client_ids=["clientIds"]
|
|
461
|
+
client_ids=["clientIds"],
|
|
462
|
+
group_configuration=verifiedpermissions.CfnIdentitySource.CognitoGroupConfigurationProperty(
|
|
463
|
+
group_entity_type="groupEntityType"
|
|
464
|
+
)
|
|
380
465
|
)
|
|
381
466
|
)
|
|
382
467
|
'''
|
|
@@ -429,12 +514,11 @@ class CfnIdentitySource(
|
|
|
429
514
|
open_id_issuer: typing.Optional[builtins.str] = None,
|
|
430
515
|
user_pool_arn: typing.Optional[builtins.str] = None,
|
|
431
516
|
) -> None:
|
|
432
|
-
'''
|
|
433
|
-
|
|
434
|
-
:param
|
|
435
|
-
:param
|
|
436
|
-
:param
|
|
437
|
-
:param user_pool_arn: The `Amazon Resource Name (ARN) <https://docs.aws.amazon.com//general/latest/gr/aws-arns-and-namespaces.html>`_ of the Amazon Cognito user pool whose identities are accessible to this Verified Permissions policy store.
|
|
517
|
+
'''
|
|
518
|
+
:param client_ids:
|
|
519
|
+
:param discovery_url:
|
|
520
|
+
:param open_id_issuer:
|
|
521
|
+
:param user_pool_arn:
|
|
438
522
|
|
|
439
523
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-identitysourcedetails.html
|
|
440
524
|
:exampleMetadata: fixture=_generated
|
|
@@ -470,8 +554,7 @@ class CfnIdentitySource(
|
|
|
470
554
|
|
|
471
555
|
@builtins.property
|
|
472
556
|
def client_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
473
|
-
'''
|
|
474
|
-
|
|
557
|
+
'''
|
|
475
558
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-identitysourcedetails.html#cfn-verifiedpermissions-identitysource-identitysourcedetails-clientids
|
|
476
559
|
'''
|
|
477
560
|
result = self._values.get("client_ids")
|
|
@@ -479,12 +562,7 @@ class CfnIdentitySource(
|
|
|
479
562
|
|
|
480
563
|
@builtins.property
|
|
481
564
|
def discovery_url(self) -> typing.Optional[builtins.str]:
|
|
482
|
-
'''
|
|
483
|
-
|
|
484
|
-
This is a URL string in the following format. This URL replaces the placeholders for both the AWS Region and the user pool identifier with those appropriate for this user pool.
|
|
485
|
-
|
|
486
|
-
``https://cognito-idp. *<region>* .amazonaws.com/ *<user-pool-id>* /.well-known/openid-configuration``
|
|
487
|
-
|
|
565
|
+
'''
|
|
488
566
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-identitysourcedetails.html#cfn-verifiedpermissions-identitysource-identitysourcedetails-discoveryurl
|
|
489
567
|
'''
|
|
490
568
|
result = self._values.get("discovery_url")
|
|
@@ -492,10 +570,7 @@ class CfnIdentitySource(
|
|
|
492
570
|
|
|
493
571
|
@builtins.property
|
|
494
572
|
def open_id_issuer(self) -> typing.Optional[builtins.str]:
|
|
495
|
-
'''
|
|
496
|
-
|
|
497
|
-
At this time, the only valid value is ``cognito`` .
|
|
498
|
-
|
|
573
|
+
'''
|
|
499
574
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-identitysourcedetails.html#cfn-verifiedpermissions-identitysource-identitysourcedetails-openidissuer
|
|
500
575
|
'''
|
|
501
576
|
result = self._values.get("open_id_issuer")
|
|
@@ -503,8 +578,7 @@ class CfnIdentitySource(
|
|
|
503
578
|
|
|
504
579
|
@builtins.property
|
|
505
580
|
def user_pool_arn(self) -> typing.Optional[builtins.str]:
|
|
506
|
-
'''
|
|
507
|
-
|
|
581
|
+
'''
|
|
508
582
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-identitysourcedetails.html#cfn-verifiedpermissions-identitysource-identitysourcedetails-userpoolarn
|
|
509
583
|
'''
|
|
510
584
|
result = self._values.get("user_pool_arn")
|
|
@@ -541,7 +615,7 @@ class CfnIdentitySourceProps:
|
|
|
541
615
|
) -> None:
|
|
542
616
|
'''Properties for defining a ``CfnIdentitySource``.
|
|
543
617
|
|
|
544
|
-
:param configuration: Contains configuration information
|
|
618
|
+
:param configuration: Contains configuration information about an identity source.
|
|
545
619
|
:param policy_store_id: Specifies the ID of the policy store in which you want to store this identity source. Only policies and requests made using this policy store can reference identities from the identity provider configured in the new identity source.
|
|
546
620
|
:param principal_entity_type: Specifies the namespace and data type of the principals generated for identities authenticated by the new identity source.
|
|
547
621
|
|
|
@@ -560,7 +634,10 @@ class CfnIdentitySourceProps:
|
|
|
560
634
|
user_pool_arn="userPoolArn",
|
|
561
635
|
|
|
562
636
|
# the properties below are optional
|
|
563
|
-
client_ids=["clientIds"]
|
|
637
|
+
client_ids=["clientIds"],
|
|
638
|
+
group_configuration=verifiedpermissions.CfnIdentitySource.CognitoGroupConfigurationProperty(
|
|
639
|
+
group_entity_type="groupEntityType"
|
|
640
|
+
)
|
|
564
641
|
)
|
|
565
642
|
),
|
|
566
643
|
policy_store_id="policyStoreId",
|
|
@@ -585,15 +662,7 @@ class CfnIdentitySourceProps:
|
|
|
585
662
|
def configuration(
|
|
586
663
|
self,
|
|
587
664
|
) -> typing.Union[_IResolvable_da3f097b, CfnIdentitySource.IdentitySourceConfigurationProperty]:
|
|
588
|
-
'''Contains configuration information
|
|
589
|
-
|
|
590
|
-
.. epigraph::
|
|
591
|
-
|
|
592
|
-
At this time, the only valid member of this structure is a Amazon Cognito user pool configuration.
|
|
593
|
-
|
|
594
|
-
You must specify a ``userPoolArn`` , and optionally, a ``ClientId`` .
|
|
595
|
-
|
|
596
|
-
This data type is used as a request parameter for the `CreateIdentitySource <https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreateIdentitySource.html>`_ operation.
|
|
665
|
+
'''Contains configuration information about an identity source.
|
|
597
666
|
|
|
598
667
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-identitysource.html#cfn-verifiedpermissions-identitysource-configuration
|
|
599
668
|
'''
|
|
@@ -1941,10 +2010,18 @@ def _typecheckingstub__7a223458d7b26a527452b756a4160058ec95241630d285690b62ec99c
|
|
|
1941
2010
|
"""Type checking stubs"""
|
|
1942
2011
|
pass
|
|
1943
2012
|
|
|
2013
|
+
def _typecheckingstub__ff50d74e525176f771f94518a83ce1f36926a2b0097e7525f6528be7f57412e4(
|
|
2014
|
+
*,
|
|
2015
|
+
group_entity_type: builtins.str,
|
|
2016
|
+
) -> None:
|
|
2017
|
+
"""Type checking stubs"""
|
|
2018
|
+
pass
|
|
2019
|
+
|
|
1944
2020
|
def _typecheckingstub__75fd393134ee256da001941239770b4cb04ba63bc1c52b04b0d0a17fc493bed8(
|
|
1945
2021
|
*,
|
|
1946
2022
|
user_pool_arn: builtins.str,
|
|
1947
2023
|
client_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2024
|
+
group_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdentitySource.CognitoGroupConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1948
2025
|
) -> None:
|
|
1949
2026
|
"""Type checking stubs"""
|
|
1950
2027
|
pass
|
|
@@ -128,9 +128,9 @@ class CfnEnvironment(
|
|
|
128
128
|
'''
|
|
129
129
|
:param scope: Scope in which this resource is defined.
|
|
130
130
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
131
|
-
:param desktop_arn: The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces
|
|
131
|
+
:param desktop_arn: The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
|
|
132
132
|
:param desired_software_set_id: The ID of the software set to apply.
|
|
133
|
-
:param desktop_endpoint: The URL for the identity provider login (only for environments that use AppStream 2.0
|
|
133
|
+
:param desktop_endpoint: The URL for the identity provider login (only for environments that use AppStream 2.0).
|
|
134
134
|
:param kms_key_arn: The Amazon Resource Name (ARN) of the AWS Key Management Service key used to encrypt the environment.
|
|
135
135
|
:param maintenance_window: A specification for a time window to apply software updates.
|
|
136
136
|
:param name: The name of the environment.
|
|
@@ -290,7 +290,7 @@ class CfnEnvironment(
|
|
|
290
290
|
@builtins.property
|
|
291
291
|
@jsii.member(jsii_name="desktopArn")
|
|
292
292
|
def desktop_arn(self) -> builtins.str:
|
|
293
|
-
'''The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces
|
|
293
|
+
'''The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.'''
|
|
294
294
|
return typing.cast(builtins.str, jsii.get(self, "desktopArn"))
|
|
295
295
|
|
|
296
296
|
@desktop_arn.setter
|
|
@@ -316,7 +316,7 @@ class CfnEnvironment(
|
|
|
316
316
|
@builtins.property
|
|
317
317
|
@jsii.member(jsii_name="desktopEndpoint")
|
|
318
318
|
def desktop_endpoint(self) -> typing.Optional[builtins.str]:
|
|
319
|
-
'''The URL for the identity provider login (only for environments that use AppStream 2.0
|
|
319
|
+
'''The URL for the identity provider login (only for environments that use AppStream 2.0).'''
|
|
320
320
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "desktopEndpoint"))
|
|
321
321
|
|
|
322
322
|
@desktop_endpoint.setter
|
|
@@ -600,9 +600,9 @@ class CfnEnvironmentProps:
|
|
|
600
600
|
) -> None:
|
|
601
601
|
'''Properties for defining a ``CfnEnvironment``.
|
|
602
602
|
|
|
603
|
-
:param desktop_arn: The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces
|
|
603
|
+
:param desktop_arn: The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
|
|
604
604
|
:param desired_software_set_id: The ID of the software set to apply.
|
|
605
|
-
:param desktop_endpoint: The URL for the identity provider login (only for environments that use AppStream 2.0
|
|
605
|
+
:param desktop_endpoint: The URL for the identity provider login (only for environments that use AppStream 2.0).
|
|
606
606
|
:param kms_key_arn: The Amazon Resource Name (ARN) of the AWS Key Management Service key used to encrypt the environment.
|
|
607
607
|
:param maintenance_window: A specification for a time window to apply software updates.
|
|
608
608
|
:param name: The name of the environment.
|
|
@@ -679,7 +679,7 @@ class CfnEnvironmentProps:
|
|
|
679
679
|
|
|
680
680
|
@builtins.property
|
|
681
681
|
def desktop_arn(self) -> builtins.str:
|
|
682
|
-
'''The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces
|
|
682
|
+
'''The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
|
|
683
683
|
|
|
684
684
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesthinclient-environment.html#cfn-workspacesthinclient-environment-desktoparn
|
|
685
685
|
'''
|
|
@@ -698,7 +698,7 @@ class CfnEnvironmentProps:
|
|
|
698
698
|
|
|
699
699
|
@builtins.property
|
|
700
700
|
def desktop_endpoint(self) -> typing.Optional[builtins.str]:
|
|
701
|
-
'''The URL for the identity provider login (only for environments that use AppStream 2.0
|
|
701
|
+
'''The URL for the identity provider login (only for environments that use AppStream 2.0).
|
|
702
702
|
|
|
703
703
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesthinclient-environment.html#cfn-workspacesthinclient-environment-desktopendpoint
|
|
704
704
|
'''
|