aws-cdk-lib 2.154.0__py3-none-any.whl → 2.154.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/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.154.0.jsii.tgz → aws-cdk-lib@2.154.1.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +13 -14
- aws_cdk/aws_bedrock/__init__.py +2672 -306
- aws_cdk/aws_cloudfront/__init__.py +16 -3
- aws_cdk/aws_codebuild/__init__.py +39 -0
- aws_cdk/aws_ec2/__init__.py +20 -12
- aws_cdk/aws_ecs/__init__.py +5 -3
- aws_cdk/aws_gamelift/__init__.py +52 -40
- aws_cdk/aws_glue/__init__.py +55 -4
- aws_cdk/aws_imagebuilder/__init__.py +6 -6
- aws_cdk/aws_ivs/__init__.py +458 -2
- aws_cdk/aws_medialive/__init__.py +41 -0
- aws_cdk/aws_msk/__init__.py +88 -0
- aws_cdk/aws_sagemaker/__init__.py +2 -2
- aws_cdk/aws_ssm/__init__.py +5 -5
- aws_cdk/custom_resources/__init__.py +7 -1
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/RECORD +23 -23
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_gamelift/__init__.py
CHANGED
|
@@ -863,7 +863,9 @@ class CfnContainerGroupDefinition(
|
|
|
863
863
|
metaclass=jsii.JSIIMeta,
|
|
864
864
|
jsii_type="aws-cdk-lib.aws_gamelift.CfnContainerGroupDefinition",
|
|
865
865
|
):
|
|
866
|
-
'''*This data type is
|
|
866
|
+
'''*This data type is currently not available.
|
|
867
|
+
|
|
868
|
+
It is under improvement as we respond to customer feedback from the Containers public preview.*
|
|
867
869
|
|
|
868
870
|
The properties that describe a container group resource. Container group definition properties can't be updated. To change a property, create a new container group definition.
|
|
869
871
|
|
|
@@ -955,8 +957,8 @@ class CfnContainerGroupDefinition(
|
|
|
955
957
|
:param container_definitions: The set of container definitions that are included in the container group.
|
|
956
958
|
:param name: A descriptive identifier for the container group definition. The name value is unique in an AWS Region.
|
|
957
959
|
:param operating_system: The platform required for all containers in the container group definition. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/https://aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to Amazon GameLift server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
958
|
-
:param total_cpu_limit: The amount of CPU units on a fleet instance to allocate for the container group. All containers in the group share these resources. This property is an integer value in CPU units (1 vCPU is equal to 1024 CPU units). You can set additional limits for each ``ContainerDefinition`` in the group. If individual containers have limits, this value must be equal to or greater than the sum of all container-specific CPU limits in the group.
|
|
959
|
-
:param total_memory_limit: The amount of memory (in MiB) on a fleet instance to allocate for the container group. All containers in the group share these resources. You can set additional limits for each ``ContainerDefinition`` in the group. If individual containers have limits, this value must meet the following requirements: - Equal to or greater than the sum of all container-specific soft memory limits in the group. - Equal to or greater than any container-specific hard limits in the group.
|
|
960
|
+
:param total_cpu_limit: The amount of CPU units on a fleet instance to allocate for the container group. All containers in the group share these resources. This property is an integer value in CPU units (1 vCPU is equal to 1024 CPU units). You can set additional limits for each ``ContainerDefinition`` in the group. If individual containers have limits, this value must be equal to or greater than the sum of all container-specific CPU limits in the group.
|
|
961
|
+
:param total_memory_limit: The amount of memory (in MiB) on a fleet instance to allocate for the container group. All containers in the group share these resources. You can set additional limits for each ``ContainerDefinition`` in the group. If individual containers have limits, this value must meet the following requirements: - Equal to or greater than the sum of all container-specific soft memory limits in the group. - Equal to or greater than any container-specific hard limits in the group.
|
|
960
962
|
:param scheduling_strategy: The method for deploying the container group across fleet instances. A replica container group might have multiple copies on each fleet instance. A daemon container group maintains only one copy per fleet instance.
|
|
961
963
|
:param tags: An array of key-value pairs to apply to this resource.
|
|
962
964
|
'''
|
|
@@ -1170,7 +1172,9 @@ class CfnContainerGroupDefinition(
|
|
|
1170
1172
|
resolved_image_digest: typing.Optional[builtins.str] = None,
|
|
1171
1173
|
working_directory: typing.Optional[builtins.str] = None,
|
|
1172
1174
|
) -> None:
|
|
1173
|
-
'''*This data type is
|
|
1175
|
+
'''*This data type is currently not available.
|
|
1176
|
+
|
|
1177
|
+
It is under improvement as we respond to customer feedback from the Containers public preview.*
|
|
1174
1178
|
|
|
1175
1179
|
Describes a container in a container fleet, the resources available to the container, and the commands that are run when the container starts. Container properties can't be updated. To change a property, create a new container group definition. See also ``ContainerDefinitionInput`` .
|
|
1176
1180
|
|
|
@@ -1468,7 +1472,9 @@ class CfnContainerGroupDefinition(
|
|
|
1468
1472
|
condition: builtins.str,
|
|
1469
1473
|
container_name: builtins.str,
|
|
1470
1474
|
) -> None:
|
|
1471
|
-
'''*This data type is
|
|
1475
|
+
'''*This data type is currently not available.
|
|
1476
|
+
|
|
1477
|
+
It is under improvement as we respond to customer feedback from the Containers public preview.*
|
|
1472
1478
|
|
|
1473
1479
|
A container's dependency on another container in the same container group. The dependency impacts how the dependent container is able to start or shut down based the status of the other container.
|
|
1474
1480
|
|
|
@@ -1545,7 +1551,9 @@ class CfnContainerGroupDefinition(
|
|
|
1545
1551
|
)
|
|
1546
1552
|
class ContainerEnvironmentProperty:
|
|
1547
1553
|
def __init__(self, *, name: builtins.str, value: builtins.str) -> None:
|
|
1548
|
-
'''*This data type is
|
|
1554
|
+
'''*This data type is currently not available.
|
|
1555
|
+
|
|
1556
|
+
It is under improvement as we respond to customer feedback from the Containers public preview.*
|
|
1549
1557
|
|
|
1550
1558
|
An environment variable to set inside a container, in the form of a key-value pair.
|
|
1551
1559
|
|
|
@@ -1759,7 +1767,9 @@ class CfnContainerGroupDefinition(
|
|
|
1759
1767
|
protocol: builtins.str,
|
|
1760
1768
|
to_port: jsii.Number,
|
|
1761
1769
|
) -> None:
|
|
1762
|
-
'''*This data type is
|
|
1770
|
+
'''*This data type is currently not available.
|
|
1771
|
+
|
|
1772
|
+
It is under improvement as we respond to customer feedback from the Containers public preview.*
|
|
1763
1773
|
|
|
1764
1774
|
A set of one or more port numbers that can be opened on the container.
|
|
1765
1775
|
|
|
@@ -2001,8 +2011,8 @@ class CfnContainerGroupDefinitionProps:
|
|
|
2001
2011
|
:param container_definitions: The set of container definitions that are included in the container group.
|
|
2002
2012
|
:param name: A descriptive identifier for the container group definition. The name value is unique in an AWS Region.
|
|
2003
2013
|
:param operating_system: The platform required for all containers in the container group definition. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/https://aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to Amazon GameLift server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
2004
|
-
:param total_cpu_limit: The amount of CPU units on a fleet instance to allocate for the container group. All containers in the group share these resources. This property is an integer value in CPU units (1 vCPU is equal to 1024 CPU units). You can set additional limits for each ``ContainerDefinition`` in the group. If individual containers have limits, this value must be equal to or greater than the sum of all container-specific CPU limits in the group.
|
|
2005
|
-
:param total_memory_limit: The amount of memory (in MiB) on a fleet instance to allocate for the container group. All containers in the group share these resources. You can set additional limits for each ``ContainerDefinition`` in the group. If individual containers have limits, this value must meet the following requirements: - Equal to or greater than the sum of all container-specific soft memory limits in the group. - Equal to or greater than any container-specific hard limits in the group.
|
|
2014
|
+
:param total_cpu_limit: The amount of CPU units on a fleet instance to allocate for the container group. All containers in the group share these resources. This property is an integer value in CPU units (1 vCPU is equal to 1024 CPU units). You can set additional limits for each ``ContainerDefinition`` in the group. If individual containers have limits, this value must be equal to or greater than the sum of all container-specific CPU limits in the group.
|
|
2015
|
+
:param total_memory_limit: The amount of memory (in MiB) on a fleet instance to allocate for the container group. All containers in the group share these resources. You can set additional limits for each ``ContainerDefinition`` in the group. If individual containers have limits, this value must meet the following requirements: - Equal to or greater than the sum of all container-specific soft memory limits in the group. - Equal to or greater than any container-specific hard limits in the group.
|
|
2006
2016
|
:param scheduling_strategy: The method for deploying the container group across fleet instances. A replica container group might have multiple copies on each fleet instance. A daemon container group maintains only one copy per fleet instance.
|
|
2007
2017
|
:param tags: An array of key-value pairs to apply to this resource.
|
|
2008
2018
|
|
|
@@ -2136,8 +2146,6 @@ class CfnContainerGroupDefinitionProps:
|
|
|
2136
2146
|
|
|
2137
2147
|
You can set additional limits for each ``ContainerDefinition`` in the group. If individual containers have limits, this value must be equal to or greater than the sum of all container-specific CPU limits in the group.
|
|
2138
2148
|
|
|
2139
|
-
For more details on memory allocation, see the `Container fleet design guide <https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet>`_ .
|
|
2140
|
-
|
|
2141
2149
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-totalcpulimit
|
|
2142
2150
|
'''
|
|
2143
2151
|
result = self._values.get("total_cpu_limit")
|
|
@@ -2155,8 +2163,6 @@ class CfnContainerGroupDefinitionProps:
|
|
|
2155
2163
|
- Equal to or greater than the sum of all container-specific soft memory limits in the group.
|
|
2156
2164
|
- Equal to or greater than any container-specific hard limits in the group.
|
|
2157
2165
|
|
|
2158
|
-
For more details on memory allocation, see the `Container fleet design guide <https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet>`_ .
|
|
2159
|
-
|
|
2160
2166
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-totalmemorylimit
|
|
2161
2167
|
'''
|
|
2162
2168
|
result = self._values.get("total_memory_limit")
|
|
@@ -2348,18 +2354,18 @@ class CfnFleet(
|
|
|
2348
2354
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2349
2355
|
:param name: A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
|
|
2350
2356
|
:param anywhere_configuration: Amazon GameLift Anywhere configuration options.
|
|
2351
|
-
:param apply_capacity: Current resource capacity settings for managed EC2 fleets
|
|
2357
|
+
:param apply_capacity: Current resource capacity settings for managed EC2 fleets. For multi-location fleets, location values might refer to a fleet's remote location or its home Region. *Returned by:* `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>`_
|
|
2352
2358
|
: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.
|
|
2353
2359
|
: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* .
|
|
2354
2360
|
:param compute_type: The type of compute resource used to host your game servers. - ``EC2`` – The game server build is deployed to Amazon EC2 instances for cloud hosting. This is the default setting. - ``CONTAINER`` – Container images with your game server build and supporting software are deployed to Amazon EC2 instances for cloud hosting. With this compute type, you must specify the ``ContainerGroupsConfiguration`` parameter. - ``ANYWHERE`` – Game servers or container images with your game server and supporting software are deployed to compute resources that are provided and managed by you. With this compute type, you can also set the ``AnywhereConfiguration`` parameter.
|
|
2355
|
-
:param container_groups_configuration: *This data type is
|
|
2361
|
+
:param container_groups_configuration: *This data type is currently not available. It is under improvement as we respond to customer feedback from the Containers public preview.* Configuration details for a set of container groups, for use when creating a fleet with compute type ``CONTAINER`` . *Used with:* ``CreateFleet``
|
|
2356
2362
|
:param description: A description for the fleet.
|
|
2357
2363
|
:param desired_ec2_instances: The number of EC2 instances that you want this fleet to host. When creating a new fleet, GameLift automatically sets this value to "1" and initiates a single instance. Once the fleet is active, update this value to trigger GameLift to add or remove instances from the fleet.
|
|
2358
2364
|
:param ec2_inbound_permissions: The IP address ranges and port settings that allow inbound traffic to access game server processes and other processes on this fleet. Set this parameter for EC2 and container fleets. You can leave this parameter empty when creating the fleet, but you must call ``UpdateFleetPortSettings`` to set it before players can connect to game sessions. As a best practice, we recommend opening ports for remote access only when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon GameLift automatically sets TCP and UDP ranges. To manage inbound access for a container fleet, set this parameter to the same port numbers that you set for the fleet's connection port range. During the life of the fleet, update this parameter to control which connection ports are open to inbound traffic.
|
|
2359
2365
|
:param ec2_instance_type: The Amazon GameLift-supported Amazon EC2 instance type to use with EC2 and container fleets. Instance type determines the computing resources that will be used to host your game servers, including CPU, memory, storage, and networking capacity. See `Amazon Elastic Compute Cloud Instance Types <https://docs.aws.amazon.com/ec2/instance-types/>`_ for detailed descriptions of Amazon EC2 instance types.
|
|
2360
2366
|
:param fleet_type: Indicates whether to use On-Demand or Spot instances for this fleet. By default, this property is set to ``ON_DEMAND`` . Learn more about when to use `On-Demand versus Spot Instances <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-ec2-instances.html#gamelift-ec2-instances-spot>`_ . This fleet property can't be changed after the fleet is created.
|
|
2361
|
-
:param instance_role_arn: A unique identifier for an IAM role with access permissions to other AWS services. Any application that runs on an instance in the fleet--including install scripts, server processes, and other processes--can use these permissions to interact with AWS resources that you own or have access to. For more information about using the role with your game server builds, see `Communicate with other AWS resources from your fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html>`_ . This attribute is used with fleets where ``ComputeType`` is "EC2"
|
|
2362
|
-
:param instance_role_credentials_provider: Indicates that fleet instances maintain a shared credentials file for the IAM role defined in ``InstanceRoleArn`` . Shared credentials allow applications that are deployed with the game server executable to communicate with other AWS resources. This property is used only when the game server is integrated with the server SDK version 5.x. For more information about using shared credentials, see `Communicate with other AWS resources from your fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html>`_ . This attribute is used with fleets where ``ComputeType`` is "EC2"
|
|
2367
|
+
:param instance_role_arn: A unique identifier for an IAM role with access permissions to other AWS services. Any application that runs on an instance in the fleet--including install scripts, server processes, and other processes--can use these permissions to interact with AWS resources that you own or have access to. For more information about using the role with your game server builds, see `Communicate with other AWS resources from your fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html>`_ . This attribute is used with fleets where ``ComputeType`` is "EC2".
|
|
2368
|
+
:param instance_role_credentials_provider: Indicates that fleet instances maintain a shared credentials file for the IAM role defined in ``InstanceRoleArn`` . Shared credentials allow applications that are deployed with the game server executable to communicate with other AWS resources. This property is used only when the game server is integrated with the server SDK version 5.x. For more information about using shared credentials, see `Communicate with other AWS resources from your fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html>`_ . This attribute is used with fleets where ``ComputeType`` is "EC2".
|
|
2363
2369
|
:param locations: A set of remote locations to deploy additional instances to and manage as a multi-location fleet. Use this parameter when creating a fleet in AWS Regions that support multiple locations. You can add any AWS Region or Local Zone that's supported by Amazon GameLift. Provide a list of one or more AWS Region codes, such as ``us-west-2`` , or Local Zone names. When using this parameter, Amazon GameLift requires you to include your home location in the request. For a list of supported Regions and Local Zones, see `Amazon GameLift service locations <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html>`_ for managed hosting.
|
|
2364
2370
|
:param log_paths: (deprecated) This parameter is no longer used. When hosting a custom game build, specify where Amazon GameLift should store log files using the Amazon GameLift server API call ProcessReady()
|
|
2365
2371
|
:param max_size: The maximum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 1.
|
|
@@ -2501,7 +2507,7 @@ class CfnFleet(
|
|
|
2501
2507
|
@builtins.property
|
|
2502
2508
|
@jsii.member(jsii_name="applyCapacity")
|
|
2503
2509
|
def apply_capacity(self) -> typing.Optional[builtins.str]:
|
|
2504
|
-
'''Current resource capacity settings for managed EC2 fleets
|
|
2510
|
+
'''Current resource capacity settings for managed EC2 fleets.'''
|
|
2505
2511
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "applyCapacity"))
|
|
2506
2512
|
|
|
2507
2513
|
@apply_capacity.setter
|
|
@@ -2560,7 +2566,7 @@ class CfnFleet(
|
|
|
2560
2566
|
def container_groups_configuration(
|
|
2561
2567
|
self,
|
|
2562
2568
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.ContainerGroupsConfigurationProperty"]]:
|
|
2563
|
-
'''*This data type is
|
|
2569
|
+
'''*This data type is currently not available.'''
|
|
2564
2570
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.ContainerGroupsConfigurationProperty"]], jsii.get(self, "containerGroupsConfiguration"))
|
|
2565
2571
|
|
|
2566
2572
|
@container_groups_configuration.setter
|
|
@@ -3012,7 +3018,9 @@ class CfnFleet(
|
|
|
3012
3018
|
)
|
|
3013
3019
|
class ConnectionPortRangeProperty:
|
|
3014
3020
|
def __init__(self, *, from_port: jsii.Number, to_port: jsii.Number) -> None:
|
|
3015
|
-
'''*This
|
|
3021
|
+
'''*This data type is currently not available.
|
|
3022
|
+
|
|
3023
|
+
It is under improvement as we respond to customer feedback from the Containers public preview.*
|
|
3016
3024
|
|
|
3017
3025
|
The set of port numbers to open on each instance in a container fleet. Connection ports are used by inbound traffic to connect with processes that are running in containers on the fleet.
|
|
3018
3026
|
|
|
@@ -3094,7 +3102,9 @@ class CfnFleet(
|
|
|
3094
3102
|
container_group_definition_names: typing.Sequence[builtins.str],
|
|
3095
3103
|
container_groups_per_instance: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.ContainerGroupsPerInstanceProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3096
3104
|
) -> None:
|
|
3097
|
-
'''*This data type is
|
|
3105
|
+
'''*This data type is currently not available.
|
|
3106
|
+
|
|
3107
|
+
It is under improvement as we respond to customer feedback from the Containers public preview.*
|
|
3098
3108
|
|
|
3099
3109
|
Configuration details for a set of container groups, for use when creating a fleet with compute type ``CONTAINER`` .
|
|
3100
3110
|
|
|
@@ -3207,7 +3217,9 @@ class CfnFleet(
|
|
|
3207
3217
|
desired_replica_container_groups_per_instance: typing.Optional[jsii.Number] = None,
|
|
3208
3218
|
max_replica_container_groups_per_instance: typing.Optional[jsii.Number] = None,
|
|
3209
3219
|
) -> None:
|
|
3210
|
-
'''*This data type is
|
|
3220
|
+
'''*This data type is currently not available.
|
|
3221
|
+
|
|
3222
|
+
It is under improvement as we respond to customer feedback from the Containers public preview.*
|
|
3211
3223
|
|
|
3212
3224
|
Determines how many replica container groups that Amazon GameLift deploys to each instance in a container fleet.
|
|
3213
3225
|
|
|
@@ -3418,7 +3430,7 @@ class CfnFleet(
|
|
|
3418
3430
|
max_size: jsii.Number,
|
|
3419
3431
|
min_size: jsii.Number,
|
|
3420
3432
|
) -> None:
|
|
3421
|
-
'''Current resource capacity settings for managed EC2 fleets
|
|
3433
|
+
'''Current resource capacity settings for managed EC2 fleets.
|
|
3422
3434
|
|
|
3423
3435
|
For multi-location fleets, location values might refer to a fleet's remote location or its home Region.
|
|
3424
3436
|
|
|
@@ -3513,12 +3525,10 @@ class CfnFleet(
|
|
|
3513
3525
|
location: builtins.str,
|
|
3514
3526
|
location_capacity: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.LocationCapacityProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3515
3527
|
) -> None:
|
|
3516
|
-
'''
|
|
3517
|
-
|
|
3518
|
-
A remote location where a multi-location fleet can deploy game servers for game hosting.
|
|
3528
|
+
'''A remote location where a multi-location fleet can deploy game servers for game hosting.
|
|
3519
3529
|
|
|
3520
3530
|
:param location: An AWS Region code, such as ``us-west-2`` . For a list of supported Regions and Local Zones, see `Amazon GameLift service locations <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html>`_ for managed hosting.
|
|
3521
|
-
:param location_capacity: Current resource capacity settings for managed EC2 fleets
|
|
3531
|
+
:param location_capacity: Current resource capacity settings for managed EC2 fleets. For multi-location fleets, location values might refer to a fleet's remote location or its home Region. *Returned by:* `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>`_
|
|
3522
3532
|
|
|
3523
3533
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-locationconfiguration.html
|
|
3524
3534
|
:exampleMetadata: fixture=_generated
|
|
@@ -3566,7 +3576,7 @@ class CfnFleet(
|
|
|
3566
3576
|
def location_capacity(
|
|
3567
3577
|
self,
|
|
3568
3578
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.LocationCapacityProperty"]]:
|
|
3569
|
-
'''Current resource capacity settings for managed EC2 fleets
|
|
3579
|
+
'''Current resource capacity settings for managed EC2 fleets.
|
|
3570
3580
|
|
|
3571
3581
|
For multi-location fleets, location values might refer to a fleet's remote location or its home Region.
|
|
3572
3582
|
|
|
@@ -3693,7 +3703,7 @@ class CfnFleet(
|
|
|
3693
3703
|
A GameLift instance is limited to 50 processes running concurrently. To calculate the total number of processes in a runtime configuration, add the values of the ``ConcurrentExecutions`` parameter for each ServerProcess. Learn more about `Running Multiple Processes on a Fleet <https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-multiprocess.html>`_ .
|
|
3694
3704
|
|
|
3695
3705
|
:param game_session_activation_timeout_seconds: The maximum amount of time (in seconds) allowed to launch a new game session and have it report ready to host players. During this time, the game session is in status ``ACTIVATING`` . If the game session does not become active before the timeout, it is ended and the game session status is changed to ``TERMINATED`` .
|
|
3696
|
-
:param max_concurrent_game_session_activations: The number of game sessions in status ``ACTIVATING`` to allow on an instance
|
|
3706
|
+
:param max_concurrent_game_session_activations: The number of game sessions in status ``ACTIVATING`` to allow on an instance. This setting limits the instance resources that can be used for new game activations at any one time.
|
|
3697
3707
|
:param server_processes: A collection of server process configurations that identify what server processes to run on fleet computes.
|
|
3698
3708
|
|
|
3699
3709
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-runtimeconfiguration.html
|
|
@@ -3747,7 +3757,7 @@ class CfnFleet(
|
|
|
3747
3757
|
def max_concurrent_game_session_activations(
|
|
3748
3758
|
self,
|
|
3749
3759
|
) -> typing.Optional[jsii.Number]:
|
|
3750
|
-
'''The number of game sessions in status ``ACTIVATING`` to allow on an instance
|
|
3760
|
+
'''The number of game sessions in status ``ACTIVATING`` to allow on an instance.
|
|
3751
3761
|
|
|
3752
3762
|
This setting limits the instance resources that can be used for new game activations at any one time.
|
|
3753
3763
|
|
|
@@ -4075,7 +4085,7 @@ class CfnFleet(
|
|
|
4075
4085
|
|
|
4076
4086
|
Server processes run either an executable in a custom game build or a Realtime Servers script.
|
|
4077
4087
|
|
|
4078
|
-
:param concurrent_executions: The number of server processes using this configuration that run concurrently on each instance
|
|
4088
|
+
:param concurrent_executions: The number of server processes using this configuration that run concurrently on each instance.
|
|
4079
4089
|
:param launch_path: The location of a game build executable or Realtime script. Game builds and Realtime scripts are installed on instances at the root: - Windows (custom game builds only): ``C:\\game`` . Example: " ``C:\\game\\MyGame\\server.exe`` " - Linux: ``/local/game`` . Examples: " ``/local/game/MyGame/server.exe`` " or " ``/local/game/MyRealtimeScript.js`` " .. epigraph:: Amazon GameLift doesn't support the use of setup scripts that launch the game executable. For custom game builds, this parameter must indicate the executable that calls the server SDK operations ``initSDK()`` and ``ProcessReady()`` .
|
|
4080
4090
|
:param parameters: An optional list of parameters to pass to the server executable or Realtime script on launch. Length Constraints: Minimum length of 1. Maximum length of 1024. Pattern: [A-Za-z0-9_:.+/\\- =@{},?'[]"]+
|
|
4081
4091
|
|
|
@@ -4110,7 +4120,7 @@ class CfnFleet(
|
|
|
4110
4120
|
|
|
4111
4121
|
@builtins.property
|
|
4112
4122
|
def concurrent_executions(self) -> jsii.Number:
|
|
4113
|
-
'''The number of server processes using this configuration that run concurrently on each instance
|
|
4123
|
+
'''The number of server processes using this configuration that run concurrently on each instance.
|
|
4114
4124
|
|
|
4115
4125
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-serverprocess.html#cfn-gamelift-fleet-serverprocess-concurrentexecutions
|
|
4116
4126
|
'''
|
|
@@ -4289,18 +4299,18 @@ class CfnFleetProps:
|
|
|
4289
4299
|
|
|
4290
4300
|
:param name: A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
|
|
4291
4301
|
:param anywhere_configuration: Amazon GameLift Anywhere configuration options.
|
|
4292
|
-
:param apply_capacity: Current resource capacity settings for managed EC2 fleets
|
|
4302
|
+
:param apply_capacity: Current resource capacity settings for managed EC2 fleets. For multi-location fleets, location values might refer to a fleet's remote location or its home Region. *Returned by:* `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>`_
|
|
4293
4303
|
: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.
|
|
4294
4304
|
: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* .
|
|
4295
4305
|
:param compute_type: The type of compute resource used to host your game servers. - ``EC2`` – The game server build is deployed to Amazon EC2 instances for cloud hosting. This is the default setting. - ``CONTAINER`` – Container images with your game server build and supporting software are deployed to Amazon EC2 instances for cloud hosting. With this compute type, you must specify the ``ContainerGroupsConfiguration`` parameter. - ``ANYWHERE`` – Game servers or container images with your game server and supporting software are deployed to compute resources that are provided and managed by you. With this compute type, you can also set the ``AnywhereConfiguration`` parameter.
|
|
4296
|
-
:param container_groups_configuration: *This data type is
|
|
4306
|
+
:param container_groups_configuration: *This data type is currently not available. It is under improvement as we respond to customer feedback from the Containers public preview.* Configuration details for a set of container groups, for use when creating a fleet with compute type ``CONTAINER`` . *Used with:* ``CreateFleet``
|
|
4297
4307
|
:param description: A description for the fleet.
|
|
4298
4308
|
:param desired_ec2_instances: The number of EC2 instances that you want this fleet to host. When creating a new fleet, GameLift automatically sets this value to "1" and initiates a single instance. Once the fleet is active, update this value to trigger GameLift to add or remove instances from the fleet.
|
|
4299
4309
|
:param ec2_inbound_permissions: The IP address ranges and port settings that allow inbound traffic to access game server processes and other processes on this fleet. Set this parameter for EC2 and container fleets. You can leave this parameter empty when creating the fleet, but you must call ``UpdateFleetPortSettings`` to set it before players can connect to game sessions. As a best practice, we recommend opening ports for remote access only when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon GameLift automatically sets TCP and UDP ranges. To manage inbound access for a container fleet, set this parameter to the same port numbers that you set for the fleet's connection port range. During the life of the fleet, update this parameter to control which connection ports are open to inbound traffic.
|
|
4300
4310
|
:param ec2_instance_type: The Amazon GameLift-supported Amazon EC2 instance type to use with EC2 and container fleets. Instance type determines the computing resources that will be used to host your game servers, including CPU, memory, storage, and networking capacity. See `Amazon Elastic Compute Cloud Instance Types <https://docs.aws.amazon.com/ec2/instance-types/>`_ for detailed descriptions of Amazon EC2 instance types.
|
|
4301
4311
|
:param fleet_type: Indicates whether to use On-Demand or Spot instances for this fleet. By default, this property is set to ``ON_DEMAND`` . Learn more about when to use `On-Demand versus Spot Instances <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-ec2-instances.html#gamelift-ec2-instances-spot>`_ . This fleet property can't be changed after the fleet is created.
|
|
4302
|
-
:param instance_role_arn: A unique identifier for an IAM role with access permissions to other AWS services. Any application that runs on an instance in the fleet--including install scripts, server processes, and other processes--can use these permissions to interact with AWS resources that you own or have access to. For more information about using the role with your game server builds, see `Communicate with other AWS resources from your fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html>`_ . This attribute is used with fleets where ``ComputeType`` is "EC2"
|
|
4303
|
-
:param instance_role_credentials_provider: Indicates that fleet instances maintain a shared credentials file for the IAM role defined in ``InstanceRoleArn`` . Shared credentials allow applications that are deployed with the game server executable to communicate with other AWS resources. This property is used only when the game server is integrated with the server SDK version 5.x. For more information about using shared credentials, see `Communicate with other AWS resources from your fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html>`_ . This attribute is used with fleets where ``ComputeType`` is "EC2"
|
|
4312
|
+
:param instance_role_arn: A unique identifier for an IAM role with access permissions to other AWS services. Any application that runs on an instance in the fleet--including install scripts, server processes, and other processes--can use these permissions to interact with AWS resources that you own or have access to. For more information about using the role with your game server builds, see `Communicate with other AWS resources from your fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html>`_ . This attribute is used with fleets where ``ComputeType`` is "EC2".
|
|
4313
|
+
:param instance_role_credentials_provider: Indicates that fleet instances maintain a shared credentials file for the IAM role defined in ``InstanceRoleArn`` . Shared credentials allow applications that are deployed with the game server executable to communicate with other AWS resources. This property is used only when the game server is integrated with the server SDK version 5.x. For more information about using shared credentials, see `Communicate with other AWS resources from your fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html>`_ . This attribute is used with fleets where ``ComputeType`` is "EC2".
|
|
4304
4314
|
:param locations: A set of remote locations to deploy additional instances to and manage as a multi-location fleet. Use this parameter when creating a fleet in AWS Regions that support multiple locations. You can add any AWS Region or Local Zone that's supported by Amazon GameLift. Provide a list of one or more AWS Region codes, such as ``us-west-2`` , or Local Zone names. When using this parameter, Amazon GameLift requires you to include your home location in the request. For a list of supported Regions and Local Zones, see `Amazon GameLift service locations <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html>`_ for managed hosting.
|
|
4305
4315
|
:param log_paths: (deprecated) This parameter is no longer used. When hosting a custom game build, specify where Amazon GameLift should store log files using the Amazon GameLift server API call ProcessReady()
|
|
4306
4316
|
:param max_size: The maximum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 1.
|
|
@@ -4531,7 +4541,7 @@ class CfnFleetProps:
|
|
|
4531
4541
|
|
|
4532
4542
|
@builtins.property
|
|
4533
4543
|
def apply_capacity(self) -> typing.Optional[builtins.str]:
|
|
4534
|
-
'''Current resource capacity settings for managed EC2 fleets
|
|
4544
|
+
'''Current resource capacity settings for managed EC2 fleets.
|
|
4535
4545
|
|
|
4536
4546
|
For multi-location fleets, location values might refer to a fleet's remote location or its home Region.
|
|
4537
4547
|
|
|
@@ -4588,7 +4598,9 @@ class CfnFleetProps:
|
|
|
4588
4598
|
def container_groups_configuration(
|
|
4589
4599
|
self,
|
|
4590
4600
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.ContainerGroupsConfigurationProperty]]:
|
|
4591
|
-
'''*This data type is
|
|
4601
|
+
'''*This data type is currently not available.
|
|
4602
|
+
|
|
4603
|
+
It is under improvement as we respond to customer feedback from the Containers public preview.*
|
|
4592
4604
|
|
|
4593
4605
|
Configuration details for a set of container groups, for use when creating a fleet with compute type ``CONTAINER`` .
|
|
4594
4606
|
|
|
@@ -4660,7 +4672,7 @@ class CfnFleetProps:
|
|
|
4660
4672
|
def instance_role_arn(self) -> typing.Optional[builtins.str]:
|
|
4661
4673
|
'''A unique identifier for an IAM role with access permissions to other AWS services.
|
|
4662
4674
|
|
|
4663
|
-
Any application that runs on an instance in the fleet--including install scripts, server processes, and other processes--can use these permissions to interact with AWS resources that you own or have access to. For more information about using the role with your game server builds, see `Communicate with other AWS resources from your fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html>`_ . This attribute is used with fleets where ``ComputeType`` is "EC2"
|
|
4675
|
+
Any application that runs on an instance in the fleet--including install scripts, server processes, and other processes--can use these permissions to interact with AWS resources that you own or have access to. For more information about using the role with your game server builds, see `Communicate with other AWS resources from your fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html>`_ . This attribute is used with fleets where ``ComputeType`` is "EC2".
|
|
4664
4676
|
|
|
4665
4677
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-instancerolearn
|
|
4666
4678
|
'''
|
|
@@ -4671,7 +4683,7 @@ class CfnFleetProps:
|
|
|
4671
4683
|
def instance_role_credentials_provider(self) -> typing.Optional[builtins.str]:
|
|
4672
4684
|
'''Indicates that fleet instances maintain a shared credentials file for the IAM role defined in ``InstanceRoleArn`` .
|
|
4673
4685
|
|
|
4674
|
-
Shared credentials allow applications that are deployed with the game server executable to communicate with other AWS resources. This property is used only when the game server is integrated with the server SDK version 5.x. For more information about using shared credentials, see `Communicate with other AWS resources from your fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html>`_ . This attribute is used with fleets where ``ComputeType`` is "EC2"
|
|
4686
|
+
Shared credentials allow applications that are deployed with the game server executable to communicate with other AWS resources. This property is used only when the game server is integrated with the server SDK version 5.x. For more information about using shared credentials, see `Communicate with other AWS resources from your fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html>`_ . This attribute is used with fleets where ``ComputeType`` is "EC2".
|
|
4675
4687
|
|
|
4676
4688
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-instancerolecredentialsprovider
|
|
4677
4689
|
'''
|
aws_cdk/aws_glue/__init__.py
CHANGED
|
@@ -4587,7 +4587,10 @@ class CfnDatabase(
|
|
|
4587
4587
|
database_name="databaseName",
|
|
4588
4588
|
region="region"
|
|
4589
4589
|
)
|
|
4590
|
-
)
|
|
4590
|
+
),
|
|
4591
|
+
|
|
4592
|
+
# the properties below are optional
|
|
4593
|
+
database_name="databaseName"
|
|
4591
4594
|
)
|
|
4592
4595
|
'''
|
|
4593
4596
|
|
|
@@ -4598,18 +4601,24 @@ class CfnDatabase(
|
|
|
4598
4601
|
*,
|
|
4599
4602
|
catalog_id: builtins.str,
|
|
4600
4603
|
database_input: typing.Union[_IResolvable_da3f097b, typing.Union["CfnDatabase.DatabaseInputProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
4604
|
+
database_name: typing.Optional[builtins.str] = None,
|
|
4601
4605
|
) -> None:
|
|
4602
4606
|
'''
|
|
4603
4607
|
:param scope: Scope in which this resource is defined.
|
|
4604
4608
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4605
4609
|
:param catalog_id: The AWS account ID for the account in which to create the catalog object. .. epigraph:: To specify the account ID, you can use the ``Ref`` intrinsic function with the ``AWS::AccountId`` pseudo parameter. For example: ``!Ref AWS::AccountId``
|
|
4606
4610
|
:param database_input: The metadata for the database.
|
|
4611
|
+
:param database_name: The name of the catalog database.
|
|
4607
4612
|
'''
|
|
4608
4613
|
if __debug__:
|
|
4609
4614
|
type_hints = typing.get_type_hints(_typecheckingstub__7145103c869df1a981612b4445af4fee59059eebaa09d55e36fa9961bbd0d271)
|
|
4610
4615
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
4611
4616
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
4612
|
-
props = CfnDatabaseProps(
|
|
4617
|
+
props = CfnDatabaseProps(
|
|
4618
|
+
catalog_id=catalog_id,
|
|
4619
|
+
database_input=database_input,
|
|
4620
|
+
database_name=database_name,
|
|
4621
|
+
)
|
|
4613
4622
|
|
|
4614
4623
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
4615
4624
|
|
|
@@ -4687,6 +4696,19 @@ class CfnDatabase(
|
|
|
4687
4696
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4688
4697
|
jsii.set(self, "databaseInput", value) # pyright: ignore[reportArgumentType]
|
|
4689
4698
|
|
|
4699
|
+
@builtins.property
|
|
4700
|
+
@jsii.member(jsii_name="databaseName")
|
|
4701
|
+
def database_name(self) -> typing.Optional[builtins.str]:
|
|
4702
|
+
'''The name of the catalog database.'''
|
|
4703
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "databaseName"))
|
|
4704
|
+
|
|
4705
|
+
@database_name.setter
|
|
4706
|
+
def database_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
4707
|
+
if __debug__:
|
|
4708
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d28fb8105d8f6e44e28b949eb20a28aaef5ec741816a8936ee73fa9b7e77fba8)
|
|
4709
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4710
|
+
jsii.set(self, "databaseName", value) # pyright: ignore[reportArgumentType]
|
|
4711
|
+
|
|
4690
4712
|
@jsii.data_type(
|
|
4691
4713
|
jsii_type="aws-cdk-lib.aws_glue.CfnDatabase.DataLakePrincipalProperty",
|
|
4692
4714
|
jsii_struct_bases=[],
|
|
@@ -5156,7 +5178,11 @@ class CfnDatabase(
|
|
|
5156
5178
|
@jsii.data_type(
|
|
5157
5179
|
jsii_type="aws-cdk-lib.aws_glue.CfnDatabaseProps",
|
|
5158
5180
|
jsii_struct_bases=[],
|
|
5159
|
-
name_mapping={
|
|
5181
|
+
name_mapping={
|
|
5182
|
+
"catalog_id": "catalogId",
|
|
5183
|
+
"database_input": "databaseInput",
|
|
5184
|
+
"database_name": "databaseName",
|
|
5185
|
+
},
|
|
5160
5186
|
)
|
|
5161
5187
|
class CfnDatabaseProps:
|
|
5162
5188
|
def __init__(
|
|
@@ -5164,11 +5190,13 @@ class CfnDatabaseProps:
|
|
|
5164
5190
|
*,
|
|
5165
5191
|
catalog_id: builtins.str,
|
|
5166
5192
|
database_input: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDatabase.DatabaseInputProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
5193
|
+
database_name: typing.Optional[builtins.str] = None,
|
|
5167
5194
|
) -> None:
|
|
5168
5195
|
'''Properties for defining a ``CfnDatabase``.
|
|
5169
5196
|
|
|
5170
5197
|
:param catalog_id: The AWS account ID for the account in which to create the catalog object. .. epigraph:: To specify the account ID, you can use the ``Ref`` intrinsic function with the ``AWS::AccountId`` pseudo parameter. For example: ``!Ref AWS::AccountId``
|
|
5171
5198
|
:param database_input: The metadata for the database.
|
|
5199
|
+
:param database_name: The name of the catalog database.
|
|
5172
5200
|
|
|
5173
5201
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-database.html
|
|
5174
5202
|
:exampleMetadata: fixture=_generated
|
|
@@ -5203,17 +5231,23 @@ class CfnDatabaseProps:
|
|
|
5203
5231
|
database_name="databaseName",
|
|
5204
5232
|
region="region"
|
|
5205
5233
|
)
|
|
5206
|
-
)
|
|
5234
|
+
),
|
|
5235
|
+
|
|
5236
|
+
# the properties below are optional
|
|
5237
|
+
database_name="databaseName"
|
|
5207
5238
|
)
|
|
5208
5239
|
'''
|
|
5209
5240
|
if __debug__:
|
|
5210
5241
|
type_hints = typing.get_type_hints(_typecheckingstub__2352883ee521541265e5630512401b3837ac0875c8b4eced9967bf612ebac267)
|
|
5211
5242
|
check_type(argname="argument catalog_id", value=catalog_id, expected_type=type_hints["catalog_id"])
|
|
5212
5243
|
check_type(argname="argument database_input", value=database_input, expected_type=type_hints["database_input"])
|
|
5244
|
+
check_type(argname="argument database_name", value=database_name, expected_type=type_hints["database_name"])
|
|
5213
5245
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5214
5246
|
"catalog_id": catalog_id,
|
|
5215
5247
|
"database_input": database_input,
|
|
5216
5248
|
}
|
|
5249
|
+
if database_name is not None:
|
|
5250
|
+
self._values["database_name"] = database_name
|
|
5217
5251
|
|
|
5218
5252
|
@builtins.property
|
|
5219
5253
|
def catalog_id(self) -> builtins.str:
|
|
@@ -5241,6 +5275,15 @@ class CfnDatabaseProps:
|
|
|
5241
5275
|
assert result is not None, "Required property 'database_input' is missing"
|
|
5242
5276
|
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnDatabase.DatabaseInputProperty], result)
|
|
5243
5277
|
|
|
5278
|
+
@builtins.property
|
|
5279
|
+
def database_name(self) -> typing.Optional[builtins.str]:
|
|
5280
|
+
'''The name of the catalog database.
|
|
5281
|
+
|
|
5282
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-database.html#cfn-glue-database-databasename
|
|
5283
|
+
'''
|
|
5284
|
+
result = self._values.get("database_name")
|
|
5285
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5286
|
+
|
|
5244
5287
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5245
5288
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5246
5289
|
|
|
@@ -15840,6 +15883,7 @@ def _typecheckingstub__7145103c869df1a981612b4445af4fee59059eebaa09d55e36fa9961b
|
|
|
15840
15883
|
*,
|
|
15841
15884
|
catalog_id: builtins.str,
|
|
15842
15885
|
database_input: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDatabase.DatabaseInputProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
15886
|
+
database_name: typing.Optional[builtins.str] = None,
|
|
15843
15887
|
) -> None:
|
|
15844
15888
|
"""Type checking stubs"""
|
|
15845
15889
|
pass
|
|
@@ -15868,6 +15912,12 @@ def _typecheckingstub__6e2364f804df0cc3d57e45e3e5c68968dc857adcab174703540814754
|
|
|
15868
15912
|
"""Type checking stubs"""
|
|
15869
15913
|
pass
|
|
15870
15914
|
|
|
15915
|
+
def _typecheckingstub__d28fb8105d8f6e44e28b949eb20a28aaef5ec741816a8936ee73fa9b7e77fba8(
|
|
15916
|
+
value: typing.Optional[builtins.str],
|
|
15917
|
+
) -> None:
|
|
15918
|
+
"""Type checking stubs"""
|
|
15919
|
+
pass
|
|
15920
|
+
|
|
15871
15921
|
def _typecheckingstub__6fa63353d4d392cf6a598ebd7c80b56747ad0b7973313267f52becc342ac17de(
|
|
15872
15922
|
*,
|
|
15873
15923
|
data_lake_principal_identifier: typing.Optional[builtins.str] = None,
|
|
@@ -15917,6 +15967,7 @@ def _typecheckingstub__2352883ee521541265e5630512401b3837ac0875c8b4eced9967bf612
|
|
|
15917
15967
|
*,
|
|
15918
15968
|
catalog_id: builtins.str,
|
|
15919
15969
|
database_input: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDatabase.DatabaseInputProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
15970
|
+
database_name: typing.Optional[builtins.str] = None,
|
|
15920
15971
|
) -> None:
|
|
15921
15972
|
"""Type checking stubs"""
|
|
15922
15973
|
pass
|
|
@@ -3613,7 +3613,7 @@ class CfnImage(
|
|
|
3613
3613
|
) -> None:
|
|
3614
3614
|
'''Settings that Image Builder uses to configure the ECR repository and the output container images that Amazon Inspector scans.
|
|
3615
3615
|
|
|
3616
|
-
:param container_tags: Tags for Image Builder to apply to the output container image that
|
|
3616
|
+
:param container_tags: Tags for Image Builder to apply to the output container image that Amazon Inspector scans. Tags can help you identify and manage your scanned images.
|
|
3617
3617
|
:param repository_name: The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named ``image-builder-image-scanning-repository`` for vulnerability scans of your output container images.
|
|
3618
3618
|
|
|
3619
3619
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-ecrconfiguration.html
|
|
@@ -3642,9 +3642,9 @@ class CfnImage(
|
|
|
3642
3642
|
|
|
3643
3643
|
@builtins.property
|
|
3644
3644
|
def container_tags(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
3645
|
-
'''Tags for Image Builder to apply to the output container image that
|
|
3645
|
+
'''Tags for Image Builder to apply to the output container image that Amazon Inspector scans.
|
|
3646
3646
|
|
|
3647
|
-
|
|
3647
|
+
Tags can help you identify and manage your scanned images.
|
|
3648
3648
|
|
|
3649
3649
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-ecrconfiguration.html#cfn-imagebuilder-image-ecrconfiguration-containertags
|
|
3650
3650
|
'''
|
|
@@ -4433,7 +4433,7 @@ class CfnImagePipeline(
|
|
|
4433
4433
|
) -> None:
|
|
4434
4434
|
'''Settings that Image Builder uses to configure the ECR repository and the output container images that Amazon Inspector scans.
|
|
4435
4435
|
|
|
4436
|
-
:param container_tags: Tags for Image Builder to apply to the output container image that
|
|
4436
|
+
:param container_tags: Tags for Image Builder to apply to the output container image that Amazon Inspector scans. Tags can help you identify and manage your scanned images.
|
|
4437
4437
|
:param repository_name: The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named ``image-builder-image-scanning-repository`` for vulnerability scans of your output container images.
|
|
4438
4438
|
|
|
4439
4439
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-ecrconfiguration.html
|
|
@@ -4462,9 +4462,9 @@ class CfnImagePipeline(
|
|
|
4462
4462
|
|
|
4463
4463
|
@builtins.property
|
|
4464
4464
|
def container_tags(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
4465
|
-
'''Tags for Image Builder to apply to the output container image that
|
|
4465
|
+
'''Tags for Image Builder to apply to the output container image that Amazon Inspector scans.
|
|
4466
4466
|
|
|
4467
|
-
|
|
4467
|
+
Tags can help you identify and manage your scanned images.
|
|
4468
4468
|
|
|
4469
4469
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-ecrconfiguration.html#cfn-imagebuilder-imagepipeline-ecrconfiguration-containertags
|
|
4470
4470
|
'''
|