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

Files changed (58) hide show
  1. aws_cdk/__init__.py +60 -28
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.216.0.jsii.tgz → aws-cdk-lib@2.217.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +1 -1
  5. aws_cdk/aws_amplify/__init__.py +8 -8
  6. aws_cdk/aws_apigateway/__init__.py +26 -6
  7. aws_cdk/aws_apigatewayv2/__init__.py +2 -2
  8. aws_cdk/aws_appmesh/__init__.py +12 -12
  9. aws_cdk/aws_appstream/__init__.py +14 -4
  10. aws_cdk/aws_appsync/__init__.py +3 -3
  11. aws_cdk/aws_aps/__init__.py +459 -0
  12. aws_cdk/aws_batch/__init__.py +6 -2
  13. aws_cdk/aws_bedrock/__init__.py +132 -0
  14. aws_cdk/aws_bedrockagentcore/__init__.py +3178 -0
  15. aws_cdk/aws_certificatemanager/__init__.py +9 -10
  16. aws_cdk/aws_cleanrooms/__init__.py +163 -0
  17. aws_cdk/aws_cloudformation/__init__.py +14 -14
  18. aws_cdk/aws_cloudfront/__init__.py +12 -8
  19. aws_cdk/aws_cognito/__init__.py +2 -2
  20. aws_cdk/aws_connect/__init__.py +138 -10
  21. aws_cdk/aws_cur/__init__.py +57 -3
  22. aws_cdk/aws_datasync/__init__.py +351 -0
  23. aws_cdk/aws_datazone/__init__.py +675 -2
  24. aws_cdk/aws_dynamodb/__init__.py +123 -0
  25. aws_cdk/aws_ec2/__init__.py +55 -10
  26. aws_cdk/aws_ecs/__init__.py +55 -12
  27. aws_cdk/aws_elasticloadbalancingv2/__init__.py +48 -0
  28. aws_cdk/aws_elasticsearch/__init__.py +2 -2
  29. aws_cdk/aws_evs/__init__.py +58 -4
  30. aws_cdk/aws_gamelift/__init__.py +72 -56
  31. aws_cdk/aws_iam/__init__.py +1 -1
  32. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +35 -38
  33. aws_cdk/aws_iotsitewise/__init__.py +75 -111
  34. aws_cdk/aws_kms/__init__.py +10 -2
  35. aws_cdk/aws_lambda/__init__.py +46 -0
  36. aws_cdk/aws_medialive/__init__.py +127 -0
  37. aws_cdk/aws_mediapackage/__init__.py +2 -2
  38. aws_cdk/aws_networkfirewall/__init__.py +10 -10
  39. aws_cdk/aws_networkmanager/__init__.py +63 -0
  40. aws_cdk/aws_odb/__init__.py +2082 -195
  41. aws_cdk/aws_omics/__init__.py +1414 -171
  42. aws_cdk/aws_opensearchserverless/__init__.py +164 -21
  43. aws_cdk/aws_opensearchservice/__init__.py +5 -4
  44. aws_cdk/aws_pcs/__init__.py +9 -9
  45. aws_cdk/aws_quicksight/__init__.py +295 -3
  46. aws_cdk/aws_rds/__init__.py +338 -58
  47. aws_cdk/aws_sagemaker/__init__.py +251 -1
  48. aws_cdk/aws_servicecatalog/__init__.py +162 -154
  49. aws_cdk/aws_smsvoice/__init__.py +5218 -0
  50. aws_cdk/aws_transfer/__init__.py +13 -12
  51. aws_cdk/aws_verifiedpermissions/__init__.py +1 -1
  52. aws_cdk/aws_workspacesinstances/__init__.py +641 -2
  53. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/METADATA +1 -1
  54. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/RECORD +58 -56
  55. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/LICENSE +0 -0
  56. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/NOTICE +0 -0
  57. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/WHEEL +0 -0
  58. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/top_level.txt +0 -0
@@ -432,10 +432,10 @@ class CfnIndexProps:
432
432
  dimension=123,
433
433
  index=False,
