aws-cdk-lib 2.115.0__py3-none-any.whl → 2.116.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +801 -356
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.115.0.jsii.tgz → aws-cdk-lib@2.116.1.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +3 -1
- aws_cdk/aws_apigatewayv2/__init__.py +595 -222
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +4 -5
- aws_cdk/aws_applicationautoscaling/__init__.py +51 -15
- aws_cdk/aws_appsync/__init__.py +14 -3
- aws_cdk/aws_autoscaling/__init__.py +6 -0
- aws_cdk/aws_b2bi/__init__.py +2445 -0
- aws_cdk/aws_cloud9/__init__.py +63 -63
- aws_cdk/aws_cloudfront/__init__.py +394 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +5 -2
- aws_cdk/aws_cloudtrail/__init__.py +90 -11
- aws_cdk/aws_cloudwatch/__init__.py +6 -6
- aws_cdk/aws_codedeploy/__init__.py +88 -15
- aws_cdk/aws_codepipeline/__init__.py +645 -0
- aws_cdk/aws_cognito/__init__.py +13 -26
- aws_cdk/aws_config/__init__.py +315 -1
- aws_cdk/aws_connect/__init__.py +532 -37
- aws_cdk/aws_controltower/__init__.py +4 -4
- aws_cdk/aws_datasync/__init__.py +6 -4
- aws_cdk/aws_dms/__init__.py +241 -131
- aws_cdk/aws_dynamodb/__init__.py +8 -0
- aws_cdk/aws_ec2/__init__.py +1030 -45
- aws_cdk/aws_ecr/__init__.py +78 -10
- aws_cdk/aws_ecs/__init__.py +210 -2
- aws_cdk/aws_ecs_patterns/__init__.py +77 -62
- aws_cdk/aws_eks/__init__.py +8 -1
- aws_cdk/aws_elasticache/__init__.py +136 -10
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +10 -13
- aws_cdk/aws_emr/__init__.py +234 -17
- aws_cdk/aws_eventschemas/__init__.py +15 -13
- aws_cdk/aws_fis/__init__.py +33 -13
- aws_cdk/aws_gamelift/__init__.py +47 -0
- aws_cdk/aws_imagebuilder/__init__.py +922 -84
- aws_cdk/aws_internetmonitor/__init__.py +12 -10
- aws_cdk/aws_iot/__init__.py +26 -46
- aws_cdk/aws_iottwinmaker/__init__.py +36 -34
- aws_cdk/aws_lambda/__init__.py +19 -15
- aws_cdk/aws_lambda_nodejs/__init__.py +5 -2
- aws_cdk/aws_logs/__init__.py +6 -6
- aws_cdk/aws_opensearchservice/__init__.py +5 -3
- aws_cdk/aws_organizations/__init__.py +3 -3
- aws_cdk/aws_osis/__init__.py +17 -13
- aws_cdk/aws_rds/__init__.py +6 -0
- aws_cdk/aws_s3/__init__.py +4 -2
- aws_cdk/aws_s3outposts/__init__.py +8 -8
- aws_cdk/aws_sagemaker/__init__.py +17 -94
- aws_cdk/aws_secretsmanager/__init__.py +9 -7
- aws_cdk/aws_securityhub/__init__.py +18 -0
- aws_cdk/aws_servicecatalogappregistry/__init__.py +31 -0
- aws_cdk/aws_ses/__init__.py +58 -11
- aws_cdk/aws_sns/__init__.py +309 -10
- aws_cdk/aws_ssm/__init__.py +3 -5
- aws_cdk/aws_stepfunctions/__init__.py +335 -19
- aws_cdk/aws_stepfunctions_tasks/__init__.py +388 -38
- aws_cdk/aws_transfer/__init__.py +37 -10
- aws_cdk/custom_resources/__init__.py +443 -1
- aws_cdk/triggers/__init__.py +5 -2
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/RECORD +66 -65
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_fis/__init__.py
CHANGED
|
@@ -56,7 +56,15 @@ class CfnExperimentTemplate(
|
|
|
56
56
|
metaclass=jsii.JSIIMeta,
|
|
57
57
|
jsii_type="aws-cdk-lib.aws_fis.CfnExperimentTemplate",
|
|
58
58
|
):
|
|
59
|
-
'''
|
|
59
|
+
'''Specifies an experiment template.
|
|
60
|
+
|
|
61
|
+
An experiment template includes the following components:
|
|
62
|
+
|
|
63
|
+
- *Targets* : A target can be a specific resource in your AWS environment, or one or more resources that match criteria that you specify, for example, resources that have specific tags.
|
|
64
|
+
- *Actions* : The actions to carry out on the target. You can specify multiple actions, the duration of each action, and when to start each action during an experiment.
|
|
65
|
+
- *Stop conditions* : If a stop condition is triggered while an experiment is running, the experiment is automatically stopped. You can define a stop condition as a CloudWatch alarm.
|
|
66
|
+
|
|
67
|
+
For more information, see `Experiment templates <https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html>`_ in the *AWS Fault Injection Service User Guide* .
|
|
60
68
|
|
|
61
69
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-experimenttemplate.html
|
|
62
70
|
:cloudformationResource: AWS::FIS::ExperimentTemplate
|
|
@@ -430,7 +438,9 @@ class CfnExperimentTemplate(
|
|
|
430
438
|
start_after: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
431
439
|
targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
432
440
|
) -> None:
|
|
433
|
-
'''
|
|
441
|
+
'''Specifies an action for an experiment template.
|
|
442
|
+
|
|
443
|
+
For more information, see `Actions <https://docs.aws.amazon.com/fis/latest/userguide/actions.html>`_ in the *AWS Fault Injection Service User Guide* .
|
|
434
444
|
|
|
435
445
|
:param action_id: The ID of the action.
|
|
436
446
|
:param description: A description for the action.
|
|
@@ -631,11 +641,13 @@ class CfnExperimentTemplate(
|
|
|
631
641
|
cloud_watch_logs_configuration: typing.Any = None,
|
|
632
642
|
s3_configuration: typing.Any = None,
|
|
633
643
|
) -> None:
|
|
634
|
-
'''
|
|
644
|
+
'''Specifies the configuration for experiment logging.
|
|
645
|
+
|
|
646
|
+
For more information, see `Experiment logging <https://docs.aws.amazon.com/fis/latest/userguide/monitoring-logging.html>`_ in the *AWS Fault Injection Service User Guide* .
|
|
635
647
|
|
|
636
648
|
:param log_schema_version: The schema version.
|
|
637
|
-
:param cloud_watch_logs_configuration: The configuration for experiment logging to
|
|
638
|
-
:param s3_configuration: The configuration for experiment logging to Amazon S3.
|
|
649
|
+
:param cloud_watch_logs_configuration: The configuration for experiment logging to CloudWatch Logs .
|
|
650
|
+
:param s3_configuration: The configuration for experiment logging to Amazon S3 .
|
|
639
651
|
|
|
640
652
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatelogconfiguration.html
|
|
641
653
|
:exampleMetadata: fixture=_generated
|
|
@@ -682,7 +694,7 @@ class CfnExperimentTemplate(
|
|
|
682
694
|
|
|
683
695
|
@builtins.property
|
|
684
696
|
def cloud_watch_logs_configuration(self) -> typing.Any:
|
|
685
|
-
'''The configuration for experiment logging to
|
|
697
|
+
'''The configuration for experiment logging to CloudWatch Logs .
|
|
686
698
|
|
|
687
699
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatelogconfiguration.html#cfn-fis-experimenttemplate-experimenttemplatelogconfiguration-cloudwatchlogsconfiguration
|
|
688
700
|
'''
|
|
@@ -691,7 +703,7 @@ class CfnExperimentTemplate(
|
|
|
691
703
|
|
|
692
704
|
@builtins.property
|
|
693
705
|
def s3_configuration(self) -> typing.Any:
|
|
694
|
-
'''The configuration for experiment logging to Amazon S3.
|
|
706
|
+
'''The configuration for experiment logging to Amazon S3 .
|
|
695
707
|
|
|
696
708
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatelogconfiguration.html#cfn-fis-experimenttemplate-experimenttemplatelogconfiguration-s3configuration
|
|
697
709
|
'''
|
|
@@ -721,7 +733,9 @@ class CfnExperimentTemplate(
|
|
|
721
733
|
source: builtins.str,
|
|
722
734
|
value: typing.Optional[builtins.str] = None,
|
|
723
735
|
) -> None:
|
|
724
|
-
'''
|
|
736
|
+
'''Specifies a stop condition for an experiment template.
|
|
737
|
+
|
|
738
|
+
For more information, see `Stop conditions <https://docs.aws.amazon.com/fis/latest/userguide/stop-conditions.html>`_ in the *AWS Fault Injection Service User Guide* .
|
|
725
739
|
|
|
726
740
|
:param source: The source for the stop condition.
|
|
727
741
|
:param value: The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.
|
|
@@ -794,7 +808,9 @@ class CfnExperimentTemplate(
|
|
|
794
808
|
path: builtins.str,
|
|
795
809
|
values: typing.Sequence[builtins.str],
|
|
796
810
|
) -> None:
|
|
797
|
-
'''
|
|
811
|
+
'''Specifies a filter used for the target resource input in an experiment template.
|
|
812
|
+
|
|
813
|
+
For more information, see `Resource filters <https://docs.aws.amazon.com/fis/latest/userguide/targets.html#target-filters>`_ in the *AWS Fault Injection Service User Guide* .
|
|
798
814
|
|
|
799
815
|
:param path: The attribute path for the filter.
|
|
800
816
|
:param values: The attribute values for the filter.
|
|
@@ -876,12 +892,16 @@ class CfnExperimentTemplate(
|
|
|
876
892
|
resource_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
877
893
|
resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
878
894
|
) -> None:
|
|
879
|
-
'''
|
|
895
|
+
'''Specifies a target for an experiment.
|
|
896
|
+
|
|
897
|
+
You must specify at least one Amazon Resource Name (ARN) or at least one resource tag. You cannot specify both ARNs and tags.
|
|
898
|
+
|
|
899
|
+
For more information, see `Targets <https://docs.aws.amazon.com/fis/latest/userguide/targets.html>`_ in the *AWS Fault Injection Service User Guide* .
|
|
880
900
|
|
|
881
901
|
:param resource_type: The resource type.
|
|
882
902
|
:param selection_mode: Scopes the identified resources to a specific count or percentage.
|
|
883
903
|
:param filters: The filters to apply to identify target resources using specific attributes.
|
|
884
|
-
:param parameters: The resource type
|
|
904
|
+
:param parameters: The parameters for the resource type.
|
|
885
905
|
:param resource_arns: The Amazon Resource Names (ARNs) of the targets.
|
|
886
906
|
:param resource_tags: The tags for the target resources.
|
|
887
907
|
|
|
@@ -968,7 +988,7 @@ class CfnExperimentTemplate(
|
|
|
968
988
|
def parameters(
|
|
969
989
|
self,
|
|
970
990
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
971
|
-
'''The resource type
|
|
991
|
+
'''The parameters for the resource type.
|
|
972
992
|
|
|
973
993
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatetarget.html#cfn-fis-experimenttemplate-experimenttemplatetarget-parameters
|
|
974
994
|
'''
|
|
@@ -1322,7 +1342,7 @@ class CfnTargetAccountConfiguration(
|
|
|
1322
1342
|
):
|
|
1323
1343
|
'''Creates a target account configuration for the experiment template.
|
|
1324
1344
|
|
|
1325
|
-
A target account configuration is required when ``accountTargeting`` of ``experimentOptions`` is set to ``multi-account`` . For more information, see `experiment options <https://docs.aws.amazon.com/fis/latest/userguide/experiment-options.html>`_ in the *AWS Fault Injection
|
|
1345
|
+
A target account configuration is required when ``accountTargeting`` of ``experimentOptions`` is set to ``multi-account`` . For more information, see `experiment options <https://docs.aws.amazon.com/fis/latest/userguide/experiment-options.html>`_ in the *AWS Fault Injection Service User Guide* .
|
|
1326
1346
|
|
|
1327
1347
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-targetaccountconfiguration.html
|
|
1328
1348
|
:cloudformationResource: AWS::FIS::TargetAccountConfiguration
|
aws_cdk/aws_gamelift/__init__.py
CHANGED
|
@@ -880,6 +880,7 @@ class CfnFleet(
|
|
|
880
880
|
anywhere_configuration=gamelift.CfnFleet.AnywhereConfigurationProperty(
|
|
881
881
|
cost="cost"
|
|
882
882
|
),
|
|
883
|
+
apply_capacity="applyCapacity",
|
|
883
884
|
build_id="buildId",
|
|
884
885
|
certificate_configuration=gamelift.CfnFleet.CertificateConfigurationProperty(
|
|
885
886
|
certificate_type="certificateType"
|
|
@@ -960,6 +961,7 @@ class CfnFleet(
|
|
|
960
961
|
*,
|
|
961
962
|
name: builtins.str,
|
|
962
963
|
anywhere_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.AnywhereConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
964
|
+
apply_capacity: typing.Optional[builtins.str] = None,
|
|
963
965
|
build_id: typing.Optional[builtins.str] = None,
|
|
964
966
|
certificate_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.CertificateConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
965
967
|
compute_type: typing.Optional[builtins.str] = None,
|
|
@@ -990,6 +992,7 @@ class CfnFleet(
|
|
|
990
992
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
991
993
|
:param name: A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
|
|
992
994
|
:param anywhere_configuration: Amazon GameLift Anywhere configuration options.
|
|
995
|
+
:param apply_capacity: Current resource capacity settings in a specified fleet or location. The location value might refer to a fleet's remote location or its home Region. *Related actions* `DescribeFleetCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html>`_ | `DescribeFleetLocationCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html>`_ | `UpdateFleetCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html>`_
|
|
993
996
|
:param build_id: A unique identifier for a build to be deployed on the new fleet. If you are deploying the fleet with a custom game build, you must specify this property. The build must have been successfully uploaded to Amazon GameLift and be in a ``READY`` status. This fleet setting cannot be changed once the fleet is created.
|
|
994
997
|
:param certificate_configuration: Prompts Amazon GameLift to generate a TLS/SSL certificate for the fleet. Amazon GameLift uses the certificates to encrypt traffic between game clients and the game servers running on Amazon GameLift. By default, the ``CertificateConfiguration`` is ``DISABLED`` . You can't change this property after you create the fleet. AWS Certificate Manager (ACM) certificates expire after 13 months. Certificate expiration can cause fleets to fail, preventing players from connecting to instances in the fleet. We recommend you replace fleets before 13 months, consider using fleet aliases for a smooth transition. .. epigraph:: ACM isn't available in all AWS regions. A fleet creation request with certificate generation enabled in an unsupported Region, fails with a 4xx error. For more information about the supported Regions, see `Supported Regions <https://docs.aws.amazon.com/acm/latest/userguide/acm-regions.html>`_ in the *AWS Certificate Manager User Guide* .
|
|
995
998
|
:param compute_type: The type of compute resource used to host your game servers. You can use your own compute resources with Amazon GameLift Anywhere or use Amazon EC2 instances with managed Amazon GameLift. By default, this property is set to ``EC2`` .
|
|
@@ -1022,6 +1025,7 @@ class CfnFleet(
|
|
|
1022
1025
|
props = CfnFleetProps(
|
|
1023
1026
|
name=name,
|
|
1024
1027
|
anywhere_configuration=anywhere_configuration,
|
|
1028
|
+
apply_capacity=apply_capacity,
|
|
1025
1029
|
build_id=build_id,
|
|
1026
1030
|
certificate_configuration=certificate_configuration,
|
|
1027
1031
|
compute_type=compute_type,
|
|
@@ -1125,6 +1129,19 @@ class CfnFleet(
|
|
|
1125
1129
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1126
1130
|
jsii.set(self, "anywhereConfiguration", value)
|
|
1127
1131
|
|
|
1132
|
+
@builtins.property
|
|
1133
|
+
@jsii.member(jsii_name="applyCapacity")
|
|
1134
|
+
def apply_capacity(self) -> typing.Optional[builtins.str]:
|
|
1135
|
+
'''Current resource capacity settings in a specified fleet or location.'''
|
|
1136
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "applyCapacity"))
|
|
1137
|
+
|
|
1138
|
+
@apply_capacity.setter
|
|
1139
|
+
def apply_capacity(self, value: typing.Optional[builtins.str]) -> None:
|
|
1140
|
+
if __debug__:
|
|
1141
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6e4da24e64fdcbb7830d9e09a27219d611e9c486d09dd2a970381192b5e97213)
|
|
1142
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1143
|
+
jsii.set(self, "applyCapacity", value)
|
|
1144
|
+
|
|
1128
1145
|
@builtins.property
|
|
1129
1146
|
@jsii.member(jsii_name="buildId")
|
|
1130
1147
|
def build_id(self) -> typing.Optional[builtins.str]:
|
|
@@ -2544,6 +2561,7 @@ class CfnFleet(
|
|
|
2544
2561
|
name_mapping={
|
|
2545
2562
|
"name": "name",
|
|
2546
2563
|
"anywhere_configuration": "anywhereConfiguration",
|
|
2564
|
+
"apply_capacity": "applyCapacity",
|
|
2547
2565
|
"build_id": "buildId",
|
|
2548
2566
|
"certificate_configuration": "certificateConfiguration",
|
|
2549
2567
|
"compute_type": "computeType",
|
|
@@ -2576,6 +2594,7 @@ class CfnFleetProps:
|
|
|
2576
2594
|
*,
|
|
2577
2595
|
name: builtins.str,
|
|
2578
2596
|
anywhere_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.AnywhereConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2597
|
+
apply_capacity: typing.Optional[builtins.str] = None,
|
|
2579
2598
|
build_id: typing.Optional[builtins.str] = None,
|
|
2580
2599
|
certificate_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.CertificateConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2581
2600
|
compute_type: typing.Optional[builtins.str] = None,
|
|
@@ -2605,6 +2624,7 @@ class CfnFleetProps:
|
|
|
2605
2624
|
|
|
2606
2625
|
:param name: A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
|
|
2607
2626
|
:param anywhere_configuration: Amazon GameLift Anywhere configuration options.
|
|
2627
|
+
:param apply_capacity: Current resource capacity settings in a specified fleet or location. The location value might refer to a fleet's remote location or its home Region. *Related actions* `DescribeFleetCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html>`_ | `DescribeFleetLocationCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html>`_ | `UpdateFleetCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html>`_
|
|
2608
2628
|
:param build_id: A unique identifier for a build to be deployed on the new fleet. If you are deploying the fleet with a custom game build, you must specify this property. The build must have been successfully uploaded to Amazon GameLift and be in a ``READY`` status. This fleet setting cannot be changed once the fleet is created.
|
|
2609
2629
|
:param certificate_configuration: Prompts Amazon GameLift to generate a TLS/SSL certificate for the fleet. Amazon GameLift uses the certificates to encrypt traffic between game clients and the game servers running on Amazon GameLift. By default, the ``CertificateConfiguration`` is ``DISABLED`` . You can't change this property after you create the fleet. AWS Certificate Manager (ACM) certificates expire after 13 months. Certificate expiration can cause fleets to fail, preventing players from connecting to instances in the fleet. We recommend you replace fleets before 13 months, consider using fleet aliases for a smooth transition. .. epigraph:: ACM isn't available in all AWS regions. A fleet creation request with certificate generation enabled in an unsupported Region, fails with a 4xx error. For more information about the supported Regions, see `Supported Regions <https://docs.aws.amazon.com/acm/latest/userguide/acm-regions.html>`_ in the *AWS Certificate Manager User Guide* .
|
|
2610
2630
|
:param compute_type: The type of compute resource used to host your game servers. You can use your own compute resources with Amazon GameLift Anywhere or use Amazon EC2 instances with managed Amazon GameLift. By default, this property is set to ``EC2`` .
|
|
@@ -2646,6 +2666,7 @@ class CfnFleetProps:
|
|
|
2646
2666
|
anywhere_configuration=gamelift.CfnFleet.AnywhereConfigurationProperty(
|
|
2647
2667
|
cost="cost"
|
|
2648
2668
|
),
|
|
2669
|
+
apply_capacity="applyCapacity",
|
|
2649
2670
|
build_id="buildId",
|
|
2650
2671
|
certificate_configuration=gamelift.CfnFleet.CertificateConfigurationProperty(
|
|
2651
2672
|
certificate_type="certificateType"
|
|
@@ -2722,6 +2743,7 @@ class CfnFleetProps:
|
|
|
2722
2743
|
type_hints = typing.get_type_hints(_typecheckingstub__8a51a418ba5b606bdfc45dc50c3172e280a12e078a7392f3258d5d329e037a55)
|
|
2723
2744
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
2724
2745
|
check_type(argname="argument anywhere_configuration", value=anywhere_configuration, expected_type=type_hints["anywhere_configuration"])
|
|
2746
|
+
check_type(argname="argument apply_capacity", value=apply_capacity, expected_type=type_hints["apply_capacity"])
|
|
2725
2747
|
check_type(argname="argument build_id", value=build_id, expected_type=type_hints["build_id"])
|
|
2726
2748
|
check_type(argname="argument certificate_configuration", value=certificate_configuration, expected_type=type_hints["certificate_configuration"])
|
|
2727
2749
|
check_type(argname="argument compute_type", value=compute_type, expected_type=type_hints["compute_type"])
|
|
@@ -2751,6 +2773,8 @@ class CfnFleetProps:
|
|
|
2751
2773
|
}
|
|
2752
2774
|
if anywhere_configuration is not None:
|
|
2753
2775
|
self._values["anywhere_configuration"] = anywhere_configuration
|
|
2776
|
+
if apply_capacity is not None:
|
|
2777
|
+
self._values["apply_capacity"] = apply_capacity
|
|
2754
2778
|
if build_id is not None:
|
|
2755
2779
|
self._values["build_id"] = build_id
|
|
2756
2780
|
if certificate_configuration is not None:
|
|
@@ -2823,6 +2847,21 @@ class CfnFleetProps:
|
|
|
2823
2847
|
result = self._values.get("anywhere_configuration")
|
|
2824
2848
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.AnywhereConfigurationProperty]], result)
|
|
2825
2849
|
|
|
2850
|
+
@builtins.property
|
|
2851
|
+
def apply_capacity(self) -> typing.Optional[builtins.str]:
|
|
2852
|
+
'''Current resource capacity settings in a specified fleet or location.
|
|
2853
|
+
|
|
2854
|
+
The location value might refer to a fleet's remote location or its home Region.
|
|
2855
|
+
|
|
2856
|
+
*Related actions*
|
|
2857
|
+
|
|
2858
|
+
`DescribeFleetCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html>`_ | `DescribeFleetLocationCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html>`_ | `UpdateFleetCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html>`_
|
|
2859
|
+
|
|
2860
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-applycapacity
|
|
2861
|
+
'''
|
|
2862
|
+
result = self._values.get("apply_capacity")
|
|
2863
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2864
|
+
|
|
2826
2865
|
@builtins.property
|
|
2827
2866
|
def build_id(self) -> typing.Optional[builtins.str]:
|
|
2828
2867
|
'''A unique identifier for a build to be deployed on the new fleet.
|
|
@@ -6883,6 +6922,7 @@ def _typecheckingstub__21fe09a90444788b3c862f454214d4e160757c9b02d0598d282f68b7f
|
|
|
6883
6922
|
*,
|
|
6884
6923
|
name: builtins.str,
|
|
6885
6924
|
anywhere_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.AnywhereConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6925
|
+
apply_capacity: typing.Optional[builtins.str] = None,
|
|
6886
6926
|
build_id: typing.Optional[builtins.str] = None,
|
|
6887
6927
|
certificate_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.CertificateConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6888
6928
|
compute_type: typing.Optional[builtins.str] = None,
|
|
@@ -6935,6 +6975,12 @@ def _typecheckingstub__bc575abdd043760dd1cbe4178328d65df4b96ee18072484d24bd88d2e
|
|
|
6935
6975
|
"""Type checking stubs"""
|
|
6936
6976
|
pass
|
|
6937
6977
|
|
|
6978
|
+
def _typecheckingstub__6e4da24e64fdcbb7830d9e09a27219d611e9c486d09dd2a970381192b5e97213(
|
|
6979
|
+
value: typing.Optional[builtins.str],
|
|
6980
|
+
) -> None:
|
|
6981
|
+
"""Type checking stubs"""
|
|
6982
|
+
pass
|
|
6983
|
+
|
|
6938
6984
|
def _typecheckingstub__fecb16629d96a3f0b5b4acdf8ba4a4b1a44a9314ada24ee4bf29122c11df18e7(
|
|
6939
6985
|
value: typing.Optional[builtins.str],
|
|
6940
6986
|
) -> None:
|
|
@@ -7175,6 +7221,7 @@ def _typecheckingstub__8a51a418ba5b606bdfc45dc50c3172e280a12e078a7392f3258d5d329
|
|
|
7175
7221
|
*,
|
|
7176
7222
|
name: builtins.str,
|
|
7177
7223
|
anywhere_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.AnywhereConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7224
|
+
apply_capacity: typing.Optional[builtins.str] = None,
|
|
7178
7225
|
build_id: typing.Optional[builtins.str] = None,
|
|
7179
7226
|
certificate_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.CertificateConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7180
7227
|
compute_type: typing.Optional[builtins.str] = None,
|