aws-cdk-lib 2.216.0__py3-none-any.whl → 2.217.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +60 -28
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.216.0.jsii.tgz → aws-cdk-lib@2.217.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amplify/__init__.py +8 -8
- aws_cdk/aws_apigateway/__init__.py +26 -6
- aws_cdk/aws_apigatewayv2/__init__.py +2 -2
- aws_cdk/aws_appmesh/__init__.py +12 -12
- aws_cdk/aws_appstream/__init__.py +14 -4
- aws_cdk/aws_appsync/__init__.py +3 -3
- aws_cdk/aws_aps/__init__.py +459 -0
- aws_cdk/aws_batch/__init__.py +6 -2
- aws_cdk/aws_bedrock/__init__.py +132 -0
- aws_cdk/aws_bedrockagentcore/__init__.py +3178 -0
- aws_cdk/aws_certificatemanager/__init__.py +9 -10
- aws_cdk/aws_cleanrooms/__init__.py +163 -0
- aws_cdk/aws_cloudformation/__init__.py +14 -14
- aws_cdk/aws_cloudfront/__init__.py +12 -8
- aws_cdk/aws_cognito/__init__.py +2 -2
- aws_cdk/aws_connect/__init__.py +138 -10
- aws_cdk/aws_cur/__init__.py +57 -3
- aws_cdk/aws_datasync/__init__.py +351 -0
- aws_cdk/aws_datazone/__init__.py +675 -2
- aws_cdk/aws_dynamodb/__init__.py +123 -0
- aws_cdk/aws_ec2/__init__.py +55 -10
- aws_cdk/aws_ecs/__init__.py +55 -12
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +48 -0
- aws_cdk/aws_elasticsearch/__init__.py +2 -2
- aws_cdk/aws_evs/__init__.py +58 -4
- aws_cdk/aws_gamelift/__init__.py +72 -56
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +35 -38
- aws_cdk/aws_iotsitewise/__init__.py +75 -111
- aws_cdk/aws_kms/__init__.py +10 -2
- aws_cdk/aws_lambda/__init__.py +46 -0
- aws_cdk/aws_medialive/__init__.py +127 -0
- aws_cdk/aws_mediapackage/__init__.py +2 -2
- aws_cdk/aws_networkfirewall/__init__.py +10 -10
- aws_cdk/aws_networkmanager/__init__.py +63 -0
- aws_cdk/aws_odb/__init__.py +2082 -195
- aws_cdk/aws_omics/__init__.py +1414 -171
- aws_cdk/aws_opensearchserverless/__init__.py +164 -21
- aws_cdk/aws_opensearchservice/__init__.py +5 -4
- aws_cdk/aws_pcs/__init__.py +9 -9
- aws_cdk/aws_quicksight/__init__.py +295 -3
- aws_cdk/aws_rds/__init__.py +338 -58
- aws_cdk/aws_sagemaker/__init__.py +251 -1
- aws_cdk/aws_servicecatalog/__init__.py +162 -154
- aws_cdk/aws_smsvoice/__init__.py +5218 -0
- aws_cdk/aws_transfer/__init__.py +13 -12
- aws_cdk/aws_verifiedpermissions/__init__.py +1 -1
- aws_cdk/aws_workspacesinstances/__init__.py +641 -2
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/RECORD +58 -56
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ecs/__init__.py
CHANGED
|
@@ -7361,7 +7361,7 @@ class CfnServiceProps:
|
|
|
7361
7361
|
) -> None:
|
|
7362
7362
|
'''Properties for defining a ``CfnService``.
|
|
7363
7363
|
|
|
7364
|
-
:param availability_zone_rebalancing: Indicates whether to use Availability Zone rebalancing for the service. For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the **Amazon Elastic Container Service Developer Guide** . Default: - "ENABLED"
|
|
7364
|
+
:param availability_zone_rebalancing: Indicates whether to use Availability Zone rebalancing for the service. For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the **Amazon Elastic Container Service Developer Guide** . The default behavior of ``AvailabilityZoneRebalancing`` differs between create and update requests: - For create service requests, when no value is specified for ``AvailabilityZoneRebalancing`` , Amazon ECS defaults the value to ``ENABLED`` . - For update service requests, when no value is specified for ``AvailabilityZoneRebalancing`` , Amazon ECS defaults to the existing service’s ``AvailabilityZoneRebalancing`` value. If the service never had an ``AvailabilityZoneRebalancing`` value set, Amazon ECS treats this as ``DISABLED`` . Default: - "ENABLED"
|
|
7365
7365
|
:param capacity_provider_strategy: The capacity provider strategy to use for the service. If a ``capacityProviderStrategy`` is specified, the ``launchType`` parameter must be omitted. If no ``capacityProviderStrategy`` or ``launchType`` is specified, the ``defaultCapacityProviderStrategy`` for the cluster is used. A capacity provider strategy can contain a maximum of 20 capacity providers. .. epigraph:: To remove this property from your service resource, specify an empty ``CapacityProviderStrategyItem`` array.
|
|
7366
7366
|
:param cluster: The short name or full Amazon Resource Name (ARN) of the cluster that you run your service on. If you do not specify a cluster, the default cluster is assumed.
|
|
7367
7367
|
:param deployment_configuration: Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
|
|
@@ -7370,7 +7370,7 @@ class CfnServiceProps:
|
|
|
7370
7370
|
:param enable_ecs_managed_tags: Specifies whether to turn on Amazon ECS managed tags for the tasks within the service. For more information, see `Tagging your Amazon ECS resources <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html>`_ in the *Amazon Elastic Container Service Developer Guide* . When you use Amazon ECS managed tags, you must set the ``propagateTags`` request parameter.
|
|
7371
7371
|
:param enable_execute_command: Determines whether the execute command functionality is turned on for the service. If ``true`` , the execute command functionality is turned on for all containers in tasks as part of the service.
|
|
7372
7372
|
:param force_new_deployment: Determines whether to force a new deployment of the service. By default, deployments aren't forced. You can use this option to start a new deployment with no service definition changes. For example, you can update a service's tasks to use a newer Docker image with the same image/tag combination ( ``my_image:latest`` ) or to roll Fargate tasks onto a newer platform version.
|
|
7373
|
-
:param health_check_grace_period_seconds: The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you
|
|
7373
|
+
:param health_check_grace_period_seconds: The period of time, in seconds, that the Amazon Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you do not specify a health check grace period value, the default value of 0 is used. If you do not use any of the health checks, then ``healthCheckGracePeriodSeconds`` is unused. If your service has more running tasks than desired, unhealthy tasks in the grace period might be stopped to reach the desired count.
|
|
7374
7374
|
:param launch_type: The launch type on which to run your service. For more information, see `Amazon ECS Launch Types <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
7375
7375
|
:param load_balancers: A list of load balancer objects to associate with the service. If you specify the ``Role`` property, ``LoadBalancers`` must be specified as well. For information about the number of load balancers that you can specify per service, see `Service Load Balancing <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html>`_ in the *Amazon Elastic Container Service Developer Guide* . .. epigraph:: To remove this property from your service resource, specify an empty ``LoadBalancer`` array.
|
|
7376
7376
|
:param network_configuration: The network configuration for the service. This parameter is required for task definitions that use the ``awsvpc`` network mode to receive their own elastic network interface, and it is not supported for other network modes. For more information, see `Task Networking <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
@@ -7397,6 +7397,8 @@ class CfnServiceProps:
|
|
|
7397
7397
|
# The values are placeholders you should change.
|
|
7398
7398
|
from aws_cdk import aws_ecs as ecs
|
|
7399
7399
|
|
|
7400
|
+
# hook_details: Any
|
|
7401
|
+
|
|
7400
7402
|
cfn_service_props = ecs.CfnServiceProps(
|
|
7401
7403
|
availability_zone_rebalancing="availabilityZoneRebalancing",
|
|
7402
7404
|
capacity_provider_strategy=[ecs.CfnService.CapacityProviderStrategyItemProperty(
|
|
@@ -7419,7 +7421,10 @@ class CfnServiceProps:
|
|
|
7419
7421
|
lifecycle_hooks=[ecs.CfnService.DeploymentLifecycleHookProperty(
|
|
7420
7422
|
hook_target_arn="hookTargetArn",
|
|
7421
7423
|
lifecycle_stages=["lifecycleStages"],
|
|
7422
|
-
role_arn="roleArn"
|
|
7424
|
+
role_arn="roleArn",
|
|
7425
|
+
|
|
7426
|
+
# the properties below are optional
|
|
7427
|
+
hook_details=hook_details
|
|
7423
7428
|
)],
|
|
7424
7429
|
maximum_percent=123,
|
|
7425
7430
|
minimum_healthy_percent=123,
|
|
@@ -7664,6 +7669,11 @@ class CfnServiceProps:
|
|
|
7664
7669
|
|
|
7665
7670
|
For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the **Amazon Elastic Container Service Developer Guide** .
|
|
7666
7671
|
|
|
7672
|
+
The default behavior of ``AvailabilityZoneRebalancing`` differs between create and update requests:
|
|
7673
|
+
|
|
7674
|
+
- For create service requests, when no value is specified for ``AvailabilityZoneRebalancing`` , Amazon ECS defaults the value to ``ENABLED`` .
|
|
7675
|
+
- For update service requests, when no value is specified for ``AvailabilityZoneRebalancing`` , Amazon ECS defaults to the existing service’s ``AvailabilityZoneRebalancing`` value. If the service never had an ``AvailabilityZoneRebalancing`` value set, Amazon ECS treats this as ``DISABLED`` .
|
|
7676
|
+
|
|
7667
7677
|
:default: - "ENABLED"
|
|
7668
7678
|
|
|
7669
7679
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-availabilityzonerebalancing
|
|
@@ -7778,11 +7788,11 @@ class CfnServiceProps:
|
|
|
7778
7788
|
|
|
7779
7789
|
@builtins.property
|
|
7780
7790
|
def health_check_grace_period_seconds(self) -> typing.Optional[jsii.Number]:
|
|
7781
|
-
'''The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started.
|
|
7791
|
+
'''The period of time, in seconds, that the Amazon Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started.
|
|
7782
7792
|
|
|
7783
|
-
If you
|
|
7793
|
+
If you do not specify a health check grace period value, the default value of 0 is used. If you do not use any of the health checks, then ``healthCheckGracePeriodSeconds`` is unused.
|
|
7784
7794
|
|
|
7785
|
-
If your service
|
|
7795
|
+
If your service has more running tasks than desired, unhealthy tasks in the grace period might be stopped to reach the desired count.
|
|
7786
7796
|
|
|
7787
7797
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-healthcheckgraceperiodseconds
|
|
7788
7798
|
'''
|
|
@@ -32493,6 +32503,8 @@ class CfnService(
|
|
|
32493
32503
|
# The values are placeholders you should change.
|
|
32494
32504
|
from aws_cdk import aws_ecs as ecs
|
|
32495
32505
|
|
|
32506
|
+
# hook_details: Any
|
|
32507
|
+
|
|
32496
32508
|
cfn_service = ecs.CfnService(self, "MyCfnService",
|
|
32497
32509
|
availability_zone_rebalancing="availabilityZoneRebalancing",
|
|
32498
32510
|
capacity_provider_strategy=[ecs.CfnService.CapacityProviderStrategyItemProperty(
|
|
@@ -32515,7 +32527,10 @@ class CfnService(
|
|
|
32515
32527
|
lifecycle_hooks=[ecs.CfnService.DeploymentLifecycleHookProperty(
|
|
32516
32528
|
hook_target_arn="hookTargetArn",
|
|
32517
32529
|
lifecycle_stages=["lifecycleStages"],
|
|
32518
|
-
role_arn="roleArn"
|
|
32530
|
+
role_arn="roleArn",
|
|
32531
|
+
|
|
32532
|
+
# the properties below are optional
|
|
32533
|
+
hook_details=hook_details
|
|
32519
32534
|
)],
|
|
32520
32535
|
maximum_percent=123,
|
|
32521
32536
|
minimum_healthy_percent=123,
|
|
@@ -32708,7 +32723,7 @@ class CfnService(
|
|
|
32708
32723
|
'''
|
|
32709
32724
|
:param scope: Scope in which this resource is defined.
|
|
32710
32725
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
32711
|
-
:param availability_zone_rebalancing: Indicates whether to use Availability Zone rebalancing for the service. For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the **Amazon Elastic Container Service Developer Guide** . Default: - "ENABLED"
|
|
32726
|
+
:param availability_zone_rebalancing: Indicates whether to use Availability Zone rebalancing for the service. For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the **Amazon Elastic Container Service Developer Guide** . The default behavior of ``AvailabilityZoneRebalancing`` differs between create and update requests: - For create service requests, when no value is specified for ``AvailabilityZoneRebalancing`` , Amazon ECS defaults the value to ``ENABLED`` . - For update service requests, when no value is specified for ``AvailabilityZoneRebalancing`` , Amazon ECS defaults to the existing service’s ``AvailabilityZoneRebalancing`` value. If the service never had an ``AvailabilityZoneRebalancing`` value set, Amazon ECS treats this as ``DISABLED`` . Default: - "ENABLED"
|
|
32712
32727
|
:param capacity_provider_strategy: The capacity provider strategy to use for the service. If a ``capacityProviderStrategy`` is specified, the ``launchType`` parameter must be omitted. If no ``capacityProviderStrategy`` or ``launchType`` is specified, the ``defaultCapacityProviderStrategy`` for the cluster is used. A capacity provider strategy can contain a maximum of 20 capacity providers. .. epigraph:: To remove this property from your service resource, specify an empty ``CapacityProviderStrategyItem`` array.
|
|
32713
32728
|
:param cluster: The short name or full Amazon Resource Name (ARN) of the cluster that you run your service on. If you do not specify a cluster, the default cluster is assumed.
|
|
32714
32729
|
:param deployment_configuration: Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
|
|
@@ -32717,7 +32732,7 @@ class CfnService(
|
|
|
32717
32732
|
:param enable_ecs_managed_tags: Specifies whether to turn on Amazon ECS managed tags for the tasks within the service. For more information, see `Tagging your Amazon ECS resources <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html>`_ in the *Amazon Elastic Container Service Developer Guide* . When you use Amazon ECS managed tags, you must set the ``propagateTags`` request parameter.
|
|
32718
32733
|
:param enable_execute_command: Determines whether the execute command functionality is turned on for the service. If ``true`` , the execute command functionality is turned on for all containers in tasks as part of the service.
|
|
32719
32734
|
:param force_new_deployment: Determines whether to force a new deployment of the service. By default, deployments aren't forced. You can use this option to start a new deployment with no service definition changes. For example, you can update a service's tasks to use a newer Docker image with the same image/tag combination ( ``my_image:latest`` ) or to roll Fargate tasks onto a newer platform version.
|
|
32720
|
-
:param health_check_grace_period_seconds: The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you
|
|
32735
|
+
:param health_check_grace_period_seconds: The period of time, in seconds, that the Amazon Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you do not specify a health check grace period value, the default value of 0 is used. If you do not use any of the health checks, then ``healthCheckGracePeriodSeconds`` is unused. If your service has more running tasks than desired, unhealthy tasks in the grace period might be stopped to reach the desired count.
|
|
32721
32736
|
:param launch_type: The launch type on which to run your service. For more information, see `Amazon ECS Launch Types <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
32722
32737
|
:param load_balancers: A list of load balancer objects to associate with the service. If you specify the ``Role`` property, ``LoadBalancers`` must be specified as well. For information about the number of load balancers that you can specify per service, see `Service Load Balancing <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html>`_ in the *Amazon Elastic Container Service Developer Guide* . .. epigraph:: To remove this property from your service resource, specify an empty ``LoadBalancer`` array.
|
|
32723
32738
|
:param network_configuration: The network configuration for the service. This parameter is required for task definitions that use the ``awsvpc`` network mode to receive their own elastic network interface, and it is not supported for other network modes. For more information, see `Task Networking <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
@@ -32990,7 +33005,7 @@ class CfnService(
|
|
|
32990
33005
|
@builtins.property
|
|
32991
33006
|
@jsii.member(jsii_name="healthCheckGracePeriodSeconds")
|
|
32992
33007
|
def health_check_grace_period_seconds(self) -> typing.Optional[jsii.Number]:
|
|
32993
|
-
'''The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started.'''
|
|
33008
|
+
'''The period of time, in seconds, that the Amazon Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started.'''
|
|
32994
33009
|
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "healthCheckGracePeriodSeconds"))
|
|
32995
33010
|
|
|
32996
33011
|
@health_check_grace_period_seconds.setter
|
|
@@ -33825,6 +33840,8 @@ class CfnService(
|
|
|
33825
33840
|
# The values are placeholders you should change.
|
|
33826
33841
|
from aws_cdk import aws_ecs as ecs
|
|
33827
33842
|
|
|
33843
|
+
# hook_details: Any
|
|
33844
|
+
|
|
33828
33845
|
deployment_configuration_property = ecs.CfnService.DeploymentConfigurationProperty(
|
|
33829
33846
|
alarms=ecs.CfnService.DeploymentAlarmsProperty(
|
|
33830
33847
|
alarm_names=["alarmNames"],
|
|
@@ -33839,7 +33856,10 @@ class CfnService(
|
|
|
33839
33856
|
lifecycle_hooks=[ecs.CfnService.DeploymentLifecycleHookProperty(
|
|
33840
33857
|
hook_target_arn="hookTargetArn",
|
|
33841
33858
|
lifecycle_stages=["lifecycleStages"],
|
|
33842
|
-
role_arn="roleArn"
|
|
33859
|
+
role_arn="roleArn",
|
|
33860
|
+
|
|
33861
|
+
# the properties below are optional
|
|
33862
|
+
hook_details=hook_details
|
|
33843
33863
|
)],
|
|
33844
33864
|
maximum_percent=123,
|
|
33845
33865
|
minimum_healthy_percent=123,
|
|
@@ -34105,6 +34125,7 @@ class CfnService(
|
|
|
34105
34125
|
"hook_target_arn": "hookTargetArn",
|
|
34106
34126
|
"lifecycle_stages": "lifecycleStages",
|
|
34107
34127
|
"role_arn": "roleArn",
|
|
34128
|
+
"hook_details": "hookDetails",
|
|
34108
34129
|
},
|
|
34109
34130
|
)
|
|
34110
34131
|
class DeploymentLifecycleHookProperty:
|
|
@@ -34114,6 +34135,7 @@ class CfnService(
|
|
|
34114
34135
|
hook_target_arn: builtins.str,
|
|
34115
34136
|
lifecycle_stages: typing.Sequence[builtins.str],
|
|
34116
34137
|
role_arn: builtins.str,
|
|
34138
|
+
hook_details: typing.Any = None,
|
|
34117
34139
|
) -> None:
|
|
34118
34140
|
'''A deployment lifecycle hook runs custom logic at specific stages of the deployment process.
|
|
34119
34141
|
|
|
@@ -34124,6 +34146,7 @@ class CfnService(
|
|
|
34124
34146
|
:param hook_target_arn: The Amazon Resource Name (ARN) of the hook target. Currently, only Lambda function ARNs are supported. You must provide this parameter when configuring a deployment lifecycle hook.
|
|
34125
34147
|
:param lifecycle_stages: The lifecycle stages at which to run the hook. Choose from these valid values:. - RECONCILE_SERVICE The reconciliation stage that only happens when you start a new service deployment with more than 1 service revision in an ACTIVE state. You can use a lifecycle hook for this stage. - PRE_SCALE_UP The green service revision has not started. The blue service revision is handling 100% of the production traffic. There is no test traffic. You can use a lifecycle hook for this stage. - POST_SCALE_UP The green service revision has started. The blue service revision is handling 100% of the production traffic. There is no test traffic. You can use a lifecycle hook for this stage. - TEST_TRAFFIC_SHIFT The blue and green service revisions are running. The blue service revision handles 100% of the production traffic. The green service revision is migrating from 0% to 100% of test traffic. You can use a lifecycle hook for this stage. - POST_TEST_TRAFFIC_SHIFT The test traffic shift is complete. The green service revision handles 100% of the test traffic. You can use a lifecycle hook for this stage. - PRODUCTION_TRAFFIC_SHIFT Production traffic is shifting to the green service revision. The green service revision is migrating from 0% to 100% of production traffic. You can use a lifecycle hook for this stage. - POST_PRODUCTION_TRAFFIC_SHIFT The production traffic shift is complete. You can use a lifecycle hook for this stage. You must provide this parameter when configuring a deployment lifecycle hook.
|
|
34126
34148
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role that grants Amazon ECS permission to call Lambda functions on your behalf. For more information, see `Permissions required for Lambda functions in Amazon ECS blue/green deployments <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/blue-green-permissions.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
34149
|
+
:param hook_details: Use this field to specify custom parameters that Amazon ECS passes to your hook target invocations (such as a Lambda function). This field must be a JSON object as a string.
|
|
34127
34150
|
|
|
34128
34151
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentlifecyclehook.html
|
|
34129
34152
|
:exampleMetadata: fixture=_generated
|
|
@@ -34134,10 +34157,15 @@ class CfnService(
|
|
|
34134
34157
|
# The values are placeholders you should change.
|
|
34135
34158
|
from aws_cdk import aws_ecs as ecs
|
|
34136
34159
|
|
|
34160
|
+
# hook_details: Any
|
|
34161
|
+
|
|
34137
34162
|
deployment_lifecycle_hook_property = ecs.CfnService.DeploymentLifecycleHookProperty(
|
|
34138
34163
|
hook_target_arn="hookTargetArn",
|
|
34139
34164
|
lifecycle_stages=["lifecycleStages"],
|
|
34140
|
-
role_arn="roleArn"
|
|
34165
|
+
role_arn="roleArn",
|
|
34166
|
+
|
|
34167
|
+
# the properties below are optional
|
|
34168
|
+
hook_details=hook_details
|
|
34141
34169
|
)
|
|
34142
34170
|
'''
|
|
34143
34171
|
if __debug__:
|
|
@@ -34145,11 +34173,14 @@ class CfnService(
|
|
|
34145
34173
|
check_type(argname="argument hook_target_arn", value=hook_target_arn, expected_type=type_hints["hook_target_arn"])
|
|
34146
34174
|
check_type(argname="argument lifecycle_stages", value=lifecycle_stages, expected_type=type_hints["lifecycle_stages"])
|
|
34147
34175
|
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
34176
|
+
check_type(argname="argument hook_details", value=hook_details, expected_type=type_hints["hook_details"])
|
|
34148
34177
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
34149
34178
|
"hook_target_arn": hook_target_arn,
|
|
34150
34179
|
"lifecycle_stages": lifecycle_stages,
|
|
34151
34180
|
"role_arn": role_arn,
|
|
34152
34181
|
}
|
|
34182
|
+
if hook_details is not None:
|
|
34183
|
+
self._values["hook_details"] = hook_details
|
|
34153
34184
|
|
|
34154
34185
|
@builtins.property
|
|
34155
34186
|
def hook_target_arn(self) -> builtins.str:
|
|
@@ -34229,6 +34260,17 @@ class CfnService(
|
|
|
34229
34260
|
assert result is not None, "Required property 'role_arn' is missing"
|
|
34230
34261
|
return typing.cast(builtins.str, result)
|
|
34231
34262
|
|
|
34263
|
+
@builtins.property
|
|
34264
|
+
def hook_details(self) -> typing.Any:
|
|
34265
|
+
'''Use this field to specify custom parameters that Amazon ECS passes to your hook target invocations (such as a Lambda function).
|
|
34266
|
+
|
|
34267
|
+
This field must be a JSON object as a string.
|
|
34268
|
+
|
|
34269
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentlifecyclehook.html#cfn-ecs-service-deploymentlifecyclehook-hookdetails
|
|
34270
|
+
'''
|
|
34271
|
+
result = self._values.get("hook_details")
|
|
34272
|
+
return typing.cast(typing.Any, result)
|
|
34273
|
+
|
|
34232
34274
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
34233
34275
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
34234
34276
|
|
|
@@ -49622,6 +49664,7 @@ def _typecheckingstub__81d51cf744a434ad2ba13fc9f3dea23611c28b28f4a9414d8324cf577
|
|
|
49622
49664
|
hook_target_arn: builtins.str,
|
|
49623
49665
|
lifecycle_stages: typing.Sequence[builtins.str],
|
|
49624
49666
|
role_arn: builtins.str,
|
|
49667
|
+
hook_details: typing.Any = None,
|
|
49625
49668
|
) -> None:
|
|
49626
49669
|
"""Type checking stubs"""
|
|
49627
49670
|
pass
|
|
@@ -4370,6 +4370,7 @@ class CfnListenerRuleProps:
|
|
|
4370
4370
|
jsii_type="aws-cdk-lib.aws_elasticloadbalancingv2.CfnLoadBalancerProps",
|
|
4371
4371
|
jsii_struct_bases=[],
|
|
4372
4372
|
name_mapping={
|
|
4373
|
+
"enable_capacity_reservation_provision_stabilize": "enableCapacityReservationProvisionStabilize",
|
|
4373
4374
|
"enable_prefix_for_ipv6_source_nat": "enablePrefixForIpv6SourceNat",
|
|
4374
4375
|
"enforce_security_group_inbound_rules_on_private_link_traffic": "enforceSecurityGroupInboundRulesOnPrivateLinkTraffic",
|
|
4375
4376
|
"ip_address_type": "ipAddressType",
|
|
@@ -4389,6 +4390,7 @@ class CfnLoadBalancerProps:
|
|
|
4389
4390
|
def __init__(
|
|
4390
4391
|
self,
|
|
4391
4392
|
*,
|
|
4393
|
+
enable_capacity_reservation_provision_stabilize: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
4392
4394
|
enable_prefix_for_ipv6_source_nat: typing.Optional[builtins.str] = None,
|
|
4393
4395
|
enforce_security_group_inbound_rules_on_private_link_traffic: typing.Optional[builtins.str] = None,
|
|
4394
4396
|
ip_address_type: typing.Optional[builtins.str] = None,
|
|
@@ -4405,6 +4407,7 @@ class CfnLoadBalancerProps:
|
|
|
4405
4407
|
) -> None:
|
|
4406
4408
|
'''Properties for defining a ``CfnLoadBalancer``.
|
|
4407
4409
|
|
|
4410
|
+
:param enable_capacity_reservation_provision_stabilize: Default: - false
|
|
4408
4411
|
:param enable_prefix_for_ipv6_source_nat: [Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT. The IP address type must be ``dualstack`` . The default value is ``off`` .
|
|
4409
4412
|
:param enforce_security_group_inbound_rules_on_private_link_traffic: Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through AWS PrivateLink . The default is ``on`` . You can't configure this property on a Network Load Balancer unless you associated a security group with the load balancer when you created it.
|
|
4410
4413
|
:param ip_address_type: The IP address type. Internal load balancers must use ``ipv4`` . [Application Load Balancers] The possible values are ``ipv4`` (IPv4 addresses), ``dualstack`` (IPv4 and IPv6 addresses), and ``dualstack-without-public-ipv4`` (public IPv6 addresses and private IPv4 and IPv6 addresses). Application Load Balancer authentication supports IPv4 addresses only when connecting to an Identity Provider (IdP) or Amazon Cognito endpoint. Without a public IPv4 address the load balancer can't complete the authentication process, resulting in HTTP 500 errors. [Network Load Balancers and Gateway Load Balancers] The possible values are ``ipv4`` (IPv4 addresses) and ``dualstack`` (IPv4 and IPv6 addresses).
|
|
@@ -4429,6 +4432,7 @@ class CfnLoadBalancerProps:
|
|
|
4429
4432
|
from aws_cdk import aws_elasticloadbalancingv2 as elbv2
|
|
4430
4433
|
|
|
4431
4434
|
cfn_load_balancer_props = elbv2.CfnLoadBalancerProps(
|
|
4435
|
+
enable_capacity_reservation_provision_stabilize=False,
|
|
4432
4436
|
enable_prefix_for_ipv6_source_nat="enablePrefixForIpv6SourceNat",
|
|
4433
4437
|
enforce_security_group_inbound_rules_on_private_link_traffic="enforceSecurityGroupInboundRulesOnPrivateLinkTraffic",
|
|
4434
4438
|
ip_address_type="ipAddressType",
|
|
@@ -4462,6 +4466,7 @@ class CfnLoadBalancerProps:
|
|
|
4462
4466
|
'''
|
|
4463
4467
|
if __debug__:
|
|
4464
4468
|
type_hints = typing.get_type_hints(_typecheckingstub__6b1eb30cea756dc45f625ec82ab8cba6ea31d24595a925a4aabceb7e6605bcde)
|
|
4469
|
+
check_type(argname="argument enable_capacity_reservation_provision_stabilize", value=enable_capacity_reservation_provision_stabilize, expected_type=type_hints["enable_capacity_reservation_provision_stabilize"])
|
|
4465
4470
|
check_type(argname="argument enable_prefix_for_ipv6_source_nat", value=enable_prefix_for_ipv6_source_nat, expected_type=type_hints["enable_prefix_for_ipv6_source_nat"])
|
|
4466
4471
|
check_type(argname="argument enforce_security_group_inbound_rules_on_private_link_traffic", value=enforce_security_group_inbound_rules_on_private_link_traffic, expected_type=type_hints["enforce_security_group_inbound_rules_on_private_link_traffic"])
|
|
4467
4472
|
check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
|
|
@@ -4476,6 +4481,8 @@ class CfnLoadBalancerProps:
|
|
|
4476
4481
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
4477
4482
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
4478
4483
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4484
|
+
if enable_capacity_reservation_provision_stabilize is not None:
|
|
4485
|
+
self._values["enable_capacity_reservation_provision_stabilize"] = enable_capacity_reservation_provision_stabilize
|
|
4479
4486
|
if enable_prefix_for_ipv6_source_nat is not None:
|
|
4480
4487
|
self._values["enable_prefix_for_ipv6_source_nat"] = enable_prefix_for_ipv6_source_nat
|
|
4481
4488
|
if enforce_security_group_inbound_rules_on_private_link_traffic is not None:
|
|
@@ -4503,6 +4510,18 @@ class CfnLoadBalancerProps:
|
|
|
4503
4510
|
if type is not None:
|
|
4504
4511
|
self._values["type"] = type
|
|
4505
4512
|
|
|
4513
|
+
@builtins.property
|
|
4514
|
+
def enable_capacity_reservation_provision_stabilize(
|
|
4515
|
+
self,
|
|
4516
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4517
|
+
'''
|
|
4518
|
+
:default: - false
|
|
4519
|
+
|
|
4520
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html#cfn-elasticloadbalancingv2-loadbalancer-enablecapacityreservationprovisionstabilize
|
|
4521
|
+
'''
|
|
4522
|
+
result = self._values.get("enable_capacity_reservation_provision_stabilize")
|
|
4523
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
4524
|
+
|
|
4506
4525
|
@builtins.property
|
|
4507
4526
|
def enable_prefix_for_ipv6_source_nat(self) -> typing.Optional[builtins.str]:
|
|
4508
4527
|
'''[Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT.
|
|
@@ -21911,6 +21930,7 @@ class CfnLoadBalancer(
|
|
|
21911
21930
|
from aws_cdk import aws_elasticloadbalancingv2 as elbv2
|
|
21912
21931
|
|
|
21913
21932
|
cfn_load_balancer = elbv2.CfnLoadBalancer(self, "MyCfnLoadBalancer",
|
|
21933
|
+
enable_capacity_reservation_provision_stabilize=False,
|
|
21914
21934
|
enable_prefix_for_ipv6_source_nat="enablePrefixForIpv6SourceNat",
|
|
21915
21935
|
enforce_security_group_inbound_rules_on_private_link_traffic="enforceSecurityGroupInboundRulesOnPrivateLinkTraffic",
|
|
21916
21936
|
ip_address_type="ipAddressType",
|
|
@@ -21948,6 +21968,7 @@ class CfnLoadBalancer(
|
|
|
21948
21968
|
scope: _constructs_77d1e7e8.Construct,
|
|
21949
21969
|
id: builtins.str,
|
|
21950
21970
|
*,
|
|
21971
|
+
enable_capacity_reservation_provision_stabilize: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
21951
21972
|
enable_prefix_for_ipv6_source_nat: typing.Optional[builtins.str] = None,
|
|
21952
21973
|
enforce_security_group_inbound_rules_on_private_link_traffic: typing.Optional[builtins.str] = None,
|
|
21953
21974
|
ip_address_type: typing.Optional[builtins.str] = None,
|
|
@@ -21965,6 +21986,7 @@ class CfnLoadBalancer(
|
|
|
21965
21986
|
'''
|
|
21966
21987
|
:param scope: Scope in which this resource is defined.
|
|
21967
21988
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
21989
|
+
:param enable_capacity_reservation_provision_stabilize: Default: - false
|
|
21968
21990
|
:param enable_prefix_for_ipv6_source_nat: [Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT. The IP address type must be ``dualstack`` . The default value is ``off`` .
|
|
21969
21991
|
:param enforce_security_group_inbound_rules_on_private_link_traffic: Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through AWS PrivateLink . The default is ``on`` . You can't configure this property on a Network Load Balancer unless you associated a security group with the load balancer when you created it.
|
|
21970
21992
|
:param ip_address_type: The IP address type. Internal load balancers must use ``ipv4`` . [Application Load Balancers] The possible values are ``ipv4`` (IPv4 addresses), ``dualstack`` (IPv4 and IPv6 addresses), and ``dualstack-without-public-ipv4`` (public IPv6 addresses and private IPv4 and IPv6 addresses). Application Load Balancer authentication supports IPv4 addresses only when connecting to an Identity Provider (IdP) or Amazon Cognito endpoint. Without a public IPv4 address the load balancer can't complete the authentication process, resulting in HTTP 500 errors. [Network Load Balancers and Gateway Load Balancers] The possible values are ``ipv4`` (IPv4 addresses) and ``dualstack`` (IPv4 and IPv6 addresses).
|
|
@@ -21984,6 +22006,7 @@ class CfnLoadBalancer(
|
|
|
21984
22006
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
21985
22007
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
21986
22008
|
props = CfnLoadBalancerProps(
|
|
22009
|
+
enable_capacity_reservation_provision_stabilize=enable_capacity_reservation_provision_stabilize,
|
|
21987
22010
|
enable_prefix_for_ipv6_source_nat=enable_prefix_for_ipv6_source_nat,
|
|
21988
22011
|
enforce_security_group_inbound_rules_on_private_link_traffic=enforce_security_group_inbound_rules_on_private_link_traffic,
|
|
21989
22012
|
ip_address_type=ip_address_type,
|
|
@@ -22110,6 +22133,23 @@ class CfnLoadBalancer(
|
|
|
22110
22133
|
'''Tag Manager which manages the tags for this resource.'''
|
|
22111
22134
|
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
|
|
22112
22135
|
|
|
22136
|
+
@builtins.property
|
|
22137
|
+
@jsii.member(jsii_name="enableCapacityReservationProvisionStabilize")
|
|
22138
|
+
def enable_capacity_reservation_provision_stabilize(
|
|
22139
|
+
self,
|
|
22140
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
22141
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "enableCapacityReservationProvisionStabilize"))
|
|
22142
|
+
|
|
22143
|
+
@enable_capacity_reservation_provision_stabilize.setter
|
|
22144
|
+
def enable_capacity_reservation_provision_stabilize(
|
|
22145
|
+
self,
|
|
22146
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
22147
|
+
) -> None:
|
|
22148
|
+
if __debug__:
|
|
22149
|
+
type_hints = typing.get_type_hints(_typecheckingstub__db326b5431980db555d148f9ae3420eff076c5f4436bcac08ce2f9c7154eefce)
|
|
22150
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
22151
|
+
jsii.set(self, "enableCapacityReservationProvisionStabilize", value) # pyright: ignore[reportArgumentType]
|
|
22152
|
+
|
|
22113
22153
|
@builtins.property
|
|
22114
22154
|
@jsii.member(jsii_name="enablePrefixForIpv6SourceNat")
|
|
22115
22155
|
def enable_prefix_for_ipv6_source_nat(self) -> typing.Optional[builtins.str]:
|
|
@@ -28396,6 +28436,7 @@ def _typecheckingstub__ca75076613edf0bf6ade8ee145bc71de34aa66567d90d5721bd40f862
|
|
|
28396
28436
|
|
|
28397
28437
|
def _typecheckingstub__6b1eb30cea756dc45f625ec82ab8cba6ea31d24595a925a4aabceb7e6605bcde(
|
|
28398
28438
|
*,
|
|
28439
|
+
enable_capacity_reservation_provision_stabilize: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
28399
28440
|
enable_prefix_for_ipv6_source_nat: typing.Optional[builtins.str] = None,
|
|
28400
28441
|
enforce_security_group_inbound_rules_on_private_link_traffic: typing.Optional[builtins.str] = None,
|
|
28401
28442
|
ip_address_type: typing.Optional[builtins.str] = None,
|
|
@@ -29797,6 +29838,7 @@ def _typecheckingstub__907e1e3e88136a6a7bdcdac293563447ed893c77b9f7b1e7154fb1749
|
|
|
29797
29838
|
scope: _constructs_77d1e7e8.Construct,
|
|
29798
29839
|
id: builtins.str,
|
|
29799
29840
|
*,
|
|
29841
|
+
enable_capacity_reservation_provision_stabilize: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
29800
29842
|
enable_prefix_for_ipv6_source_nat: typing.Optional[builtins.str] = None,
|
|
29801
29843
|
enforce_security_group_inbound_rules_on_private_link_traffic: typing.Optional[builtins.str] = None,
|
|
29802
29844
|
ip_address_type: typing.Optional[builtins.str] = None,
|
|
@@ -29826,6 +29868,12 @@ def _typecheckingstub__1a178a2aa61d40ebc079a81b6caeba1ff6649a54d784e4ce75ed79b7e
|
|
|
29826
29868
|
"""Type checking stubs"""
|
|
29827
29869
|
pass
|
|
29828
29870
|
|
|
29871
|
+
def _typecheckingstub__db326b5431980db555d148f9ae3420eff076c5f4436bcac08ce2f9c7154eefce(
|
|
29872
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
29873
|
+
) -> None:
|
|
29874
|
+
"""Type checking stubs"""
|
|
29875
|
+
pass
|
|
29876
|
+
|
|
29829
29877
|
def _typecheckingstub__38b5ad2c151ce05a51bb2ba1eaa4eb8a906d379df6a66c99f7a4f368bf663f77(
|
|
29830
29878
|
value: typing.Optional[builtins.str],
|
|
29831
29879
|
) -> None:
|
|
@@ -5593,7 +5593,7 @@ class CfnDomain(
|
|
|
5593
5593
|
The ``AWS::Elasticsearch::Domain`` resource is being replaced by the `AWS::OpenSearchService::Domain <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html>`_ resource. While the legacy Elasticsearch resource and options are still supported, we recommend modifying your existing Cloudformation templates to use the new OpenSearch Service resource, which supports both OpenSearch and Elasticsearch. For more information about the service rename, see `New resource types <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/rename.html#rename-resource>`_ in the *Amazon OpenSearch Service Developer Guide* .
|
|
5594
5594
|
|
|
5595
5595
|
:param custom_endpoint: The fully qualified URL for your custom endpoint. Required if you enabled a custom endpoint for the domain.
|
|
5596
|
-
:param custom_endpoint_certificate_arn: The
|
|
5596
|
+
:param custom_endpoint_certificate_arn: The Certificate Manager ARN for your domain's SSL/TLS certificate. Required if you enabled a custom endpoint for the domain.
|
|
5597
5597
|
:param custom_endpoint_enabled: True to enable a custom endpoint for the domain. If enabled, you must also provide values for ``CustomEndpoint`` and ``CustomEndpointCertificateArn`` .
|
|
5598
5598
|
:param enforce_https: True to require that all traffic to the domain arrive over HTTPS.
|
|
5599
5599
|
:param tls_security_policy: The minimum TLS version required for traffic to the domain. Valid values are TLS 1.3 (recommended) or 1.2:. - ``Policy-Min-TLS-1-0-2019-07`` - ``Policy-Min-TLS-1-2-2019-07``
|
|
@@ -5647,7 +5647,7 @@ class CfnDomain(
|
|
|
5647
5647
|
|
|
5648
5648
|
@builtins.property
|
|
5649
5649
|
def custom_endpoint_certificate_arn(self) -> typing.Optional[builtins.str]:
|
|
5650
|
-
'''The
|
|
5650
|
+
'''The Certificate Manager ARN for your domain's SSL/TLS certificate.
|
|
5651
5651
|
|
|
5652
5652
|
Required if you enabled a custom endpoint for the domain.
|
|
5653
5653
|
|
aws_cdk/aws_evs/__init__.py
CHANGED
|
@@ -210,7 +210,11 @@ class CfnEnvironmentProps:
|
|
|
210
210
|
),
|
|
211
211
|
v_tep=evs.CfnEnvironment.InitialVlanInfoProperty(
|
|
212
212
|
cidr="cidr"
|
|
213
|
-
)
|
|
213
|
+
),
|
|
214
|
+
|
|
215
|
+
# the properties below are optional
|
|
216
|
+
hcx_network_acl_id="hcxNetworkAclId",
|
|
217
|
+
is_hcx_public=False
|
|
214
218
|
),
|
|
215
219
|
kms_key_id="kmsKeyId",
|
|
216
220
|
service_access_security_groups=evs.CfnEnvironment.ServiceAccessSecurityGroupsProperty(
|
|
@@ -644,7 +648,11 @@ class CfnEnvironment(
|
|
|
644
648
|
),
|
|
645
649
|
v_tep=evs.CfnEnvironment.InitialVlanInfoProperty(
|
|
646
650
|
cidr="cidr"
|
|
647
|
-
)
|
|
651
|
+
),
|
|
652
|
+
|
|
653
|
+
# the properties below are optional
|
|
654
|
+
hcx_network_acl_id="hcxNetworkAclId",
|
|
655
|
+
is_hcx_public=False
|
|
648
656
|
),
|
|
649
657
|
kms_key_id="kmsKeyId",
|
|
650
658
|
service_access_security_groups=evs.CfnEnvironment.ServiceAccessSecurityGroupsProperty(
|
|
@@ -1432,6 +1440,8 @@ class CfnEnvironment(
|
|
|
1432
1440
|
"v_motion": "vMotion",
|
|
1433
1441
|
"v_san": "vSan",
|
|
1434
1442
|
"v_tep": "vTep",
|
|
1443
|
+
"hcx_network_acl_id": "hcxNetworkAclId",
|
|
1444
|
+
"is_hcx_public": "isHcxPublic",
|
|
1435
1445
|
},
|
|
1436
1446
|
)
|
|
1437
1447
|
class InitialVlansProperty:
|
|
@@ -1448,6 +1458,8 @@ class CfnEnvironment(
|
|
|
1448
1458
|
v_motion: typing.Union[_IResolvable_da3f097b, typing.Union["CfnEnvironment.InitialVlanInfoProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1449
1459
|
v_san: typing.Union[_IResolvable_da3f097b, typing.Union["CfnEnvironment.InitialVlanInfoProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1450
1460
|
v_tep: typing.Union[_IResolvable_da3f097b, typing.Union["CfnEnvironment.InitialVlanInfoProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1461
|
+
hcx_network_acl_id: typing.Optional[builtins.str] = None,
|
|
1462
|
+
is_hcx_public: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1451
1463
|
) -> None:
|
|
1452
1464
|
'''The initial VLAN subnets for the environment.
|
|
1453
1465
|
|
|
@@ -1456,13 +1468,15 @@ class CfnEnvironment(
|
|
|
1456
1468
|
:param edge_v_tep: The edge VTEP VLAN subnet. This VLAN subnet manages traffic flowing between the internal network and external networks, including internet access and other site connections.
|
|
1457
1469
|
:param expansion_vlan1: An additional VLAN subnet that can be used to extend VCF capabilities once configured. For example, you can configure an expansion VLAN subnet to use NSX Federation for centralized management and synchronization of multiple NSX deployments across different locations.
|
|
1458
1470
|
:param expansion_vlan2: An additional VLAN subnet that can be used to extend VCF capabilities once configured. For example, you can configure an expansion VLAN subnet to use NSX Federation for centralized management and synchronization of multiple NSX deployments across different locations.
|
|
1459
|
-
:param hcx: The HCX VLAN subnet. This VLAN subnet allows the HCX Interconnnect (IX) and HCX Network Extension (NE) to reach their peers and enable HCX Service Mesh creation.
|
|
1471
|
+
:param hcx: The HCX VLAN subnet. This VLAN subnet allows the HCX Interconnnect (IX) and HCX Network Extension (NE) to reach their peers and enable HCX Service Mesh creation. If you plan to use a public HCX VLAN subnet, the following requirements must be met: - Must have a /28 netmask and be allocated from the IPAM public pool. Required for HCX internet access configuration. - The HCX public VLAN CIDR block must be added to the VPC as a secondary CIDR block. - Must have at least two Elastic IP addresses to be allocated from the public IPAM pool for HCX components.
|
|
1460
1472
|
:param nsx_up_link: The NSX uplink VLAN subnet. This VLAN subnet allows connectivity to the NSX overlay network.
|
|
1461
1473
|
:param vmk_management: The host VMkernel management VLAN subnet. This VLAN subnet carries traffic for managing ESXi hosts and communicating with VMware vCenter Server.
|
|
1462
1474
|
:param vm_management: The VM management VLAN subnet. This VLAN subnet carries traffic for vSphere virtual machines.
|
|
1463
1475
|
:param v_motion: The vMotion VLAN subnet. This VLAN subnet carries traffic for vSphere vMotion.
|
|
1464
1476
|
:param v_san: The vSAN VLAN subnet. This VLAN subnet carries the communication between ESXi hosts to implement a vSAN shared storage pool.
|
|
1465
1477
|
:param v_tep: The VTEP VLAN subnet. This VLAN subnet handles internal network traffic between virtual machines within a VCF instance.
|
|
1478
|
+
:param hcx_network_acl_id: A unique ID for a network access control list that the HCX VLAN uses. Required when ``isHcxPublic`` is set to ``true`` .
|
|
1479
|
+
:param is_hcx_public: Determines if the HCX VLAN that Amazon EVS provisions is public or private.
|
|
1466
1480
|
|
|
1467
1481
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-initialvlans.html
|
|
1468
1482
|
:exampleMetadata: fixture=_generated
|
|
@@ -1503,7 +1517,11 @@ class CfnEnvironment(
|
|
|
1503
1517
|
),
|
|
1504
1518
|
v_tep=evs.CfnEnvironment.InitialVlanInfoProperty(
|
|
1505
1519
|
cidr="cidr"
|
|
1506
|
-
)
|
|
1520
|
+
),
|
|
1521
|
+
|
|
1522
|
+
# the properties below are optional
|
|
1523
|
+
hcx_network_acl_id="hcxNetworkAclId",
|
|
1524
|
+
is_hcx_public=False
|
|
1507
1525
|
)
|
|
1508
1526
|
'''
|
|
1509
1527
|
if __debug__:
|
|
@@ -1518,6 +1536,8 @@ class CfnEnvironment(
|
|
|
1518
1536
|
check_type(argname="argument v_motion", value=v_motion, expected_type=type_hints["v_motion"])
|
|
1519
1537
|
check_type(argname="argument v_san", value=v_san, expected_type=type_hints["v_san"])
|
|
1520
1538
|
check_type(argname="argument v_tep", value=v_tep, expected_type=type_hints["v_tep"])
|
|
1539
|
+
check_type(argname="argument hcx_network_acl_id", value=hcx_network_acl_id, expected_type=type_hints["hcx_network_acl_id"])
|
|
1540
|
+
check_type(argname="argument is_hcx_public", value=is_hcx_public, expected_type=type_hints["is_hcx_public"])
|
|
1521
1541
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1522
1542
|
"edge_v_tep": edge_v_tep,
|
|
1523
1543
|
"expansion_vlan1": expansion_vlan1,
|
|
@@ -1530,6 +1550,10 @@ class CfnEnvironment(
|
|
|
1530
1550
|
"v_san": v_san,
|
|
1531
1551
|
"v_tep": v_tep,
|
|
1532
1552
|
}
|
|
1553
|
+
if hcx_network_acl_id is not None:
|
|
1554
|
+
self._values["hcx_network_acl_id"] = hcx_network_acl_id
|
|
1555
|
+
if is_hcx_public is not None:
|
|
1556
|
+
self._values["is_hcx_public"] = is_hcx_public
|
|
1533
1557
|
|
|
1534
1558
|
@builtins.property
|
|
1535
1559
|
def edge_v_tep(
|
|
@@ -1581,6 +1605,12 @@ class CfnEnvironment(
|
|
|
1581
1605
|
|
|
1582
1606
|
This VLAN subnet allows the HCX Interconnnect (IX) and HCX Network Extension (NE) to reach their peers and enable HCX Service Mesh creation.
|
|
1583
1607
|
|
|
1608
|
+
If you plan to use a public HCX VLAN subnet, the following requirements must be met:
|
|
1609
|
+
|
|
1610
|
+
- Must have a /28 netmask and be allocated from the IPAM public pool. Required for HCX internet access configuration.
|
|
1611
|
+
- The HCX public VLAN CIDR block must be added to the VPC as a secondary CIDR block.
|
|
1612
|
+
- Must have at least two Elastic IP addresses to be allocated from the public IPAM pool for HCX components.
|
|
1613
|
+
|
|
1584
1614
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-initialvlans.html#cfn-evs-environment-initialvlans-hcx
|
|
1585
1615
|
'''
|
|
1586
1616
|
result = self._values.get("hcx")
|
|
@@ -1671,6 +1701,28 @@ class CfnEnvironment(
|
|
|
1671
1701
|
assert result is not None, "Required property 'v_tep' is missing"
|
|
1672
1702
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnEnvironment.InitialVlanInfoProperty"], result)
|
|
1673
1703
|
|
|
1704
|
+
@builtins.property
|
|
1705
|
+
def hcx_network_acl_id(self) -> typing.Optional[builtins.str]:
|
|
1706
|
+
'''A unique ID for a network access control list that the HCX VLAN uses.
|
|
1707
|
+
|
|
1708
|
+
Required when ``isHcxPublic`` is set to ``true`` .
|
|
1709
|
+
|
|
1710
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-initialvlans.html#cfn-evs-environment-initialvlans-hcxnetworkaclid
|
|
1711
|
+
'''
|
|
1712
|
+
result = self._values.get("hcx_network_acl_id")
|
|
1713
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1714
|
+
|
|
1715
|
+
@builtins.property
|
|
1716
|
+
def is_hcx_public(
|
|
1717
|
+
self,
|
|
1718
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1719
|
+
'''Determines if the HCX VLAN that Amazon EVS provisions is public or private.
|
|
1720
|
+
|
|
1721
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-initialvlans.html#cfn-evs-environment-initialvlans-ishcxpublic
|
|
1722
|
+
'''
|
|
1723
|
+
result = self._values.get("is_hcx_public")
|
|
1724
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1725
|
+
|
|
1674
1726
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1675
1727
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1676
1728
|
|
|
@@ -2261,6 +2313,8 @@ def _typecheckingstub__a70b9547ba64740f8b44168dbcdcd80e75a75a1dc2ed733c834ad336f
|
|
|
2261
2313
|
v_motion: typing.Union[_IResolvable_da3f097b, typing.Union[CfnEnvironment.InitialVlanInfoProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2262
2314
|
v_san: typing.Union[_IResolvable_da3f097b, typing.Union[CfnEnvironment.InitialVlanInfoProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2263
2315
|
v_tep: typing.Union[_IResolvable_da3f097b, typing.Union[CfnEnvironment.InitialVlanInfoProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2316
|
+
hcx_network_acl_id: typing.Optional[builtins.str] = None,
|
|
2317
|
+
is_hcx_public: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2264
2318
|
) -> None:
|
|
2265
2319
|
"""Type checking stubs"""
|
|
2266
2320
|
pass
|