aws-cdk-lib 2.202.0__py3-none-any.whl → 2.203.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (62) hide show
  1. aws_cdk/__init__.py +46 -47
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.202.0.jsii.tgz → aws-cdk-lib@2.203.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_accessanalyzer/__init__.py +310 -4
  5. aws_cdk/aws_aiops/__init__.py +964 -0
  6. aws_cdk/aws_amplify/__init__.py +127 -0
  7. aws_cdk/aws_arczonalshift/__init__.py +8 -8
  8. aws_cdk/aws_b2bi/__init__.py +782 -3
  9. aws_cdk/aws_backup/__init__.py +22 -0
  10. aws_cdk/aws_batch/__init__.py +53 -1
  11. aws_cdk/aws_bedrock/__init__.py +123 -9
  12. aws_cdk/aws_cleanrooms/__init__.py +157 -154
  13. aws_cdk/aws_cloudformation/__init__.py +28 -28
  14. aws_cdk/aws_cloudfront/__init__.py +61 -18
  15. aws_cdk/aws_cloudfront/experimental/__init__.py +37 -3
  16. aws_cdk/aws_cloudwatch/__init__.py +228 -2
  17. aws_cdk/aws_connect/__init__.py +120 -8
  18. aws_cdk/aws_connectcampaignsv2/__init__.py +25 -4
  19. aws_cdk/aws_customerprofiles/__init__.py +140 -20
  20. aws_cdk/aws_datazone/__init__.py +23 -4
  21. aws_cdk/aws_deadline/__init__.py +4 -4
  22. aws_cdk/aws_dsql/__init__.py +148 -0
  23. aws_cdk/aws_ec2/__init__.py +159 -7
  24. aws_cdk/aws_ecr/__init__.py +3 -3
  25. aws_cdk/aws_ecs/__init__.py +48 -13
  26. aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -2
  27. aws_cdk/aws_emrserverless/__init__.py +118 -0
  28. aws_cdk/aws_fsx/__init__.py +891 -0
  29. aws_cdk/aws_iam/__init__.py +8 -8
  30. aws_cdk/aws_inspectorv2/__init__.py +442 -3
  31. aws_cdk/aws_kendra/__init__.py +10 -5
  32. aws_cdk/aws_kms/__init__.py +14 -8
  33. aws_cdk/aws_lambda/__init__.py +191 -24
  34. aws_cdk/aws_lambda_nodejs/__init__.py +37 -3
  35. aws_cdk/aws_lex/__init__.py +703 -0
  36. aws_cdk/aws_logs/__init__.py +144 -0
  37. aws_cdk/aws_mediatailor/__init__.py +399 -0
  38. aws_cdk/aws_mpa/__init__.py +1475 -0
  39. aws_cdk/aws_networkfirewall/__init__.py +4 -2
  40. aws_cdk/aws_networkmanager/__init__.py +51 -3
  41. aws_cdk/aws_opsworkscm/__init__.py +44 -2
  42. aws_cdk/aws_rds/__init__.py +171 -41
  43. aws_cdk/aws_redshiftserverless/__init__.py +632 -0
  44. aws_cdk/aws_route53resolver/__init__.py +58 -10
  45. aws_cdk/aws_s3/__init__.py +3 -1
  46. aws_cdk/aws_s3tables/__init__.py +230 -0
  47. aws_cdk/aws_sagemaker/__init__.py +6 -2
  48. aws_cdk/aws_securityhub/__init__.py +2887 -56
  49. aws_cdk/aws_synthetics/__init__.py +21 -0
  50. aws_cdk/aws_vpclattice/__init__.py +6 -4
  51. aws_cdk/aws_wafv2/__init__.py +156 -51
  52. aws_cdk/aws_workspacesinstances/__init__.py +3243 -0
  53. aws_cdk/cloud_assembly_schema/__init__.py +200 -4
  54. aws_cdk/cx_api/__init__.py +15 -14
  55. aws_cdk/pipelines/__init__.py +31 -3
  56. aws_cdk/triggers/__init__.py +41 -4
  57. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/METADATA +3 -3
  58. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/RECORD +62 -59
  59. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/LICENSE +0 -0
  60. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/NOTICE +0 -0
  61. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/WHEEL +0 -0
  62. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/top_level.txt +0 -0
@@ -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 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* .
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 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* .
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
- ipv6_support=False
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
- ipv6_support=False
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
- ipv6_support=False
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
- '''The name of the server.
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: