aws-cdk-lib 2.201.0__py3-none-any.whl → 2.203.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 +70 -71
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.201.0.jsii.tgz → aws-cdk-lib@2.203.0.jsii.tgz} +0 -0
- aws_cdk/aws_accessanalyzer/__init__.py +310 -4
- aws_cdk/aws_aiops/__init__.py +964 -0
- aws_cdk/aws_amplify/__init__.py +127 -0
- aws_cdk/aws_arczonalshift/__init__.py +8 -8
- aws_cdk/aws_athena/__init__.py +12 -11
- aws_cdk/aws_b2bi/__init__.py +782 -3
- aws_cdk/aws_backup/__init__.py +22 -0
- aws_cdk/aws_batch/__init__.py +53 -1
- aws_cdk/aws_bedrock/__init__.py +123 -9
- aws_cdk/aws_cleanrooms/__init__.py +157 -154
- aws_cdk/aws_cloudformation/__init__.py +28 -28
- aws_cdk/aws_cloudfront/__init__.py +92 -57
- aws_cdk/aws_cloudfront/experimental/__init__.py +42 -3
- aws_cdk/aws_cloudwatch/__init__.py +228 -2
- aws_cdk/aws_connect/__init__.py +120 -8
- aws_cdk/aws_connectcampaignsv2/__init__.py +25 -4
- aws_cdk/aws_customerprofiles/__init__.py +150 -30
- aws_cdk/aws_datazone/__init__.py +23 -4
- aws_cdk/aws_deadline/__init__.py +4 -4
- aws_cdk/aws_dsql/__init__.py +148 -0
- aws_cdk/aws_ec2/__init__.py +321 -19
- aws_cdk/aws_ecr/__init__.py +3 -3
- aws_cdk/aws_ecs/__init__.py +48 -13
- aws_cdk/aws_efs/__init__.py +17 -6
- aws_cdk/aws_eks/__init__.py +180 -158
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -2
- aws_cdk/aws_emrserverless/__init__.py +118 -0
- aws_cdk/aws_fsx/__init__.py +891 -0
- aws_cdk/aws_glue/__init__.py +58 -24
- aws_cdk/aws_iam/__init__.py +11 -11
- aws_cdk/aws_inspectorv2/__init__.py +442 -3
- aws_cdk/aws_kendra/__init__.py +10 -5
- aws_cdk/aws_kms/__init__.py +24 -12
- aws_cdk/aws_lambda/__init__.py +938 -36
- aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +37 -3
- aws_cdk/aws_lex/__init__.py +703 -0
- aws_cdk/aws_logs/__init__.py +144 -0
- aws_cdk/aws_mediatailor/__init__.py +399 -0
- aws_cdk/aws_mpa/__init__.py +1475 -0
- aws_cdk/aws_msk/__init__.py +21 -2
- aws_cdk/aws_mwaa/__init__.py +45 -2
- aws_cdk/aws_networkfirewall/__init__.py +4 -2
- aws_cdk/aws_networkmanager/__init__.py +51 -3
- aws_cdk/aws_opsworkscm/__init__.py +44 -2
- aws_cdk/aws_rds/__init__.py +175 -42
- aws_cdk/aws_redshiftserverless/__init__.py +632 -0
- aws_cdk/aws_route53resolver/__init__.py +58 -10
- aws_cdk/aws_s3/__init__.py +19 -1
- aws_cdk/aws_s3tables/__init__.py +230 -0
- aws_cdk/aws_sagemaker/__init__.py +14 -10
- aws_cdk/aws_securityhub/__init__.py +2887 -56
- aws_cdk/aws_synthetics/__init__.py +21 -0
- aws_cdk/aws_vpclattice/__init__.py +6 -4
- aws_cdk/aws_wafv2/__init__.py +849 -18
- aws_cdk/aws_workspacesinstances/__init__.py +3243 -0
- aws_cdk/cloud_assembly_schema/__init__.py +200 -4
- aws_cdk/cx_api/__init__.py +29 -14
- aws_cdk/pipelines/__init__.py +178 -41
- aws_cdk/triggers/__init__.py +41 -4
- {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/RECORD +69 -66
- {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_msk/__init__.py
CHANGED
|
@@ -843,7 +843,7 @@ class CfnCluster(
|
|
|
843
843
|
'''Describes the setup to be used for the broker nodes in the cluster.
|
|
844
844
|
|
|
845
845
|
:param client_subnets: The list of subnets to connect to in the client virtual private cloud (VPC). Amazon creates elastic network interfaces (ENIs) inside these subnets. Client applications use ENIs to produce and consume data. If you use the US West (N. California) Region, specify exactly two subnets. For other Regions where Amazon MSK is available, you can specify either two or three subnets. The subnets that you specify must be in distinct Availability Zones. When you create a cluster, Amazon MSK distributes the broker nodes evenly across the subnets that you specify. Client subnets can't occupy the Availability Zone with ID ``use1-az3`` .
|
|
846
|
-
:param instance_type: The type of Amazon EC2 instances to use for brokers.
|
|
846
|
+
:param instance_type: The type of Amazon EC2 instances to use for brokers. Depending on the `broker type <https://docs.aws.amazon.com/msk/latest/developerguide/broker-instance-types.html>`_ , Amazon MSK supports the following broker sizes: *Standard broker sizes* - kafka.t3.small .. epigraph:: You can't select the kafka.t3.small instance type when the metadata mode is KRaft. - kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge, kafka.m5.8xlarge, kafka.m5.12xlarge, kafka.m5.16xlarge, kafka.m5.24xlarge - kafka.m7g.large, kafka.m7g.xlarge, kafka.m7g.2xlarge, kafka.m7g.4xlarge, kafka.m7g.8xlarge, kafka.m7g.12xlarge, kafka.m7g.16xlarge *Express broker sizes* - express.m7g.large, express.m7g.xlarge, express.m7g.2xlarge, express.m7g.4xlarge, express.m7g.8xlarge, express.m7g.12xlarge, express.m7g.16xlarge .. epigraph:: Some broker sizes might not be available in certian AWS Regions. See the updated `Pricing tools <https://docs.aws.amazon.com/msk/pricing/>`_ section on the Amazon MSK pricing page for the latest list of available instances by Region.
|
|
847
847
|
:param broker_az_distribution: This parameter is currently not in use.
|
|
848
848
|
:param connectivity_info: Information about the cluster's connectivity setting.
|
|
849
849
|
:param security_groups: The security groups to associate with the ENIs in order to specify who can connect to and communicate with the Amazon MSK cluster. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC. If you specify security groups that were shared with you, you must ensure that you have permissions to them. Specifically, you need the ``ec2:DescribeSecurityGroups`` permission.
|
|
@@ -937,7 +937,26 @@ class CfnCluster(
|
|
|
937
937
|
def instance_type(self) -> builtins.str:
|
|
938
938
|
'''The type of Amazon EC2 instances to use for brokers.
|
|
939
939
|
|
|
940
|
-
|
|
940
|
+
Depending on the `broker type <https://docs.aws.amazon.com/msk/latest/developerguide/broker-instance-types.html>`_ , Amazon MSK supports the following broker sizes:
|
|
941
|
+
|
|
942
|
+
*Standard broker sizes*
|
|
943
|
+
|
|
944
|
+
- kafka.t3.small
|
|
945
|
+
|
|
946
|
+
.. epigraph::
|
|
947
|
+
|
|
948
|
+
You can't select the kafka.t3.small instance type when the metadata mode is KRaft.
|
|
949
|
+
|
|
950
|
+
- kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge, kafka.m5.8xlarge, kafka.m5.12xlarge, kafka.m5.16xlarge, kafka.m5.24xlarge
|
|
951
|
+
- kafka.m7g.large, kafka.m7g.xlarge, kafka.m7g.2xlarge, kafka.m7g.4xlarge, kafka.m7g.8xlarge, kafka.m7g.12xlarge, kafka.m7g.16xlarge
|
|
952
|
+
|
|
953
|
+
*Express broker sizes*
|
|
954
|
+
|
|
955
|
+
- express.m7g.large, express.m7g.xlarge, express.m7g.2xlarge, express.m7g.4xlarge, express.m7g.8xlarge, express.m7g.12xlarge, express.m7g.16xlarge
|
|
956
|
+
|
|
957
|
+
.. epigraph::
|
|
958
|
+
|
|
959
|
+
Some broker sizes might not be available in certian AWS Regions. See the updated `Pricing tools <https://docs.aws.amazon.com/msk/pricing/>`_ section on the Amazon MSK pricing page for the latest list of available instances by Region.
|
|
941
960
|
|
|
942
961
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-instancetype
|
|
943
962
|
'''
|
aws_cdk/aws_mwaa/__init__.py
CHANGED
|
@@ -145,7 +145,8 @@ class CfnEnvironment(
|
|
|
145
145
|
startup_script_s3_path="startupScriptS3Path",
|
|
146
146
|
tags=tags,
|
|
147
147
|
webserver_access_mode="webserverAccessMode",
|
|
148
|
-
weekly_maintenance_window_start="weeklyMaintenanceWindowStart"
|
|
148
|
+
weekly_maintenance_window_start="weeklyMaintenanceWindowStart",
|
|
149
|
+
worker_replacement_strategy="workerReplacementStrategy"
|
|
149
150
|
)
|
|
150
151
|
'''
|
|
151
152
|
|
|
@@ -179,6 +180,7 @@ class CfnEnvironment(
|
|
|
179
180
|
tags: typing.Any = None,
|
|
180
181
|
webserver_access_mode: typing.Optional[builtins.str] = None,
|
|
181
182
|
weekly_maintenance_window_start: typing.Optional[builtins.str] = None,
|
|
183
|
+
worker_replacement_strategy: typing.Optional[builtins.str] = None,
|
|
182
184
|
) -> None:
|
|
183
185
|
'''
|
|
184
186
|
:param scope: Scope in which this resource is defined.
|
|
@@ -208,6 +210,7 @@ class CfnEnvironment(
|
|
|
208
210
|
:param tags: The key-value tag pairs associated to your environment. For example, ``"Environment": "Staging"`` . To learn more, see `Tagging <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html>`_ . If you specify new tags for an existing environment, the update requires service interruption before taking effect.
|
|
209
211
|
:param webserver_access_mode: The Apache Airflow *Web server* access mode. To learn more, see `Apache Airflow access modes <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html>`_ . Valid values: ``PRIVATE_ONLY`` or ``PUBLIC_ONLY`` .
|
|
210
212
|
:param weekly_maintenance_window_start: The day and time of the week to start weekly maintenance updates of your environment in the following format: ``DAY:HH:MM`` . For example: ``TUE:03:30`` . You can specify a start time in 30 minute increments only. Supported input includes the following: - MON|TUE|WED|THU|FRI|SAT|SUN:([01]\\d|2[0-3]):(00|30)
|
|
213
|
+
:param worker_replacement_strategy: The worker replacement strategy to use when updating the environment. Valid values: ``FORCED``, ``GRACEFUL``. FORCED means Apache Airflow workers will be stopped and replaced without waiting for tasks to complete before an update. GRACEFUL means Apache Airflow workers will be able to complete running tasks for up to 12 hours during an update before being stopped and replaced.
|
|
211
214
|
'''
|
|
212
215
|
if __debug__:
|
|
213
216
|
type_hints = typing.get_type_hints(_typecheckingstub__558d6a60af086ab1a40ad8057fcb128456129bbbd328752ab90d8a6d573efb1c)
|
|
@@ -239,6 +242,7 @@ class CfnEnvironment(
|
|
|
239
242
|
tags=tags,
|
|
240
243
|
webserver_access_mode=webserver_access_mode,
|
|
241
244
|
weekly_maintenance_window_start=weekly_maintenance_window_start,
|
|
245
|
+
worker_replacement_strategy=worker_replacement_strategy,
|
|
242
246
|
)
|
|
243
247
|
|
|
244
248
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -737,6 +741,19 @@ class CfnEnvironment(
|
|
|
737
741
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
738
742
|
jsii.set(self, "weeklyMaintenanceWindowStart", value) # pyright: ignore[reportArgumentType]
|
|
739
743
|
|
|
744
|
+
@builtins.property
|
|
745
|
+
@jsii.member(jsii_name="workerReplacementStrategy")
|
|
746
|
+
def worker_replacement_strategy(self) -> typing.Optional[builtins.str]:
|
|
747
|
+
'''The worker replacement strategy to use when updating the environment.'''
|
|
748
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "workerReplacementStrategy"))
|
|
749
|
+
|
|
750
|
+
@worker_replacement_strategy.setter
|
|
751
|
+
def worker_replacement_strategy(self, value: typing.Optional[builtins.str]) -> None:
|
|
752
|
+
if __debug__:
|
|
753
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6a69a886eac1c8570e29fe73891b3d0a6bf8bc1d04ac36bc656c130c6498adef)
|
|
754
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
755
|
+
jsii.set(self, "workerReplacementStrategy", value) # pyright: ignore[reportArgumentType]
|
|
756
|
+
|
|
740
757
|
@jsii.data_type(
|
|
741
758
|
jsii_type="aws-cdk-lib.aws_mwaa.CfnEnvironment.LoggingConfigurationProperty",
|
|
742
759
|
jsii_struct_bases=[],
|
|
@@ -1092,6 +1109,7 @@ class CfnEnvironment(
|
|
|
1092
1109
|
"tags": "tags",
|
|
1093
1110
|
"webserver_access_mode": "webserverAccessMode",
|
|
1094
1111
|
"weekly_maintenance_window_start": "weeklyMaintenanceWindowStart",
|
|
1112
|
+
"worker_replacement_strategy": "workerReplacementStrategy",
|
|
1095
1113
|
},
|
|
1096
1114
|
)
|
|
1097
1115
|
class CfnEnvironmentProps:
|
|
@@ -1123,6 +1141,7 @@ class CfnEnvironmentProps:
|
|
|
1123
1141
|
tags: typing.Any = None,
|
|
1124
1142
|
webserver_access_mode: typing.Optional[builtins.str] = None,
|
|
1125
1143
|
weekly_maintenance_window_start: typing.Optional[builtins.str] = None,
|
|
1144
|
+
worker_replacement_strategy: typing.Optional[builtins.str] = None,
|
|
1126
1145
|
) -> None:
|
|
1127
1146
|
'''Properties for defining a ``CfnEnvironment``.
|
|
1128
1147
|
|
|
@@ -1151,6 +1170,7 @@ class CfnEnvironmentProps:
|
|
|
1151
1170
|
:param tags: The key-value tag pairs associated to your environment. For example, ``"Environment": "Staging"`` . To learn more, see `Tagging <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html>`_ . If you specify new tags for an existing environment, the update requires service interruption before taking effect.
|
|
1152
1171
|
:param webserver_access_mode: The Apache Airflow *Web server* access mode. To learn more, see `Apache Airflow access modes <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html>`_ . Valid values: ``PRIVATE_ONLY`` or ``PUBLIC_ONLY`` .
|
|
1153
1172
|
:param weekly_maintenance_window_start: The day and time of the week to start weekly maintenance updates of your environment in the following format: ``DAY:HH:MM`` . For example: ``TUE:03:30`` . You can specify a start time in 30 minute increments only. Supported input includes the following: - MON|TUE|WED|THU|FRI|SAT|SUN:([01]\\d|2[0-3]):(00|30)
|
|
1173
|
+
:param worker_replacement_strategy: The worker replacement strategy to use when updating the environment. Valid values: ``FORCED``, ``GRACEFUL``. FORCED means Apache Airflow workers will be stopped and replaced without waiting for tasks to complete before an update. GRACEFUL means Apache Airflow workers will be able to complete running tasks for up to 12 hours during an update before being stopped and replaced.
|
|
1154
1174
|
|
|
1155
1175
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html
|
|
1156
1176
|
:exampleMetadata: fixture=_generated
|
|
@@ -1220,7 +1240,8 @@ class CfnEnvironmentProps:
|
|
|
1220
1240
|
startup_script_s3_path="startupScriptS3Path",
|
|
1221
1241
|
tags=tags,
|
|
1222
1242
|
webserver_access_mode="webserverAccessMode",
|
|
1223
|
-
weekly_maintenance_window_start="weeklyMaintenanceWindowStart"
|
|
1243
|
+
weekly_maintenance_window_start="weeklyMaintenanceWindowStart",
|
|
1244
|
+
worker_replacement_strategy="workerReplacementStrategy"
|
|
1224
1245
|
)
|
|
1225
1246
|
'''
|
|
1226
1247
|
if __debug__:
|
|
@@ -1250,6 +1271,7 @@ class CfnEnvironmentProps:
|
|
|
1250
1271
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1251
1272
|
check_type(argname="argument webserver_access_mode", value=webserver_access_mode, expected_type=type_hints["webserver_access_mode"])
|
|
1252
1273
|
check_type(argname="argument weekly_maintenance_window_start", value=weekly_maintenance_window_start, expected_type=type_hints["weekly_maintenance_window_start"])
|
|
1274
|
+
check_type(argname="argument worker_replacement_strategy", value=worker_replacement_strategy, expected_type=type_hints["worker_replacement_strategy"])
|
|
1253
1275
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1254
1276
|
"name": name,
|
|
1255
1277
|
}
|
|
@@ -1301,6 +1323,8 @@ class CfnEnvironmentProps:
|
|
|
1301
1323
|
self._values["webserver_access_mode"] = webserver_access_mode
|
|
1302
1324
|
if weekly_maintenance_window_start is not None:
|
|
1303
1325
|
self._values["weekly_maintenance_window_start"] = weekly_maintenance_window_start
|
|
1326
|
+
if worker_replacement_strategy is not None:
|
|
1327
|
+
self._values["worker_replacement_strategy"] = worker_replacement_strategy
|
|
1304
1328
|
|
|
1305
1329
|
@builtins.property
|
|
1306
1330
|
def name(self) -> builtins.str:
|
|
@@ -1587,6 +1611,17 @@ class CfnEnvironmentProps:
|
|
|
1587
1611
|
result = self._values.get("weekly_maintenance_window_start")
|
|
1588
1612
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1589
1613
|
|
|
1614
|
+
@builtins.property
|
|
1615
|
+
def worker_replacement_strategy(self) -> typing.Optional[builtins.str]:
|
|
1616
|
+
'''The worker replacement strategy to use when updating the environment.
|
|
1617
|
+
|
|
1618
|
+
Valid values: ``FORCED``, ``GRACEFUL``. FORCED means Apache Airflow workers will be stopped and replaced without waiting for tasks to complete before an update. GRACEFUL means Apache Airflow workers will be able to complete running tasks for up to 12 hours during an update before being stopped and replaced.
|
|
1619
|
+
|
|
1620
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-workerreplacementstrategy
|
|
1621
|
+
'''
|
|
1622
|
+
result = self._values.get("worker_replacement_strategy")
|
|
1623
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1624
|
+
|
|
1590
1625
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1591
1626
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1592
1627
|
|
|
@@ -1635,6 +1670,7 @@ def _typecheckingstub__558d6a60af086ab1a40ad8057fcb128456129bbbd328752ab90d8a6d5
|
|
|
1635
1670
|
tags: typing.Any = None,
|
|
1636
1671
|
webserver_access_mode: typing.Optional[builtins.str] = None,
|
|
1637
1672
|
weekly_maintenance_window_start: typing.Optional[builtins.str] = None,
|
|
1673
|
+
worker_replacement_strategy: typing.Optional[builtins.str] = None,
|
|
1638
1674
|
) -> None:
|
|
1639
1675
|
"""Type checking stubs"""
|
|
1640
1676
|
pass
|
|
@@ -1801,6 +1837,12 @@ def _typecheckingstub__c4b7b1ca9a0752d370dddfd37838d62fc0fdbdce81d79923961a78bfa
|
|
|
1801
1837
|
"""Type checking stubs"""
|
|
1802
1838
|
pass
|
|
1803
1839
|
|
|
1840
|
+
def _typecheckingstub__6a69a886eac1c8570e29fe73891b3d0a6bf8bc1d04ac36bc656c130c6498adef(
|
|
1841
|
+
value: typing.Optional[builtins.str],
|
|
1842
|
+
) -> None:
|
|
1843
|
+
"""Type checking stubs"""
|
|
1844
|
+
pass
|
|
1845
|
+
|
|
1804
1846
|
def _typecheckingstub__d823c014bd64bec48bc3afd2f5085d92c0e9f9e6f7641f491eeb3020665639f5(
|
|
1805
1847
|
*,
|
|
1806
1848
|
dag_processing_logs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEnvironment.ModuleLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -1856,6 +1898,7 @@ def _typecheckingstub__9d7baed808ece1f6aca4fce5dbeac04c731d688aec6f3395e1f0892ea
|
|
|
1856
1898
|
tags: typing.Any = None,
|
|
1857
1899
|
webserver_access_mode: typing.Optional[builtins.str] = None,
|
|
1858
1900
|
weekly_maintenance_window_start: typing.Optional[builtins.str] = None,
|
|
1901
|
+
worker_replacement_strategy: typing.Optional[builtins.str] = None,
|
|
1859
1902
|
) -> None:
|
|
1860
1903
|
"""Type checking stubs"""
|
|
1861
1904
|
pass
|
|
@@ -4352,6 +4352,8 @@ class CfnRuleGroup(
|
|
|
4352
4352
|
) -> None:
|
|
4353
4353
|
'''Settings that are available for use in the rules in the ``RuleGroup`` where this is defined.
|
|
4354
4354
|
|
|
4355
|
+
See ``CreateRuleGroup`` or ``UpdateRuleGroup`` for usage.
|
|
4356
|
+
|
|
4355
4357
|
:param ip_sets: A list of IP addresses and address ranges, in CIDR notation.
|
|
4356
4358
|
:param port_sets: A list of port ranges.
|
|
4357
4359
|
|
|
@@ -5900,7 +5902,7 @@ class CfnTLSInspectionConfiguration(
|
|
|
5900
5902
|
|
|
5901
5903
|
If a server certificate that's associated with your `TLSInspectionConfiguration <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-tlsinspectionconfiguration.html>`_ is revoked, deleted, or expired it can result in client-side TLS errors.
|
|
5902
5904
|
|
|
5903
|
-
:param certificate_authority_arn: The Amazon Resource Name (ARN) of the imported certificate authority (CA) certificate within AWS Certificate Manager (ACM) to use for outbound SSL/TLS inspection. The following limitations apply: - You can use CA certificates that you imported into ACM, but you can't generate CA certificates with ACM. - You can't use certificates issued by AWS Private Certificate Authority . For more information about configuring certificates for outbound inspection, see `Using SSL/TLS certificates with
|
|
5905
|
+
:param certificate_authority_arn: The Amazon Resource Name (ARN) of the imported certificate authority (CA) certificate within AWS Certificate Manager (ACM) to use for outbound SSL/TLS inspection. The following limitations apply: - You can use CA certificates that you imported into ACM, but you can't generate CA certificates with ACM. - You can't use certificates issued by AWS Private Certificate Authority . For more information about configuring certificates for outbound inspection, see `Using SSL/TLS certificates with TLS inspection configurations <https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection-certificate-requirements.html>`_ in the *AWS Network Firewall Developer Guide* . For information about working with certificates in ACM, see `Importing certificates <https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html>`_ in the *AWS Certificate Manager User Guide* .
|
|
5904
5906
|
:param check_certificate_revocation_status: When enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status. If the certificate has an unknown or revoked status, you must specify the actions that Network Firewall takes on outbound traffic. To check the certificate revocation status, you must also specify a ``CertificateAuthorityArn`` in `ServerCertificateConfiguration <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-servercertificateconfiguration.html>`_ .
|
|
5905
5907
|
:param scopes: A list of scopes.
|
|
5906
5908
|
:param server_certificates: The list of server certificates to use for inbound SSL/TLS inspection.
|
|
@@ -5967,7 +5969,7 @@ class CfnTLSInspectionConfiguration(
|
|
|
5967
5969
|
- You can use CA certificates that you imported into ACM, but you can't generate CA certificates with ACM.
|
|
5968
5970
|
- You can't use certificates issued by AWS Private Certificate Authority .
|
|
5969
5971
|
|
|
5970
|
-
For more information about configuring certificates for outbound inspection, see `Using SSL/TLS certificates with
|
|
5972
|
+
For more information about configuring certificates for outbound inspection, see `Using SSL/TLS certificates with TLS inspection configurations <https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection-certificate-requirements.html>`_ in the *AWS Network Firewall Developer Guide* .
|
|
5971
5973
|
|
|
5972
5974
|
For information about working with certificates in ACM, see `Importing certificates <https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html>`_ in the *AWS Certificate Manager User Guide* .
|
|
5973
5975
|
|
|
@@ -7237,7 +7237,9 @@ class CfnVpcAttachment(
|
|
|
7237
7237
|
# the properties below are optional
|
|
7238
7238
|
options=networkmanager.CfnVpcAttachment.VpcOptionsProperty(
|
|
7239
7239
|
appliance_mode_support=False,
|
|
7240
|
-
|
|
7240
|
+
dns_support=False,
|
|
7241
|
+
ipv6_support=False,
|
|
7242
|
+
security_group_referencing_support=False
|
|
7241
7243
|
),
|
|
7242
7244
|
proposed_network_function_group_change=networkmanager.CfnVpcAttachment.ProposedNetworkFunctionGroupChangeProperty(
|
|
7243
7245
|
attachment_policy_rule_number=123,
|
|
@@ -7752,7 +7754,9 @@ class CfnVpcAttachment(
|
|
|
7752
7754
|
jsii_struct_bases=[],
|
|
7753
7755
|
name_mapping={
|
|
7754
7756
|
"appliance_mode_support": "applianceModeSupport",
|
|
7757
|
+
"dns_support": "dnsSupport",
|
|
7755
7758
|
"ipv6_support": "ipv6Support",
|
|
7759
|
+
"security_group_referencing_support": "securityGroupReferencingSupport",
|
|
7756
7760
|
},
|
|
7757
7761
|
)
|
|
7758
7762
|
class VpcOptionsProperty:
|
|
@@ -7760,12 +7764,16 @@ class CfnVpcAttachment(
|
|
|
7760
7764
|
self,
|
|
7761
7765
|
*,
|
|
7762
7766
|
appliance_mode_support: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
7767
|
+
dns_support: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
7763
7768
|
ipv6_support: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
7769
|
+
security_group_referencing_support: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
7764
7770
|
) -> None:
|
|
7765
7771
|
'''Describes the VPC options.
|
|
7766
7772
|
|
|
7767
7773
|
:param appliance_mode_support: Indicates whether appliance mode is supported. If enabled, traffic flow between a source and destination use the same Availability Zone for the VPC attachment for the lifetime of that flow. The default value is ``false`` . Default: - false
|
|
7774
|
+
:param dns_support: Indicates whether DNS is supported. Default: - true
|
|
7768
7775
|
:param ipv6_support: Indicates whether IPv6 is supported. Default: - false
|
|
7776
|
+
:param security_group_referencing_support: Indicates whether security group referencing is enabled for this VPC attachment. The default is ``true`` . However, at the core network policy-level the default is set to ``false`` . Default: - true
|
|
7769
7777
|
|
|
7770
7778
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-vpcattachment-vpcoptions.html
|
|
7771
7779
|
:exampleMetadata: fixture=_generated
|
|
@@ -7778,18 +7786,26 @@ class CfnVpcAttachment(
|
|
|
7778
7786
|
|
|
7779
7787
|
vpc_options_property = networkmanager.CfnVpcAttachment.VpcOptionsProperty(
|
|
7780
7788
|
appliance_mode_support=False,
|
|
7781
|
-
|
|
7789
|
+
dns_support=False,
|
|
7790
|
+
ipv6_support=False,
|
|
7791
|
+
security_group_referencing_support=False
|
|
7782
7792
|
)
|
|
7783
7793
|
'''
|
|
7784
7794
|
if __debug__:
|
|
7785
7795
|
type_hints = typing.get_type_hints(_typecheckingstub__e0178ed6021c1858c87186be29fec1d6351e020d4e0f48dd2207432dbeaf7b50)
|
|
7786
7796
|
check_type(argname="argument appliance_mode_support", value=appliance_mode_support, expected_type=type_hints["appliance_mode_support"])
|
|
7797
|
+
check_type(argname="argument dns_support", value=dns_support, expected_type=type_hints["dns_support"])
|
|
7787
7798
|
check_type(argname="argument ipv6_support", value=ipv6_support, expected_type=type_hints["ipv6_support"])
|
|
7799
|
+
check_type(argname="argument security_group_referencing_support", value=security_group_referencing_support, expected_type=type_hints["security_group_referencing_support"])
|
|
7788
7800
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7789
7801
|
if appliance_mode_support is not None:
|
|
7790
7802
|
self._values["appliance_mode_support"] = appliance_mode_support
|
|
7803
|
+
if dns_support is not None:
|
|
7804
|
+
self._values["dns_support"] = dns_support
|
|
7791
7805
|
if ipv6_support is not None:
|
|
7792
7806
|
self._values["ipv6_support"] = ipv6_support
|
|
7807
|
+
if security_group_referencing_support is not None:
|
|
7808
|
+
self._values["security_group_referencing_support"] = security_group_referencing_support
|
|
7793
7809
|
|
|
7794
7810
|
@builtins.property
|
|
7795
7811
|
def appliance_mode_support(
|
|
@@ -7806,6 +7822,19 @@ class CfnVpcAttachment(
|
|
|
7806
7822
|
result = self._values.get("appliance_mode_support")
|
|
7807
7823
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
7808
7824
|
|
|
7825
|
+
@builtins.property
|
|
7826
|
+
def dns_support(
|
|
7827
|
+
self,
|
|
7828
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
7829
|
+
'''Indicates whether DNS is supported.
|
|
7830
|
+
|
|
7831
|
+
:default: - true
|
|
7832
|
+
|
|
7833
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-vpcattachment-vpcoptions.html#cfn-networkmanager-vpcattachment-vpcoptions-dnssupport
|
|
7834
|
+
'''
|
|
7835
|
+
result = self._values.get("dns_support")
|
|
7836
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
7837
|
+
|
|
7809
7838
|
@builtins.property
|
|
7810
7839
|
def ipv6_support(
|
|
7811
7840
|
self,
|
|
@@ -7819,6 +7848,21 @@ class CfnVpcAttachment(
|
|
|
7819
7848
|
result = self._values.get("ipv6_support")
|
|
7820
7849
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
7821
7850
|
|
|
7851
|
+
@builtins.property
|
|
7852
|
+
def security_group_referencing_support(
|
|
7853
|
+
self,
|
|
7854
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
7855
|
+
'''Indicates whether security group referencing is enabled for this VPC attachment.
|
|
7856
|
+
|
|
7857
|
+
The default is ``true`` . However, at the core network policy-level the default is set to ``false`` .
|
|
7858
|
+
|
|
7859
|
+
:default: - true
|
|
7860
|
+
|
|
7861
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-vpcattachment-vpcoptions.html#cfn-networkmanager-vpcattachment-vpcoptions-securitygroupreferencingsupport
|
|
7862
|
+
'''
|
|
7863
|
+
result = self._values.get("security_group_referencing_support")
|
|
7864
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
7865
|
+
|
|
7822
7866
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7823
7867
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7824
7868
|
|
|
@@ -7883,7 +7927,9 @@ class CfnVpcAttachmentProps:
|
|
|
7883
7927
|
# the properties below are optional
|
|
7884
7928
|
options=networkmanager.CfnVpcAttachment.VpcOptionsProperty(
|
|
7885
7929
|
appliance_mode_support=False,
|
|
7886
|
-
|
|
7930
|
+
dns_support=False,
|
|
7931
|
+
ipv6_support=False,
|
|
7932
|
+
security_group_referencing_support=False
|
|
7887
7933
|
),
|
|
7888
7934
|
proposed_network_function_group_change=networkmanager.CfnVpcAttachment.ProposedNetworkFunctionGroupChangeProperty(
|
|
7889
7935
|
attachment_policy_rule_number=123,
|
|
@@ -9273,7 +9319,9 @@ def _typecheckingstub__557bf3a5ccb396638b970920d51e56a5af3a62c8b836006da453e705f
|
|
|
9273
9319
|
def _typecheckingstub__e0178ed6021c1858c87186be29fec1d6351e020d4e0f48dd2207432dbeaf7b50(
|
|
9274
9320
|
*,
|
|
9275
9321
|
appliance_mode_support: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9322
|
+
dns_support: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9276
9323
|
ipv6_support: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9324
|
+
security_group_referencing_support: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9277
9325
|
) -> None:
|
|
9278
9326
|
"""Type checking stubs"""
|
|
9279
9327
|
pass
|
|
@@ -113,6 +113,7 @@ class CfnServer(
|
|
|
113
113
|
preferred_backup_window="preferredBackupWindow",
|
|
114
114
|
preferred_maintenance_window="preferredMaintenanceWindow",
|
|
115
115
|
security_group_ids=["securityGroupIds"],
|
|
116
|
+
server_name="serverName",
|
|
116
117
|
subnet_ids=["subnetIds"],
|
|
117
118
|
tags=[CfnTag(
|
|
118
119
|
key="key",
|
|
@@ -144,6 +145,7 @@ class CfnServer(
|
|
|
144
145
|
preferred_backup_window: typing.Optional[builtins.str] = None,
|
|
145
146
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
146
147
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
148
|
+
server_name: typing.Optional[builtins.str] = None,
|
|
147
149
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
148
150
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
149
151
|
) -> None:
|
|
@@ -168,6 +170,7 @@ class CfnServer(
|
|
|
168
170
|
:param preferred_backup_window: The start time for a one-hour period during which AWS OpsWorks CM backs up application-level data on your server if automated backups are enabled. Valid values must be specified in one of the following formats: - ``HH:MM`` for daily backups - ``DDD:HH:MM`` for weekly backups ``MM`` must be specified as ``00`` . The specified time is in coordinated universal time (UTC). The default value is a random, daily start time. *Example:* ``08:00`` , which represents a daily start time of 08:00 UTC. *Example:* ``Mon:08:00`` , which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)
|
|
169
171
|
:param preferred_maintenance_window: The start time for a one-hour period each week during which AWS OpsWorks CM performs maintenance on the instance. Valid values must be specified in the following format: ``DDD:HH:MM`` . ``MM`` must be specified as ``00`` . The specified time is in coordinated universal time (UTC). The default value is a random one-hour period on Tuesday, Wednesday, or Friday. See ``TimeWindowDefinition`` for more information. *Example:* ``Mon:08:00`` , which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)
|
|
170
172
|
:param security_group_ids: A list of security group IDs to attach to the Amazon EC2 instance. If you add this parameter, the specified security groups must be within the VPC that is specified by ``SubnetIds`` . If you do not specify this parameter, AWS OpsWorks CM creates one new security group that uses TCP ports 22 and 443, open to 0.0.0.0/0 (everyone).
|
|
173
|
+
:param server_name: The name of the server. The server name must be unique within your AWS account, within each region. Server names must start with a letter; then letters, numbers, or hyphens (-) are allowed, up to a maximum of 40 characters.
|
|
171
174
|
:param subnet_ids: The IDs of subnets in which to launch the server EC2 instance. Amazon EC2-Classic customers: This field is required. All servers must run within a VPC. The VPC must have "Auto Assign Public IP" enabled. EC2-VPC customers: This field is optional. If you do not specify subnet IDs, your EC2 instances are created in a default subnet that is selected by Amazon EC2. If you specify subnet IDs, the VPC must have "Auto Assign Public IP" enabled. For more information about supported Amazon EC2 platforms, see `Supported Platforms <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html>`_ .
|
|
172
175
|
:param tags: A map that contains tag keys and tag values to attach to an AWS OpsWorks for Chef Automate or OpsWorks for Puppet Enterprise server. - The key cannot be empty. - The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: `+ - = . _ : /
|
|
173
176
|
'''
|
|
@@ -194,6 +197,7 @@ class CfnServer(
|
|
|
194
197
|
preferred_backup_window=preferred_backup_window,
|
|
195
198
|
preferred_maintenance_window=preferred_maintenance_window,
|
|
196
199
|
security_group_ids=security_group_ids,
|
|
200
|
+
server_name=server_name,
|
|
197
201
|
subnet_ids=subnet_ids,
|
|
198
202
|
tags=tags,
|
|
199
203
|
)
|
|
@@ -262,8 +266,7 @@ class CfnServer(
|
|
|
262
266
|
@builtins.property
|
|
263
267
|
@jsii.member(jsii_name="attrServerName")
|
|
264
268
|
def attr_server_name(self) -> builtins.str:
|
|
265
|
-
'''
|
|
266
|
-
|
|
269
|
+
'''
|
|
267
270
|
:cloudformationAttribute: ServerName
|
|
268
271
|
'''
|
|
269
272
|
return typing.cast(builtins.str, jsii.get(self, "attrServerName"))
|
|
@@ -534,6 +537,19 @@ class CfnServer(
|
|
|
534
537
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
535
538
|
jsii.set(self, "securityGroupIds", value) # pyright: ignore[reportArgumentType]
|
|
536
539
|
|
|
540
|
+
@builtins.property
|
|
541
|
+
@jsii.member(jsii_name="serverName")
|
|
542
|
+
def server_name(self) -> typing.Optional[builtins.str]:
|
|
543
|
+
'''The name of the server.'''
|
|
544
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "serverName"))
|
|
545
|
+
|
|
546
|
+
@server_name.setter
|
|
547
|
+
def server_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
548
|
+
if __debug__:
|
|
549
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0fdc9b0c6ccfb79b318a5321a2bdb7586f084e301b627e9b708804bad96c9238)
|
|
550
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
551
|
+
jsii.set(self, "serverName", value) # pyright: ignore[reportArgumentType]
|
|
552
|
+
|
|
537
553
|
@builtins.property
|
|
538
554
|
@jsii.member(jsii_name="subnetIds")
|
|
539
555
|
def subnet_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
@@ -679,6 +695,7 @@ class CfnServer(
|
|
|
679
695
|
"preferred_backup_window": "preferredBackupWindow",
|
|
680
696
|
"preferred_maintenance_window": "preferredMaintenanceWindow",
|
|
681
697
|
"security_group_ids": "securityGroupIds",
|
|
698
|
+
"server_name": "serverName",
|
|
682
699
|
"subnet_ids": "subnetIds",
|
|
683
700
|
"tags": "tags",
|
|
684
701
|
},
|
|
@@ -705,6 +722,7 @@ class CfnServerProps:
|
|
|
705
722
|
preferred_backup_window: typing.Optional[builtins.str] = None,
|
|
706
723
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
707
724
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
725
|
+
server_name: typing.Optional[builtins.str] = None,
|
|
708
726
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
709
727
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
710
728
|
) -> None:
|
|
@@ -728,6 +746,7 @@ class CfnServerProps:
|
|
|
728
746
|
:param preferred_backup_window: The start time for a one-hour period during which AWS OpsWorks CM backs up application-level data on your server if automated backups are enabled. Valid values must be specified in one of the following formats: - ``HH:MM`` for daily backups - ``DDD:HH:MM`` for weekly backups ``MM`` must be specified as ``00`` . The specified time is in coordinated universal time (UTC). The default value is a random, daily start time. *Example:* ``08:00`` , which represents a daily start time of 08:00 UTC. *Example:* ``Mon:08:00`` , which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)
|
|
729
747
|
:param preferred_maintenance_window: The start time for a one-hour period each week during which AWS OpsWorks CM performs maintenance on the instance. Valid values must be specified in the following format: ``DDD:HH:MM`` . ``MM`` must be specified as ``00`` . The specified time is in coordinated universal time (UTC). The default value is a random one-hour period on Tuesday, Wednesday, or Friday. See ``TimeWindowDefinition`` for more information. *Example:* ``Mon:08:00`` , which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)
|
|
730
748
|
:param security_group_ids: A list of security group IDs to attach to the Amazon EC2 instance. If you add this parameter, the specified security groups must be within the VPC that is specified by ``SubnetIds`` . If you do not specify this parameter, AWS OpsWorks CM creates one new security group that uses TCP ports 22 and 443, open to 0.0.0.0/0 (everyone).
|
|
749
|
+
:param server_name: The name of the server. The server name must be unique within your AWS account, within each region. Server names must start with a letter; then letters, numbers, or hyphens (-) are allowed, up to a maximum of 40 characters.
|
|
731
750
|
:param subnet_ids: The IDs of subnets in which to launch the server EC2 instance. Amazon EC2-Classic customers: This field is required. All servers must run within a VPC. The VPC must have "Auto Assign Public IP" enabled. EC2-VPC customers: This field is optional. If you do not specify subnet IDs, your EC2 instances are created in a default subnet that is selected by Amazon EC2. If you specify subnet IDs, the VPC must have "Auto Assign Public IP" enabled. For more information about supported Amazon EC2 platforms, see `Supported Platforms <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html>`_ .
|
|
732
751
|
:param tags: A map that contains tag keys and tag values to attach to an AWS OpsWorks for Chef Automate or OpsWorks for Puppet Enterprise server. - The key cannot be empty. - The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: `+ - = . _ : /
|
|
733
752
|
|
|
@@ -764,6 +783,7 @@ class CfnServerProps:
|
|
|
764
783
|
preferred_backup_window="preferredBackupWindow",
|
|
765
784
|
preferred_maintenance_window="preferredMaintenanceWindow",
|
|
766
785
|
security_group_ids=["securityGroupIds"],
|
|
786
|
+
server_name="serverName",
|
|
767
787
|
subnet_ids=["subnetIds"],
|
|
768
788
|
tags=[CfnTag(
|
|
769
789
|
key="key",
|
|
@@ -791,6 +811,7 @@ class CfnServerProps:
|
|
|
791
811
|
check_type(argname="argument preferred_backup_window", value=preferred_backup_window, expected_type=type_hints["preferred_backup_window"])
|
|
792
812
|
check_type(argname="argument preferred_maintenance_window", value=preferred_maintenance_window, expected_type=type_hints["preferred_maintenance_window"])
|
|
793
813
|
check_type(argname="argument security_group_ids", value=security_group_ids, expected_type=type_hints["security_group_ids"])
|
|
814
|
+
check_type(argname="argument server_name", value=server_name, expected_type=type_hints["server_name"])
|
|
794
815
|
check_type(argname="argument subnet_ids", value=subnet_ids, expected_type=type_hints["subnet_ids"])
|
|
795
816
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
796
817
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -828,6 +849,8 @@ class CfnServerProps:
|
|
|
828
849
|
self._values["preferred_maintenance_window"] = preferred_maintenance_window
|
|
829
850
|
if security_group_ids is not None:
|
|
830
851
|
self._values["security_group_ids"] = security_group_ids
|
|
852
|
+
if server_name is not None:
|
|
853
|
+
self._values["server_name"] = server_name
|
|
831
854
|
if subnet_ids is not None:
|
|
832
855
|
self._values["subnet_ids"] = subnet_ids
|
|
833
856
|
if tags is not None:
|
|
@@ -1056,6 +1079,17 @@ class CfnServerProps:
|
|
|
1056
1079
|
result = self._values.get("security_group_ids")
|
|
1057
1080
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
1058
1081
|
|
|
1082
|
+
@builtins.property
|
|
1083
|
+
def server_name(self) -> typing.Optional[builtins.str]:
|
|
1084
|
+
'''The name of the server.
|
|
1085
|
+
|
|
1086
|
+
The server name must be unique within your AWS account, within each region. Server names must start with a letter; then letters, numbers, or hyphens (-) are allowed, up to a maximum of 40 characters.
|
|
1087
|
+
|
|
1088
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-servername
|
|
1089
|
+
'''
|
|
1090
|
+
result = self._values.get("server_name")
|
|
1091
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1092
|
+
|
|
1059
1093
|
@builtins.property
|
|
1060
1094
|
def subnet_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1061
1095
|
'''The IDs of subnets in which to launch the server EC2 instance.
|
|
@@ -1131,6 +1165,7 @@ def _typecheckingstub__4fcf3005231c62e7682797d2e25d33ceb0c0b9602a2f2ffe6a7c3dabf
|
|
|
1131
1165
|
preferred_backup_window: typing.Optional[builtins.str] = None,
|
|
1132
1166
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
1133
1167
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1168
|
+
server_name: typing.Optional[builtins.str] = None,
|
|
1134
1169
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1135
1170
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1136
1171
|
) -> None:
|
|
@@ -1257,6 +1292,12 @@ def _typecheckingstub__d7663e937d0fabd66d40de7584fca886669aae87261a418b199493778
|
|
|
1257
1292
|
"""Type checking stubs"""
|
|
1258
1293
|
pass
|
|
1259
1294
|
|
|
1295
|
+
def _typecheckingstub__0fdc9b0c6ccfb79b318a5321a2bdb7586f084e301b627e9b708804bad96c9238(
|
|
1296
|
+
value: typing.Optional[builtins.str],
|
|
1297
|
+
) -> None:
|
|
1298
|
+
"""Type checking stubs"""
|
|
1299
|
+
pass
|
|
1300
|
+
|
|
1260
1301
|
def _typecheckingstub__e6d133d8dd209b40a7f4c3900293e312fe8b95abc9cfff43e88a6fd1608b595b(
|
|
1261
1302
|
value: typing.Optional[typing.List[builtins.str]],
|
|
1262
1303
|
) -> None:
|
|
@@ -1297,6 +1338,7 @@ def _typecheckingstub__6f3d9a63c768f1a40206835320dfa128b267da1fa702fbb4ecd8ac94b
|
|
|
1297
1338
|
preferred_backup_window: typing.Optional[builtins.str] = None,
|
|
1298
1339
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
1299
1340
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1341
|
+
server_name: typing.Optional[builtins.str] = None,
|
|
1300
1342
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1301
1343
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1302
1344
|
) -> None:
|