aws-cdk-lib 2.164.1__py3-none-any.whl → 2.165.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 +20 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.164.1.jsii.tgz → aws-cdk-lib@2.165.0.jsii.tgz} +0 -0
- aws_cdk/aws_appsync/__init__.py +24 -18
- aws_cdk/aws_autoscaling/__init__.py +145 -8
- aws_cdk/aws_backup/__init__.py +598 -0
- aws_cdk/aws_bedrock/__init__.py +8 -8
- aws_cdk/aws_codebuild/__init__.py +88 -33
- aws_cdk/aws_cognito/__init__.py +657 -95
- aws_cdk/aws_ec2/__init__.py +122 -32
- aws_cdk/aws_eks/__init__.py +10 -12
- aws_cdk/aws_elasticache/__init__.py +47 -6
- aws_cdk/aws_imagebuilder/__init__.py +183 -0
- aws_cdk/aws_iot/__init__.py +37 -43
- aws_cdk/aws_iotwireless/__init__.py +2 -2
- aws_cdk/aws_memorydb/__init__.py +41 -0
- aws_cdk/aws_qbusiness/__init__.py +21 -14
- aws_cdk/aws_rds/__init__.py +122 -32
- aws_cdk/aws_redshift/__init__.py +23 -23
- aws_cdk/aws_refactorspaces/__init__.py +56 -61
- aws_cdk/aws_resiliencehub/__init__.py +4 -4
- aws_cdk/aws_route53/__init__.py +3 -1
- aws_cdk/aws_sagemaker/__init__.py +69 -0
- aws_cdk/aws_sqs/__init__.py +9 -12
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.165.0.dist-info}/METADATA +6 -6
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.165.0.dist-info}/RECORD +30 -30
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.165.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.165.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.165.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.165.0.dist-info}/top_level.txt +0 -0
|
@@ -169,7 +169,7 @@ class CfnCacheCluster(
|
|
|
169
169
|
:param scope: Scope in which this resource is defined.
|
|
170
170
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
171
171
|
:param cache_node_type: The compute and memory capacity of the nodes in the node group (shard). The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. Changing the CacheNodeType of a Memcached instance is currently not supported. If you need to scale using Memcached, we recommend forcing a replacement update by changing the ``LogicalResourceId`` of the resource. - General purpose: - Current generation: *M6g node types:* ``cache.m6g.large`` , ``cache.m6g.xlarge`` , ``cache.m6g.2xlarge`` , ``cache.m6g.4xlarge`` , ``cache.m6g.8xlarge`` , ``cache.m6g.12xlarge`` , ``cache.m6g.16xlarge`` , ``cache.m6g.24xlarge`` *M5 node types:* ``cache.m5.large`` , ``cache.m5.xlarge`` , ``cache.m5.2xlarge`` , ``cache.m5.4xlarge`` , ``cache.m5.12xlarge`` , ``cache.m5.24xlarge`` *M4 node types:* ``cache.m4.large`` , ``cache.m4.xlarge`` , ``cache.m4.2xlarge`` , ``cache.m4.4xlarge`` , ``cache.m4.10xlarge`` *T4g node types:* ``cache.t4g.micro`` , ``cache.t4g.small`` , ``cache.t4g.medium`` *T3 node types:* ``cache.t3.micro`` , ``cache.t3.small`` , ``cache.t3.medium`` *T2 node types:* ``cache.t2.micro`` , ``cache.t2.small`` , ``cache.t2.medium`` - Previous generation: (not recommended) *T1 node types:* ``cache.t1.micro`` *M1 node types:* ``cache.m1.small`` , ``cache.m1.medium`` , ``cache.m1.large`` , ``cache.m1.xlarge`` *M3 node types:* ``cache.m3.medium`` , ``cache.m3.large`` , ``cache.m3.xlarge`` , ``cache.m3.2xlarge`` - Compute optimized: - Previous generation: (not recommended) *C1 node types:* ``cache.c1.xlarge`` - Memory optimized: - Current generation: *R6gd node types:* ``cache.r6gd.xlarge`` , ``cache.r6gd.2xlarge`` , ``cache.r6gd.4xlarge`` , ``cache.r6gd.8xlarge`` , ``cache.r6gd.12xlarge`` , ``cache.r6gd.16xlarge`` .. epigraph:: The ``r6gd`` family is available in the following regions: ``us-east-2`` , ``us-east-1`` , ``us-west-2`` , ``us-west-1`` , ``eu-west-1`` , ``eu-central-1`` , ``ap-northeast-1`` , ``ap-southeast-1`` , ``ap-southeast-2`` . *R6g node types:* ``cache.r6g.large`` , ``cache.r6g.xlarge`` , ``cache.r6g.2xlarge`` , ``cache.r6g.4xlarge`` , ``cache.r6g.8xlarge`` , ``cache.r6g.12xlarge`` , ``cache.r6g.16xlarge`` , ``cache.r6g.24xlarge`` *R5 node types:* ``cache.r5.large`` , ``cache.r5.xlarge`` , ``cache.r5.2xlarge`` , ``cache.r5.4xlarge`` , ``cache.r5.12xlarge`` , ``cache.r5.24xlarge`` *R4 node types:* ``cache.r4.large`` , ``cache.r4.xlarge`` , ``cache.r4.2xlarge`` , ``cache.r4.4xlarge`` , ``cache.r4.8xlarge`` , ``cache.r4.16xlarge`` - Previous generation: (not recommended) *M2 node types:* ``cache.m2.xlarge`` , ``cache.m2.2xlarge`` , ``cache.m2.4xlarge`` *R3 node types:* ``cache.r3.large`` , ``cache.r3.xlarge`` , ``cache.r3.2xlarge`` , ``cache.r3.4xlarge`` , ``cache.r3.8xlarge`` For region availability, see `Supported Node Types by Region <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion>`_ *Additional node type info* - All current generation instance types are created in Amazon VPC by default. - Valkey and Redis OSS append-only files (AOF) are not supported for T1 or T2 instances. - Valkey and Redis OSS Multi-AZ with automatic failover is not supported on T1 instances. - Redis OSS configuration variables ``appendonly`` and ``appendfsync`` are not supported on Redis OSS version 2.8.22 and later.
|
|
172
|
-
:param engine: The name of the cache engine to be used for this cluster. Valid values for this parameter are: ``memcached`` | ``redis``
|
|
172
|
+
:param engine: The name of the cache engine to be used for this cluster. Valid values for this parameter are: ``memcached`` | valkey | ``redis``
|
|
173
173
|
:param num_cache_nodes: The number of cache nodes that the cache cluster should have. .. epigraph:: However, if the ``PreferredAvailabilityZone`` and ``PreferredAvailabilityZones`` properties were not previously specified and you don't specify any new values, an update requires `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
174
174
|
:param auto_minor_version_upgrade: If you are running Valkey 7.2 or later, or Redis OSS engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.
|
|
175
175
|
:param az_mode: Specifies whether the nodes in this Memcached cluster are created in a single Availability Zone or created across multiple Availability Zones in the cluster's region. This parameter is only supported for Memcached clusters. If the ``AZMode`` and ``PreferredAvailabilityZones`` are not specified, ElastiCache assumes ``single-az`` mode.
|
|
@@ -1051,7 +1051,7 @@ class CfnCacheClusterProps:
|
|
|
1051
1051
|
'''Properties for defining a ``CfnCacheCluster``.
|
|
1052
1052
|
|
|
1053
1053
|
:param cache_node_type: The compute and memory capacity of the nodes in the node group (shard). The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. Changing the CacheNodeType of a Memcached instance is currently not supported. If you need to scale using Memcached, we recommend forcing a replacement update by changing the ``LogicalResourceId`` of the resource. - General purpose: - Current generation: *M6g node types:* ``cache.m6g.large`` , ``cache.m6g.xlarge`` , ``cache.m6g.2xlarge`` , ``cache.m6g.4xlarge`` , ``cache.m6g.8xlarge`` , ``cache.m6g.12xlarge`` , ``cache.m6g.16xlarge`` , ``cache.m6g.24xlarge`` *M5 node types:* ``cache.m5.large`` , ``cache.m5.xlarge`` , ``cache.m5.2xlarge`` , ``cache.m5.4xlarge`` , ``cache.m5.12xlarge`` , ``cache.m5.24xlarge`` *M4 node types:* ``cache.m4.large`` , ``cache.m4.xlarge`` , ``cache.m4.2xlarge`` , ``cache.m4.4xlarge`` , ``cache.m4.10xlarge`` *T4g node types:* ``cache.t4g.micro`` , ``cache.t4g.small`` , ``cache.t4g.medium`` *T3 node types:* ``cache.t3.micro`` , ``cache.t3.small`` , ``cache.t3.medium`` *T2 node types:* ``cache.t2.micro`` , ``cache.t2.small`` , ``cache.t2.medium`` - Previous generation: (not recommended) *T1 node types:* ``cache.t1.micro`` *M1 node types:* ``cache.m1.small`` , ``cache.m1.medium`` , ``cache.m1.large`` , ``cache.m1.xlarge`` *M3 node types:* ``cache.m3.medium`` , ``cache.m3.large`` , ``cache.m3.xlarge`` , ``cache.m3.2xlarge`` - Compute optimized: - Previous generation: (not recommended) *C1 node types:* ``cache.c1.xlarge`` - Memory optimized: - Current generation: *R6gd node types:* ``cache.r6gd.xlarge`` , ``cache.r6gd.2xlarge`` , ``cache.r6gd.4xlarge`` , ``cache.r6gd.8xlarge`` , ``cache.r6gd.12xlarge`` , ``cache.r6gd.16xlarge`` .. epigraph:: The ``r6gd`` family is available in the following regions: ``us-east-2`` , ``us-east-1`` , ``us-west-2`` , ``us-west-1`` , ``eu-west-1`` , ``eu-central-1`` , ``ap-northeast-1`` , ``ap-southeast-1`` , ``ap-southeast-2`` . *R6g node types:* ``cache.r6g.large`` , ``cache.r6g.xlarge`` , ``cache.r6g.2xlarge`` , ``cache.r6g.4xlarge`` , ``cache.r6g.8xlarge`` , ``cache.r6g.12xlarge`` , ``cache.r6g.16xlarge`` , ``cache.r6g.24xlarge`` *R5 node types:* ``cache.r5.large`` , ``cache.r5.xlarge`` , ``cache.r5.2xlarge`` , ``cache.r5.4xlarge`` , ``cache.r5.12xlarge`` , ``cache.r5.24xlarge`` *R4 node types:* ``cache.r4.large`` , ``cache.r4.xlarge`` , ``cache.r4.2xlarge`` , ``cache.r4.4xlarge`` , ``cache.r4.8xlarge`` , ``cache.r4.16xlarge`` - Previous generation: (not recommended) *M2 node types:* ``cache.m2.xlarge`` , ``cache.m2.2xlarge`` , ``cache.m2.4xlarge`` *R3 node types:* ``cache.r3.large`` , ``cache.r3.xlarge`` , ``cache.r3.2xlarge`` , ``cache.r3.4xlarge`` , ``cache.r3.8xlarge`` For region availability, see `Supported Node Types by Region <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion>`_ *Additional node type info* - All current generation instance types are created in Amazon VPC by default. - Valkey and Redis OSS append-only files (AOF) are not supported for T1 or T2 instances. - Valkey and Redis OSS Multi-AZ with automatic failover is not supported on T1 instances. - Redis OSS configuration variables ``appendonly`` and ``appendfsync`` are not supported on Redis OSS version 2.8.22 and later.
|
|
1054
|
-
:param engine: The name of the cache engine to be used for this cluster. Valid values for this parameter are: ``memcached`` | ``redis``
|
|
1054
|
+
:param engine: The name of the cache engine to be used for this cluster. Valid values for this parameter are: ``memcached`` | valkey | ``redis``
|
|
1055
1055
|
:param num_cache_nodes: The number of cache nodes that the cache cluster should have. .. epigraph:: However, if the ``PreferredAvailabilityZone`` and ``PreferredAvailabilityZones`` properties were not previously specified and you don't specify any new values, an update requires `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
1056
1056
|
:param auto_minor_version_upgrade: If you are running Valkey 7.2 or later, or Redis OSS engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.
|
|
1057
1057
|
:param az_mode: Specifies whether the nodes in this Memcached cluster are created in a single Availability Zone or created across multiple Availability Zones in the cluster's region. This parameter is only supported for Memcached clusters. If the ``AZMode`` and ``PreferredAvailabilityZones`` are not specified, ElastiCache assumes ``single-az`` mode.
|
|
@@ -1280,7 +1280,7 @@ class CfnCacheClusterProps:
|
|
|
1280
1280
|
def engine(self) -> builtins.str:
|
|
1281
1281
|
'''The name of the cache engine to be used for this cluster.
|
|
1282
1282
|
|
|
1283
|
-
Valid values for this parameter are: ``memcached`` | ``redis``
|
|
1283
|
+
Valid values for this parameter are: ``memcached`` | valkey | ``redis``
|
|
1284
1284
|
|
|
1285
1285
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-cachecluster.html#cfn-elasticache-cachecluster-engine
|
|
1286
1286
|
'''
|
|
@@ -1641,6 +1641,7 @@ class CfnGlobalReplicationGroup(
|
|
|
1641
1641
|
automatic_failover_enabled=False,
|
|
1642
1642
|
cache_node_type="cacheNodeType",
|
|
1643
1643
|
cache_parameter_group_name="cacheParameterGroupName",
|
|
1644
|
+
engine="engine",
|
|
1644
1645
|
engine_version="engineVersion",
|
|
1645
1646
|
global_node_group_count=123,
|
|
1646
1647
|
global_replication_group_description="globalReplicationGroupDescription",
|
|
@@ -1665,6 +1666,7 @@ class CfnGlobalReplicationGroup(
|
|
|
1665
1666
|
automatic_failover_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1666
1667
|
cache_node_type: typing.Optional[builtins.str] = None,
|
|
1667
1668
|
cache_parameter_group_name: typing.Optional[builtins.str] = None,
|
|
1669
|
+
engine: typing.Optional[builtins.str] = None,
|
|
1668
1670
|
engine_version: typing.Optional[builtins.str] = None,
|
|
1669
1671
|
global_node_group_count: typing.Optional[jsii.Number] = None,
|
|
1670
1672
|
global_replication_group_description: typing.Optional[builtins.str] = None,
|
|
@@ -1678,6 +1680,7 @@ class CfnGlobalReplicationGroup(
|
|
|
1678
1680
|
:param automatic_failover_enabled: Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. ``AutomaticFailoverEnabled`` must be enabled for Valkey or Redis OSS (cluster mode enabled) replication groups.
|
|
1679
1681
|
:param cache_node_type: The cache node type of the Global datastore.
|
|
1680
1682
|
:param cache_parameter_group_name: The name of the cache parameter group to use with the Global datastore. It must be compatible with the major engine version used by the Global datastore.
|
|
1683
|
+
:param engine: The engine of the Global Datastore.
|
|
1681
1684
|
:param engine_version: The Elasticache Valkey or Redis OSS engine version.
|
|
1682
1685
|
:param global_node_group_count: The number of node groups that comprise the Global Datastore.
|
|
1683
1686
|
:param global_replication_group_description: The optional description of the Global datastore.
|
|
@@ -1693,6 +1696,7 @@ class CfnGlobalReplicationGroup(
|
|
|
1693
1696
|
automatic_failover_enabled=automatic_failover_enabled,
|
|
1694
1697
|
cache_node_type=cache_node_type,
|
|
1695
1698
|
cache_parameter_group_name=cache_parameter_group_name,
|
|
1699
|
+
engine=engine,
|
|
1696
1700
|
engine_version=engine_version,
|
|
1697
1701
|
global_node_group_count=global_node_group_count,
|
|
1698
1702
|
global_replication_group_description=global_replication_group_description,
|
|
@@ -1819,6 +1823,19 @@ class CfnGlobalReplicationGroup(
|
|
|
1819
1823
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1820
1824
|
jsii.set(self, "cacheParameterGroupName", value) # pyright: ignore[reportArgumentType]
|
|
1821
1825
|
|
|
1826
|
+
@builtins.property
|
|
1827
|
+
@jsii.member(jsii_name="engine")
|
|
1828
|
+
def engine(self) -> typing.Optional[builtins.str]:
|
|
1829
|
+
'''The engine of the Global Datastore.'''
|
|
1830
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "engine"))
|
|
1831
|
+
|
|
1832
|
+
@engine.setter
|
|
1833
|
+
def engine(self, value: typing.Optional[builtins.str]) -> None:
|
|
1834
|
+
if __debug__:
|
|
1835
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3d6acde04136c92a50e6d2ec82998a955c39b2dbab276012b19c765c13a30125)
|
|
1836
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1837
|
+
jsii.set(self, "engine", value) # pyright: ignore[reportArgumentType]
|
|
1838
|
+
|
|
1822
1839
|
@builtins.property
|
|
1823
1840
|
@jsii.member(jsii_name="engineVersion")
|
|
1824
1841
|
def engine_version(self) -> typing.Optional[builtins.str]:
|
|
@@ -2164,6 +2181,7 @@ class CfnGlobalReplicationGroup(
|
|
|
2164
2181
|
"automatic_failover_enabled": "automaticFailoverEnabled",
|
|
2165
2182
|
"cache_node_type": "cacheNodeType",
|
|
2166
2183
|
"cache_parameter_group_name": "cacheParameterGroupName",
|
|
2184
|
+
"engine": "engine",
|
|
2167
2185
|
"engine_version": "engineVersion",
|
|
2168
2186
|
"global_node_group_count": "globalNodeGroupCount",
|
|
2169
2187
|
"global_replication_group_description": "globalReplicationGroupDescription",
|
|
@@ -2179,6 +2197,7 @@ class CfnGlobalReplicationGroupProps:
|
|
|
2179
2197
|
automatic_failover_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2180
2198
|
cache_node_type: typing.Optional[builtins.str] = None,
|
|
2181
2199
|
cache_parameter_group_name: typing.Optional[builtins.str] = None,
|
|
2200
|
+
engine: typing.Optional[builtins.str] = None,
|
|
2182
2201
|
engine_version: typing.Optional[builtins.str] = None,
|
|
2183
2202
|
global_node_group_count: typing.Optional[jsii.Number] = None,
|
|
2184
2203
|
global_replication_group_description: typing.Optional[builtins.str] = None,
|
|
@@ -2191,6 +2210,7 @@ class CfnGlobalReplicationGroupProps:
|
|
|
2191
2210
|
:param automatic_failover_enabled: Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. ``AutomaticFailoverEnabled`` must be enabled for Valkey or Redis OSS (cluster mode enabled) replication groups.
|
|
2192
2211
|
:param cache_node_type: The cache node type of the Global datastore.
|
|
2193
2212
|
:param cache_parameter_group_name: The name of the cache parameter group to use with the Global datastore. It must be compatible with the major engine version used by the Global datastore.
|
|
2213
|
+
:param engine: The engine of the Global Datastore.
|
|
2194
2214
|
:param engine_version: The Elasticache Valkey or Redis OSS engine version.
|
|
2195
2215
|
:param global_node_group_count: The number of node groups that comprise the Global Datastore.
|
|
2196
2216
|
:param global_replication_group_description: The optional description of the Global datastore.
|
|
@@ -2217,6 +2237,7 @@ class CfnGlobalReplicationGroupProps:
|
|
|
2217
2237
|
automatic_failover_enabled=False,
|
|
2218
2238
|
cache_node_type="cacheNodeType",
|
|
2219
2239
|
cache_parameter_group_name="cacheParameterGroupName",
|
|
2240
|
+
engine="engine",
|
|
2220
2241
|
engine_version="engineVersion",
|
|
2221
2242
|
global_node_group_count=123,
|
|
2222
2243
|
global_replication_group_description="globalReplicationGroupDescription",
|
|
@@ -2237,6 +2258,7 @@ class CfnGlobalReplicationGroupProps:
|
|
|
2237
2258
|
check_type(argname="argument automatic_failover_enabled", value=automatic_failover_enabled, expected_type=type_hints["automatic_failover_enabled"])
|
|
2238
2259
|
check_type(argname="argument cache_node_type", value=cache_node_type, expected_type=type_hints["cache_node_type"])
|
|
2239
2260
|
check_type(argname="argument cache_parameter_group_name", value=cache_parameter_group_name, expected_type=type_hints["cache_parameter_group_name"])
|
|
2261
|
+
check_type(argname="argument engine", value=engine, expected_type=type_hints["engine"])
|
|
2240
2262
|
check_type(argname="argument engine_version", value=engine_version, expected_type=type_hints["engine_version"])
|
|
2241
2263
|
check_type(argname="argument global_node_group_count", value=global_node_group_count, expected_type=type_hints["global_node_group_count"])
|
|
2242
2264
|
check_type(argname="argument global_replication_group_description", value=global_replication_group_description, expected_type=type_hints["global_replication_group_description"])
|
|
@@ -2251,6 +2273,8 @@ class CfnGlobalReplicationGroupProps:
|
|
|
2251
2273
|
self._values["cache_node_type"] = cache_node_type
|
|
2252
2274
|
if cache_parameter_group_name is not None:
|
|
2253
2275
|
self._values["cache_parameter_group_name"] = cache_parameter_group_name
|
|
2276
|
+
if engine is not None:
|
|
2277
|
+
self._values["engine"] = engine
|
|
2254
2278
|
if engine_version is not None:
|
|
2255
2279
|
self._values["engine_version"] = engine_version
|
|
2256
2280
|
if global_node_group_count is not None:
|
|
@@ -2307,6 +2331,15 @@ class CfnGlobalReplicationGroupProps:
|
|
|
2307
2331
|
result = self._values.get("cache_parameter_group_name")
|
|
2308
2332
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2309
2333
|
|
|
2334
|
+
@builtins.property
|
|
2335
|
+
def engine(self) -> typing.Optional[builtins.str]:
|
|
2336
|
+
'''The engine of the Global Datastore.
|
|
2337
|
+
|
|
2338
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-engine
|
|
2339
|
+
'''
|
|
2340
|
+
result = self._values.get("engine")
|
|
2341
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2342
|
+
|
|
2310
2343
|
@builtins.property
|
|
2311
2344
|
def engine_version(self) -> typing.Optional[builtins.str]:
|
|
2312
2345
|
'''The Elasticache Valkey or Redis OSS engine version.
|
|
@@ -2818,7 +2851,7 @@ class CfnReplicationGroup(
|
|
|
2818
2851
|
:param cache_subnet_group_name: The name of the cache subnet group to be used for the replication group. .. epigraph:: If you're going to launch your cluster in an Amazon VPC, you need to create a subnet group before you start creating a cluster. For more information, see `AWS::ElastiCache::SubnetGroup <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-subnetgroup.html>`_ .
|
|
2819
2852
|
:param cluster_mode: Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Valkey or Redis OSS clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Valkey or Redis OSS clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled. For more information, see `Modify cluster mode <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/modify-cluster-mode.html>`_ .
|
|
2820
2853
|
:param data_tiering_enabled: Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to true when using r6gd nodes. For more information, see `Data tiering <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/data-tiering.html>`_ .
|
|
2821
|
-
:param engine: The name of the cache engine to be used for the clusters in this replication group. The value must be set to ``
|
|
2854
|
+
:param engine: The name of the cache engine to be used for the clusters in this replication group. The value must be set to ``valkey`` or ``redis`` .
|
|
2822
2855
|
:param engine_version: The version number of the cache engine to be used for the clusters in this replication group. To view the supported cache engine versions, use the ``DescribeCacheEngineVersions`` operation. *Important:* You can upgrade to a newer engine version (see `Selecting a Cache Engine and Version <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/SelectEngine.html#VersionManagement>`_ ) in the *ElastiCache User Guide* , but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cluster or replication group and create it anew with the earlier engine version.
|
|
2823
2856
|
:param global_replication_group_id: The name of the Global datastore.
|
|
2824
2857
|
:param ip_discovery: The network type you choose when creating a replication group, either ``ipv4`` | ``ipv6`` . IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
@@ -4146,7 +4179,7 @@ class CfnReplicationGroupProps:
|
|
|
4146
4179
|
:param cache_subnet_group_name: The name of the cache subnet group to be used for the replication group. .. epigraph:: If you're going to launch your cluster in an Amazon VPC, you need to create a subnet group before you start creating a cluster. For more information, see `AWS::ElastiCache::SubnetGroup <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-subnetgroup.html>`_ .
|
|
4147
4180
|
:param cluster_mode: Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Valkey or Redis OSS clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Valkey or Redis OSS clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled. For more information, see `Modify cluster mode <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/modify-cluster-mode.html>`_ .
|
|
4148
4181
|
:param data_tiering_enabled: Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to true when using r6gd nodes. For more information, see `Data tiering <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/data-tiering.html>`_ .
|
|
4149
|
-
:param engine: The name of the cache engine to be used for the clusters in this replication group. The value must be set to ``
|
|
4182
|
+
:param engine: The name of the cache engine to be used for the clusters in this replication group. The value must be set to ``valkey`` or ``redis`` .
|
|
4150
4183
|
:param engine_version: The version number of the cache engine to be used for the clusters in this replication group. To view the supported cache engine versions, use the ``DescribeCacheEngineVersions`` operation. *Important:* You can upgrade to a newer engine version (see `Selecting a Cache Engine and Version <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/SelectEngine.html#VersionManagement>`_ ) in the *ElastiCache User Guide* , but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cluster or replication group and create it anew with the earlier engine version.
|
|
4151
4184
|
:param global_replication_group_id: The name of the Global datastore.
|
|
4152
4185
|
:param ip_discovery: The network type you choose when creating a replication group, either ``ipv4`` | ``ipv6`` . IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
@@ -4575,7 +4608,7 @@ class CfnReplicationGroupProps:
|
|
|
4575
4608
|
def engine(self) -> typing.Optional[builtins.str]:
|
|
4576
4609
|
'''The name of the cache engine to be used for the clusters in this replication group.
|
|
4577
4610
|
|
|
4578
|
-
The value must be set to ``
|
|
4611
|
+
The value must be set to ``valkey`` or ``redis`` .
|
|
4579
4612
|
|
|
4580
4613
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-engine
|
|
4581
4614
|
'''
|
|
@@ -7901,6 +7934,7 @@ def _typecheckingstub__7b347e00f869706c90d3dc918dc3fb240c81a3a2e15ca55cb3a114e77
|
|
|
7901
7934
|
automatic_failover_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
7902
7935
|
cache_node_type: typing.Optional[builtins.str] = None,
|
|
7903
7936
|
cache_parameter_group_name: typing.Optional[builtins.str] = None,
|
|
7937
|
+
engine: typing.Optional[builtins.str] = None,
|
|
7904
7938
|
engine_version: typing.Optional[builtins.str] = None,
|
|
7905
7939
|
global_node_group_count: typing.Optional[jsii.Number] = None,
|
|
7906
7940
|
global_replication_group_description: typing.Optional[builtins.str] = None,
|
|
@@ -7946,6 +7980,12 @@ def _typecheckingstub__0848ddc407bc59c23bb3f0758cd29c2ca80ecb4af0b703cfbabe76114
|
|
|
7946
7980
|
"""Type checking stubs"""
|
|
7947
7981
|
pass
|
|
7948
7982
|
|
|
7983
|
+
def _typecheckingstub__3d6acde04136c92a50e6d2ec82998a955c39b2dbab276012b19c765c13a30125(
|
|
7984
|
+
value: typing.Optional[builtins.str],
|
|
7985
|
+
) -> None:
|
|
7986
|
+
"""Type checking stubs"""
|
|
7987
|
+
pass
|
|
7988
|
+
|
|
7949
7989
|
def _typecheckingstub__5e6d37e14147abb9446aa94586bbfdc04bcc4cbad9c87b170bc3c934223a3dc1(
|
|
7950
7990
|
value: typing.Optional[builtins.str],
|
|
7951
7991
|
) -> None:
|
|
@@ -8008,6 +8048,7 @@ def _typecheckingstub__265dda90953e13518f66b5357e00050b92a09e4dfb295f7b765b5b5d5
|
|
|
8008
8048
|
automatic_failover_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8009
8049
|
cache_node_type: typing.Optional[builtins.str] = None,
|
|
8010
8050
|
cache_parameter_group_name: typing.Optional[builtins.str] = None,
|
|
8051
|
+
engine: typing.Optional[builtins.str] = None,
|
|
8011
8052
|
engine_version: typing.Optional[builtins.str] = None,
|
|
8012
8053
|
global_node_group_count: typing.Optional[jsii.Number] = None,
|
|
8013
8054
|
global_replication_group_description: typing.Optional[builtins.str] = None,
|
|
@@ -6631,6 +6631,12 @@ class CfnInfrastructureConfiguration(
|
|
|
6631
6631
|
s3_key_prefix="s3KeyPrefix"
|
|
6632
6632
|
)
|
|
6633
6633
|
),
|
|
6634
|
+
placement=imagebuilder.CfnInfrastructureConfiguration.PlacementProperty(
|
|
6635
|
+
availability_zone="availabilityZone",
|
|
6636
|
+
host_id="hostId",
|
|
6637
|
+
host_resource_group_arn="hostResourceGroupArn",
|
|
6638
|
+
tenancy="tenancy"
|
|
6639
|
+
),
|
|
6634
6640
|
resource_tags={
|
|
6635
6641
|
"resource_tags_key": "resourceTags"
|
|
6636
6642
|
},
|
|
@@ -6656,6 +6662,7 @@ class CfnInfrastructureConfiguration(
|
|
|
6656
6662
|
instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6657
6663
|
key_pair: typing.Optional[builtins.str] = None,
|
|
6658
6664
|
logging: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInfrastructureConfiguration.LoggingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6665
|
+
placement: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInfrastructureConfiguration.PlacementProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6659
6666
|
resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
6660
6667
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6661
6668
|
sns_topic_arn: typing.Optional[builtins.str] = None,
|
|
@@ -6673,6 +6680,7 @@ class CfnInfrastructureConfiguration(
|
|
|
6673
6680
|
:param instance_types: The instance types of the infrastructure configuration.
|
|
6674
6681
|
:param key_pair: The Amazon EC2 key pair of the infrastructure configuration.
|
|
6675
6682
|
:param logging: The logging configuration defines where Image Builder uploads your logs.
|
|
6683
|
+
:param placement: The instance placement settings that define where the instances that are launched from your image will run.
|
|
6676
6684
|
:param resource_tags: The tags attached to the resource created by Image Builder.
|
|
6677
6685
|
:param security_group_ids: The security group IDs of the infrastructure configuration.
|
|
6678
6686
|
:param sns_topic_arn: The Amazon Resource Name (ARN) of the SNS topic for the infrastructure configuration.
|
|
@@ -6692,6 +6700,7 @@ class CfnInfrastructureConfiguration(
|
|
|
6692
6700
|
instance_types=instance_types,
|
|
6693
6701
|
key_pair=key_pair,
|
|
6694
6702
|
logging=logging,
|
|
6703
|
+
placement=placement,
|
|
6695
6704
|
resource_tags=resource_tags,
|
|
6696
6705
|
security_group_ids=security_group_ids,
|
|
6697
6706
|
sns_topic_arn=sns_topic_arn,
|
|
@@ -6864,6 +6873,24 @@ class CfnInfrastructureConfiguration(
|
|
|
6864
6873
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6865
6874
|
jsii.set(self, "logging", value) # pyright: ignore[reportArgumentType]
|
|
6866
6875
|
|
|
6876
|
+
@builtins.property
|
|
6877
|
+
@jsii.member(jsii_name="placement")
|
|
6878
|
+
def placement(
|
|
6879
|
+
self,
|
|
6880
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInfrastructureConfiguration.PlacementProperty"]]:
|
|
6881
|
+
'''The instance placement settings that define where the instances that are launched from your image will run.'''
|
|
6882
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInfrastructureConfiguration.PlacementProperty"]], jsii.get(self, "placement"))
|
|
6883
|
+
|
|
6884
|
+
@placement.setter
|
|
6885
|
+
def placement(
|
|
6886
|
+
self,
|
|
6887
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInfrastructureConfiguration.PlacementProperty"]],
|
|
6888
|
+
) -> None:
|
|
6889
|
+
if __debug__:
|
|
6890
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ee5273f955052040314d788896b8d38dbd2dcdb1d6dce31f51de7b15342f440c)
|
|
6891
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6892
|
+
jsii.set(self, "placement", value) # pyright: ignore[reportArgumentType]
|
|
6893
|
+
|
|
6867
6894
|
@builtins.property
|
|
6868
6895
|
@jsii.member(jsii_name="resourceTags")
|
|
6869
6896
|
def resource_tags(
|
|
@@ -7102,6 +7129,121 @@ class CfnInfrastructureConfiguration(
|
|
|
7102
7129
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
7103
7130
|
)
|
|
7104
7131
|
|
|
7132
|
+
@jsii.data_type(
|
|
7133
|
+
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnInfrastructureConfiguration.PlacementProperty",
|
|
7134
|
+
jsii_struct_bases=[],
|
|
7135
|
+
name_mapping={
|
|
7136
|
+
"availability_zone": "availabilityZone",
|
|
7137
|
+
"host_id": "hostId",
|
|
7138
|
+
"host_resource_group_arn": "hostResourceGroupArn",
|
|
7139
|
+
"tenancy": "tenancy",
|
|
7140
|
+
},
|
|
7141
|
+
)
|
|
7142
|
+
class PlacementProperty:
|
|
7143
|
+
def __init__(
|
|
7144
|
+
self,
|
|
7145
|
+
*,
|
|
7146
|
+
availability_zone: typing.Optional[builtins.str] = None,
|
|
7147
|
+
host_id: typing.Optional[builtins.str] = None,
|
|
7148
|
+
host_resource_group_arn: typing.Optional[builtins.str] = None,
|
|
7149
|
+
tenancy: typing.Optional[builtins.str] = None,
|
|
7150
|
+
) -> None:
|
|
7151
|
+
'''By default, EC2 instances run on shared tenancy hardware.
|
|
7152
|
+
|
|
7153
|
+
This means that multiple AWS accounts might share the same physical hardware. When you use dedicated hardware, the physical server that hosts your instances is dedicated to your AWS account . Instance placement settings contain the details for the physical hardware where instances that Image Builder launches during image creation will run.
|
|
7154
|
+
|
|
7155
|
+
:param availability_zone: The Availability Zone where your build and test instances will launch.
|
|
7156
|
+
:param host_id: The ID of the Dedicated Host on which build and test instances run. This only applies if ``tenancy`` is ``host`` . If you specify the host ID, you must not specify the resource group ARN. If you specify both, Image Builder returns an error.
|
|
7157
|
+
:param host_resource_group_arn: The Amazon Resource Name (ARN) of the host resource group in which to launch build and test instances. This only applies if ``tenancy`` is ``host`` . If you specify the resource group ARN, you must not specify the host ID. If you specify both, Image Builder returns an error.
|
|
7158
|
+
:param tenancy: The tenancy of the instance. An instance with a tenancy of ``dedicated`` runs on single-tenant hardware. An instance with a tenancy of ``host`` runs on a Dedicated Host. If tenancy is set to ``host`` , then you can optionally specify one target for placement – either host ID or host resource group ARN. If automatic placement is enabled for your host, and you don't specify any placement target, Amazon EC2 will try to find an available host for your build and test instances.
|
|
7159
|
+
|
|
7160
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-placement.html
|
|
7161
|
+
:exampleMetadata: fixture=_generated
|
|
7162
|
+
|
|
7163
|
+
Example::
|
|
7164
|
+
|
|
7165
|
+
# The code below shows an example of how to instantiate this type.
|
|
7166
|
+
# The values are placeholders you should change.
|
|
7167
|
+
from aws_cdk import aws_imagebuilder as imagebuilder
|
|
7168
|
+
|
|
7169
|
+
placement_property = imagebuilder.CfnInfrastructureConfiguration.PlacementProperty(
|
|
7170
|
+
availability_zone="availabilityZone",
|
|
7171
|
+
host_id="hostId",
|
|
7172
|
+
host_resource_group_arn="hostResourceGroupArn",
|
|
7173
|
+
tenancy="tenancy"
|
|
7174
|
+
)
|
|
7175
|
+
'''
|
|
7176
|
+
if __debug__:
|
|
7177
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9e142e2a5ec61c299dba94282ce12cdd18fa97880bf5932f7227dc7c6f70e9cc)
|
|
7178
|
+
check_type(argname="argument availability_zone", value=availability_zone, expected_type=type_hints["availability_zone"])
|
|
7179
|
+
check_type(argname="argument host_id", value=host_id, expected_type=type_hints["host_id"])
|
|
7180
|
+
check_type(argname="argument host_resource_group_arn", value=host_resource_group_arn, expected_type=type_hints["host_resource_group_arn"])
|
|
7181
|
+
check_type(argname="argument tenancy", value=tenancy, expected_type=type_hints["tenancy"])
|
|
7182
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7183
|
+
if availability_zone is not None:
|
|
7184
|
+
self._values["availability_zone"] = availability_zone
|
|
7185
|
+
if host_id is not None:
|
|
7186
|
+
self._values["host_id"] = host_id
|
|
7187
|
+
if host_resource_group_arn is not None:
|
|
7188
|
+
self._values["host_resource_group_arn"] = host_resource_group_arn
|
|
7189
|
+
if tenancy is not None:
|
|
7190
|
+
self._values["tenancy"] = tenancy
|
|
7191
|
+
|
|
7192
|
+
@builtins.property
|
|
7193
|
+
def availability_zone(self) -> typing.Optional[builtins.str]:
|
|
7194
|
+
'''The Availability Zone where your build and test instances will launch.
|
|
7195
|
+
|
|
7196
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-placement.html#cfn-imagebuilder-infrastructureconfiguration-placement-availabilityzone
|
|
7197
|
+
'''
|
|
7198
|
+
result = self._values.get("availability_zone")
|
|
7199
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7200
|
+
|
|
7201
|
+
@builtins.property
|
|
7202
|
+
def host_id(self) -> typing.Optional[builtins.str]:
|
|
7203
|
+
'''The ID of the Dedicated Host on which build and test instances run.
|
|
7204
|
+
|
|
7205
|
+
This only applies if ``tenancy`` is ``host`` . If you specify the host ID, you must not specify the resource group ARN. If you specify both, Image Builder returns an error.
|
|
7206
|
+
|
|
7207
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-placement.html#cfn-imagebuilder-infrastructureconfiguration-placement-hostid
|
|
7208
|
+
'''
|
|
7209
|
+
result = self._values.get("host_id")
|
|
7210
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7211
|
+
|
|
7212
|
+
@builtins.property
|
|
7213
|
+
def host_resource_group_arn(self) -> typing.Optional[builtins.str]:
|
|
7214
|
+
'''The Amazon Resource Name (ARN) of the host resource group in which to launch build and test instances.
|
|
7215
|
+
|
|
7216
|
+
This only applies if ``tenancy`` is ``host`` . If you specify the resource group ARN, you must not specify the host ID. If you specify both, Image Builder returns an error.
|
|
7217
|
+
|
|
7218
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-placement.html#cfn-imagebuilder-infrastructureconfiguration-placement-hostresourcegrouparn
|
|
7219
|
+
'''
|
|
7220
|
+
result = self._values.get("host_resource_group_arn")
|
|
7221
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7222
|
+
|
|
7223
|
+
@builtins.property
|
|
7224
|
+
def tenancy(self) -> typing.Optional[builtins.str]:
|
|
7225
|
+
'''The tenancy of the instance.
|
|
7226
|
+
|
|
7227
|
+
An instance with a tenancy of ``dedicated`` runs on single-tenant hardware. An instance with a tenancy of ``host`` runs on a Dedicated Host.
|
|
7228
|
+
|
|
7229
|
+
If tenancy is set to ``host`` , then you can optionally specify one target for placement – either host ID or host resource group ARN. If automatic placement is enabled for your host, and you don't specify any placement target, Amazon EC2 will try to find an available host for your build and test instances.
|
|
7230
|
+
|
|
7231
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-placement.html#cfn-imagebuilder-infrastructureconfiguration-placement-tenancy
|
|
7232
|
+
'''
|
|
7233
|
+
result = self._values.get("tenancy")
|
|
7234
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7235
|
+
|
|
7236
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7237
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7238
|
+
|
|
7239
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7240
|
+
return not (rhs == self)
|
|
7241
|
+
|
|
7242
|
+
def __repr__(self) -> str:
|
|
7243
|
+
return "PlacementProperty(%s)" % ", ".join(
|
|
7244
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7245
|
+
)
|
|
7246
|
+
|
|
7105
7247
|
@jsii.data_type(
|
|
7106
7248
|
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnInfrastructureConfiguration.S3LogsProperty",
|
|
7107
7249
|
jsii_struct_bases=[],
|
|
@@ -7187,6 +7329,7 @@ class CfnInfrastructureConfiguration(
|
|
|
7187
7329
|
"instance_types": "instanceTypes",
|
|
7188
7330
|
"key_pair": "keyPair",
|
|
7189
7331
|
"logging": "logging",
|
|
7332
|
+
"placement": "placement",
|
|
7190
7333
|
"resource_tags": "resourceTags",
|
|
7191
7334
|
"security_group_ids": "securityGroupIds",
|
|
7192
7335
|
"sns_topic_arn": "snsTopicArn",
|
|
@@ -7206,6 +7349,7 @@ class CfnInfrastructureConfigurationProps:
|
|
|
7206
7349
|
instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
7207
7350
|
key_pair: typing.Optional[builtins.str] = None,
|
|
7208
7351
|
logging: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInfrastructureConfiguration.LoggingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7352
|
+
placement: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInfrastructureConfiguration.PlacementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7209
7353
|
resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
7210
7354
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
7211
7355
|
sns_topic_arn: typing.Optional[builtins.str] = None,
|
|
@@ -7222,6 +7366,7 @@ class CfnInfrastructureConfigurationProps:
|
|
|
7222
7366
|
:param instance_types: The instance types of the infrastructure configuration.
|
|
7223
7367
|
:param key_pair: The Amazon EC2 key pair of the infrastructure configuration.
|
|
7224
7368
|
:param logging: The logging configuration defines where Image Builder uploads your logs.
|
|
7369
|
+
:param placement: The instance placement settings that define where the instances that are launched from your image will run.
|
|
7225
7370
|
:param resource_tags: The tags attached to the resource created by Image Builder.
|
|
7226
7371
|
:param security_group_ids: The security group IDs of the infrastructure configuration.
|
|
7227
7372
|
:param sns_topic_arn: The Amazon Resource Name (ARN) of the SNS topic for the infrastructure configuration.
|
|
@@ -7256,6 +7401,12 @@ class CfnInfrastructureConfigurationProps:
|
|
|
7256
7401
|
s3_key_prefix="s3KeyPrefix"
|
|
7257
7402
|
)
|
|
7258
7403
|
),
|
|
7404
|
+
placement=imagebuilder.CfnInfrastructureConfiguration.PlacementProperty(
|
|
7405
|
+
availability_zone="availabilityZone",
|
|
7406
|
+
host_id="hostId",
|
|
7407
|
+
host_resource_group_arn="hostResourceGroupArn",
|
|
7408
|
+
tenancy="tenancy"
|
|
7409
|
+
),
|
|
7259
7410
|
resource_tags={
|
|
7260
7411
|
"resource_tags_key": "resourceTags"
|
|
7261
7412
|
},
|
|
@@ -7277,6 +7428,7 @@ class CfnInfrastructureConfigurationProps:
|
|
|
7277
7428
|
check_type(argname="argument instance_types", value=instance_types, expected_type=type_hints["instance_types"])
|
|
7278
7429
|
check_type(argname="argument key_pair", value=key_pair, expected_type=type_hints["key_pair"])
|
|
7279
7430
|
check_type(argname="argument logging", value=logging, expected_type=type_hints["logging"])
|
|
7431
|
+
check_type(argname="argument placement", value=placement, expected_type=type_hints["placement"])
|
|
7280
7432
|
check_type(argname="argument resource_tags", value=resource_tags, expected_type=type_hints["resource_tags"])
|
|
7281
7433
|
check_type(argname="argument security_group_ids", value=security_group_ids, expected_type=type_hints["security_group_ids"])
|
|
7282
7434
|
check_type(argname="argument sns_topic_arn", value=sns_topic_arn, expected_type=type_hints["sns_topic_arn"])
|
|
@@ -7297,6 +7449,8 @@ class CfnInfrastructureConfigurationProps:
|
|
|
7297
7449
|
self._values["key_pair"] = key_pair
|
|
7298
7450
|
if logging is not None:
|
|
7299
7451
|
self._values["logging"] = logging
|
|
7452
|
+
if placement is not None:
|
|
7453
|
+
self._values["placement"] = placement
|
|
7300
7454
|
if resource_tags is not None:
|
|
7301
7455
|
self._values["resource_tags"] = resource_tags
|
|
7302
7456
|
if security_group_ids is not None:
|
|
@@ -7379,6 +7533,17 @@ class CfnInfrastructureConfigurationProps:
|
|
|
7379
7533
|
result = self._values.get("logging")
|
|
7380
7534
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInfrastructureConfiguration.LoggingProperty]], result)
|
|
7381
7535
|
|
|
7536
|
+
@builtins.property
|
|
7537
|
+
def placement(
|
|
7538
|
+
self,
|
|
7539
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInfrastructureConfiguration.PlacementProperty]]:
|
|
7540
|
+
'''The instance placement settings that define where the instances that are launched from your image will run.
|
|
7541
|
+
|
|
7542
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-placement
|
|
7543
|
+
'''
|
|
7544
|
+
result = self._values.get("placement")
|
|
7545
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInfrastructureConfiguration.PlacementProperty]], result)
|
|
7546
|
+
|
|
7382
7547
|
@builtins.property
|
|
7383
7548
|
def resource_tags(
|
|
7384
7549
|
self,
|
|
@@ -10249,6 +10414,7 @@ def _typecheckingstub__8df8a03094d1fe92963a315a657a78657df102ba9fbe66eda2c26bb8e
|
|
|
10249
10414
|
instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10250
10415
|
key_pair: typing.Optional[builtins.str] = None,
|
|
10251
10416
|
logging: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInfrastructureConfiguration.LoggingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10417
|
+
placement: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInfrastructureConfiguration.PlacementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10252
10418
|
resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
10253
10419
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10254
10420
|
sns_topic_arn: typing.Optional[builtins.str] = None,
|
|
@@ -10313,6 +10479,12 @@ def _typecheckingstub__d17651b37e2f4aa5ce6c6076a887fc7270cae14e1f7330e9b48dc5412
|
|
|
10313
10479
|
"""Type checking stubs"""
|
|
10314
10480
|
pass
|
|
10315
10481
|
|
|
10482
|
+
def _typecheckingstub__ee5273f955052040314d788896b8d38dbd2dcdb1d6dce31f51de7b15342f440c(
|
|
10483
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInfrastructureConfiguration.PlacementProperty]],
|
|
10484
|
+
) -> None:
|
|
10485
|
+
"""Type checking stubs"""
|
|
10486
|
+
pass
|
|
10487
|
+
|
|
10316
10488
|
def _typecheckingstub__b4e6c2bbdd440425ebe7067a9a03bf4079bbfef4001b7877cb6ce3dcd44c4cb0(
|
|
10317
10489
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]],
|
|
10318
10490
|
) -> None:
|
|
@@ -10364,6 +10536,16 @@ def _typecheckingstub__d7c7b472c2127725031940b44ae4cf826450bdc016814ad2356cca673
|
|
|
10364
10536
|
"""Type checking stubs"""
|
|
10365
10537
|
pass
|
|
10366
10538
|
|
|
10539
|
+
def _typecheckingstub__9e142e2a5ec61c299dba94282ce12cdd18fa97880bf5932f7227dc7c6f70e9cc(
|
|
10540
|
+
*,
|
|
10541
|
+
availability_zone: typing.Optional[builtins.str] = None,
|
|
10542
|
+
host_id: typing.Optional[builtins.str] = None,
|
|
10543
|
+
host_resource_group_arn: typing.Optional[builtins.str] = None,
|
|
10544
|
+
tenancy: typing.Optional[builtins.str] = None,
|
|
10545
|
+
) -> None:
|
|
10546
|
+
"""Type checking stubs"""
|
|
10547
|
+
pass
|
|
10548
|
+
|
|
10367
10549
|
def _typecheckingstub__606aaff62e915101e470a1274dc963d43831117f9a85493e01f09a1eebe8e6b6(
|
|
10368
10550
|
*,
|
|
10369
10551
|
s3_bucket_name: typing.Optional[builtins.str] = None,
|
|
@@ -10381,6 +10563,7 @@ def _typecheckingstub__cf8c493013f64742391c2bf93c7050f371ffeff0d9a35a3791f0b9fbb
|
|
|
10381
10563
|
instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10382
10564
|
key_pair: typing.Optional[builtins.str] = None,
|
|
10383
10565
|
logging: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInfrastructureConfiguration.LoggingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10566
|
+
placement: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInfrastructureConfiguration.PlacementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10384
10567
|
resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
10385
10568
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10386
10569
|
sns_topic_arn: typing.Optional[builtins.str] = None,
|