aws-cdk-lib 2.164.1__py3-none-any.whl → 2.166.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.166.0.jsii.tgz} +0 -0
- aws_cdk/aws_appsync/__init__.py +2163 -375
- aws_cdk/aws_autoscaling/__init__.py +145 -8
- aws_cdk/aws_backup/__init__.py +627 -3
- aws_cdk/aws_bedrock/__init__.py +982 -191
- aws_cdk/aws_codebuild/__init__.py +88 -33
- aws_cdk/aws_codepipeline/__init__.py +98 -5
- aws_cdk/aws_codestar/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +656 -102
- aws_cdk/aws_connect/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +9 -7
- aws_cdk/aws_devopsguru/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +762 -0
- aws_cdk/aws_dynamodb/__init__.py +13 -8
- aws_cdk/aws_ec2/__init__.py +134 -35
- aws_cdk/aws_ecs/__init__.py +41 -31
- aws_cdk/aws_eks/__init__.py +10 -12
- aws_cdk/aws_elasticache/__init__.py +52 -6
- aws_cdk/aws_emrserverless/__init__.py +35 -33
- aws_cdk/aws_events/__init__.py +25 -30
- 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_kinesis/__init__.py +297 -1
- aws_cdk/aws_lambda/__init__.py +3 -3
- aws_cdk/aws_m2/__init__.py +58 -58
- aws_cdk/aws_mediapackagev2/__init__.py +191 -0
- aws_cdk/aws_memorydb/__init__.py +41 -0
- aws_cdk/aws_networkfirewall/__init__.py +14 -5
- aws_cdk/aws_opensearchservice/__init__.py +969 -0
- aws_cdk/aws_pipes/__init__.py +1 -1
- aws_cdk/aws_qbusiness/__init__.py +23 -14
- aws_cdk/aws_rds/__init__.py +187 -48
- 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 +37 -9
- aws_cdk/aws_s3_deployment/__init__.py +13 -7
- aws_cdk/aws_sagemaker/__init__.py +128 -23
- aws_cdk/aws_secretsmanager/__init__.py +2 -1
- aws_cdk/aws_ses/__init__.py +19 -0
- aws_cdk/aws_synthetics/__init__.py +121 -0
- aws_cdk/aws_timestream/__init__.py +41 -0
- aws_cdk/aws_wisdom/__init__.py +2035 -61
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/METADATA +6 -6
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/RECORD +52 -52
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.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 ElastiCache engine. For Valkey or Redis OSS only.
|
|
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 ElastiCache engine.'''
|
|
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 ElastiCache engine. For Valkey or Redis OSS only.
|
|
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,17 @@ 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 ElastiCache engine.
|
|
2337
|
+
|
|
2338
|
+
For Valkey or Redis OSS only.
|
|
2339
|
+
|
|
2340
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-engine
|
|
2341
|
+
'''
|
|
2342
|
+
result = self._values.get("engine")
|
|
2343
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2344
|
+
|
|
2310
2345
|
@builtins.property
|
|
2311
2346
|
def engine_version(self) -> typing.Optional[builtins.str]:
|
|
2312
2347
|
'''The Elasticache Valkey or Redis OSS engine version.
|
|
@@ -2818,7 +2853,7 @@ class CfnReplicationGroup(
|
|
|
2818
2853
|
: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
2854
|
: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
2855
|
: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 ``
|
|
2856
|
+
: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`` . .. epigraph:: Upgrading an existing engine from redis to valkey is done through in-place migration, and requires a parameter group.
|
|
2822
2857
|
: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
2858
|
:param global_replication_group_id: The name of the Global datastore.
|
|
2824
2859
|
: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 +4181,7 @@ class CfnReplicationGroupProps:
|
|
|
4146
4181
|
: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
4182
|
: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
4183
|
: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 ``
|
|
4184
|
+
: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`` . .. epigraph:: Upgrading an existing engine from redis to valkey is done through in-place migration, and requires a parameter group.
|
|
4150
4185
|
: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
4186
|
:param global_replication_group_id: The name of the Global datastore.
|
|
4152
4187
|
: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 +4610,10 @@ class CfnReplicationGroupProps:
|
|
|
4575
4610
|
def engine(self) -> typing.Optional[builtins.str]:
|
|
4576
4611
|
'''The name of the cache engine to be used for the clusters in this replication group.
|
|
4577
4612
|
|
|
4578
|
-
The value must be set to ``
|
|
4613
|
+
The value must be set to ``valkey`` or ``redis`` .
|
|
4614
|
+
.. epigraph::
|
|
4615
|
+
|
|
4616
|
+
Upgrading an existing engine from redis to valkey is done through in-place migration, and requires a parameter group.
|
|
4579
4617
|
|
|
4580
4618
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-engine
|
|
4581
4619
|
'''
|
|
@@ -7901,6 +7939,7 @@ def _typecheckingstub__7b347e00f869706c90d3dc918dc3fb240c81a3a2e15ca55cb3a114e77
|
|
|
7901
7939
|
automatic_failover_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
7902
7940
|
cache_node_type: typing.Optional[builtins.str] = None,
|
|
7903
7941
|
cache_parameter_group_name: typing.Optional[builtins.str] = None,
|
|
7942
|
+
engine: typing.Optional[builtins.str] = None,
|
|
7904
7943
|
engine_version: typing.Optional[builtins.str] = None,
|
|
7905
7944
|
global_node_group_count: typing.Optional[jsii.Number] = None,
|
|
7906
7945
|
global_replication_group_description: typing.Optional[builtins.str] = None,
|
|
@@ -7946,6 +7985,12 @@ def _typecheckingstub__0848ddc407bc59c23bb3f0758cd29c2ca80ecb4af0b703cfbabe76114
|
|
|
7946
7985
|
"""Type checking stubs"""
|
|
7947
7986
|
pass
|
|
7948
7987
|
|
|
7988
|
+
def _typecheckingstub__3d6acde04136c92a50e6d2ec82998a955c39b2dbab276012b19c765c13a30125(
|
|
7989
|
+
value: typing.Optional[builtins.str],
|
|
7990
|
+
) -> None:
|
|
7991
|
+
"""Type checking stubs"""
|
|
7992
|
+
pass
|
|
7993
|
+
|
|
7949
7994
|
def _typecheckingstub__5e6d37e14147abb9446aa94586bbfdc04bcc4cbad9c87b170bc3c934223a3dc1(
|
|
7950
7995
|
value: typing.Optional[builtins.str],
|
|
7951
7996
|
) -> None:
|
|
@@ -8008,6 +8053,7 @@ def _typecheckingstub__265dda90953e13518f66b5357e00050b92a09e4dfb295f7b765b5b5d5
|
|
|
8008
8053
|
automatic_failover_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8009
8054
|
cache_node_type: typing.Optional[builtins.str] = None,
|
|
8010
8055
|
cache_parameter_group_name: typing.Optional[builtins.str] = None,
|
|
8056
|
+
engine: typing.Optional[builtins.str] = None,
|
|
8011
8057
|
engine_version: typing.Optional[builtins.str] = None,
|
|
8012
8058
|
global_node_group_count: typing.Optional[jsii.Number] = None,
|
|
8013
8059
|
global_replication_group_description: typing.Optional[builtins.str] = None,
|
|
@@ -559,9 +559,9 @@ class CfnApplication(
|
|
|
559
559
|
*,
|
|
560
560
|
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
561
561
|
) -> None:
|
|
562
|
-
'''
|
|
562
|
+
'''The configuration for an application to automatically start on job submission.
|
|
563
563
|
|
|
564
|
-
:param enabled:
|
|
564
|
+
:param enabled: Enables the application to automatically start on job submission. Default: - true
|
|
565
565
|
|
|
566
566
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-autostartconfiguration.html
|
|
567
567
|
:exampleMetadata: fixture=_generated
|
|
@@ -587,9 +587,7 @@ class CfnApplication(
|
|
|
587
587
|
def enabled(
|
|
588
588
|
self,
|
|
589
589
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
590
|
-
'''
|
|
591
|
-
|
|
592
|
-
Defaults to true.
|
|
590
|
+
'''Enables the application to automatically start on job submission.
|
|
593
591
|
|
|
594
592
|
:default: - true
|
|
595
593
|
|
|
@@ -624,10 +622,10 @@ class CfnApplication(
|
|
|
624
622
|
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
625
623
|
idle_timeout_minutes: typing.Optional[jsii.Number] = None,
|
|
626
624
|
) -> None:
|
|
627
|
-
'''
|
|
625
|
+
'''The configuration for an application to automatically stop after a certain amount of time being idle.
|
|
628
626
|
|
|
629
|
-
:param enabled:
|
|
630
|
-
:param idle_timeout_minutes: The amount of time
|
|
627
|
+
:param enabled: Enables the application to automatically stop after a certain amount of time being idle. Defaults to true. Default: - true
|
|
628
|
+
:param idle_timeout_minutes: The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.
|
|
631
629
|
|
|
632
630
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-autostopconfiguration.html
|
|
633
631
|
:exampleMetadata: fixture=_generated
|
|
@@ -657,7 +655,7 @@ class CfnApplication(
|
|
|
657
655
|
def enabled(
|
|
658
656
|
self,
|
|
659
657
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
660
|
-
'''
|
|
658
|
+
'''Enables the application to automatically stop after a certain amount of time being idle.
|
|
661
659
|
|
|
662
660
|
Defaults to true.
|
|
663
661
|
|
|
@@ -670,7 +668,7 @@ class CfnApplication(
|
|
|
670
668
|
|
|
671
669
|
@builtins.property
|
|
672
670
|
def idle_timeout_minutes(self) -> typing.Optional[jsii.Number]:
|
|
673
|
-
'''The amount of time
|
|
671
|
+
'''The amount of idle time in minutes after which your application will automatically stop.
|
|
674
672
|
|
|
675
673
|
Defaults to 15 minutes.
|
|
676
674
|
|
|
@@ -839,11 +837,13 @@ class CfnApplication(
|
|
|
839
837
|
configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.ConfigurationObjectProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
840
838
|
properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
841
839
|
) -> None:
|
|
842
|
-
'''
|
|
840
|
+
'''A configuration specification to be used when provisioning an application.
|
|
843
841
|
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
:param
|
|
842
|
+
A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file.
|
|
843
|
+
|
|
844
|
+
:param classification: The classification within a configuration.
|
|
845
|
+
:param configurations: A list of additional configurations to apply within a configuration object.
|
|
846
|
+
:param properties: A set of properties specified within a configuration classification.
|
|
847
847
|
|
|
848
848
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-configurationobject.html
|
|
849
849
|
:exampleMetadata: fixture=_generated
|
|
@@ -881,7 +881,8 @@ class CfnApplication(
|
|
|
881
881
|
|
|
882
882
|
@builtins.property
|
|
883
883
|
def classification(self) -> builtins.str:
|
|
884
|
-
'''
|
|
884
|
+
'''The classification within a configuration.
|
|
885
|
+
|
|
885
886
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-configurationobject.html#cfn-emrserverless-application-configurationobject-classification
|
|
886
887
|
'''
|
|
887
888
|
result = self._values.get("classification")
|
|
@@ -892,7 +893,8 @@ class CfnApplication(
|
|
|
892
893
|
def configurations(
|
|
893
894
|
self,
|
|
894
895
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.ConfigurationObjectProperty"]]]]:
|
|
895
|
-
'''
|
|
896
|
+
'''A list of additional configurations to apply within a configuration object.
|
|
897
|
+
|
|
896
898
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-configurationobject.html#cfn-emrserverless-application-configurationobject-configurations
|
|
897
899
|
'''
|
|
898
900
|
result = self._values.get("configurations")
|
|
@@ -902,7 +904,8 @@ class CfnApplication(
|
|
|
902
904
|
def properties(
|
|
903
905
|
self,
|
|
904
906
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
905
|
-
'''
|
|
907
|
+
'''A set of properties specified within a configuration classification.
|
|
908
|
+
|
|
906
909
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-configurationobject.html#cfn-emrserverless-application-configurationobject-properties
|
|
907
910
|
'''
|
|
908
911
|
result = self._values.get("properties")
|
|
@@ -1469,7 +1472,7 @@ class CfnApplication(
|
|
|
1469
1472
|
managed_persistence_monitoring_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.ManagedPersistenceMonitoringConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1470
1473
|
s3_monitoring_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.S3MonitoringConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1471
1474
|
) -> None:
|
|
1472
|
-
'''The configuration setting for monitoring.
|
|
1475
|
+
'''The configuration setting for monitoring logs.
|
|
1473
1476
|
|
|
1474
1477
|
:param cloud_watch_logging_configuration: The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs to send log information to CloudWatch.
|
|
1475
1478
|
:param managed_persistence_monitoring_configuration: The managed log persistence configuration for a job run.
|
|
@@ -1728,11 +1731,14 @@ class CfnApplication(
|
|
|
1728
1731
|
disk: typing.Optional[builtins.str] = None,
|
|
1729
1732
|
disk_type: typing.Optional[builtins.str] = None,
|
|
1730
1733
|
) -> None:
|
|
1731
|
-
'''
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
:param
|
|
1734
|
+
'''The configuration of a worker.
|
|
1735
|
+
|
|
1736
|
+
For more information, see `Supported worker configurations <https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/app-behavior.html#worker-configs>`_ .
|
|
1737
|
+
|
|
1738
|
+
:param cpu: The CPU requirements of the worker configuration. Each worker can have 1, 2, 4, 8, or 16 vCPUs.
|
|
1739
|
+
:param memory: The memory requirements of the worker configuration.
|
|
1740
|
+
:param disk: The disk requirements of the worker configuration.
|
|
1741
|
+
:param disk_type: The disk type for every worker instance of the work type. Shuffle optimized disks have higher performance characteristics and are better for shuffle heavy workloads. Default is ``STANDARD`` .
|
|
1736
1742
|
|
|
1737
1743
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-workerconfiguration.html
|
|
1738
1744
|
:exampleMetadata: fixture=_generated
|
|
@@ -1769,9 +1775,9 @@ class CfnApplication(
|
|
|
1769
1775
|
|
|
1770
1776
|
@builtins.property
|
|
1771
1777
|
def cpu(self) -> builtins.str:
|
|
1772
|
-
'''
|
|
1778
|
+
'''The CPU requirements of the worker configuration.
|
|
1773
1779
|
|
|
1774
|
-
|
|
1780
|
+
Each worker can have 1, 2, 4, 8, or 16 vCPUs.
|
|
1775
1781
|
|
|
1776
1782
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-workerconfiguration.html#cfn-emrserverless-application-workerconfiguration-cpu
|
|
1777
1783
|
'''
|
|
@@ -1781,9 +1787,7 @@ class CfnApplication(
|
|
|
1781
1787
|
|
|
1782
1788
|
@builtins.property
|
|
1783
1789
|
def memory(self) -> builtins.str:
|
|
1784
|
-
'''
|
|
1785
|
-
|
|
1786
|
-
GB is the only supported unit and specifying GB is optional.
|
|
1790
|
+
'''The memory requirements of the worker configuration.
|
|
1787
1791
|
|
|
1788
1792
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-workerconfiguration.html#cfn-emrserverless-application-workerconfiguration-memory
|
|
1789
1793
|
'''
|
|
@@ -1793,9 +1797,7 @@ class CfnApplication(
|
|
|
1793
1797
|
|
|
1794
1798
|
@builtins.property
|
|
1795
1799
|
def disk(self) -> typing.Optional[builtins.str]:
|
|
1796
|
-
'''
|
|
1797
|
-
|
|
1798
|
-
GB is the only supported unit and specifying GB is optional
|
|
1800
|
+
'''The disk requirements of the worker configuration.
|
|
1799
1801
|
|
|
1800
1802
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-workerconfiguration.html#cfn-emrserverless-application-workerconfiguration-disk
|
|
1801
1803
|
'''
|
|
@@ -1804,9 +1806,9 @@ class CfnApplication(
|
|
|
1804
1806
|
|
|
1805
1807
|
@builtins.property
|
|
1806
1808
|
def disk_type(self) -> typing.Optional[builtins.str]:
|
|
1807
|
-
'''
|
|
1809
|
+
'''The disk type for every worker instance of the work type.
|
|
1808
1810
|
|
|
1809
|
-
Shuffle optimized and
|
|
1811
|
+
Shuffle optimized disks have higher performance characteristics and are better for shuffle heavy workloads. Default is ``STANDARD`` .
|
|
1810
1812
|
|
|
1811
1813
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-workerconfiguration.html#cfn-emrserverless-application-workerconfiguration-disktype
|
|
1812
1814
|
'''
|
aws_cdk/aws_events/__init__.py
CHANGED
|
@@ -1604,8 +1604,6 @@ class CfnConnection(
|
|
|
1604
1604
|
)
|
|
1605
1605
|
)
|
|
1606
1606
|
),
|
|
1607
|
-
|
|
1608
|
-
# the properties below are optional
|
|
1609
1607
|
description="description",
|
|
1610
1608
|
name="name"
|
|
1611
1609
|
)
|
|
@@ -1616,8 +1614,8 @@ class CfnConnection(
|
|
|
1616
1614
|
scope: _constructs_77d1e7e8.Construct,
|
|
1617
1615
|
id: builtins.str,
|
|
1618
1616
|
*,
|
|
1619
|
-
authorization_type: builtins.str,
|
|
1620
|
-
auth_parameters: typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.AuthParametersProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1617
|
+
authorization_type: typing.Optional[builtins.str] = None,
|
|
1618
|
+
auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.AuthParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1621
1619
|
description: typing.Optional[builtins.str] = None,
|
|
1622
1620
|
name: typing.Optional[builtins.str] = None,
|
|
1623
1621
|
) -> None:
|
|
@@ -1697,12 +1695,12 @@ class CfnConnection(
|
|
|
1697
1695
|
|
|
1698
1696
|
@builtins.property
|
|
1699
1697
|
@jsii.member(jsii_name="authorizationType")
|
|
1700
|
-
def authorization_type(self) -> builtins.str:
|
|
1698
|
+
def authorization_type(self) -> typing.Optional[builtins.str]:
|
|
1701
1699
|
'''The type of authorization to use for the connection.'''
|
|
1702
|
-
return typing.cast(builtins.str, jsii.get(self, "authorizationType"))
|
|
1700
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "authorizationType"))
|
|
1703
1701
|
|
|
1704
1702
|
@authorization_type.setter
|
|
1705
|
-
def authorization_type(self, value: builtins.str) -> None:
|
|
1703
|
+
def authorization_type(self, value: typing.Optional[builtins.str]) -> None:
|
|
1706
1704
|
if __debug__:
|
|
1707
1705
|
type_hints = typing.get_type_hints(_typecheckingstub__4f51f33cc16a16fcb52edb95bbc7ef5dd0bb5f97e31dd1f331adaf42e9cd3668)
|
|
1708
1706
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
@@ -1712,14 +1710,14 @@ class CfnConnection(
|
|
|
1712
1710
|
@jsii.member(jsii_name="authParameters")
|
|
1713
1711
|
def auth_parameters(
|
|
1714
1712
|
self,
|
|
1715
|
-
) -> typing.Union[_IResolvable_da3f097b, "CfnConnection.AuthParametersProperty"]:
|
|
1713
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.AuthParametersProperty"]]:
|
|
1716
1714
|
'''A ``CreateConnectionAuthRequestParameters`` object that contains the authorization parameters to use to authorize with the endpoint.'''
|
|
1717
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnConnection.AuthParametersProperty"], jsii.get(self, "authParameters"))
|
|
1715
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.AuthParametersProperty"]], jsii.get(self, "authParameters"))
|
|
1718
1716
|
|
|
1719
1717
|
@auth_parameters.setter
|
|
1720
1718
|
def auth_parameters(
|
|
1721
1719
|
self,
|
|
1722
|
-
value: typing.Union[_IResolvable_da3f097b, "CfnConnection.AuthParametersProperty"],
|
|
1720
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.AuthParametersProperty"]],
|
|
1723
1721
|
) -> None:
|
|
1724
1722
|
if __debug__:
|
|
1725
1723
|
type_hints = typing.get_type_hints(_typecheckingstub__57b3dc84742623dcc9dcc433aac0b117093002aa9686131e642748038958b67c)
|
|
@@ -2496,8 +2494,8 @@ class CfnConnectionProps:
|
|
|
2496
2494
|
def __init__(
|
|
2497
2495
|
self,
|
|
2498
2496
|
*,
|
|
2499
|
-
authorization_type: builtins.str,
|
|
2500
|
-
auth_parameters: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AuthParametersProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2497
|
+
authorization_type: typing.Optional[builtins.str] = None,
|
|
2498
|
+
auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AuthParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2501
2499
|
description: typing.Optional[builtins.str] = None,
|
|
2502
2500
|
name: typing.Optional[builtins.str] = None,
|
|
2503
2501
|
) -> None:
|
|
@@ -2585,8 +2583,6 @@ class CfnConnectionProps:
|
|
|
2585
2583
|
)
|
|
2586
2584
|
)
|
|
2587
2585
|
),
|
|
2588
|
-
|
|
2589
|
-
# the properties below are optional
|
|
2590
2586
|
description="description",
|
|
2591
2587
|
name="name"
|
|
2592
2588
|
)
|
|
@@ -2597,17 +2593,18 @@ class CfnConnectionProps:
|
|
|
2597
2593
|
check_type(argname="argument auth_parameters", value=auth_parameters, expected_type=type_hints["auth_parameters"])
|
|
2598
2594
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
2599
2595
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
2600
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2601
|
-
|
|
2602
|
-
"
|
|
2603
|
-
|
|
2596
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2597
|
+
if authorization_type is not None:
|
|
2598
|
+
self._values["authorization_type"] = authorization_type
|
|
2599
|
+
if auth_parameters is not None:
|
|
2600
|
+
self._values["auth_parameters"] = auth_parameters
|
|
2604
2601
|
if description is not None:
|
|
2605
2602
|
self._values["description"] = description
|
|
2606
2603
|
if name is not None:
|
|
2607
2604
|
self._values["name"] = name
|
|
2608
2605
|
|
|
2609
2606
|
@builtins.property
|
|
2610
|
-
def authorization_type(self) -> builtins.str:
|
|
2607
|
+
def authorization_type(self) -> typing.Optional[builtins.str]:
|
|
2611
2608
|
'''The type of authorization to use for the connection.
|
|
2612
2609
|
|
|
2613
2610
|
.. epigraph::
|
|
@@ -2617,20 +2614,18 @@ class CfnConnectionProps:
|
|
|
2617
2614
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-authorizationtype
|
|
2618
2615
|
'''
|
|
2619
2616
|
result = self._values.get("authorization_type")
|
|
2620
|
-
|
|
2621
|
-
return typing.cast(builtins.str, result)
|
|
2617
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2622
2618
|
|
|
2623
2619
|
@builtins.property
|
|
2624
2620
|
def auth_parameters(
|
|
2625
2621
|
self,
|
|
2626
|
-
) -> typing.Union[_IResolvable_da3f097b, CfnConnection.AuthParametersProperty]:
|
|
2622
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnection.AuthParametersProperty]]:
|
|
2627
2623
|
'''A ``CreateConnectionAuthRequestParameters`` object that contains the authorization parameters to use to authorize with the endpoint.
|
|
2628
2624
|
|
|
2629
2625
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-authparameters
|
|
2630
2626
|
'''
|
|
2631
2627
|
result = self._values.get("auth_parameters")
|
|
2632
|
-
|
|
2633
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnConnection.AuthParametersProperty], result)
|
|
2628
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnection.AuthParametersProperty]], result)
|
|
2634
2629
|
|
|
2635
2630
|
@builtins.property
|
|
2636
2631
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -11937,8 +11932,8 @@ def _typecheckingstub__65bde9b35de094b905dd335652d04503af85c50ac027a006a1d7ec926
|
|
|
11937
11932
|
scope: _constructs_77d1e7e8.Construct,
|
|
11938
11933
|
id: builtins.str,
|
|
11939
11934
|
*,
|
|
11940
|
-
authorization_type: builtins.str,
|
|
11941
|
-
auth_parameters: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AuthParametersProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
11935
|
+
authorization_type: typing.Optional[builtins.str] = None,
|
|
11936
|
+
auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AuthParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11942
11937
|
description: typing.Optional[builtins.str] = None,
|
|
11943
11938
|
name: typing.Optional[builtins.str] = None,
|
|
11944
11939
|
) -> None:
|
|
@@ -11958,13 +11953,13 @@ def _typecheckingstub__9baa06fe2df5d5855b8fea8613ae753f8301c4cdb9f83ba3f45fd5407
|
|
|
11958
11953
|
pass
|
|
11959
11954
|
|
|
11960
11955
|
def _typecheckingstub__4f51f33cc16a16fcb52edb95bbc7ef5dd0bb5f97e31dd1f331adaf42e9cd3668(
|
|
11961
|
-
value: builtins.str,
|
|
11956
|
+
value: typing.Optional[builtins.str],
|
|
11962
11957
|
) -> None:
|
|
11963
11958
|
"""Type checking stubs"""
|
|
11964
11959
|
pass
|
|
11965
11960
|
|
|
11966
11961
|
def _typecheckingstub__57b3dc84742623dcc9dcc433aac0b117093002aa9686131e642748038958b67c(
|
|
11967
|
-
value: typing.Union[_IResolvable_da3f097b, CfnConnection.AuthParametersProperty],
|
|
11962
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnection.AuthParametersProperty]],
|
|
11968
11963
|
) -> None:
|
|
11969
11964
|
"""Type checking stubs"""
|
|
11970
11965
|
pass
|
|
@@ -12045,8 +12040,8 @@ def _typecheckingstub__8ef124487a6c31dc58a802230e7bf50f962f08be9cde1fb39c45b429d
|
|
|
12045
12040
|
|
|
12046
12041
|
def _typecheckingstub__2b32e6c6e8c1c2772bb604474216b07683c108c349058e240d272750b95ff394(
|
|
12047
12042
|
*,
|
|
12048
|
-
authorization_type: builtins.str,
|
|
12049
|
-
auth_parameters: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AuthParametersProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
12043
|
+
authorization_type: typing.Optional[builtins.str] = None,
|
|
12044
|
+
auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AuthParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12050
12045
|
description: typing.Optional[builtins.str] = None,
|
|
12051
12046
|
name: typing.Optional[builtins.str] = None,
|
|
12052
12047
|
) -> None:
|