aws-cdk-lib 2.96.2__py3-none-any.whl → 2.97.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.

Files changed (53) hide show
  1. aws_cdk/__init__.py +246 -62
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.96.2.jsii.tgz → aws-cdk-lib@2.97.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +1 -1
  5. aws_cdk/aws_appflow/__init__.py +205 -7
  6. aws_cdk/aws_appstream/__init__.py +33 -28
  7. aws_cdk/aws_appsync/__init__.py +555 -71
  8. aws_cdk/aws_autoscaling/__init__.py +5 -11
  9. aws_cdk/aws_billingconductor/__init__.py +145 -1
  10. aws_cdk/aws_cleanrooms/__init__.py +1198 -86
  11. aws_cdk/aws_cloudformation/__init__.py +221 -55
  12. aws_cdk/aws_cloudwatch/__init__.py +325 -2
  13. aws_cdk/aws_cognito/__init__.py +9 -13
  14. aws_cdk/aws_config/__init__.py +68 -73
  15. aws_cdk/aws_connect/__init__.py +909 -164
  16. aws_cdk/aws_customerprofiles/__init__.py +44 -0
  17. aws_cdk/aws_dms/__init__.py +198 -0
  18. aws_cdk/aws_ec2/__init__.py +593 -73
  19. aws_cdk/aws_ecr/__init__.py +7 -2
  20. aws_cdk/aws_ecs/__init__.py +2 -2
  21. aws_cdk/aws_efs/__init__.py +237 -0
  22. aws_cdk/aws_emr/__init__.py +232 -0
  23. aws_cdk/aws_entityresolution/__init__.py +1702 -0
  24. aws_cdk/aws_events/__init__.py +13 -18
  25. aws_cdk/aws_fms/__init__.py +3 -3
  26. aws_cdk/aws_gamelift/__init__.py +10 -15
  27. aws_cdk/aws_grafana/__init__.py +9 -5
  28. aws_cdk/aws_guardduty/__init__.py +272 -205
  29. aws_cdk/aws_iam/__init__.py +20 -18
  30. aws_cdk/aws_iotwireless/__init__.py +38 -54
  31. aws_cdk/aws_lakeformation/__init__.py +18 -6
  32. aws_cdk/aws_lambda/__init__.py +1 -1
  33. aws_cdk/aws_lightsail/__init__.py +225 -0
  34. aws_cdk/aws_lookoutequipment/__init__.py +4 -4
  35. aws_cdk/aws_macie/__init__.py +5 -3
  36. aws_cdk/aws_mediapackagev2/__init__.py +3227 -0
  37. aws_cdk/aws_pcaconnectorad/__init__.py +6785 -0
  38. aws_cdk/aws_quicksight/__init__.py +189 -116
  39. aws_cdk/aws_rds/__init__.py +316 -9
  40. aws_cdk/aws_resiliencehub/__init__.py +38 -21
  41. aws_cdk/aws_route53resolver/__init__.py +429 -0
  42. aws_cdk/aws_sagemaker/__init__.py +34 -34
  43. aws_cdk/aws_stepfunctions/__init__.py +111 -14
  44. aws_cdk/aws_transfer/__init__.py +2 -2
  45. aws_cdk/aws_vpclattice/__init__.py +128 -120
  46. aws_cdk/aws_workspacesweb/__init__.py +3790 -0
  47. aws_cdk/region_info/__init__.py +49 -0
  48. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/METADATA +2 -2
  49. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/RECORD +53 -49
  50. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/LICENSE +0 -0
  51. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/NOTICE +0 -0
  52. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/WHEEL +0 -0
  53. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/top_level.txt +0 -0
