aws-cdk-lib 2.185.0__py3-none-any.whl → 2.187.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 +383 -145
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.185.0.jsii.tgz → aws-cdk-lib@2.187.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -2
- aws_cdk/aws_amplify/__init__.py +124 -0
- aws_cdk/aws_apigateway/__init__.py +48 -2
- aws_cdk/aws_apigatewayv2/__init__.py +9 -0
- aws_cdk/aws_appconfig/__init__.py +3 -3
- aws_cdk/aws_applicationsignals/__init__.py +363 -3
- aws_cdk/aws_appsync/__init__.py +74 -3
- aws_cdk/aws_bedrock/__init__.py +395 -14
- aws_cdk/aws_cassandra/__init__.py +2 -2
- aws_cdk/aws_cleanrooms/__init__.py +21 -9
- aws_cdk/aws_cloudformation/__init__.py +1 -5
- aws_cdk/aws_cloudfront/__init__.py +15 -1
- aws_cdk/aws_cloudfront_origins/__init__.py +4 -2
- aws_cdk/aws_cloudtrail/__init__.py +4 -18
- aws_cdk/aws_cloudwatch/__init__.py +50 -50
- aws_cdk/aws_codeartifact/__init__.py +20 -33
- aws_cdk/aws_codebuild/__init__.py +9 -0
- aws_cdk/aws_codepipeline/__init__.py +1328 -120
- aws_cdk/aws_cognito/__init__.py +1 -1
- aws_cdk/aws_cognito_identitypool/__init__.py +2303 -0
- aws_cdk/aws_config/__init__.py +2 -5
- aws_cdk/aws_connect/__init__.py +3 -7
- aws_cdk/aws_controltower/__init__.py +18 -26
- aws_cdk/aws_datazone/__init__.py +3540 -10
- aws_cdk/aws_detective/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +37 -0
- aws_cdk/aws_ec2/__init__.py +714 -37
- aws_cdk/aws_ecr/__init__.py +143 -0
- aws_cdk/aws_ecr_assets/__init__.py +115 -4
- aws_cdk/aws_ecs/__init__.py +66 -20
- aws_cdk/aws_eks/__init__.py +114 -0
- aws_cdk/aws_events/__init__.py +26 -6
- aws_cdk/aws_forecast/__init__.py +1 -1
- aws_cdk/aws_fsx/__init__.py +2 -2
- aws_cdk/aws_gamelift/__init__.py +11 -11
- aws_cdk/aws_iam/__init__.py +264 -0
- aws_cdk/aws_identitystore/__init__.py +16 -16
- aws_cdk/aws_imagebuilder/__init__.py +3 -27
- aws_cdk/aws_iotsitewise/__init__.py +623 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +2 -3
- aws_cdk/aws_kms/__init__.py +10 -11
- aws_cdk/aws_lakeformation/__init__.py +3 -3
- aws_cdk/aws_lambda/__init__.py +112 -5
- aws_cdk/aws_lambda_event_sources/__init__.py +65 -3
- aws_cdk/aws_lambda_nodejs/__init__.py +5 -24
- aws_cdk/aws_lex/__init__.py +981 -5
- aws_cdk/aws_location/__init__.py +24 -7
- aws_cdk/aws_mediaconnect/__init__.py +714 -290
- aws_cdk/aws_msk/__init__.py +8 -2
- aws_cdk/aws_mwaa/__init__.py +9 -9
- aws_cdk/aws_networkfirewall/__init__.py +60 -12
- aws_cdk/aws_oam/__init__.py +8 -37
- aws_cdk/aws_omics/__init__.py +216 -0
- aws_cdk/aws_quicksight/__init__.py +250 -108
- aws_cdk/aws_rds/__init__.py +102 -10
- aws_cdk/aws_redshiftserverless/__init__.py +192 -15
- aws_cdk/aws_route53/__init__.py +2 -2
- aws_cdk/aws_route53recoverycontrol/__init__.py +43 -2
- aws_cdk/aws_rum/__init__.py +315 -52
- aws_cdk/aws_s3_assets/__init__.py +70 -1
- aws_cdk/aws_s3_deployment/__init__.py +4 -0
- aws_cdk/aws_sagemaker/__init__.py +6 -4
- aws_cdk/aws_scheduler/__init__.py +3944 -121
- aws_cdk/aws_scheduler_targets/__init__.py +4460 -0
- aws_cdk/aws_securitylake/__init__.py +2 -2
- aws_cdk/aws_servicecatalog/__init__.py +4 -0
- aws_cdk/aws_sns/__init__.py +1 -1
- aws_cdk/aws_ssmquicksetup/__init__.py +5 -3
- aws_cdk/aws_stepfunctions/__init__.py +8 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -0
- aws_cdk/aws_synthetics/__init__.py +9 -0
- aws_cdk/aws_systemsmanagersap/__init__.py +150 -0
- aws_cdk/aws_timestream/__init__.py +4 -4
- aws_cdk/aws_wafv2/__init__.py +1117 -1446
- aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
- aws_cdk/cloud_assembly_schema/__init__.py +60 -10
- aws_cdk/cx_api/__init__.py +38 -0
- aws_cdk/pipelines/__init__.py +20 -2
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/METADATA +4 -4
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/RECORD +87 -85
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_gamelift/__init__.py
CHANGED
|
@@ -478,7 +478,7 @@ class CfnBuild(
|
|
|
478
478
|
:param scope: Scope in which this resource is defined.
|
|
479
479
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
480
480
|
:param name: A descriptive label that is associated with a build. Build names do not need to be unique.
|
|
481
|
-
:param operating_system: The operating system that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/
|
|
481
|
+
:param operating_system: The operating system that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use server SDK version 4.x for Amazon GameLift Servers, first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
482
482
|
:param server_sdk_version: A server SDK version you used when integrating your game server build with Amazon GameLift Servers. For more information see `Integrate games with custom game servers <https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-custom-intro.html>`_ . By default Amazon GameLift Servers sets this value to ``4.0.2`` .
|
|
483
483
|
:param storage_location: Information indicating where your game build files are stored. Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift Servers to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region. If a ``StorageLocation`` is specified, the size of your file can be found in your Amazon S3 bucket. Amazon GameLift Servers will report a ``SizeOnDisk`` of 0.
|
|
484
484
|
:param version: Version information that is associated with this build. Version strings do not need to be unique.
|
|
@@ -750,7 +750,7 @@ class CfnBuildProps:
|
|
|
750
750
|
'''Properties for defining a ``CfnBuild``.
|
|
751
751
|
|
|
752
752
|
:param name: A descriptive label that is associated with a build. Build names do not need to be unique.
|
|
753
|
-
:param operating_system: The operating system that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/
|
|
753
|
+
:param operating_system: The operating system that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use server SDK version 4.x for Amazon GameLift Servers, first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
754
754
|
:param server_sdk_version: A server SDK version you used when integrating your game server build with Amazon GameLift Servers. For more information see `Integrate games with custom game servers <https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-custom-intro.html>`_ . By default Amazon GameLift Servers sets this value to ``4.0.2`` .
|
|
755
755
|
:param storage_location: Information indicating where your game build files are stored. Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift Servers to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region. If a ``StorageLocation`` is specified, the size of your file can be found in your Amazon S3 bucket. Amazon GameLift Servers will report a ``SizeOnDisk`` of 0.
|
|
756
756
|
:param version: Version information that is associated with this build. Version strings do not need to be unique.
|
|
@@ -816,7 +816,7 @@ class CfnBuildProps:
|
|
|
816
816
|
This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later.
|
|
817
817
|
.. epigraph::
|
|
818
818
|
|
|
819
|
-
Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/
|
|
819
|
+
Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use server SDK version 4.x for Amazon GameLift Servers, first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
820
820
|
|
|
821
821
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html#cfn-gamelift-build-operatingsystem
|
|
822
822
|
'''
|
|
@@ -2928,7 +2928,7 @@ class CfnContainerGroupDefinition(
|
|
|
2928
2928
|
:param scope: Scope in which this resource is defined.
|
|
2929
2929
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2930
2930
|
:param name: A descriptive identifier for the container group definition. The name value is unique in an AWS Region.
|
|
2931
|
-
:param operating_system: The platform that all containers in the container group definition run on. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/
|
|
2931
|
+
:param operating_system: The platform that all containers in the container group definition run on. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use server SDK version 4.x for Amazon GameLift Servers, first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
2932
2932
|
:param total_memory_limit_mebibytes: The amount of memory (in MiB) on a fleet instance to allocate for the container group. All containers in the group share these resources. You can set a limit for each container definition in the group. If individual containers have limits, this total value must be greater than any individual container's memory limit.
|
|
2933
2933
|
:param total_vcpu_limit: The amount of vCPU units on a fleet instance to allocate for the container group (1 vCPU is equal to 1024 CPU units). All containers in the group share these resources. You can set a limit for each container definition in the group. If individual containers have limits, this total value must be equal to or greater than the sum of the limits for each container in the group.
|
|
2934
2934
|
:param container_group_type: The type of container group. Container group type determines how Amazon GameLift Servers deploys the container group on each fleet instance.
|
|
@@ -4278,7 +4278,7 @@ class CfnContainerGroupDefinitionProps:
|
|
|
4278
4278
|
'''Properties for defining a ``CfnContainerGroupDefinition``.
|
|
4279
4279
|
|
|
4280
4280
|
:param name: A descriptive identifier for the container group definition. The name value is unique in an AWS Region.
|
|
4281
|
-
:param operating_system: The platform that all containers in the container group definition run on. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/
|
|
4281
|
+
:param operating_system: The platform that all containers in the container group definition run on. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use server SDK version 4.x for Amazon GameLift Servers, first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
4282
4282
|
:param total_memory_limit_mebibytes: The amount of memory (in MiB) on a fleet instance to allocate for the container group. All containers in the group share these resources. You can set a limit for each container definition in the group. If individual containers have limits, this total value must be greater than any individual container's memory limit.
|
|
4283
4283
|
:param total_vcpu_limit: The amount of vCPU units on a fleet instance to allocate for the container group (1 vCPU is equal to 1024 CPU units). All containers in the group share these resources. You can set a limit for each container definition in the group. If individual containers have limits, this total value must be equal to or greater than the sum of the limits for each container in the group.
|
|
4284
4284
|
:param container_group_type: The type of container group. Container group type determines how Amazon GameLift Servers deploys the container group on each fleet instance.
|
|
@@ -4433,7 +4433,7 @@ class CfnContainerGroupDefinitionProps:
|
|
|
4433
4433
|
|
|
4434
4434
|
.. epigraph::
|
|
4435
4435
|
|
|
4436
|
-
Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/
|
|
4436
|
+
Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use server SDK version 4.x for Amazon GameLift Servers, first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
4437
4437
|
|
|
4438
4438
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-operatingsystem
|
|
4439
4439
|
'''
|
|
@@ -7897,7 +7897,7 @@ class CfnGameSessionQueue(
|
|
|
7897
7897
|
:param player_latency_policies: A set of policies that enforce a sliding cap on player latency when processing game sessions placement requests. Use multiple policies to gradually relax the cap over time if Amazon GameLift Servers can't make a placement. Policies are evaluated in order starting with the lowest maximum latency value.
|
|
7898
7898
|
:param priority_configuration: Custom settings to use when prioritizing destinations and locations for game session placements. This configuration replaces the FleetIQ default prioritization process. Priority types that are not explicitly named will be automatically applied at the end of the prioritization process.
|
|
7899
7899
|
:param tags: A list of labels to assign to the new game session queue resource. Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management and cost allocation. For more information, see `Tagging AWS Resources <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html>`_ in the *AWS General Reference* . Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
|
|
7900
|
-
:param timeout_in_seconds: The maximum time, in seconds, that a new game session placement request remains in the queue. When a request exceeds this time, the game session placement changes to a ``TIMED_OUT`` status.
|
|
7900
|
+
:param timeout_in_seconds: The maximum time, in seconds, that a new game session placement request remains in the queue. When a request exceeds this time, the game session placement changes to a ``TIMED_OUT`` status. If you don't specify a request timeout, the queue uses a default value.
|
|
7901
7901
|
'''
|
|
7902
7902
|
if __debug__:
|
|
7903
7903
|
type_hints = typing.get_type_hints(_typecheckingstub__2435e37790a5987d49478948c0c1ac36c9e463fa29441c46ba0aa4d567f2c585)
|
|
@@ -8390,7 +8390,7 @@ class CfnGameSessionQueue(
|
|
|
8390
8390
|
Changing the priority order will affect how game sessions are placed.
|
|
8391
8391
|
|
|
8392
8392
|
:param location_order: The prioritization order to use for fleet locations, when the ``PriorityOrder`` property includes ``LOCATION`` . Locations can include AWS Region codes (such as ``us-west-2`` ), local zones, and custom locations (for Anywhere fleets). Each location must be listed only once. For details, see `Amazon GameLift Servers service locations. <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html>`_
|
|
8393
|
-
:param priority_order: A custom sequence to use when prioritizing where to place new game sessions. Each priority type is listed once. - ``LATENCY`` -- Amazon GameLift Servers prioritizes locations where the average player latency is lowest. Player latency data is provided in each game session placement request. - ``COST`` -- Amazon GameLift Servers prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand)
|
|
8393
|
+
:param priority_order: A custom sequence to use when prioritizing where to place new game sessions. Each priority type is listed once. - ``LATENCY`` -- Amazon GameLift Servers prioritizes locations where the average player latency is lowest. Player latency data is provided in each game session placement request. - ``COST`` -- Amazon GameLift Servers prioritizes queue destinations with the lowest current hosting costs. Cost is evaluated based on the destination's location, instance type, and fleet type (Spot or On-Demand). - ``DESTINATION`` -- Amazon GameLift Servers prioritizes based on the list order of destinations in the queue configuration. - ``LOCATION`` -- Amazon GameLift Servers prioritizes based on the provided order of locations, as defined in ``LocationOrder`` .
|
|
8394
8394
|
|
|
8395
8395
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gamesessionqueue-priorityconfiguration.html
|
|
8396
8396
|
:exampleMetadata: fixture=_generated
|
|
@@ -8432,7 +8432,7 @@ class CfnGameSessionQueue(
|
|
|
8432
8432
|
'''A custom sequence to use when prioritizing where to place new game sessions. Each priority type is listed once.
|
|
8433
8433
|
|
|
8434
8434
|
- ``LATENCY`` -- Amazon GameLift Servers prioritizes locations where the average player latency is lowest. Player latency data is provided in each game session placement request.
|
|
8435
|
-
- ``COST`` -- Amazon GameLift Servers prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand)
|
|
8435
|
+
- ``COST`` -- Amazon GameLift Servers prioritizes queue destinations with the lowest current hosting costs. Cost is evaluated based on the destination's location, instance type, and fleet type (Spot or On-Demand).
|
|
8436
8436
|
- ``DESTINATION`` -- Amazon GameLift Servers prioritizes based on the list order of destinations in the queue configuration.
|
|
8437
8437
|
- ``LOCATION`` -- Amazon GameLift Servers prioritizes based on the provided order of locations, as defined in ``LocationOrder`` .
|
|
8438
8438
|
|
|
@@ -8492,7 +8492,7 @@ class CfnGameSessionQueueProps:
|
|
|
8492
8492
|
:param player_latency_policies: A set of policies that enforce a sliding cap on player latency when processing game sessions placement requests. Use multiple policies to gradually relax the cap over time if Amazon GameLift Servers can't make a placement. Policies are evaluated in order starting with the lowest maximum latency value.
|
|
8493
8493
|
:param priority_configuration: Custom settings to use when prioritizing destinations and locations for game session placements. This configuration replaces the FleetIQ default prioritization process. Priority types that are not explicitly named will be automatically applied at the end of the prioritization process.
|
|
8494
8494
|
:param tags: A list of labels to assign to the new game session queue resource. Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management and cost allocation. For more information, see `Tagging AWS Resources <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html>`_ in the *AWS General Reference* . Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
|
|
8495
|
-
:param timeout_in_seconds: The maximum time, in seconds, that a new game session placement request remains in the queue. When a request exceeds this time, the game session placement changes to a ``TIMED_OUT`` status.
|
|
8495
|
+
:param timeout_in_seconds: The maximum time, in seconds, that a new game session placement request remains in the queue. When a request exceeds this time, the game session placement changes to a ``TIMED_OUT`` status. If you don't specify a request timeout, the queue uses a default value.
|
|
8496
8496
|
|
|
8497
8497
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gamesessionqueue.html
|
|
8498
8498
|
:exampleMetadata: fixture=_generated
|
|
@@ -8660,7 +8660,7 @@ class CfnGameSessionQueueProps:
|
|
|
8660
8660
|
def timeout_in_seconds(self) -> typing.Optional[jsii.Number]:
|
|
8661
8661
|
'''The maximum time, in seconds, that a new game session placement request remains in the queue.
|
|
8662
8662
|
|
|
8663
|
-
When a request exceeds this time, the game session placement changes to a ``TIMED_OUT`` status.
|
|
8663
|
+
When a request exceeds this time, the game session placement changes to a ``TIMED_OUT`` status. If you don't specify a request timeout, the queue uses a default value.
|
|
8664
8664
|
|
|
8665
8665
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gamesessionqueue.html#cfn-gamelift-gamesessionqueue-timeoutinseconds
|
|
8666
8666
|
'''
|
aws_cdk/aws_iam/__init__.py
CHANGED
|
@@ -7378,6 +7378,87 @@ class Grant(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_iam.Grant"):
|
|
|
7378
7378
|
detach_grant = volume.grant_detach_volume_by_resource_tag(instance.grant_principal, [instance])
|
|
7379
7379
|
'''
|
|
7380
7380
|
|
|
7381
|
+
@jsii.member(jsii_name="addStatementToResourcePolicy")
|
|
7382
|
+
@builtins.classmethod
|
|
7383
|
+
def add_statement_to_resource_policy(
|
|
7384
|
+
cls,
|
|
7385
|
+
*,
|
|
7386
|
+
statement: "PolicyStatement",
|
|
7387
|
+
resource: "IResourceWithPolicy",
|
|
7388
|
+
resource_self_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
7389
|
+
actions: typing.Sequence[builtins.str],
|
|
7390
|
+
grantee: "IGrantable",
|
|
7391
|
+
resource_arns: typing.Sequence[builtins.str],
|
|
7392
|
+
conditions: typing.Optional[typing.Mapping[builtins.str, typing.Mapping[builtins.str, typing.Any]]] = None,
|
|
7393
|
+
) -> "Grant":
|
|
7394
|
+
'''Add a pre-constructed policy statement to the resource's policy.
|
|
7395
|
+
|
|
7396
|
+
This method provides direct, low-level control over the initial policy statement being added.
|
|
7397
|
+
It is useful when you need to:
|
|
7398
|
+
|
|
7399
|
+
- Add complex policy statements that can't be expressed through other grant methods
|
|
7400
|
+
- Specify the initial structure of the policy statement
|
|
7401
|
+
- Add statements with custom conditions or other advanced IAM features
|
|
7402
|
+
|
|
7403
|
+
Important differences from other grant methods:
|
|
7404
|
+
|
|
7405
|
+
- Only modifies the resource policy, never modifies any principal's policy
|
|
7406
|
+
- Takes a complete PolicyStatement rather than constructing one from parameters
|
|
7407
|
+
- Always attempts to add the statement, regardless of principal type or account
|
|
7408
|
+
- Does not attempt any automatic principal/resource policy selection logic
|
|
7409
|
+
|
|
7410
|
+
Note: The final form of the policy statement in the resource's policy may differ
|
|
7411
|
+
from the provided statement, depending on the resource's implementation of
|
|
7412
|
+
addToResourcePolicy.
|
|
7413
|
+
|
|
7414
|
+
:param statement: The policy statement to add to the resource's policy. This statement will be passed to the resource's addToResourcePolicy method. The actual handling of the statement depends on the specific IResourceWithPolicy implementation.
|
|
7415
|
+
:param resource: The resource with a resource policy. The statement will be added to the resource policy if it couldn't be added to the principal policy.
|
|
7416
|
+
:param resource_self_arns: When referring to the resource in a resource policy, use this as ARN. (Depending on the resource type, this needs to be '*' in a resource policy). Default: Same as regular resource ARNs
|
|
7417
|
+
:param actions: The actions to grant.
|
|
7418
|
+
:param grantee: The principal to grant to. Default: if principal is undefined, no work is done.
|
|
7419
|
+
:param resource_arns: The resource ARNs to grant to.
|
|
7420
|
+
:param conditions: Any conditions to attach to the grant. Default: - No conditions
|
|
7421
|
+
|
|
7422
|
+
:return: A Grant object representing the result of the operation
|
|
7423
|
+
|
|
7424
|
+
Example::
|
|
7425
|
+
|
|
7426
|
+
# grantee: iam.IGrantable
|
|
7427
|
+
# actions: List[str]
|
|
7428
|
+
# resource_arns: List[str]
|
|
7429
|
+
# bucket: s3.Bucket
|
|
7430
|
+
|
|
7431
|
+
|
|
7432
|
+
statement = iam.PolicyStatement(
|
|
7433
|
+
effect=iam.Effect.ALLOW,
|
|
7434
|
+
actions=actions,
|
|
7435
|
+
principals=[iam.ServicePrincipal("lambda.amazonaws.com")],
|
|
7436
|
+
conditions={
|
|
7437
|
+
"StringEquals": {
|
|
7438
|
+
"aws:SourceAccount": Stack.of(self).account
|
|
7439
|
+
}
|
|
7440
|
+
}
|
|
7441
|
+
)
|
|
7442
|
+
iam.Grant.add_statement_to_resource_policy(
|
|
7443
|
+
grantee=grantee,
|
|
7444
|
+
actions=actions,
|
|
7445
|
+
resource_arns=resource_arns,
|
|
7446
|
+
resource=bucket,
|
|
7447
|
+
statement=statement
|
|
7448
|
+
)
|
|
7449
|
+
'''
|
|
7450
|
+
options = GrantPolicyWithResourceOptions(
|
|
7451
|
+
statement=statement,
|
|
7452
|
+
resource=resource,
|
|
7453
|
+
resource_self_arns=resource_self_arns,
|
|
7454
|
+
actions=actions,
|
|
7455
|
+
grantee=grantee,
|
|
7456
|
+
resource_arns=resource_arns,
|
|
7457
|
+
conditions=conditions,
|
|
7458
|
+
)
|
|
7459
|
+
|
|
7460
|
+
return typing.cast("Grant", jsii.sinvoke(cls, "addStatementToResourcePolicy", [options]))
|
|
7461
|
+
|
|
7381
7462
|
@jsii.member(jsii_name="addToPrincipal")
|
|
7382
7463
|
@builtins.classmethod
|
|
7383
7464
|
def add_to_principal(
|
|
@@ -12043,6 +12124,175 @@ class AccessKey(
|
|
|
12043
12124
|
return typing.cast(_SecretValue_3dd0ddae, jsii.get(self, "secretAccessKey"))
|
|
12044
12125
|
|
|
12045
12126
|
|
|
12127
|
+
@jsii.data_type(
|
|
12128
|
+
jsii_type="aws-cdk-lib.aws_iam.GrantPolicyWithResourceOptions",
|
|
12129
|
+
jsii_struct_bases=[GrantWithResourceOptions],
|
|
12130
|
+
name_mapping={
|
|
12131
|
+
"actions": "actions",
|
|
12132
|
+
"grantee": "grantee",
|
|
12133
|
+
"resource_arns": "resourceArns",
|
|
12134
|
+
"conditions": "conditions",
|
|
12135
|
+
"resource": "resource",
|
|
12136
|
+
"resource_self_arns": "resourceSelfArns",
|
|
12137
|
+
"statement": "statement",
|
|
12138
|
+
},
|
|
12139
|
+
)
|
|
12140
|
+
class GrantPolicyWithResourceOptions(GrantWithResourceOptions):
|
|
12141
|
+
def __init__(
|
|
12142
|
+
self,
|
|
12143
|
+
*,
|
|
12144
|
+
actions: typing.Sequence[builtins.str],
|
|
12145
|
+
grantee: IGrantable,
|
|
12146
|
+
resource_arns: typing.Sequence[builtins.str],
|
|
12147
|
+
conditions: typing.Optional[typing.Mapping[builtins.str, typing.Mapping[builtins.str, typing.Any]]] = None,
|
|
12148
|
+
resource: IResourceWithPolicy,
|
|
12149
|
+
resource_self_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
12150
|
+
statement: PolicyStatement,
|
|
12151
|
+
) -> None:
|
|
12152
|
+
'''Options for a grant operation that directly adds a policy statement to a resource.
|
|
12153
|
+
|
|
12154
|
+
This differs from GrantWithResourceOptions in that it requires a pre-constructed
|
|
12155
|
+
PolicyStatement rather than constructing one from individual permissions.
|
|
12156
|
+
Use this when you need fine-grained control over the initial policy statement's contents.
|
|
12157
|
+
|
|
12158
|
+
:param actions: The actions to grant.
|
|
12159
|
+
:param grantee: The principal to grant to. Default: if principal is undefined, no work is done.
|
|
12160
|
+
:param resource_arns: The resource ARNs to grant to.
|
|
12161
|
+
:param conditions: Any conditions to attach to the grant. Default: - No conditions
|
|
12162
|
+
:param resource: The resource with a resource policy. The statement will be added to the resource policy if it couldn't be added to the principal policy.
|
|
12163
|
+
:param resource_self_arns: When referring to the resource in a resource policy, use this as ARN. (Depending on the resource type, this needs to be '*' in a resource policy). Default: Same as regular resource ARNs
|
|
12164
|
+
:param statement: The policy statement to add to the resource's policy. This statement will be passed to the resource's addToResourcePolicy method. The actual handling of the statement depends on the specific IResourceWithPolicy implementation.
|
|
12165
|
+
|
|
12166
|
+
:exampleMetadata: infused
|
|
12167
|
+
|
|
12168
|
+
Example::
|
|
12169
|
+
|
|
12170
|
+
# grantee: iam.IGrantable
|
|
12171
|
+
# actions: List[str]
|
|
12172
|
+
# resource_arns: List[str]
|
|
12173
|
+
# bucket: s3.Bucket
|
|
12174
|
+
|
|
12175
|
+
|
|
12176
|
+
statement = iam.PolicyStatement(
|
|
12177
|
+
effect=iam.Effect.ALLOW,
|
|
12178
|
+
actions=actions,
|
|
12179
|
+
principals=[iam.ServicePrincipal("lambda.amazonaws.com")],
|
|
12180
|
+
conditions={
|
|
12181
|
+
"StringEquals": {
|
|
12182
|
+
"aws:SourceAccount": Stack.of(self).account
|
|
12183
|
+
}
|
|
12184
|
+
}
|
|
12185
|
+
)
|
|
12186
|
+
iam.Grant.add_statement_to_resource_policy(
|
|
12187
|
+
grantee=grantee,
|
|
12188
|
+
actions=actions,
|
|
12189
|
+
resource_arns=resource_arns,
|
|
12190
|
+
resource=bucket,
|
|
12191
|
+
statement=statement
|
|
12192
|
+
)
|
|
12193
|
+
'''
|
|
12194
|
+
if __debug__:
|
|
12195
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0475ec23892b6dacf8e0426b204cca68a4091056bb08c20a72dbc06d2aedcf5e)
|
|
12196
|
+
check_type(argname="argument actions", value=actions, expected_type=type_hints["actions"])
|
|
12197
|
+
check_type(argname="argument grantee", value=grantee, expected_type=type_hints["grantee"])
|
|
12198
|
+
check_type(argname="argument resource_arns", value=resource_arns, expected_type=type_hints["resource_arns"])
|
|
12199
|
+
check_type(argname="argument conditions", value=conditions, expected_type=type_hints["conditions"])
|
|
12200
|
+
check_type(argname="argument resource", value=resource, expected_type=type_hints["resource"])
|
|
12201
|
+
check_type(argname="argument resource_self_arns", value=resource_self_arns, expected_type=type_hints["resource_self_arns"])
|
|
12202
|
+
check_type(argname="argument statement", value=statement, expected_type=type_hints["statement"])
|
|
12203
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
12204
|
+
"actions": actions,
|
|
12205
|
+
"grantee": grantee,
|
|
12206
|
+
"resource_arns": resource_arns,
|
|
12207
|
+
"resource": resource,
|
|
12208
|
+
"statement": statement,
|
|
12209
|
+
}
|
|
12210
|
+
if conditions is not None:
|
|
12211
|
+
self._values["conditions"] = conditions
|
|
12212
|
+
if resource_self_arns is not None:
|
|
12213
|
+
self._values["resource_self_arns"] = resource_self_arns
|
|
12214
|
+
|
|
12215
|
+
@builtins.property
|
|
12216
|
+
def actions(self) -> typing.List[builtins.str]:
|
|
12217
|
+
'''The actions to grant.'''
|
|
12218
|
+
result = self._values.get("actions")
|
|
12219
|
+
assert result is not None, "Required property 'actions' is missing"
|
|
12220
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
12221
|
+
|
|
12222
|
+
@builtins.property
|
|
12223
|
+
def grantee(self) -> IGrantable:
|
|
12224
|
+
'''The principal to grant to.
|
|
12225
|
+
|
|
12226
|
+
:default: if principal is undefined, no work is done.
|
|
12227
|
+
'''
|
|
12228
|
+
result = self._values.get("grantee")
|
|
12229
|
+
assert result is not None, "Required property 'grantee' is missing"
|
|
12230
|
+
return typing.cast(IGrantable, result)
|
|
12231
|
+
|
|
12232
|
+
@builtins.property
|
|
12233
|
+
def resource_arns(self) -> typing.List[builtins.str]:
|
|
12234
|
+
'''The resource ARNs to grant to.'''
|
|
12235
|
+
result = self._values.get("resource_arns")
|
|
12236
|
+
assert result is not None, "Required property 'resource_arns' is missing"
|
|
12237
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
12238
|
+
|
|
12239
|
+
@builtins.property
|
|
12240
|
+
def conditions(
|
|
12241
|
+
self,
|
|
12242
|
+
) -> typing.Optional[typing.Mapping[builtins.str, typing.Mapping[builtins.str, typing.Any]]]:
|
|
12243
|
+
'''Any conditions to attach to the grant.
|
|
12244
|
+
|
|
12245
|
+
:default: - No conditions
|
|
12246
|
+
'''
|
|
12247
|
+
result = self._values.get("conditions")
|
|
12248
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Mapping[builtins.str, typing.Any]]], result)
|
|
12249
|
+
|
|
12250
|
+
@builtins.property
|
|
12251
|
+
def resource(self) -> IResourceWithPolicy:
|
|
12252
|
+
'''The resource with a resource policy.
|
|
12253
|
+
|
|
12254
|
+
The statement will be added to the resource policy if it couldn't be
|
|
12255
|
+
added to the principal policy.
|
|
12256
|
+
'''
|
|
12257
|
+
result = self._values.get("resource")
|
|
12258
|
+
assert result is not None, "Required property 'resource' is missing"
|
|
12259
|
+
return typing.cast(IResourceWithPolicy, result)
|
|
12260
|
+
|
|
12261
|
+
@builtins.property
|
|
12262
|
+
def resource_self_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
12263
|
+
'''When referring to the resource in a resource policy, use this as ARN.
|
|
12264
|
+
|
|
12265
|
+
(Depending on the resource type, this needs to be '*' in a resource policy).
|
|
12266
|
+
|
|
12267
|
+
:default: Same as regular resource ARNs
|
|
12268
|
+
'''
|
|
12269
|
+
result = self._values.get("resource_self_arns")
|
|
12270
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
12271
|
+
|
|
12272
|
+
@builtins.property
|
|
12273
|
+
def statement(self) -> PolicyStatement:
|
|
12274
|
+
'''The policy statement to add to the resource's policy.
|
|
12275
|
+
|
|
12276
|
+
This statement will be passed to the resource's addToResourcePolicy method.
|
|
12277
|
+
The actual handling of the statement depends on the specific IResourceWithPolicy
|
|
12278
|
+
implementation.
|
|
12279
|
+
'''
|
|
12280
|
+
result = self._values.get("statement")
|
|
12281
|
+
assert result is not None, "Required property 'statement' is missing"
|
|
12282
|
+
return typing.cast(PolicyStatement, result)
|
|
12283
|
+
|
|
12284
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
12285
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
12286
|
+
|
|
12287
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
12288
|
+
return not (rhs == self)
|
|
12289
|
+
|
|
12290
|
+
def __repr__(self) -> str:
|
|
12291
|
+
return "GrantPolicyWithResourceOptions(%s)" % ", ".join(
|
|
12292
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
12293
|
+
)
|
|
12294
|
+
|
|
12295
|
+
|
|
12046
12296
|
@jsii.interface(jsii_type="aws-cdk-lib.aws_iam.IAssumeRolePrincipal")
|
|
12047
12297
|
class IAssumeRolePrincipal(IPrincipal, typing_extensions.Protocol):
|
|
12048
12298
|
'''A type of principal that has more control over its own representation in AssumeRolePolicyDocuments.
|
|
@@ -15106,6 +15356,7 @@ __all__ = [
|
|
|
15106
15356
|
"Grant",
|
|
15107
15357
|
"GrantOnPrincipalAndResourceOptions",
|
|
15108
15358
|
"GrantOnPrincipalOptions",
|
|
15359
|
+
"GrantPolicyWithResourceOptions",
|
|
15109
15360
|
"GrantWithResourceOptions",
|
|
15110
15361
|
"Group",
|
|
15111
15362
|
"GroupProps",
|
|
@@ -16886,6 +17137,19 @@ def _typecheckingstub__604f514db426465dbc092293e7b2e46f5358ddb17770a96f51ef7e6a5
|
|
|
16886
17137
|
"""Type checking stubs"""
|
|
16887
17138
|
pass
|
|
16888
17139
|
|
|
17140
|
+
def _typecheckingstub__0475ec23892b6dacf8e0426b204cca68a4091056bb08c20a72dbc06d2aedcf5e(
|
|
17141
|
+
*,
|
|
17142
|
+
actions: typing.Sequence[builtins.str],
|
|
17143
|
+
grantee: IGrantable,
|
|
17144
|
+
resource_arns: typing.Sequence[builtins.str],
|
|
17145
|
+
conditions: typing.Optional[typing.Mapping[builtins.str, typing.Mapping[builtins.str, typing.Any]]] = None,
|
|
17146
|
+
resource: IResourceWithPolicy,
|
|
17147
|
+
resource_self_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
17148
|
+
statement: PolicyStatement,
|
|
17149
|
+
) -> None:
|
|
17150
|
+
"""Type checking stubs"""
|
|
17151
|
+
pass
|
|
17152
|
+
|
|
16889
17153
|
def _typecheckingstub__2773dd1c98b9bb45b356173892f3248a430e55c5ab0a22cb6e5df0bcdaa898a5(
|
|
16890
17154
|
document: PolicyDocument,
|
|
16891
17155
|
) -> None:
|
|
@@ -72,7 +72,7 @@ class CfnGroup(
|
|
|
72
72
|
metaclass=jsii.JSIIMeta,
|
|
73
73
|
jsii_type="aws-cdk-lib.aws_identitystore.CfnGroup",
|
|
74
74
|
):
|
|
75
|
-
'''A group object
|
|
75
|
+
'''A group object that contains the metadata and attributes for a specified group.
|
|
76
76
|
|
|
77
77
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-group.html
|
|
78
78
|
:cloudformationResource: AWS::IdentityStore::Group
|
|
@@ -107,7 +107,7 @@ class CfnGroup(
|
|
|
107
107
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
108
108
|
:param display_name: The display name value for the group. The length limit is 1,024 characters. This value can consist of letters, accented characters, symbols, numbers, punctuation, tab, new line, carriage return, space, and nonbreaking space in this attribute. This value is specified at the time the group is created and stored as an attribute of the group object in the identity store. Prefix search supports a maximum of 1,000 characters for the string.
|
|
109
109
|
:param identity_store_id: The globally unique identifier for the identity store.
|
|
110
|
-
:param description: A string containing
|
|
110
|
+
:param description: A string containing a description of the specified group.
|
|
111
111
|
'''
|
|
112
112
|
if __debug__:
|
|
113
113
|
type_hints = typing.get_type_hints(_typecheckingstub__37e27ff46dfa4082cad1981cc4ade1e2a9ce445cf9aad4a8eb75e162b9b429f1)
|
|
@@ -154,7 +154,7 @@ class CfnGroup(
|
|
|
154
154
|
@builtins.property
|
|
155
155
|
@jsii.member(jsii_name="attrGroupId")
|
|
156
156
|
def attr_group_id(self) -> builtins.str:
|
|
157
|
-
'''The identifier
|
|
157
|
+
'''The identifier for a group in the identity store.
|
|
158
158
|
|
|
159
159
|
:cloudformationAttribute: GroupId
|
|
160
160
|
'''
|
|
@@ -194,7 +194,7 @@ class CfnGroup(
|
|
|
194
194
|
@builtins.property
|
|
195
195
|
@jsii.member(jsii_name="description")
|
|
196
196
|
def description(self) -> typing.Optional[builtins.str]:
|
|
197
|
-
'''A string containing
|
|
197
|
+
'''A string containing a description of the specified group.'''
|
|
198
198
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
199
199
|
|
|
200
200
|
@description.setter
|
|
@@ -211,7 +211,9 @@ class CfnGroupMembership(
|
|
|
211
211
|
metaclass=jsii.JSIIMeta,
|
|
212
212
|
jsii_type="aws-cdk-lib.aws_identitystore.CfnGroupMembership",
|
|
213
213
|
):
|
|
214
|
-
'''
|
|
214
|
+
'''Creates a relationship between a member and a group.
|
|
215
|
+
|
|
216
|
+
The following identifiers must be specified: ``GroupId`` , ``IdentityStoreId`` , and ``MemberId`` .
|
|
215
217
|
|
|
216
218
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-groupmembership.html
|
|
217
219
|
:cloudformationResource: AWS::IdentityStore::GroupMembership
|
|
@@ -246,7 +248,7 @@ class CfnGroupMembership(
|
|
|
246
248
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
247
249
|
:param group_id: The identifier for a group in the identity store.
|
|
248
250
|
:param identity_store_id: The globally unique identifier for the identity store.
|
|
249
|
-
:param member_id: An object
|
|
251
|
+
:param member_id: An object that contains the identifier of a group member. Setting the ``UserID`` field to the specific identifier for a user indicates that the user is a member of the group.
|
|
250
252
|
'''
|
|
251
253
|
if __debug__:
|
|
252
254
|
type_hints = typing.get_type_hints(_typecheckingstub__76d55a804ce565c6f3a413944bff86b3236786318808951cf53ad4eff71316db)
|
|
@@ -291,7 +293,7 @@ class CfnGroupMembership(
|
|
|
291
293
|
@builtins.property
|
|
292
294
|
@jsii.member(jsii_name="attrMembershipId")
|
|
293
295
|
def attr_membership_id(self) -> builtins.str:
|
|
294
|
-
'''The identifier for a ``GroupMembership`` in
|
|
296
|
+
'''The identifier for a ``GroupMembership`` object in an identity store.
|
|
295
297
|
|
|
296
298
|
:cloudformationAttribute: MembershipId
|
|
297
299
|
'''
|
|
@@ -333,7 +335,7 @@ class CfnGroupMembership(
|
|
|
333
335
|
def member_id(
|
|
334
336
|
self,
|
|
335
337
|
) -> typing.Union[_IResolvable_da3f097b, "CfnGroupMembership.MemberIdProperty"]:
|
|
336
|
-
'''An object
|
|
338
|
+
'''An object that contains the identifier of a group member.'''
|
|
337
339
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnGroupMembership.MemberIdProperty"], jsii.get(self, "memberId"))
|
|
338
340
|
|
|
339
341
|
@member_id.setter
|
|
@@ -353,9 +355,7 @@ class CfnGroupMembership(
|
|
|
353
355
|
)
|
|
354
356
|
class MemberIdProperty:
|
|
355
357
|
def __init__(self, *, user_id: builtins.str) -> None:
|
|
356
|
-
'''An object
|
|
357
|
-
|
|
358
|
-
Setting the ``UserID`` field to the specific identifier for a user indicates that the user is a member of the group.
|
|
358
|
+
'''An object containing the identifier of a group member.
|
|
359
359
|
|
|
360
360
|
:param user_id: An object containing the identifiers of resources that can be members.
|
|
361
361
|
|
|
@@ -422,7 +422,7 @@ class CfnGroupMembershipProps:
|
|
|
422
422
|
|
|
423
423
|
:param group_id: The identifier for a group in the identity store.
|
|
424
424
|
:param identity_store_id: The globally unique identifier for the identity store.
|
|
425
|
-
:param member_id: An object
|
|
425
|
+
:param member_id: An object that contains the identifier of a group member. Setting the ``UserID`` field to the specific identifier for a user indicates that the user is a member of the group.
|
|
426
426
|
|
|
427
427
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-groupmembership.html
|
|
428
428
|
:exampleMetadata: fixture=_generated
|
|
@@ -476,9 +476,9 @@ class CfnGroupMembershipProps:
|
|
|
476
476
|
def member_id(
|
|
477
477
|
self,
|
|
478
478
|
) -> typing.Union[_IResolvable_da3f097b, CfnGroupMembership.MemberIdProperty]:
|
|
479
|
-
'''An object
|
|
479
|
+
'''An object that contains the identifier of a group member.
|
|
480
480
|
|
|
481
|
-
Setting
|
|
481
|
+
Setting the ``UserID`` field to the specific identifier for a user indicates that the user is a member of the group.
|
|
482
482
|
|
|
483
483
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-groupmembership.html#cfn-identitystore-groupmembership-memberid
|
|
484
484
|
'''
|
|
@@ -519,7 +519,7 @@ class CfnGroupProps:
|
|
|
519
519
|
|
|
520
520
|
:param display_name: The display name value for the group. The length limit is 1,024 characters. This value can consist of letters, accented characters, symbols, numbers, punctuation, tab, new line, carriage return, space, and nonbreaking space in this attribute. This value is specified at the time the group is created and stored as an attribute of the group object in the identity store. Prefix search supports a maximum of 1,000 characters for the string.
|
|
521
521
|
:param identity_store_id: The globally unique identifier for the identity store.
|
|
522
|
-
:param description: A string containing
|
|
522
|
+
:param description: A string containing a description of the specified group.
|
|
523
523
|
|
|
524
524
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-group.html
|
|
525
525
|
:exampleMetadata: fixture=_generated
|
|
@@ -576,7 +576,7 @@ class CfnGroupProps:
|
|
|
576
576
|
|
|
577
577
|
@builtins.property
|
|
578
578
|
def description(self) -> typing.Optional[builtins.str]:
|
|
579
|
-
'''A string containing
|
|
579
|
+
'''A string containing a description of the specified group.
|
|
580
580
|
|
|
581
581
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-group.html#cfn-identitystore-group-description
|
|
582
582
|
'''
|