aws-cdk-lib 2.176.0__py3-none-any.whl → 2.178.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 +106 -62
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.176.0.jsii.tgz → aws-cdk-lib@2.178.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +8 -8
- aws_cdk/aws_apigateway/__init__.py +97 -97
- aws_cdk/aws_apigatewayv2/__init__.py +35 -10
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +2 -2
- aws_cdk/aws_appconfig/__init__.py +10 -10
- aws_cdk/aws_appflow/__init__.py +20 -20
- aws_cdk/aws_applicationsignals/__init__.py +8 -8
- aws_cdk/aws_appmesh/__init__.py +8 -8
- aws_cdk/aws_appsync/__init__.py +10387 -7038
- aws_cdk/aws_apptest/__init__.py +4 -4
- aws_cdk/aws_aps/__init__.py +135 -0
- aws_cdk/aws_athena/__init__.py +10 -10
- aws_cdk/aws_backup/__init__.py +14 -14
- aws_cdk/aws_batch/__init__.py +189 -24
- aws_cdk/aws_bcmdataexports/__init__.py +4 -4
- aws_cdk/aws_bedrock/__init__.py +5494 -2518
- aws_cdk/aws_certificatemanager/__init__.py +15 -14
- aws_cdk/aws_chatbot/__init__.py +4 -4
- aws_cdk/aws_cloudformation/__init__.py +22 -18
- aws_cdk/aws_cloudfront/__init__.py +686 -9
- aws_cdk/aws_cloudfront_origins/__init__.py +73 -2
- aws_cdk/aws_cloudtrail/__init__.py +4 -4
- aws_cdk/aws_cloudwatch/__init__.py +53 -53
- aws_cdk/aws_codedeploy/__init__.py +2 -2
- aws_cdk/aws_codepipeline/__init__.py +59 -6
- aws_cdk/aws_codepipeline_actions/__init__.py +2 -2
- aws_cdk/aws_cognito/__init__.py +204 -159
- aws_cdk/aws_connect/__init__.py +4 -4
- aws_cdk/aws_customerprofiles/__init__.py +6 -4
- aws_cdk/aws_databrew/__init__.py +16 -16
- aws_cdk/aws_datasync/__init__.py +14 -11
- aws_cdk/aws_datazone/__init__.py +199 -129
- aws_cdk/aws_dms/__init__.py +4 -4
- aws_cdk/aws_dynamodb/__init__.py +267 -25
- aws_cdk/aws_ec2/__init__.py +1142 -184
- aws_cdk/aws_ecs/__init__.py +767 -124
- aws_cdk/aws_ecs_patterns/__init__.py +49 -0
- aws_cdk/aws_efs/__init__.py +8 -8
- aws_cdk/aws_eks/__init__.py +55 -35
- aws_cdk/aws_elasticache/__init__.py +10 -10
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +47 -18
- aws_cdk/aws_elasticsearch/__init__.py +10 -10
- aws_cdk/aws_emr/__init__.py +16 -16
- aws_cdk/aws_emrserverless/__init__.py +93 -4
- aws_cdk/aws_entityresolution/__init__.py +31 -17
- aws_cdk/aws_events/__init__.py +12 -12
- aws_cdk/aws_fis/__init__.py +16 -16
- aws_cdk/aws_fms/__init__.py +46 -0
- aws_cdk/aws_gamelift/__init__.py +8 -10
- aws_cdk/aws_glue/__init__.py +1326 -7
- aws_cdk/aws_greengrassv2/__init__.py +8 -8
- aws_cdk/aws_guardduty/__init__.py +521 -0
- aws_cdk/aws_healthlake/__init__.py +10 -2
- aws_cdk/aws_iam/__init__.py +8 -0
- aws_cdk/aws_imagebuilder/__init__.py +88 -74
- aws_cdk/aws_iot/__init__.py +40 -40
- aws_cdk/aws_iotanalytics/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +424 -10
- aws_cdk/aws_iotsitewise/__init__.py +84 -13
- aws_cdk/aws_iottwinmaker/__init__.py +18 -18
- aws_cdk/aws_iotwireless/__init__.py +4 -4
- aws_cdk/aws_kafkaconnect/__init__.py +10 -10
- aws_cdk/aws_kendra/__init__.py +0 -10
- aws_cdk/aws_kinesisanalytics/__init__.py +4 -4
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +4 -4
- aws_cdk/aws_kinesisfirehose/__init__.py +4544 -183
- aws_cdk/aws_kms/__init__.py +11 -10
- aws_cdk/aws_lambda/__init__.py +47 -4
- aws_cdk/aws_lambda_nodejs/__init__.py +24 -5
- aws_cdk/aws_launchwizard/__init__.py +10 -10
- aws_cdk/aws_logs/__init__.py +78 -74
- aws_cdk/aws_mediaconnect/__init__.py +509 -12
- aws_cdk/aws_medialive/__init__.py +16 -16
- aws_cdk/aws_mediatailor/__init__.py +10 -10
- aws_cdk/aws_networkfirewall/__init__.py +12 -12
- aws_cdk/aws_notifications/__init__.py +1927 -0
- aws_cdk/aws_notificationscontacts/__init__.py +593 -0
- aws_cdk/aws_omics/__init__.py +4 -4
- aws_cdk/aws_opensearchservice/__init__.py +10 -10
- aws_cdk/aws_opsworks/__init__.py +58 -58
- aws_cdk/aws_personalize/__init__.py +8 -8
- aws_cdk/aws_pipes/__init__.py +20 -20
- aws_cdk/aws_qbusiness/__init__.py +119 -0
- aws_cdk/aws_quicksight/__init__.py +247 -92
- aws_cdk/aws_rds/__init__.py +37 -37
- aws_cdk/aws_redshift/__init__.py +19 -15
- aws_cdk/aws_resiliencehub/__init__.py +0 -41
- aws_cdk/aws_route53/__init__.py +10 -4
- aws_cdk/aws_route53_targets/__init__.py +15 -15
- aws_cdk/aws_rum/__init__.py +4 -4
- aws_cdk/aws_s3/__init__.py +801 -2
- aws_cdk/aws_s3_notifications/__init__.py +5 -5
- aws_cdk/aws_s3tables/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +84 -60
- aws_cdk/aws_sam/__init__.py +48 -48
- aws_cdk/aws_secretsmanager/__init__.py +30 -14
- aws_cdk/aws_securityhub/__init__.py +12 -12
- aws_cdk/aws_sns/__init__.py +137 -12
- aws_cdk/aws_ssm/__init__.py +5 -5
- aws_cdk/aws_ssmquicksetup/__init__.py +10 -10
- aws_cdk/aws_stepfunctions/__init__.py +13207 -4740
- aws_cdk/aws_stepfunctions_tasks/__init__.py +77615 -22817
- aws_cdk/aws_synthetics/__init__.py +109 -36
- aws_cdk/aws_timestream/__init__.py +41 -0
- aws_cdk/aws_transfer/__init__.py +9 -10
- aws_cdk/aws_wafv2/__init__.py +24 -22
- aws_cdk/aws_wisdom/__init__.py +8 -8
- aws_cdk/aws_workspacesweb/__init__.py +60 -60
- aws_cdk/aws_xray/__init__.py +8 -8
- aws_cdk/cloud_assembly_schema/__init__.py +63 -4
- aws_cdk/cx_api/__init__.py +62 -4
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/RECORD +120 -118
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_fms/__init__.py
CHANGED
|
@@ -364,6 +364,7 @@ class CfnPolicy(
|
|
|
364
364
|
policy_description="policyDescription",
|
|
365
365
|
resources_clean_up=False,
|
|
366
366
|
resource_set_ids=["resourceSetIds"],
|
|
367
|
+
resource_tag_logical_operator="resourceTagLogicalOperator",
|
|
367
368
|
resource_tags=[fms.CfnPolicy.ResourceTagProperty(
|
|
368
369
|
key="key",
|
|
369
370
|
|
|
@@ -394,6 +395,7 @@ class CfnPolicy(
|
|
|
394
395
|
policy_description: typing.Optional[builtins.str] = None,
|
|
395
396
|
resources_clean_up: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
396
397
|
resource_set_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
398
|
+
resource_tag_logical_operator: typing.Optional[builtins.str] = None,
|
|
397
399
|
resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPolicy.ResourceTagProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
398
400
|
resource_type: typing.Optional[builtins.str] = None,
|
|
399
401
|
resource_type_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -412,6 +414,7 @@ class CfnPolicy(
|
|
|
412
414
|
:param policy_description: Your description of the AWS Firewall Manager policy.
|
|
413
415
|
:param resources_clean_up: Indicates whether AWS Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL from a protected customer resource when the customer resource leaves policy scope. By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources. This option is not available for Shield Advanced or AWS WAF Classic policies.
|
|
414
416
|
:param resource_set_ids: The unique identifiers of the resource sets used by the policy.
|
|
417
|
+
:param resource_tag_logical_operator: Specifies whether to combine multiple resource tags with AND, so that a resource must have all tags to be included or excluded, or OR, so that a resource must have at least one tag. Default: ``AND``
|
|
415
418
|
:param resource_tags: An array of ``ResourceTag`` objects, used to explicitly include resources in the policy scope or explicitly exclude them. If this isn't set, then tags aren't used to modify policy scope. See also ``ExcludeResourceTags`` .
|
|
416
419
|
:param resource_type: The type of resource protected by or in scope of the policy. This is in the format shown in the `AWS Resource Types Reference <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html>`_ . To apply this policy to multiple resource types, specify a resource type of ``ResourceTypeList`` and then specify the resource types in a ``ResourceTypeList`` . The following are valid resource types for each Firewall Manager policy type: - AWS WAF Classic - ``AWS::ApiGateway::Stage`` , ``AWS::CloudFront::Distribution`` , and ``AWS::ElasticLoadBalancingV2::LoadBalancer`` . - AWS WAF - ``AWS::ApiGateway::Stage`` , ``AWS::ElasticLoadBalancingV2::LoadBalancer`` , and ``AWS::CloudFront::Distribution`` . - Shield Advanced - ``AWS::ElasticLoadBalancingV2::LoadBalancer`` , ``AWS::ElasticLoadBalancing::LoadBalancer`` , ``AWS::EC2::EIP`` , and ``AWS::CloudFront::Distribution`` . - Network ACL - ``AWS::EC2::Subnet`` . - Security group usage audit - ``AWS::EC2::SecurityGroup`` . - Security group content audit - ``AWS::EC2::SecurityGroup`` , ``AWS::EC2::NetworkInterface`` , and ``AWS::EC2::Instance`` . - DNS Firewall, AWS Network Firewall , and third-party firewall - ``AWS::EC2::VPC`` .
|
|
417
420
|
:param resource_type_list: An array of ``ResourceType`` objects. Use this only to specify multiple resource types. To specify a single resource type, use ``ResourceType`` .
|
|
@@ -432,6 +435,7 @@ class CfnPolicy(
|
|
|
432
435
|
policy_description=policy_description,
|
|
433
436
|
resources_clean_up=resources_clean_up,
|
|
434
437
|
resource_set_ids=resource_set_ids,
|
|
438
|
+
resource_tag_logical_operator=resource_tag_logical_operator,
|
|
435
439
|
resource_tags=resource_tags,
|
|
436
440
|
resource_type=resource_type,
|
|
437
441
|
resource_type_list=resource_type_list,
|
|
@@ -668,6 +672,22 @@ class CfnPolicy(
|
|
|
668
672
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
669
673
|
jsii.set(self, "resourceSetIds", value) # pyright: ignore[reportArgumentType]
|
|
670
674
|
|
|
675
|
+
@builtins.property
|
|
676
|
+
@jsii.member(jsii_name="resourceTagLogicalOperator")
|
|
677
|
+
def resource_tag_logical_operator(self) -> typing.Optional[builtins.str]:
|
|
678
|
+
'''Specifies whether to combine multiple resource tags with AND, so that a resource must have all tags to be included or excluded, or OR, so that a resource must have at least one tag.'''
|
|
679
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "resourceTagLogicalOperator"))
|
|
680
|
+
|
|
681
|
+
@resource_tag_logical_operator.setter
|
|
682
|
+
def resource_tag_logical_operator(
|
|
683
|
+
self,
|
|
684
|
+
value: typing.Optional[builtins.str],
|
|
685
|
+
) -> None:
|
|
686
|
+
if __debug__:
|
|
687
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4c785568d3275bbfb3df2dd3b2ac1d97319f9c06330a57289261dce85d69868f)
|
|
688
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
689
|
+
jsii.set(self, "resourceTagLogicalOperator", value) # pyright: ignore[reportArgumentType]
|
|
690
|
+
|
|
671
691
|
@builtins.property
|
|
672
692
|
@jsii.member(jsii_name="resourceTags")
|
|
673
693
|
def resource_tags(
|
|
@@ -2037,6 +2057,7 @@ class CfnPolicy(
|
|
|
2037
2057
|
"policy_description": "policyDescription",
|
|
2038
2058
|
"resources_clean_up": "resourcesCleanUp",
|
|
2039
2059
|
"resource_set_ids": "resourceSetIds",
|
|
2060
|
+
"resource_tag_logical_operator": "resourceTagLogicalOperator",
|
|
2040
2061
|
"resource_tags": "resourceTags",
|
|
2041
2062
|
"resource_type": "resourceType",
|
|
2042
2063
|
"resource_type_list": "resourceTypeList",
|
|
@@ -2057,6 +2078,7 @@ class CfnPolicyProps:
|
|
|
2057
2078
|
policy_description: typing.Optional[builtins.str] = None,
|
|
2058
2079
|
resources_clean_up: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2059
2080
|
resource_set_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2081
|
+
resource_tag_logical_operator: typing.Optional[builtins.str] = None,
|
|
2060
2082
|
resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicy.ResourceTagProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2061
2083
|
resource_type: typing.Optional[builtins.str] = None,
|
|
2062
2084
|
resource_type_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -2074,6 +2096,7 @@ class CfnPolicyProps:
|
|
|
2074
2096
|
:param policy_description: Your description of the AWS Firewall Manager policy.
|
|
2075
2097
|
:param resources_clean_up: Indicates whether AWS Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL from a protected customer resource when the customer resource leaves policy scope. By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources. This option is not available for Shield Advanced or AWS WAF Classic policies.
|
|
2076
2098
|
:param resource_set_ids: The unique identifiers of the resource sets used by the policy.
|
|
2099
|
+
:param resource_tag_logical_operator: Specifies whether to combine multiple resource tags with AND, so that a resource must have all tags to be included or excluded, or OR, so that a resource must have at least one tag. Default: ``AND``
|
|
2077
2100
|
:param resource_tags: An array of ``ResourceTag`` objects, used to explicitly include resources in the policy scope or explicitly exclude them. If this isn't set, then tags aren't used to modify policy scope. See also ``ExcludeResourceTags`` .
|
|
2078
2101
|
:param resource_type: The type of resource protected by or in scope of the policy. This is in the format shown in the `AWS Resource Types Reference <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html>`_ . To apply this policy to multiple resource types, specify a resource type of ``ResourceTypeList`` and then specify the resource types in a ``ResourceTypeList`` . The following are valid resource types for each Firewall Manager policy type: - AWS WAF Classic - ``AWS::ApiGateway::Stage`` , ``AWS::CloudFront::Distribution`` , and ``AWS::ElasticLoadBalancingV2::LoadBalancer`` . - AWS WAF - ``AWS::ApiGateway::Stage`` , ``AWS::ElasticLoadBalancingV2::LoadBalancer`` , and ``AWS::CloudFront::Distribution`` . - Shield Advanced - ``AWS::ElasticLoadBalancingV2::LoadBalancer`` , ``AWS::ElasticLoadBalancing::LoadBalancer`` , ``AWS::EC2::EIP`` , and ``AWS::CloudFront::Distribution`` . - Network ACL - ``AWS::EC2::Subnet`` . - Security group usage audit - ``AWS::EC2::SecurityGroup`` . - Security group content audit - ``AWS::EC2::SecurityGroup`` , ``AWS::EC2::NetworkInterface`` , and ``AWS::EC2::Instance`` . - DNS Firewall, AWS Network Firewall , and third-party firewall - ``AWS::EC2::VPC`` .
|
|
2079
2102
|
:param resource_type_list: An array of ``ResourceType`` objects. Use this only to specify multiple resource types. To specify a single resource type, use ``ResourceType`` .
|
|
@@ -2162,6 +2185,7 @@ class CfnPolicyProps:
|
|
|
2162
2185
|
policy_description="policyDescription",
|
|
2163
2186
|
resources_clean_up=False,
|
|
2164
2187
|
resource_set_ids=["resourceSetIds"],
|
|
2188
|
+
resource_tag_logical_operator="resourceTagLogicalOperator",
|
|
2165
2189
|
resource_tags=[fms.CfnPolicy.ResourceTagProperty(
|
|
2166
2190
|
key="key",
|
|
2167
2191
|
|
|
@@ -2188,6 +2212,7 @@ class CfnPolicyProps:
|
|
|
2188
2212
|
check_type(argname="argument policy_description", value=policy_description, expected_type=type_hints["policy_description"])
|
|
2189
2213
|
check_type(argname="argument resources_clean_up", value=resources_clean_up, expected_type=type_hints["resources_clean_up"])
|
|
2190
2214
|
check_type(argname="argument resource_set_ids", value=resource_set_ids, expected_type=type_hints["resource_set_ids"])
|
|
2215
|
+
check_type(argname="argument resource_tag_logical_operator", value=resource_tag_logical_operator, expected_type=type_hints["resource_tag_logical_operator"])
|
|
2191
2216
|
check_type(argname="argument resource_tags", value=resource_tags, expected_type=type_hints["resource_tags"])
|
|
2192
2217
|
check_type(argname="argument resource_type", value=resource_type, expected_type=type_hints["resource_type"])
|
|
2193
2218
|
check_type(argname="argument resource_type_list", value=resource_type_list, expected_type=type_hints["resource_type_list"])
|
|
@@ -2210,6 +2235,8 @@ class CfnPolicyProps:
|
|
|
2210
2235
|
self._values["resources_clean_up"] = resources_clean_up
|
|
2211
2236
|
if resource_set_ids is not None:
|
|
2212
2237
|
self._values["resource_set_ids"] = resource_set_ids
|
|
2238
|
+
if resource_tag_logical_operator is not None:
|
|
2239
|
+
self._values["resource_tag_logical_operator"] = resource_tag_logical_operator
|
|
2213
2240
|
if resource_tags is not None:
|
|
2214
2241
|
self._values["resource_tags"] = resource_tags
|
|
2215
2242
|
if resource_type is not None:
|
|
@@ -2468,6 +2495,17 @@ class CfnPolicyProps:
|
|
|
2468
2495
|
result = self._values.get("resource_set_ids")
|
|
2469
2496
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2470
2497
|
|
|
2498
|
+
@builtins.property
|
|
2499
|
+
def resource_tag_logical_operator(self) -> typing.Optional[builtins.str]:
|
|
2500
|
+
'''Specifies whether to combine multiple resource tags with AND, so that a resource must have all tags to be included or excluded, or OR, so that a resource must have at least one tag.
|
|
2501
|
+
|
|
2502
|
+
Default: ``AND``
|
|
2503
|
+
|
|
2504
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-resourcetaglogicaloperator
|
|
2505
|
+
'''
|
|
2506
|
+
result = self._values.get("resource_tag_logical_operator")
|
|
2507
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2508
|
+
|
|
2471
2509
|
@builtins.property
|
|
2472
2510
|
def resource_tags(
|
|
2473
2511
|
self,
|
|
@@ -2915,6 +2953,7 @@ def _typecheckingstub__a29b3b13041b0ccbd18a0c29ff5cff0adbc0e2aedc87591f1c54ec7a1
|
|
|
2915
2953
|
policy_description: typing.Optional[builtins.str] = None,
|
|
2916
2954
|
resources_clean_up: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2917
2955
|
resource_set_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2956
|
+
resource_tag_logical_operator: typing.Optional[builtins.str] = None,
|
|
2918
2957
|
resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicy.ResourceTagProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2919
2958
|
resource_type: typing.Optional[builtins.str] = None,
|
|
2920
2959
|
resource_type_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -2995,6 +3034,12 @@ def _typecheckingstub__048e93c726f9c5fe6e9b627c041b37e3458add761a76189dddf42b880
|
|
|
2995
3034
|
"""Type checking stubs"""
|
|
2996
3035
|
pass
|
|
2997
3036
|
|
|
3037
|
+
def _typecheckingstub__4c785568d3275bbfb3df2dd3b2ac1d97319f9c06330a57289261dce85d69868f(
|
|
3038
|
+
value: typing.Optional[builtins.str],
|
|
3039
|
+
) -> None:
|
|
3040
|
+
"""Type checking stubs"""
|
|
3041
|
+
pass
|
|
3042
|
+
|
|
2998
3043
|
def _typecheckingstub__9c77d40603d6f4c051dd3f9b5d662e1b2f8b3690fcfa612876de86b1cfb05ac0(
|
|
2999
3044
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnPolicy.ResourceTagProperty]]]],
|
|
3000
3045
|
) -> None:
|
|
@@ -3133,6 +3178,7 @@ def _typecheckingstub__8455eef74a6daf8d86ebd4c14f18184bf9c938d95a07a9902bf05c79f
|
|
|
3133
3178
|
policy_description: typing.Optional[builtins.str] = None,
|
|
3134
3179
|
resources_clean_up: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3135
3180
|
resource_set_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3181
|
+
resource_tag_logical_operator: typing.Optional[builtins.str] = None,
|
|
3136
3182
|
resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicy.ResourceTagProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3137
3183
|
resource_type: typing.Optional[builtins.str] = None,
|
|
3138
3184
|
resource_type_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
aws_cdk/aws_gamelift/__init__.py
CHANGED
|
@@ -8389,8 +8389,8 @@ class CfnGameSessionQueue(
|
|
|
8389
8389
|
|
|
8390
8390
|
Changing the priority order will affect how game sessions are placed.
|
|
8391
8391
|
|
|
8392
|
-
:param location_order: The prioritization order to use for fleet locations, when the ``PriorityOrder`` property includes ``LOCATION`` . Locations
|
|
8393
|
-
:param priority_order:
|
|
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 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 prioritizes locations where the average player latency is lowest. Player latency data is provided in each game session placement request. - ``COST`` -- Amazon GameLift prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) of each destination in the queue. - ``DESTINATION`` -- Amazon GameLift prioritizes based on the list order of destinations in the queue configuration. - ``LOCATION`` -- Amazon GameLift 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
|
|
@@ -8420,7 +8420,7 @@ class CfnGameSessionQueue(
|
|
|
8420
8420
|
def location_order(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
8421
8421
|
'''The prioritization order to use for fleet locations, when the ``PriorityOrder`` property includes ``LOCATION`` .
|
|
8422
8422
|
|
|
8423
|
-
Locations
|
|
8423
|
+
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 service locations. <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html>`_
|
|
8424
8424
|
|
|
8425
8425
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gamesessionqueue-priorityconfiguration.html#cfn-gamelift-gamesessionqueue-priorityconfiguration-locationorder
|
|
8426
8426
|
'''
|
|
@@ -8429,14 +8429,12 @@ class CfnGameSessionQueue(
|
|
|
8429
8429
|
|
|
8430
8430
|
@builtins.property
|
|
8431
8431
|
def priority_order(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
8432
|
-
'''
|
|
8432
|
+
'''A custom sequence to use when prioritizing where to place new game sessions. Each priority type is listed once.
|
|
8433
8433
|
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
- ``
|
|
8437
|
-
- ``
|
|
8438
|
-
- ``DESTINATION`` -- FleetIQ prioritizes based on the order that destinations are listed in the queue configuration.
|
|
8439
|
-
- ``LOCATION`` -- FleetIQ prioritizes based on the provided order of locations, as defined in ``LocationOrder`` .
|
|
8434
|
+
- ``LATENCY`` -- Amazon GameLift prioritizes locations where the average player latency is lowest. Player latency data is provided in each game session placement request.
|
|
8435
|
+
- ``COST`` -- Amazon GameLift prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) of each destination in the queue.
|
|
8436
|
+
- ``DESTINATION`` -- Amazon GameLift prioritizes based on the list order of destinations in the queue configuration.
|
|
8437
|
+
- ``LOCATION`` -- Amazon GameLift prioritizes based on the provided order of locations, as defined in ``LocationOrder`` .
|
|
8440
8438
|
|
|
8441
8439
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gamesessionqueue-priorityconfiguration.html#cfn-gamelift-gamesessionqueue-priorityconfiguration-priorityorder
|
|
8442
8440
|
'''
|