@@ -2350,7 +2350,8 @@ class CfnManagedPolicy(
2350
2350
  @builtins.property
2351
2351
  @jsii.member(jsii_name="attrAttachmentCount")
2352
2352
  def attr_attachment_count(self) -> jsii.Number:
2353
- '''
2353
+ '''The number of entities (users, groups, and roles) that the policy is attached to.
2354
+
2354
2355
  :cloudformationAttribute: AttachmentCount
2355
2356
  '''
2356
2357
  return typing.cast(jsii.Number, jsii.get(self, "attrAttachmentCount"))
@@ -2358,7 +2359,8 @@ class CfnManagedPolicy(
2358
2359
  @builtins.property
2359
2360
  @jsii.member(jsii_name="attrCreateDate")
2360
2361
  def attr_create_date(self) -> builtins.str:
2361
- '''
2362
+ '''The date and time, in ISO 8601 date-time format, when the policy was created.
2363
+
2362
2364
  :cloudformationAttribute: CreateDate
2363
2365
  '''
2364
2366
  return typing.cast(builtins.str, jsii.get(self, "attrCreateDate"))
@@ -2366,23 +2368,17 @@ class CfnManagedPolicy(
2366
2368
  @builtins.property
2367
2369
  @jsii.member(jsii_name="attrDefaultVersionId")
2368
2370
  def attr_default_version_id(self) -> builtins.str:
2369
- '''
2371
+ '''The identifier for the version of the policy that is set as the default version.
2372
+
2370
2373
  :cloudformationAttribute: DefaultVersionId
2371
2374
  '''
2372
2375
  return typing.cast(builtins.str, jsii.get(self, "attrDefaultVersionId"))
2373
2376
 
2374
- @builtins.property
2375
- @jsii.member(jsii_name="attrId")
2376
- def attr_id(self) -> builtins.str:
2377
- '''
2378
- :cloudformationAttribute: Id
2379
- '''
2380
- return typing.cast(builtins.str, jsii.get(self, "attrId"))
2381
-
2382
2377
  @builtins.property
2383
2378
  @jsii.member(jsii_name="attrIsAttachable")
2384
2379
  def attr_is_attachable(self) -> _IResolvable_da3f097b:
2385
- '''
2380
+ '''Specifies whether the policy can be attached to an IAM user, group, or role.
2381
+
2386
2382
  :cloudformationAttribute: IsAttachable
2387
2383
  '''
2388
2384
  return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrIsAttachable"))
@@ -2390,7 +2386,8 @@ class CfnManagedPolicy(
2390
2386
  @builtins.property
2391
2387
  @jsii.member(jsii_name="attrPermissionsBoundaryUsageCount")
2392
2388
  def attr_permissions_boundary_usage_count(self) -> jsii.Number:
2393
- '''
2389
+ '''The number of entities (users and roles) for which the policy is used to set the permissions boundary.
2390
+
2394
2391
  :cloudformationAttribute: PermissionsBoundaryUsageCount
2395
2392
  '''
2396
2393
  return typing.cast(jsii.Number, jsii.get(self, "attrPermissionsBoundaryUsageCount"))
@@ -2398,7 +2395,8 @@ class CfnManagedPolicy(
2398
2395
  @builtins.property
2399
2396
  @jsii.member(jsii_name="attrPolicyArn")
2400
2397
  def attr_policy_arn(self) -> builtins.str:
2401
- '''
2398
+ '''Amazon Resource Name (ARN) of the managed policy.
2399
+
2402
2400
  :cloudformationAttribute: PolicyArn
2403
2401
  '''
2404
2402
  return typing.cast(builtins.str, jsii.get(self, "attrPolicyArn"))
@@ -2406,7 +2404,8 @@ class CfnManagedPolicy(
2406
2404
  @builtins.property
2407
2405
  @jsii.member(jsii_name="attrPolicyId")
2408
2406
  def attr_policy_id(self) -> builtins.str:
2409
- '''
2407
+ '''The stable and unique string identifying the policy.
2408
+
2410
2409
  :cloudformationAttribute: PolicyId
2411
2410
  '''
2412
2411
  return typing.cast(builtins.str, jsii.get(self, "attrPolicyId"))
@@ -2414,7 +2413,8 @@ class CfnManagedPolicy(
2414
2413
  @builtins.property
2415
2414
  @jsii.member(jsii_name="attrUpdateDate")
2416
2415
  def attr_update_date(self) -> builtins.str:
2417
- '''
2416
+ '''The date and time, in ISO 8601 date-time format, when the policy was last updated.
2417
+
2418
2418
  :cloudformationAttribute: UpdateDate
2419
2419
  '''
2420
2420
  return typing.cast(builtins.str, jsii.get(self, "attrUpdateDate"))
@@ -3424,7 +3424,7 @@ class CfnRole(
3424
3424
  :param description: A description of the role that you provide.
3425
3425
  :param managed_policy_arns: A list of Amazon Resource Names (ARNs) of the IAM managed policies that you want to attach to the role. For more information about ARNs, see `Amazon Resource Names (ARNs) and AWS Service Namespaces <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`_ in the *AWS General Reference* .
3426
3426
  :param max_session_duration: The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default value of one hour is applied. This setting can have a value from 1 hour to 12 hours. Anyone who assumes the role from the AWS CLI or API can use the ``DurationSeconds`` API parameter or the ``duration-seconds`` AWS CLI parameter to request a longer session. The ``MaxSessionDuration`` setting determines the maximum duration that can be requested using the ``DurationSeconds`` parameter. If users don't specify a value for the ``DurationSeconds`` parameter, their security credentials are valid for one hour by default. This applies when you use the ``AssumeRole*`` API operations or the ``assume-role*`` AWS CLI operations but does not apply when you use those operations to create a console URL. For more information, see `Using IAM roles <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html>`_ in the *IAM User Guide* .
3427
- :param path: The path to the role. For more information about paths, see `IAM Identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ in the *IAM User Guide* . This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! ( ``\\u0021`` ) through the DEL character ( ``\\u007F`` ), including most punctuation characters, digits, and upper and lowercased letters.
3427
+ :param path: The path to the role. For more information about paths, see `IAM Identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ in the *IAM User Guide* . This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! ( ``\\u0021`` ) through the DEL character ( ``\\u007F`` ), including most punctuation characters, digits, and upper and lowercased letters. Default: - "/"
3428
3428
  :param permissions_boundary: The ARN of the policy used to set the permissions boundary for the role. For more information about permissions boundaries, see `Permissions boundaries for IAM identities <https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html>`_ in the *IAM User Guide* .
3429
3429
  :param policies: Adds or updates an inline policy document that is embedded in the specified IAM role. When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role. You can update a role's trust policy later. For more information about IAM roles, go to `Using Roles to Delegate Permissions and Federate Identities <https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html>`_ . A role can also have an attached managed policy. For information about policies, see `Managed Policies and Inline Policies <https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html>`_ in the *IAM User Guide* . For information about limits on the number of inline policies that you can embed with a role, see `Limitations on IAM Entities <https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html>`_ in the *IAM User Guide* . .. epigraph:: If an external policy (such as ``AWS::IAM::Policy`` or ``AWS::IAM::ManagedPolicy`` ) has a ``Ref`` to a role and if a resource (such as ``AWS::ECS::Service`` ) also has a ``Ref`` to the same role, add a ``DependsOn`` attribute to the resource to make the resource depend on the external policy. This dependency ensures that the role's policy is available throughout the resource's lifecycle. For example, when you delete a stack with an ``AWS::ECS::Service`` resource, the ``DependsOn`` attribute ensures that AWS CloudFormation deletes the ``AWS::ECS::Service`` resource before deleting its role's policy.
3430
3430
  :param role_name: A name for the IAM role, up to 64 characters in length. For valid values, see the ``RoleName`` parameter for the ```CreateRole`` <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html>`_ action in the *IAM User Guide* . This parameter allows (per its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-. The role name must be unique within the account. Role names are not distinguished by case. For example, you cannot create roles named both "Role1" and "role1". If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the role name. If you specify a name, you must specify the ``CAPABILITY_NAMED_IAM`` value to acknowledge your template's capabilities. For more information, see `Acknowledging IAM Resources in AWS CloudFormation Templates <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities>`_ . .. epigraph:: Naming an IAM resource can cause an unrecoverable error if you reuse the same template in multiple Regions. To prevent this, we recommend using ``Fn::Join`` and ``AWS::Region`` to create a Region-specific name, as in the following example: ``{"Fn::Join": ["", [{"Ref": "AWS::Region"}, {"Ref": "MyResourceName"}]]}`` .
@@ -4003,7 +4003,7 @@ class CfnRoleProps:
4003
4003
  :param description: A description of the role that you provide.
4004
4004
  :param managed_policy_arns: A list of Amazon Resource Names (ARNs) of the IAM managed policies that you want to attach to the role. For more information about ARNs, see `Amazon Resource Names (ARNs) and AWS Service Namespaces <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`_ in the *AWS General Reference* .
4005
4005
  :param max_session_duration: The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default value of one hour is applied. This setting can have a value from 1 hour to 12 hours. Anyone who assumes the role from the AWS CLI or API can use the ``DurationSeconds`` API parameter or the ``duration-seconds`` AWS CLI parameter to request a longer session. The ``MaxSessionDuration`` setting determines the maximum duration that can be requested using the ``DurationSeconds`` parameter. If users don't specify a value for the ``DurationSeconds`` parameter, their security credentials are valid for one hour by default. This applies when you use the ``AssumeRole*`` API operations or the ``assume-role*`` AWS CLI operations but does not apply when you use those operations to create a console URL. For more information, see `Using IAM roles <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html>`_ in the *IAM User Guide* .
4006
- :param path: The path to the role. For more information about paths, see `IAM Identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ in the *IAM User Guide* . This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! ( ``\\u0021`` ) through the DEL character ( ``\\u007F`` ), including most punctuation characters, digits, and upper and lowercased letters.
4006
+ :param path: The path to the role. For more information about paths, see `IAM Identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ in the *IAM User Guide* . This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! ( ``\\u0021`` ) through the DEL character ( ``\\u007F`` ), including most punctuation characters, digits, and upper and lowercased letters. Default: - "/"
4007
4007
  :param permissions_boundary: The ARN of the policy used to set the permissions boundary for the role. For more information about permissions boundaries, see `Permissions boundaries for IAM identities <https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html>`_ in the *IAM User Guide* .
4008
4008
  :param policies: Adds or updates an inline policy document that is embedded in the specified IAM role. When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role. You can update a role's trust policy later. For more information about IAM roles, go to `Using Roles to Delegate Permissions and Federate Identities <https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html>`_ . A role can also have an attached managed policy. For information about policies, see `Managed Policies and Inline Policies <https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html>`_ in the *IAM User Guide* . For information about limits on the number of inline policies that you can embed with a role, see `Limitations on IAM Entities <https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html>`_ in the *IAM User Guide* . .. epigraph:: If an external policy (such as ``AWS::IAM::Policy`` or ``AWS::IAM::ManagedPolicy`` ) has a ``Ref`` to a role and if a resource (such as ``AWS::ECS::Service`` ) also has a ``Ref`` to the same role, add a ``DependsOn`` attribute to the resource to make the resource depend on the external policy. This dependency ensures that the role's policy is available throughout the resource's lifecycle. For example, when you delete a stack with an ``AWS::ECS::Service`` resource, the ``DependsOn`` attribute ensures that AWS CloudFormation deletes the ``AWS::ECS::Service`` resource before deleting its role's policy.
4009
4009
  :param role_name: A name for the IAM role, up to 64 characters in length. For valid values, see the ``RoleName`` parameter for the ```CreateRole`` <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html>`_ action in the *IAM User Guide* . This parameter allows (per its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-. The role name must be unique within the account. Role names are not distinguished by case. For example, you cannot create roles named both "Role1" and "role1". If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the role name. If you specify a name, you must specify the ``CAPABILITY_NAMED_IAM`` value to acknowledge your template's capabilities. For more information, see `Acknowledging IAM Resources in AWS CloudFormation Templates <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities>`_ . .. epigraph:: Naming an IAM resource can cause an unrecoverable error if you reuse the same template in multiple Regions. To prevent this, we recommend using ``Fn::Join`` and ``AWS::Region`` to create a Region-specific name, as in the following example: ``{"Fn::Join": ["", [{"Ref": "AWS::Region"}, {"Ref": "MyResourceName"}]]}`` .
@@ -4125,6 +4125,8 @@ class CfnRoleProps:
4125
4125
 
4126
4126
  This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! ( ``\\u0021`` ) through the DEL character ( ``\\u007F`` ), including most punctuation characters, digits, and upper and lowercased letters.
4127
4127
 
4128
+ :default: - "/"
4129
+
4128
4130
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html#cfn-iam-role-path
4129
4131
  '''
4130
4132
  result = self._values.get("path")
@@ -72,10 +72,10 @@ class CfnDestination(
72
72
  expression="expression",
73
73
  expression_type="expressionType",
74
74
  name="name",
75
- role_arn="roleArn",
76
75
 
77
76
  # the properties below are optional
78
77
  description="description",
78
+ role_arn="roleArn",
79
79
  tags=[CfnTag(
80
80
  key="key",
81
81
  value="value"
@@ -91,8 +91,8 @@ class CfnDestination(
91
91
  expression: builtins.str,
92
92
  expression_type: builtins.str,
93
93
  name: builtins.str,
94
- role_arn: builtins.str,
95
94
  description: typing.Optional[builtins.str] = None,
95
+ role_arn: typing.Optional[builtins.str] = None,
96
96
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
97
97
  ) -> None:
98
98
  '''
@@ -101,8 +101,8 @@ class CfnDestination(
101
101
  :param expression: The rule name to send messages to.
102
102
  :param expression_type: The type of value in ``Expression`` .
103
103
  :param name: The name of the new resource.
104
- :param role_arn: The ARN of the IAM Role that authorizes the destination.
105
104
  :param description: The description of the new resource. Maximum length is 2048 characters.
105
+ :param role_arn: The ARN of the IAM Role that authorizes the destination.
106
106
  :param tags: The tags are an array of key-value pairs to attach to the specified resource. Tags can have a minimum of 0 and a maximum of 50 items.
107
107
  '''
108
108
  if __debug__:
@@ -113,8 +113,8 @@ class CfnDestination(
113
113
  expression=expression,
114
114
  expression_type=expression_type,
115
115
  name=name,
116
- role_arn=role_arn,
117
116
  description=description,
117
+ role_arn=role_arn,
118
118
  tags=tags,
119
119
  )
120
120
 
@@ -209,19 +209,6 @@ class CfnDestination(
209
209
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
210
210
  jsii.set(self, "name", value)
211
211
 
212
- @builtins.property
213
- @jsii.member(jsii_name="roleArn")
214
- def role_arn(self) -> builtins.str:
215
- '''The ARN of the IAM Role that authorizes the destination.'''
216
- return typing.cast(builtins.str, jsii.get(self, "roleArn"))
217
-
218
- @role_arn.setter
219
- def role_arn(self, value: builtins.str) -> None:
220
- if __debug__:
221
- type_hints = typing.get_type_hints(_typecheckingstub__7b60aa4ef5f47c4662f7208269db494d81166701afac30be03ebe87711d08ef4)
222
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
223
- jsii.set(self, "roleArn", value)
224
-
225
212
  @builtins.property
226
213
  @jsii.member(jsii_name="description")
227
214
  def description(self) -> typing.Optional[builtins.str]:
@@ -235,6 +222,19 @@ class CfnDestination(
235
222
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
236
223
  jsii.set(self, "description", value)
237
224
 
225
+ @builtins.property
226
+ @jsii.member(jsii_name="roleArn")
227
+ def role_arn(self) -> typing.Optional[builtins.str]:
228
+ '''The ARN of the IAM Role that authorizes the destination.'''
229
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "roleArn"))
230
+
231
+ @role_arn.setter
232
+ def role_arn(self, value: typing.Optional[builtins.str]) -> None:
233
+ if __debug__:
234
+ type_hints = typing.get_type_hints(_typecheckingstub__7b60aa4ef5f47c4662f7208269db494d81166701afac30be03ebe87711d08ef4)
235
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
236
+ jsii.set(self, "roleArn", value)
237
+
238
238
  @builtins.property
239
239
  @jsii.member(jsii_name="tagsRaw")
240
240
  def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -256,8 +256,8 @@ class CfnDestination(
256
256
  "expression": "expression",
257
257
  "expression_type": "expressionType",
258
258
  "name": "name",
259
- "role_arn": "roleArn",
260
259
  "description": "description",
260
+ "role_arn": "roleArn",
261
261
  "tags": "tags",
262
262
  },
263
263
  )
@@ -268,8 +268,8 @@ class CfnDestinationProps:
268
268
  expression: builtins.str,
269
269
  expression_type: builtins.str,
270
270
  name: builtins.str,
271
- role_arn: builtins.str,
272
271
  description: typing.Optional[builtins.str] = None,
272
+ role_arn: typing.Optional[builtins.str] = None,
273
273
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
274
274
  ) -> None:
275
275
  '''Properties for defining a ``CfnDestination``.
@@ -277,8 +277,8 @@ class CfnDestinationProps:
277
277
  :param expression: The rule name to send messages to.
278
278
  :param expression_type: The type of value in ``Expression`` .
279
279
  :param name: The name of the new resource.
280
- :param role_arn: The ARN of the IAM Role that authorizes the destination.
281
280
  :param description: The description of the new resource. Maximum length is 2048 characters.
281
+ :param role_arn: The ARN of the IAM Role that authorizes the destination.
282
282
  :param tags: The tags are an array of key-value pairs to attach to the specified resource. Tags can have a minimum of 0 and a maximum of 50 items.
283
283
 
284
284
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html
@@ -294,10 +294,10 @@ class CfnDestinationProps:
294
294
  expression="expression",
295
295
  expression_type="expressionType",
296
296
  name="name",
297
- role_arn="roleArn",
298
297
 
299
298
  # the properties below are optional
300
299
  description="description",
300
+ role_arn="roleArn",
301
301
  tags=[CfnTag(
302
302
  key="key",
303
303
  value="value"
@@ -309,17 +309,18 @@ class CfnDestinationProps:
309
309
  check_type(argname="argument expression", value=expression, expected_type=type_hints["expression"])
310
310
  check_type(argname="argument expression_type", value=expression_type, expected_type=type_hints["expression_type"])
311
311
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
312
- check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
313
312
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
313
+ check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
314
314
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
315
315
  self._values: typing.Dict[builtins.str, typing.Any] = {
316
316
  "expression": expression,
317
317
  "expression_type": expression_type,
318
318
  "name": name,
319
- "role_arn": role_arn,
320
319
  }
321
320
  if description is not None:
322
321
  self._values["description"] = description
322
+ if role_arn is not None:
323
+ self._values["role_arn"] = role_arn
323
324
  if tags is not None:
324
325
  self._values["tags"] = tags
325
326
 
@@ -353,16 +354,6 @@ class CfnDestinationProps:
353
354
  assert result is not None, "Required property 'name' is missing"
354
355
  return typing.cast(builtins.str, result)
355
356
 
356
- @builtins.property
357
- def role_arn(self) -> builtins.str:
358
- '''The ARN of the IAM Role that authorizes the destination.
359
-
360
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html#cfn-iotwireless-destination-rolearn
361
- '''
362
- result = self._values.get("role_arn")
363
- assert result is not None, "Required property 'role_arn' is missing"
364
- return typing.cast(builtins.str, result)
365
-
366
357
  @builtins.property
367
358
  def description(self) -> typing.Optional[builtins.str]:
368
359
  '''The description of the new resource.
@@ -374,6 +365,15 @@ class CfnDestinationProps:
374
365
  result = self._values.get("description")
375
366
  return typing.cast(typing.Optional[builtins.str], result)
376
367
 
368
+ @builtins.property
369
+ def role_arn(self) -> typing.Optional[builtins.str]:
370
+ '''The ARN of the IAM Role that authorizes the destination.
371
+
372
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html#cfn-iotwireless-destination-rolearn
373
+ '''
374
+ result = self._values.get("role_arn")
375
+ return typing.cast(typing.Optional[builtins.str], result)
376
+
377
377
  @builtins.property
378
378
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
379
379
  '''The tags are an array of key-value pairs to attach to the specified resource.
@@ -3422,22 +3422,6 @@ class CfnServiceProfile(
3422
3422
  '''
3423
3423
  return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrLoRaWanNwkGeoLoc"))
3424
3424
 
3425
- @builtins.property
3426
- @jsii.member(jsii_name="attrLoRaWanPrAllowed")
3427
- def attr_lo_ra_wan_pr_allowed(self) -> _IResolvable_da3f097b:
3428
- '''
3429
- :cloudformationAttribute: LoRaWAN.PrAllowed
3430
- '''
3431
- return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrLoRaWanPrAllowed"))
3432
-
3433
- @builtins.property
3434
- @jsii.member(jsii_name="attrLoRaWanRaAllowed")
3435
- def attr_lo_ra_wan_ra_allowed(self) -> _IResolvable_da3f097b:
3436
- '''
3437
- :cloudformationAttribute: LoRaWAN.RaAllowed
3438
- '''
3439
- return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrLoRaWanRaAllowed"))
3440
-
3441
3425
  @builtins.property
3442
3426
  @jsii.member(jsii_name="attrLoRaWanReportDevStatusBattery")
3443
3427
  def attr_lo_ra_wan_report_dev_status_battery(self) -> _IResolvable_da3f097b:
@@ -7023,8 +7007,8 @@ def _typecheckingstub__f61ecfaf93e3a5ee3c176667153d7633c25d7bc246a1af5b680196650
7023
7007
  expression: builtins.str,
7024
7008
  expression_type: builtins.str,
7025
7009
  name: builtins.str,
7026
- role_arn: builtins.str,
7027
7010
  description: typing.Optional[builtins.str] = None,
7011
+ role_arn: typing.Optional[builtins.str] = None,
7028
7012
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
7029
7013
  ) -> None:
7030
7014
  """Type checking stubs"""
@@ -7060,13 +7044,13 @@ def _typecheckingstub__e4a7e2be1c3626a0831a317f8384bfaac10f081d96e1d52fdf7e7d168
7060
7044
  """Type checking stubs"""
7061
7045
  pass
7062
7046
 
7063
- def _typecheckingstub__7b60aa4ef5f47c4662f7208269db494d81166701afac30be03ebe87711d08ef4(
7064
- value: builtins.str,
7047
+ def _typecheckingstub__54343b07a7027d746812e326d1dd346e2f583fb1042ea98ffa3720e14655d56f(
7048
+ value: typing.Optional[builtins.str],
7065
7049
  ) -> None:
7066
7050
  """Type checking stubs"""
7067
7051
  pass
7068
7052
 
7069
- def _typecheckingstub__54343b07a7027d746812e326d1dd346e2f583fb1042ea98ffa3720e14655d56f(
7053
+ def _typecheckingstub__7b60aa4ef5f47c4662f7208269db494d81166701afac30be03ebe87711d08ef4(
7070
7054
  value: typing.Optional[builtins.str],
7071
7055
  ) -> None:
7072
7056
  """Type checking stubs"""
@@ -7083,8 +7067,8 @@ def _typecheckingstub__f7257e0c4b674f84972a8cd47754e3ce09588804469529ea8a4efd68a
7083
7067
  expression: builtins.str,
7084
7068
  expression_type: builtins.str,
7085
7069
  name: builtins.str,
7086
- role_arn: builtins.str,
7087
7070
  description: typing.Optional[builtins.str] = None,
7071
+ role_arn: typing.Optional[builtins.str] = None,
7088
7072
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
7089
7073
  ) -> None:
7090
7074
  """Type checking stubs"""
@@ -644,12 +644,12 @@ class CfnDataLakeSettings(
644
644
  :param id: Construct identifier for this resource (unique in its scope).
645
645
  :param admins: A list of AWS Lake Formation principals.
646
646
  :param allow_external_data_filtering: Whether to allow Amazon EMR clusters or other third-party query engines to access data managed by Lake Formation . If set to true, you allow Amazon EMR clusters or other third-party engines to access data in Amazon S3 locations that are registered with Lake Formation . If false or null, no third-party query engines will be able to access data in Amazon S3 locations that are registered with Lake Formation. For more information, see `External data filtering setting <https://docs.aws.amazon.com/lake-formation/latest/dg/initial-LF-setup.html#external-data-filter>`_ .
647
- :param allow_full_table_external_data_access:
647
+ :param allow_full_table_external_data_access: Specifies whether query engines and applications can get credentials without IAM session tags if the user has full table access. It provides query engines and applications performance benefits as well as simplifies data access. Amazon EMR on Amazon EC2 is able to leverage this setting. For more information, see ` <https://docs.aws.amazon.com/lake-formation/latest/dg/using-cred-vending.html>`_
648
648
  :param authorized_session_tag_value_list: Lake Formation relies on a privileged process secured by Amazon EMR or the third party integrator to tag the user's role while assuming it. Lake Formation will publish the acceptable key-value pair, for example key = "LakeFormationTrustedCaller" and value = "TRUE" and the third party integrator must properly tag the temporary security credentials that will be used to call Lake Formation 's administrative API operations.
649
649
  :param create_database_default_permissions: Specifies whether access control on a newly created database is managed by Lake Formation permissions or exclusively by IAM permissions. A null value indicates that the access is controlled by Lake Formation permissions. ``ALL`` permissions assigned to ``IAM_ALLOWED_PRINCIPALS`` group indicates that the user's IAM permissions determine the access to the database. This is referred to as the setting "Use only IAM access control," and is to support backward compatibility with the AWS Glue permission model implemented by IAM permissions. The only permitted values are an empty array or an array that contains a single JSON object that grants ``ALL`` to ``IAM_ALLOWED_PRINCIPALS`` . For more information, see `Changing the default security settings for your data lake <https://docs.aws.amazon.com/lake-formation/latest/dg/change-settings.html>`_ .
650
650
  :param create_table_default_permissions: Specifies whether access control on a newly created table is managed by Lake Formation permissions or exclusively by IAM permissions. A null value indicates that the access is controlled by Lake Formation permissions. ``ALL`` permissions assigned to ``IAM_ALLOWED_PRINCIPALS`` group indicate that the user's IAM permissions determine the access to the table. This is referred to as the setting "Use only IAM access control," and is to support the backward compatibility with the AWS Glue permission model implemented by IAM permissions. The only permitted values are an empty array or an array that contains a single JSON object that grants ``ALL`` permissions to ``IAM_ALLOWED_PRINCIPALS`` . For more information, see `Changing the default security settings for your data lake <https://docs.aws.amazon.com/lake-formation/latest/dg/change-settings.html>`_ .
651
651
  :param external_data_filtering_allow_list: A list of the account IDs of AWS accounts with Amazon EMR clusters or third-party engines that are allwed to perform data filtering.
652
- :param mutation_type:
652
+ :param mutation_type: Specifies whether the data lake settings are updated by adding new values to the current settings ( ``APPEND`` ) or by replacing the current settings with new settings ( ``REPLACE`` ). .. epigraph:: If you choose ``REPLACE`` , your current data lake settings will be replaced with the new values in your template.
653
653
  :param parameters: A key-value map that provides an additional configuration on your data lake. ``CrossAccountVersion`` is the key you can configure in the ``Parameters`` field. Accepted values for the ``CrossAccountVersion`` key are 1, 2, and 3.
654
654
  :param trusted_resource_owners: An array of UTF-8 strings. A list of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). The user ARNs can be logged in the resource owner's CloudTrail log. You may want to specify this property when you are in a high-trust boundary, such as the same team or company.
655
655
  '''
@@ -756,6 +756,7 @@ class CfnDataLakeSettings(
756
756
  def allow_full_table_external_data_access(
757
757
  self,
758
758
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
759
+ '''Specifies whether query engines and applications can get credentials without IAM session tags if the user has full table access.'''
759
760
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "allowFullTableExternalDataAccess"))
760
761
 
761
762
  @allow_full_table_external_data_access.setter
@@ -843,6 +844,7 @@ class CfnDataLakeSettings(
843
844
  @builtins.property
844
845
  @jsii.member(jsii_name="mutationType")
845
846
  def mutation_type(self) -> typing.Optional[builtins.str]:
847
+ '''Specifies whether the data lake settings are updated by adding new values to the current settings ( ``APPEND`` ) or by replacing the current settings with new settings ( ``REPLACE`` ).'''
846
848
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "mutationType"))
847
849
 
848
850
  @mutation_type.setter
@@ -1188,12 +1190,12 @@ class CfnDataLakeSettingsProps:
1188
1190
 
1189
1191
  :param admins: A list of AWS Lake Formation principals.
1190
1192
  :param allow_external_data_filtering: Whether to allow Amazon EMR clusters or other third-party query engines to access data managed by Lake Formation . If set to true, you allow Amazon EMR clusters or other third-party engines to access data in Amazon S3 locations that are registered with Lake Formation . If false or null, no third-party query engines will be able to access data in Amazon S3 locations that are registered with Lake Formation. For more information, see `External data filtering setting <https://docs.aws.amazon.com/lake-formation/latest/dg/initial-LF-setup.html#external-data-filter>`_ .
1191
- :param allow_full_table_external_data_access:
1193
+ :param allow_full_table_external_data_access: Specifies whether query engines and applications can get credentials without IAM session tags if the user has full table access. It provides query engines and applications performance benefits as well as simplifies data access. Amazon EMR on Amazon EC2 is able to leverage this setting. For more information, see ` <https://docs.aws.amazon.com/lake-formation/latest/dg/using-cred-vending.html>`_
1192
1194
  :param authorized_session_tag_value_list: Lake Formation relies on a privileged process secured by Amazon EMR or the third party integrator to tag the user's role while assuming it. Lake Formation will publish the acceptable key-value pair, for example key = "LakeFormationTrustedCaller" and value = "TRUE" and the third party integrator must properly tag the temporary security credentials that will be used to call Lake Formation 's administrative API operations.
1193
1195
  :param create_database_default_permissions: Specifies whether access control on a newly created database is managed by Lake Formation permissions or exclusively by IAM permissions. A null value indicates that the access is controlled by Lake Formation permissions. ``ALL`` permissions assigned to ``IAM_ALLOWED_PRINCIPALS`` group indicates that the user's IAM permissions determine the access to the database. This is referred to as the setting "Use only IAM access control," and is to support backward compatibility with the AWS Glue permission model implemented by IAM permissions. The only permitted values are an empty array or an array that contains a single JSON object that grants ``ALL`` to ``IAM_ALLOWED_PRINCIPALS`` . For more information, see `Changing the default security settings for your data lake <https://docs.aws.amazon.com/lake-formation/latest/dg/change-settings.html>`_ .
1194
1196
  :param create_table_default_permissions: Specifies whether access control on a newly created table is managed by Lake Formation permissions or exclusively by IAM permissions. A null value indicates that the access is controlled by Lake Formation permissions. ``ALL`` permissions assigned to ``IAM_ALLOWED_PRINCIPALS`` group indicate that the user's IAM permissions determine the access to the table. This is referred to as the setting "Use only IAM access control," and is to support the backward compatibility with the AWS Glue permission model implemented by IAM permissions. The only permitted values are an empty array or an array that contains a single JSON object that grants ``ALL`` permissions to ``IAM_ALLOWED_PRINCIPALS`` . For more information, see `Changing the default security settings for your data lake <https://docs.aws.amazon.com/lake-formation/latest/dg/change-settings.html>`_ .
1195
1197
  :param external_data_filtering_allow_list: A list of the account IDs of AWS accounts with Amazon EMR clusters or third-party engines that are allwed to perform data filtering.
1196
- :param mutation_type:
1198
+ :param mutation_type: Specifies whether the data lake settings are updated by adding new values to the current settings ( ``APPEND`` ) or by replacing the current settings with new settings ( ``REPLACE`` ). .. epigraph:: If you choose ``REPLACE`` , your current data lake settings will be replaced with the new values in your template.
1197
1199
  :param parameters: A key-value map that provides an additional configuration on your data lake. ``CrossAccountVersion`` is the key you can configure in the ``Parameters`` field. Accepted values for the ``CrossAccountVersion`` key are 1, 2, and 3.
1198
1200
  :param trusted_resource_owners: An array of UTF-8 strings. A list of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). The user ARNs can be logged in the resource owner's CloudTrail log. You may want to specify this property when you are in a high-trust boundary, such as the same team or company.
1199
1201
 
@@ -1301,7 +1303,12 @@ class CfnDataLakeSettingsProps:
1301
1303
  def allow_full_table_external_data_access(
1302
1304
  self,
1303
1305
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
1304
- '''
1306
+ '''Specifies whether query engines and applications can get credentials without IAM session tags if the user has full table access.
1307
+
1308
+ It provides query engines and applications performance benefits as well as simplifies data access. Amazon EMR on Amazon EC2 is able to leverage this setting.
1309
+
1310
+ For more information, see ` <https://docs.aws.amazon.com/lake-formation/latest/dg/using-cred-vending.html>`_
1311
+
1305
1312
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-datalakesettings.html#cfn-lakeformation-datalakesettings-allowfulltableexternaldataaccess
1306
1313
  '''
1307
1314
  result = self._values.get("allow_full_table_external_data_access")
@@ -1367,7 +1374,12 @@ class CfnDataLakeSettingsProps:
1367
1374
 
1368
1375
  @builtins.property
1369
1376
  def mutation_type(self) -> typing.Optional[builtins.str]:
1370
- '''
1377
+ '''Specifies whether the data lake settings are updated by adding new values to the current settings ( ``APPEND`` ) or by replacing the current settings with new settings ( ``REPLACE`` ).
1378
+
1379
+ .. epigraph::
1380
+
1381
+ If you choose ``REPLACE`` , your current data lake settings will be replaced with the new values in your template.
1382
+
1371
1383
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-datalakesettings.html#cfn-lakeformation-datalakesettings-mutationtype
1372
1384
  '''
1373
1385
  result = self._values.get("mutation_type")
@@ -6446,7 +6446,7 @@ class CfnFunction(
6446
6446
  ) -> None:
6447
6447
  '''The `deployment package <https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html>`_ for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template.
6448
6448
 
6449
- Changes to a deployment package in Amazon S3 are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
6449
+ Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
6450
6450
 
6451
6451
  :param image_uri: URI of a `container image <https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html>`_ in the Amazon ECR registry.
6452
6452
  :param s3_bucket: An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account .