434
434
  method=opensearchserverless.CfnIndex.MethodProperty(
435
- engine="engine",
436
435
  name="name",
437
436
 
438
437
  # the properties below are optional
438
+ engine="engine",
439
439
  parameters=opensearchserverless.CfnIndex.ParametersProperty(
440
440
  ef_construction=123,
441
441
  m=123
@@ -641,6 +641,7 @@ class CfnLifecyclePolicyProps:
641
641
  jsii_struct_bases=[],
642
642
  name_mapping={
643
643
  "description": "description",
644
+ "iam_federation_options": "iamFederationOptions",
644
645
  "iam_identity_center_options": "iamIdentityCenterOptions",
645
646
  "name": "name",
646
647
  "saml_options": "samlOptions",
@@ -652,6 +653,7 @@ class CfnSecurityConfigProps:
652
653
  self,
653
654
  *,
654
655
  description: typing.Optional[builtins.str] = None,
656
+ iam_federation_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityConfig.IamFederationConfigOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
655
657
  iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
656
658
  name: typing.Optional[builtins.str] = None,
657
659
  saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityConfig.SamlConfigOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -660,6 +662,7 @@ class CfnSecurityConfigProps:
660
662
  '''Properties for defining a ``CfnSecurityConfig``.
661
663
 
662
664
  :param description: The description of the security configuration.
665
+ :param iam_federation_options: Describes IAM federation options in the form of a key-value map. Contains configuration details about how OpenSearch Serverless integrates with external identity providers through federation.
663
666
  :param iam_identity_center_options: Describes IAM Identity Center options in the form of a key-value map.
664
667
  :param name: The name of the security configuration.
665
668
  :param saml_options: SAML options for the security configuration in the form of a key-value map.
@@ -676,6 +679,10 @@ class CfnSecurityConfigProps:
676
679
 
677
680
  cfn_security_config_props = opensearchserverless.CfnSecurityConfigProps(
678
681
  description="description",
682
+ iam_federation_options=opensearchserverless.CfnSecurityConfig.IamFederationConfigOptionsProperty(
683
+ group_attribute="groupAttribute",
684
+ user_attribute="userAttribute"
685
+ ),
679
686
  iam_identity_center_options=opensearchserverless.CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty(
680
687
  instance_arn="instanceArn",
681
688
 
@@ -702,6 +709,7 @@ class CfnSecurityConfigProps:
702
709
  if __debug__:
703
710
  type_hints = typing.get_type_hints(_typecheckingstub__83172f8fcf5e40df2e2a8ddc136c744969aad86c37d45de37b6d75f0dc154be4)
704
711
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
712
+ check_type(argname="argument iam_federation_options", value=iam_federation_options, expected_type=type_hints["iam_federation_options"])
705
713
  check_type(argname="argument iam_identity_center_options", value=iam_identity_center_options, expected_type=type_hints["iam_identity_center_options"])
706
714
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
707
715
  check_type(argname="argument saml_options", value=saml_options, expected_type=type_hints["saml_options"])
@@ -709,6 +717,8 @@ class CfnSecurityConfigProps:
709
717
  self._values: typing.Dict[builtins.str, typing.Any] = {}
710
718
  if description is not None:
711
719
  self._values["description"] = description
720
+ if iam_federation_options is not None:
721
+ self._values["iam_federation_options"] = iam_federation_options
712
722
  if iam_identity_center_options is not None:
713
723
  self._values["iam_identity_center_options"] = iam_identity_center_options
714
724
  if name is not None:
@@ -727,6 +737,19 @@ class CfnSecurityConfigProps:
727
737
  result = self._values.get("description")
728
738
  return typing.cast(typing.Optional[builtins.str], result)
729
739
 
740
+ @builtins.property
741
+ def iam_federation_options(
742
+ self,
743
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamFederationConfigOptionsProperty"]]:
744
+ '''Describes IAM federation options in the form of a key-value map.
745
+
746
+ Contains configuration details about how OpenSearch Serverless integrates with external identity providers through federation.
747
+
748
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-securityconfig.html#cfn-opensearchserverless-securityconfig-iamfederationoptions
749
+ '''
750
+ result = self._values.get("iam_federation_options")
751
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamFederationConfigOptionsProperty"]], result)
752
+
730
753
  @builtins.property
731
754
  def iam_identity_center_options(
732
755
  self,
@@ -2056,10 +2079,10 @@ class CfnIndex(
2056
2079
  dimension=123,
2057
2080
  index=False,
2058
2081
  method=opensearchserverless.CfnIndex.MethodProperty(
2059
- engine="engine",
2060
2082
  name="name",
2061
2083
 
2062
2084
  # the properties below are optional
2085
+ engine="engine",
2063
2086
  parameters=opensearchserverless.CfnIndex.ParametersProperty(
2064
2087
  ef_construction=123,
2065
2088
  m=123
@@ -2415,10 +2438,10 @@ class CfnIndex(
2415
2438
  dimension=123,
2416
2439
  index=False,
2417
2440
  method=opensearchserverless.CfnIndex.MethodProperty(
2418
- engine="engine",
2419
2441
  name="name",
2420
2442
 
2421
2443
  # the properties below are optional
2444
+ engine="engine",
2422
2445
  parameters=opensearchserverless.CfnIndex.ParametersProperty(
2423
2446
  ef_construction=123,
2424
2447
  m=123
@@ -2466,8 +2489,8 @@ class CfnIndex(
2466
2489
  jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnIndex.MethodProperty",
2467
2490
  jsii_struct_bases=[],
2468
2491
  name_mapping={
2469
- "engine": "engine",
2470
2492
  "name": "name",
2493
+ "engine": "engine",
2471
2494
  "parameters": "parameters",
2472
2495
  "space_type": "spaceType",
2473
2496
  },
@@ -2476,15 +2499,15 @@ class CfnIndex(
2476
2499
  def __init__(
2477
2500
  self,
2478
2501
  *,
2479
- engine: builtins.str,
2480
2502
  name: builtins.str,
2503
+ engine: typing.Optional[builtins.str] = None,
2481
2504
  parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIndex.ParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2482
2505
  space_type: typing.Optional[builtins.str] = None,
2483
2506
  ) -> None:
2484
2507
  '''Configuration for k-NN search method.
2485
2508
 
2486
- :param engine: The k-NN search engine to use.
2487
2509
  :param name: The algorithm name for k-NN search.
2510
+ :param engine: The k-NN search engine to use.
2488
2511
  :param parameters: Additional parameters for the k-NN algorithm.
2489
2512
  :param space_type: The distance function used for k-NN search.
2490
2513
 
@@ -2498,10 +2521,10 @@ class CfnIndex(
2498
2521
  from aws_cdk import aws_opensearchserverless as opensearchserverless
2499
2522
 
2500
2523
  method_property = opensearchserverless.CfnIndex.MethodProperty(
2501
- engine="engine",
2502
2524
  name="name",
2503
2525
 
2504
2526
  # the properties below are optional
2527
+ engine="engine",
2505
2528
  parameters=opensearchserverless.CfnIndex.ParametersProperty(
2506
2529
  ef_construction=123,
2507
2530
  m=123
@@ -2511,29 +2534,20 @@ class CfnIndex(
2511
2534
  '''
2512
2535
  if __debug__:
2513
2536
  type_hints = typing.get_type_hints(_typecheckingstub__1f32a7c2cc9cc53a405856608b840b3cd657cad90afeb4b25d6577b3e1573b35)
2514
- check_type(argname="argument engine", value=engine, expected_type=type_hints["engine"])
2515
2537
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
2538
+ check_type(argname="argument engine", value=engine, expected_type=type_hints["engine"])
2516
2539
  check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
2517
2540
  check_type(argname="argument space_type", value=space_type, expected_type=type_hints["space_type"])
2518
2541
  self._values: typing.Dict[builtins.str, typing.Any] = {
2519
- "engine": engine,
2520
2542
  "name": name,
2521
2543
  }
2544
+ if engine is not None:
2545
+ self._values["engine"] = engine
2522
2546
  if parameters is not None:
2523
2547
  self._values["parameters"] = parameters
2524
2548
  if space_type is not None:
2525
2549
  self._values["space_type"] = space_type
2526
2550
 
2527
- @builtins.property
2528
- def engine(self) -> builtins.str:
2529
- '''The k-NN search engine to use.
2530
-
2531
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-method.html#cfn-opensearchserverless-index-method-engine
2532
- '''
2533
- result = self._values.get("engine")
2534
- assert result is not None, "Required property 'engine' is missing"
2535
- return typing.cast(builtins.str, result)
2536
-
2537
2551
  @builtins.property
2538
2552
  def name(self) -> builtins.str:
2539
2553
  '''The algorithm name for k-NN search.
@@ -2544,6 +2558,15 @@ class CfnIndex(
2544
2558
  assert result is not None, "Required property 'name' is missing"
2545
2559
  return typing.cast(builtins.str, result)
2546
2560
 
2561
+ @builtins.property
2562
+ def engine(self) -> typing.Optional[builtins.str]:
2563
+ '''The k-NN search engine to use.
2564
+
2565
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-method.html#cfn-opensearchserverless-index-method-engine
2566
+ '''
2567
+ result = self._values.get("engine")
2568
+ return typing.cast(typing.Optional[builtins.str], result)
2569
+
2547
2570
  @builtins.property
2548
2571
  def parameters(
2549
2572
  self,
@@ -2695,10 +2718,10 @@ class CfnIndex(
2695
2718
  dimension=123,
2696
2719
  index=False,
2697
2720
  method=opensearchserverless.CfnIndex.MethodProperty(
2698
- engine="engine",
2699
2721
  name="name",
2700
2722
 
2701
2723
  # the properties below are optional
2724
+ engine="engine",
2702
2725
  parameters=opensearchserverless.CfnIndex.ParametersProperty(
2703
2726
  ef_construction=123,
2704
2727
  m=123
@@ -2982,6 +3005,10 @@ class CfnSecurityConfig(
2982
3005
 
2983
3006
  cfn_security_config = opensearchserverless.CfnSecurityConfig(self, "MyCfnSecurityConfig",
2984
3007
  description="description",
3008
+ iam_federation_options=opensearchserverless.CfnSecurityConfig.IamFederationConfigOptionsProperty(
3009
+ group_attribute="groupAttribute",
3010
+ user_attribute="userAttribute"
3011
+ ),
2985
3012
  iam_identity_center_options=opensearchserverless.CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty(
2986
3013
  instance_arn="instanceArn",
2987
3014
 
@@ -3012,6 +3039,7 @@ class CfnSecurityConfig(
3012
3039
  id: builtins.str,
3013
3040
  *,
3014
3041
  description: typing.Optional[builtins.str] = None,
3042
+ iam_federation_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityConfig.IamFederationConfigOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3015
3043
  iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3016
3044
  name: typing.Optional[builtins.str] = None,
3017
3045
  saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityConfig.SamlConfigOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -3021,6 +3049,7 @@ class CfnSecurityConfig(
3021
3049
  :param scope: Scope in which this resource is defined.
3022
3050
  :param id: Construct identifier for this resource (unique in its scope).
3023
3051
  :param description: The description of the security configuration.
3052
+ :param iam_federation_options: Describes IAM federation options in the form of a key-value map. Contains configuration details about how OpenSearch Serverless integrates with external identity providers through federation.
3024
3053
  :param iam_identity_center_options: Describes IAM Identity Center options in the form of a key-value map.
3025
3054
  :param name: The name of the security configuration.
3026
3055
  :param saml_options: SAML options for the security configuration in the form of a key-value map.
@@ -3032,6 +3061,7 @@ class CfnSecurityConfig(
3032
3061
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3033
3062
  props = CfnSecurityConfigProps(
3034
3063
  description=description,
3064
+ iam_federation_options=iam_federation_options,
3035
3065
  iam_identity_center_options=iam_identity_center_options,
3036
3066
  name=name,
3037
3067
  saml_options=saml_options,
@@ -3132,6 +3162,24 @@ class CfnSecurityConfig(
3132
3162
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3133
3163
  jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
3134
3164
 
3165
+ @builtins.property
3166
+ @jsii.member(jsii_name="iamFederationOptions")
3167
+ def iam_federation_options(
3168
+ self,
3169
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamFederationConfigOptionsProperty"]]:
3170
+ '''Describes IAM federation options in the form of a key-value map.'''
3171
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamFederationConfigOptionsProperty"]], jsii.get(self, "iamFederationOptions"))
3172
+
3173
+ @iam_federation_options.setter
3174
+ def iam_federation_options(
3175
+ self,
3176
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamFederationConfigOptionsProperty"]],
3177
+ ) -> None:
3178
+ if __debug__:
3179
+ type_hints = typing.get_type_hints(_typecheckingstub__ccfa7fa0cc51cc5944f3e224a02320990df0f8ebafce43a7009528585ae23975)
3180
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3181
+ jsii.set(self, "iamFederationOptions", value) # pyright: ignore[reportArgumentType]
3182
+
3135
3183
  @builtins.property
3136
3184
  @jsii.member(jsii_name="iamIdentityCenterOptions")
3137
3185
  def iam_identity_center_options(
@@ -3194,6 +3242,85 @@ class CfnSecurityConfig(
3194
3242
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3195
3243
  jsii.set(self, "type", value) # pyright: ignore[reportArgumentType]
3196
3244
 
3245
+ @jsii.data_type(
3246
+ jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnSecurityConfig.IamFederationConfigOptionsProperty",
3247
+ jsii_struct_bases=[],
3248
+ name_mapping={
3249
+ "group_attribute": "groupAttribute",
3250
+ "user_attribute": "userAttribute",
3251
+ },
3252
+ )
3253
+ class IamFederationConfigOptionsProperty:
3254
+ def __init__(
3255
+ self,
3256
+ *,
3257
+ group_attribute: typing.Optional[builtins.str] = None,
3258
+ user_attribute: typing.Optional[builtins.str] = None,
3259
+ ) -> None:
3260
+ '''Describes IAM federation options for an OpenSearch Serverless security configuration in the form of a key-value map.
3261
+
3262
+ These options define how OpenSearch Serverless integrates with external identity providers using federation.
3263
+
3264
+ :param group_attribute: The group attribute for this IAM federation integration. This attribute is used to map identity provider groups to OpenSearch Serverless permissions.
3265
+ :param user_attribute: The user attribute for this IAM federation integration. This attribute is used to identify users in the federated authentication process.
3266
+
3267
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamfederationconfigoptions.html
3268
+ :exampleMetadata: fixture=_generated
3269
+
3270
+ Example::
3271
+
3272
+ # The code below shows an example of how to instantiate this type.
3273
+ # The values are placeholders you should change.
3274
+ from aws_cdk import aws_opensearchserverless as opensearchserverless
3275
+
3276
+ iam_federation_config_options_property = opensearchserverless.CfnSecurityConfig.IamFederationConfigOptionsProperty(
3277
+ group_attribute="groupAttribute",
3278
+ user_attribute="userAttribute"
3279
+ )
3280
+ '''
3281
+ if __debug__:
3282
+ type_hints = typing.get_type_hints(_typecheckingstub__ce8f26dda3a935772ecc5546e8017fcfdc1c87fe45685294d9860d147cf53040)
3283
+ check_type(argname="argument group_attribute", value=group_attribute, expected_type=type_hints["group_attribute"])
3284
+ check_type(argname="argument user_attribute", value=user_attribute, expected_type=type_hints["user_attribute"])
3285
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
3286
+ if group_attribute is not None:
3287
+ self._values["group_attribute"] = group_attribute
3288
+ if user_attribute is not None:
3289
+ self._values["user_attribute"] = user_attribute
3290
+
3291
+ @builtins.property
3292
+ def group_attribute(self) -> typing.Optional[builtins.str]:
3293
+ '''The group attribute for this IAM federation integration.
3294
+
3295
+ This attribute is used to map identity provider groups to OpenSearch Serverless permissions.
3296
+
3297
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamfederationconfigoptions.html#cfn-opensearchserverless-securityconfig-iamfederationconfigoptions-groupattribute
3298
+ '''
3299
+ result = self._values.get("group_attribute")
3300
+ return typing.cast(typing.Optional[builtins.str], result)
3301
+
3302
+ @builtins.property
3303
+ def user_attribute(self) -> typing.Optional[builtins.str]:
3304
+ '''The user attribute for this IAM federation integration.
3305
+
3306
+ This attribute is used to identify users in the federated authentication process.
3307
+
3308
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamfederationconfigoptions.html#cfn-opensearchserverless-securityconfig-iamfederationconfigoptions-userattribute
3309
+ '''
3310
+ result = self._values.get("user_attribute")
3311
+ return typing.cast(typing.Optional[builtins.str], result)
3312
+
3313
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3314
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3315
+
3316
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3317
+ return not (rhs == self)
3318
+
3319
+ def __repr__(self) -> str:
3320
+ return "IamFederationConfigOptionsProperty(%s)" % ", ".join(
3321
+ k + "=" + repr(v) for k, v in self._values.items()
3322
+ )
3323
+
3197
3324
  @jsii.data_type(
3198
3325
  jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty",
3199
3326
  jsii_struct_bases=[],
@@ -3873,6 +4000,7 @@ def _typecheckingstub__e73912f69bcf372f36058fe91d3360e53142205e8eb7f06190c7963ad
3873
4000
  def _typecheckingstub__83172f8fcf5e40df2e2a8ddc136c744969aad86c37d45de37b6d75f0dc154be4(
3874
4001
  *,
3875
4002
  description: typing.Optional[builtins.str] = None,
4003
+ iam_federation_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.IamFederationConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3876
4004
  iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3877
4005
  name: typing.Optional[builtins.str] = None,
3878
4006
  saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.SamlConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -4123,8 +4251,8 @@ def _typecheckingstub__a5bb392b8c065f198a0fe7fd6e0fa2156f493990b76e0fee04edb9297
4123
4251
 
4124
4252
  def _typecheckingstub__1f32a7c2cc9cc53a405856608b840b3cd657cad90afeb4b25d6577b3e1573b35(
4125
4253
  *,
4126
- engine: builtins.str,
4127
4254
  name: builtins.str,
4255
+ engine: typing.Optional[builtins.str] = None,
4128
4256
  parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIndex.ParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4129
4257
  space_type: typing.Optional[builtins.str] = None,
4130
4258
  ) -> None:
@@ -4204,6 +4332,7 @@ def _typecheckingstub__ed9d460597a09f666d8e08c01fd366ec5026a44848df01fe64ec8aa93
4204
4332
  id: builtins.str,
4205
4333
  *,
4206
4334
  description: typing.Optional[builtins.str] = None,
4335
+ iam_federation_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.IamFederationConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4207
4336
  iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4208
4337
  name: typing.Optional[builtins.str] = None,
4209
4338
  saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.SamlConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -4230,6 +4359,12 @@ def _typecheckingstub__a7b44e920b0f0e4d138dcb200c4536168d3965f24eed3226a4574e927
4230
4359
  """Type checking stubs"""
4231
4360
  pass
4232
4361
 
4362
+ def _typecheckingstub__ccfa7fa0cc51cc5944f3e224a02320990df0f8ebafce43a7009528585ae23975(
4363
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSecurityConfig.IamFederationConfigOptionsProperty]],
4364
+ ) -> None:
4365
+ """Type checking stubs"""
4366
+ pass
4367
+
4233
4368
  def _typecheckingstub__1158fc0f587cad32843a157af521fc2d669a0bc1f7c84c5e1dcd753237a9ca9a(
4234
4369
  value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty]],
4235
4370
  ) -> None:
@@ -4254,6 +4389,14 @@ def _typecheckingstub__80701c5b69899d2a5416bba637f7adf26445dcef6c813c58399037cc3
4254
4389
  """Type checking stubs"""
4255
4390
  pass
4256
4391
 
4392
+ def _typecheckingstub__ce8f26dda3a935772ecc5546e8017fcfdc1c87fe45685294d9860d147cf53040(
4393
+ *,
4394
+ group_attribute: typing.Optional[builtins.str] = None,
4395
+ user_attribute: typing.Optional[builtins.str] = None,
4396
+ ) -> None:
4397
+ """Type checking stubs"""
4398
+ pass
4399
+
4257
4400
  def _typecheckingstub__7013bb6fc78d2c057c35211835fafe79d7d06fc41bdb98c07e46a37fd20caff9(
4258
4401
  *,
4259
4402
  instance_arn: builtins.str,
@@ -6899,7 +6899,7 @@ class CfnDomain(
6899
6899
  :param anonymous_auth_disable_date: Date and time when the migration period will be disabled. Only necessary when `enabling fine-grained access control on an existing domain <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing>`_ .
6900
6900
  :param anonymous_auth_enabled: True to enable a 30-day migration period during which administrators can create role mappings. Only necessary when `enabling fine-grained access control on an existing domain <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing>`_ .
6901
6901
  :param enabled: True to enable fine-grained access control. You must also enable encryption of data at rest and node-to-node encryption. See `Fine-grained access control in Amazon OpenSearch Service <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html>`_ .
6902
- :param iam_federation_options:
6902
+ :param iam_federation_options: Input configuration for IAM identity federation within advanced security options.
6903
6903
  :param internal_user_database_enabled: True to enable the internal user database.
6904
6904
  :param jwt_options: Container for information about the JWT configuration of the Amazon OpenSearch Service.
6905
6905
  :param master_user_options: Specifies information about the master user.
@@ -7018,7 +7018,8 @@ class CfnDomain(
7018
7018
  def iam_federation_options(
7019
7019
  self,
7020
7020
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.IAMFederationOptionsProperty"]]:
7021
- '''
7021
+ '''Input configuration for IAM identity federation within advanced security options.
7022
+
7022
7023
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html#cfn-opensearchservice-domain-advancedsecurityoptionsinput-iamfederationoptions
7023
7024
  '''
7024
7025
  result = self._values.get("iam_federation_options")
@@ -7567,7 +7568,7 @@ class CfnDomain(
7567
7568
  '''Specifies additional options for the domain endpoint, such as whether to require HTTPS for all traffic or whether to use a custom endpoint rather than the default endpoint.
7568
7569
 
7569
7570
  :param custom_endpoint: The fully qualified URL for your custom endpoint. Required if you enabled a custom endpoint for the domain.
7570
- :param custom_endpoint_certificate_arn: The AWS Certificate Manager ARN for your domain's SSL/TLS certificate. Required if you enabled a custom endpoint for the domain.
7571
+ :param custom_endpoint_certificate_arn: The Certificate Manager ARN for your domain's SSL/TLS certificate. Required if you enabled a custom endpoint for the domain.
7571
7572
  :param custom_endpoint_enabled: True to enable a custom endpoint for the domain. If enabled, you must also provide values for ``CustomEndpoint`` and ``CustomEndpointCertificateArn`` .
7572
7573
  :param enforce_https: True to require that all traffic to the domain arrive over HTTPS. Required if you enable fine-grained access control in `AdvancedSecurityOptions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html>`_ .
7573
7574
  :param tls_security_policy: The minimum TLS version required for traffic to the domain. The policy can be one of the following values:. - *Policy-Min-TLS-1-0-2019-07:* TLS security policy that supports TLS version 1.0 to TLS version 1.2 - *Policy-Min-TLS-1-2-2019-07:* TLS security policy that supports only TLS version 1.2 - *Policy-Min-TLS-1-2-PFS-2023-10:* TLS security policy that supports TLS version 1.2 to TLS version 1.3 with perfect forward secrecy cipher suites
@@ -7621,7 +7622,7 @@ class CfnDomain(
7621
7622
 
7622
7623
  @builtins.property
7623
7624
  def custom_endpoint_certificate_arn(self) -> typing.Optional[builtins.str]:
7624
- '''The AWS Certificate Manager ARN for your domain's SSL/TLS certificate.
7625
+ '''The Certificate Manager ARN for your domain's SSL/TLS certificate.
7625
7626
 
7626
7627
  Required if you enabled a custom endpoint for the domain.
7627
7628
 
@@ -296,7 +296,7 @@ class CfnComputeNodeGroupProps:
296
296
  :param cluster_id: The ID of the cluster of the compute node group.
297
297
  :param custom_launch_template: An Amazon EC2 launch template AWS PCS uses to launch compute nodes.
298
298
  :param iam_instance_profile_arn: The Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM role when launching EC2 instances. The role contained in your instance profile must have the ``pcs:RegisterComputeNodeGroupInstance`` permission and the role name must start with ``AWSPCS`` or must have the path ``/aws-pcs/`` . For more information, see `IAM instance profiles for AWS PCS <https://docs.aws.amazon.com//pcs/latest/userguide/security-instance-profiles.html>`_ in the *AWS PCS User Guide* .
299
- :param instance_configs: A list of EC2 instance configurations that AWS AWS PCS can provision in the compute node group.
299
+ :param instance_configs: A list of EC2 instance configurations that AWS PCS can provision in the compute node group.
300
300
  :param scaling_configuration: Specifies the boundaries of the compute node group auto scaling.
301
301
  :param subnet_ids: The list of subnet IDs where instances are provisioned by the compute node group. The subnets must be in the same VPC as the cluster.
302
302
  :param ami_id: The ID of the Amazon Machine Image (AMI) that AWS PCS uses to launch instances. If not provided, AWS PCS uses the AMI ID specified in the custom launch template.
@@ -424,7 +424,7 @@ class CfnComputeNodeGroupProps:
424
424
  def instance_configs(
425
425
  self,
426
426
  ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnComputeNodeGroup.InstanceConfigProperty"]]]:
427
- '''A list of EC2 instance configurations that AWS AWS PCS can provision in the compute node group.
427
+ '''A list of EC2 instance configurations that AWS PCS can provision in the compute node group.
428
428
 
429
429
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-computenodegroup.html#cfn-pcs-computenodegroup-instanceconfigs
430
430
  '''
@@ -1307,7 +1307,7 @@ class CfnCluster(
1307
1307
  ) -> None:
1308
1308
  '''The shared Slurm key for authentication, also known as the *cluster secret* .
1309
1309
 
1310
- :param secret_arn: The Amazon Resource Name (ARN) of the the shared Slurm key.
1310
+ :param secret_arn: The Amazon Resource Name (ARN) of the shared Slurm key.
1311
1311
  :param secret_version: The version of the shared Slurm key.
1312
1312
 
1313
1313
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-authkey.html
@@ -1335,7 +1335,7 @@ class CfnCluster(
1335
1335
 
1336
1336
  @builtins.property
1337
1337
  def secret_arn(self) -> builtins.str:
1338
- '''The Amazon Resource Name (ARN) of the the shared Slurm key.
1338
+ '''The Amazon Resource Name (ARN) of the shared Slurm key.
1339
1339
 
1340
1340
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-authkey.html#cfn-pcs-cluster-authkey-secretarn
1341
1341
  '''
@@ -2042,7 +2042,7 @@ class CfnComputeNodeGroup(
2042
2042
  :param cluster_id: The ID of the cluster of the compute node group.
2043
2043
  :param custom_launch_template: An Amazon EC2 launch template AWS PCS uses to launch compute nodes.
2044
2044
  :param iam_instance_profile_arn: The Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM role when launching EC2 instances. The role contained in your instance profile must have the ``pcs:RegisterComputeNodeGroupInstance`` permission and the role name must start with ``AWSPCS`` or must have the path ``/aws-pcs/`` . For more information, see `IAM instance profiles for AWS PCS <https://docs.aws.amazon.com//pcs/latest/userguide/security-instance-profiles.html>`_ in the *AWS PCS User Guide* .
2045
- :param instance_configs: A list of EC2 instance configurations that AWS AWS PCS can provision in the compute node group.
2045
+ :param instance_configs: A list of EC2 instance configurations that AWS PCS can provision in the compute node group.
2046
2046
  :param scaling_configuration: Specifies the boundaries of the compute node group auto scaling.
2047
2047
  :param subnet_ids: The list of subnet IDs where instances are provisioned by the compute node group. The subnets must be in the same VPC as the cluster.
2048
2048
  :param ami_id: The ID of the Amazon Machine Image (AMI) that AWS PCS uses to launch instances. If not provided, AWS PCS uses the AMI ID specified in the custom launch template.
@@ -2209,7 +2209,7 @@ class CfnComputeNodeGroup(
2209
2209
  def instance_configs(
2210
2210
  self,
2211
2211
  ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnComputeNodeGroup.InstanceConfigProperty"]]]:
2212
- '''A list of EC2 instance configurations that AWS AWS PCS can provision in the compute node group.'''
2212
+ '''A list of EC2 instance configurations that AWS PCS can provision in the compute node group.'''
2213
2213
  return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnComputeNodeGroup.InstanceConfigProperty"]]], jsii.get(self, "instanceConfigs"))
2214
2214
 
2215
2215
  @instance_configs.setter
@@ -2779,7 +2779,7 @@ class CfnComputeNodeGroup(
2779
2779
  ) -> None:
2780
2780
  '''Additional configuration when you specify ``SPOT`` as the ``purchaseOption`` for the ``CreateComputeNodeGroup`` API action.
2781
2781
 
2782
- :param allocation_strategy: The Amazon EC2 allocation strategy AWS AWS PCS uses to provision EC2 instances. AWS AWS PCS supports *lowest price* , *capacity optimized* , and *price capacity optimized* . For more information, see `Use allocation strategies to determine how EC2 Fleet or Spot Fleet fulfills Spot and On-Demand capacity <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html>`_ in the *Amazon Elastic Compute Cloud User Guide* . If you don't provide this option, it defaults to *price capacity optimized* .
2782
+ :param allocation_strategy: The Amazon EC2 allocation strategy AWS PCS uses to provision EC2 instances. AWS PCS supports *lowest price* , *capacity optimized* , and *price capacity optimized* . For more information, see `Use allocation strategies to determine how EC2 Fleet or Spot Fleet fulfills Spot and On-Demand capacity <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html>`_ in the *Amazon Elastic Compute Cloud User Guide* . If you don't provide this option, it defaults to *price capacity optimized* .
2783
2783
 
2784
2784
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-spotoptions.html
2785
2785
  :exampleMetadata: fixture=_generated
@@ -2803,9 +2803,9 @@ class CfnComputeNodeGroup(
2803
2803
 
2804
2804
  @builtins.property
2805
2805
  def allocation_strategy(self) -> typing.Optional[builtins.str]:
2806
- '''The Amazon EC2 allocation strategy AWS AWS PCS uses to provision EC2 instances.
2806
+ '''The Amazon EC2 allocation strategy AWS PCS uses to provision EC2 instances.
2807
2807
 
2808
- AWS AWS PCS supports *lowest price* , *capacity optimized* , and *price capacity optimized* . For more information, see `Use allocation strategies to determine how EC2 Fleet or Spot Fleet fulfills Spot and On-Demand capacity <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html>`_ in the *Amazon Elastic Compute Cloud User Guide* . If you don't provide this option, it defaults to *price capacity optimized* .
2808
+ AWS PCS supports *lowest price* , *capacity optimized* , and *price capacity optimized* . For more information, see `Use allocation strategies to determine how EC2 Fleet or Spot Fleet fulfills Spot and On-Demand capacity <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html>`_ in the *Amazon Elastic Compute Cloud User Guide* . If you don't provide this option, it defaults to *price capacity optimized* .
2809
2809
 
2810
2810
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-spotoptions.html#cfn-pcs-computenodegroup-spotoptions-allocationstrategy
2811
2811
  '''