aws-cdk-lib 2.142.1__py3-none-any.whl → 2.143.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 (49) hide show
  1. aws_cdk/_jsii/__init__.py +1 -1
  2. aws_cdk/_jsii/{aws-cdk-lib@2.142.1.jsii.tgz → aws-cdk-lib@2.143.1.jsii.tgz} +0 -0
  3. aws_cdk/aws_amplify/__init__.py +12 -5
  4. aws_cdk/aws_backup/__init__.py +3 -3
  5. aws_cdk/aws_batch/__init__.py +237 -0
  6. aws_cdk/aws_bedrock/__init__.py +700 -16
  7. aws_cdk/aws_budgets/__init__.py +282 -3
  8. aws_cdk/aws_cloudtrail/__init__.py +12 -2
  9. aws_cdk/aws_codebuild/__init__.py +44 -0
  10. aws_cdk/aws_codepipeline/__init__.py +91 -4
  11. aws_cdk/aws_cognito/__init__.py +75 -0
  12. aws_cdk/aws_datazone/__init__.py +1743 -448
  13. aws_cdk/aws_dynamodb/__init__.py +60 -25
  14. aws_cdk/aws_ec2/__init__.py +112 -39
  15. aws_cdk/aws_ecs/__init__.py +3 -3
  16. aws_cdk/aws_ecs_patterns/__init__.py +106 -0
  17. aws_cdk/aws_eks/__init__.py +13 -10
  18. aws_cdk/aws_elasticache/__init__.py +9 -0
  19. aws_cdk/aws_events/__init__.py +219 -14
  20. aws_cdk/aws_events_targets/__init__.py +140 -3
  21. aws_cdk/aws_fms/__init__.py +42 -43
  22. aws_cdk/aws_fsx/__init__.py +3 -3
  23. aws_cdk/aws_identitystore/__init__.py +11 -11
  24. aws_cdk/aws_lambda/__init__.py +45 -0
  25. aws_cdk/aws_lambda_nodejs/__init__.py +16 -6
  26. aws_cdk/aws_lightsail/__init__.py +9 -0
  27. aws_cdk/aws_location/__init__.py +8 -4
  28. aws_cdk/aws_mediaconnect/__init__.py +1789 -39
  29. aws_cdk/aws_mediatailor/__init__.py +21 -1
  30. aws_cdk/aws_mwaa/__init__.py +82 -0
  31. aws_cdk/aws_neptune/__init__.py +374 -0
  32. aws_cdk/aws_personalize/__init__.py +9 -3
  33. aws_cdk/aws_pipes/__init__.py +7 -7
  34. aws_cdk/aws_quicksight/__init__.py +684 -156
  35. aws_cdk/aws_rds/__init__.py +88 -24
  36. aws_cdk/aws_redshift/__init__.py +0 -46
  37. aws_cdk/aws_route53resolver/__init__.py +23 -0
  38. aws_cdk/aws_s3/__init__.py +4 -4
  39. aws_cdk/aws_sagemaker/__init__.py +185 -4
  40. aws_cdk/aws_securityhub/__init__.py +387 -1
  41. aws_cdk/aws_ssm/__init__.py +14 -6
  42. aws_cdk/aws_sso/__init__.py +1243 -34
  43. aws_cdk/cx_api/__init__.py +16 -0
  44. {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/METADATA +1 -1
  45. {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/RECORD +49 -49
  46. {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/LICENSE +0 -0
  47. {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/NOTICE +0 -0
  48. {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/WHEEL +0 -0
  49. {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/top_level.txt +0 -0
@@ -4332,7 +4332,7 @@ class CfnInsight(
4332
4332
  :param resource_type: Specifies the type of the resource that details are provided for.
4333
4333
  :param sample: Indicates whether or not sample findings are included in the filter results.
4334
4334
  :param severity_label: The label of a finding's severity.
4335
- :param severity_normalized: Deprecated. The normalized severity of a finding. Instead of providing ``Normalized`` , provide ``Label`` . If you provide ``Label`` and do not provide ``Normalized`` , then ``Normalized`` is set automatically as follows. - ``INFORMATIONAL`` - 0 - ``LOW`` - 1 - ``MEDIUM`` - 40 - ``HIGH`` - 70 - ``CRITICAL`` - 90
4335
+ :param severity_normalized: Deprecated. The normalized severity of a finding. Instead of providing ``Normalized`` , provide ``Label`` . The value of ``Normalized`` can be an integer between ``0`` and ``100`` . If you provide ``Label`` and do not provide ``Normalized`` , then ``Normalized`` is set automatically as follows. - ``INFORMATIONAL`` - 0 - ``LOW`` - 1 - ``MEDIUM`` - 40 - ``HIGH`` - 70 - ``CRITICAL`` - 90
4336
4336
  :param severity_product: Deprecated. This attribute isn't included in findings. Instead of providing ``Product`` , provide ``Original`` . The native severity as defined by the AWS service or integrated partner product that generated the finding.
4337
4337
  :param source_url: A URL that links to a page about the current finding in the security findings provider's solution.
4338
4338
  :param threat_intel_indicator_category: The category of a threat intelligence indicator.
@@ -6175,6 +6175,8 @@ class CfnInsight(
6175
6175
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnInsight.NumberFilterProperty"]]]]:
6176
6176
  '''Deprecated. The normalized severity of a finding. Instead of providing ``Normalized`` , provide ``Label`` .
6177
6177
 
6178
+ The value of ``Normalized`` can be an integer between ``0`` and ``100`` .
6179
+
6178
6180
  If you provide ``Label`` and do not provide ``Normalized`` , then ``Normalized`` is set automatically as follows.
6179
6181
 
6180
6182
  - ``INFORMATIONAL`` - 0
@@ -7782,6 +7784,323 @@ class CfnProductSubscriptionProps:
7782
7784
  )
7783
7785
 
7784
7786
 
7787
+ @jsii.implements(_IInspectable_c2943556)
7788
+ class CfnSecurityControl(
7789
+ _CfnResource_9df397a6,
7790
+ metaclass=jsii.JSIIMeta,
7791
+ jsii_type="aws-cdk-lib.aws_securityhub.CfnSecurityControl",
7792
+ ):
7793
+ '''A security control in Security Hub describes a security best practice related to a specific resource.
7794
+
7795
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-securitycontrol.html
7796
+ :cloudformationResource: AWS::SecurityHub::SecurityControl
7797
+ :exampleMetadata: fixture=_generated
7798
+
7799
+ Example::
7800
+
7801
+ # The code below shows an example of how to instantiate this type.
7802
+ # The values are placeholders you should change.
7803
+ from aws_cdk import aws_securityhub as securityhub
7804
+
7805
+ cfn_security_control = securityhub.CfnSecurityControl(self, "MyCfnSecurityControl",
7806
+ parameters={
7807
+ "parameters_key": securityhub.CfnSecurityControl.ParameterConfigurationProperty(
7808
+ value_type="valueType"
7809
+ )
7810
+ },
7811
+
7812
+ # the properties below are optional
7813
+ last_update_reason="lastUpdateReason",
7814
+ security_control_arn="securityControlArn",
7815
+ security_control_id="securityControlId"
7816
+ )
7817
+ '''
7818
+
7819
+ def __init__(
7820
+ self,
7821
+ scope: _constructs_77d1e7e8.Construct,
7822
+ id: builtins.str,
7823
+ *,
7824
+ parameters: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityControl.ParameterConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]],
7825
+ last_update_reason: typing.Optional[builtins.str] = None,
7826
+ security_control_arn: typing.Optional[builtins.str] = None,
7827
+ security_control_id: typing.Optional[builtins.str] = None,
7828
+ ) -> None:
7829
+ '''
7830
+ :param scope: Scope in which this resource is defined.
7831
+ :param id: Construct identifier for this resource (unique in its scope).
7832
+ :param parameters:
7833
+ :param last_update_reason: The most recent reason for updating the customizable properties of a security control. This differs from the UpdateReason field of the BatchUpdateStandardsControlAssociations API, which tracks the reason for updating the enablement status of a control. This field accepts alphanumeric characters in addition to white spaces, dashes, and underscores.
7834
+ :param security_control_arn:
7835
+ :param security_control_id:
7836
+ '''
7837
+ if __debug__:
7838
+ type_hints = typing.get_type_hints(_typecheckingstub__726fa705fd558de76e132e75c55b8475c62b8dc48c449b5a702f64b1f4bff214)
7839
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
7840
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
7841
+ props = CfnSecurityControlProps(
7842
+ parameters=parameters,
7843
+ last_update_reason=last_update_reason,
7844
+ security_control_arn=security_control_arn,
7845
+ security_control_id=security_control_id,
7846
+ )
7847
+
7848
+ jsii.create(self.__class__, self, [scope, id, props])
7849
+
7850
+ @jsii.member(jsii_name="inspect")
7851
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
7852
+ '''Examines the CloudFormation resource and discloses attributes.
7853
+
7854
+ :param inspector: tree inspector to collect and process attributes.
7855
+ '''
7856
+ if __debug__:
7857
+ type_hints = typing.get_type_hints(_typecheckingstub__72e19ace58419cf7e5cc55ad38fcc4775e0c46952b1855a7a5ce7a6181b02400)
7858
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
7859
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
7860
+
7861
+ @jsii.member(jsii_name="renderProperties")
7862
+ def _render_properties(
7863
+ self,
7864
+ props: typing.Mapping[builtins.str, typing.Any],
7865
+ ) -> typing.Mapping[builtins.str, typing.Any]:
7866
+ '''
7867
+ :param props: -
7868
+ '''
7869
+ if __debug__:
7870
+ type_hints = typing.get_type_hints(_typecheckingstub__dedfe4cee5ed4d744f654a047ae9cf47ebabdaf6eef2879ed46833422d93c9b7)
7871
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
7872
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
7873
+
7874
+ @jsii.python.classproperty
7875
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
7876
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
7877
+ '''The CloudFormation resource type name for this resource class.'''
7878
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
7879
+
7880
+ @builtins.property
7881
+ @jsii.member(jsii_name="cfnProperties")
7882
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
7883
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
7884
+
7885
+ @builtins.property
7886
+ @jsii.member(jsii_name="parameters")
7887
+ def parameters(
7888
+ self,
7889
+ ) -> typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnSecurityControl.ParameterConfigurationProperty"]]]:
7890
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnSecurityControl.ParameterConfigurationProperty"]]], jsii.get(self, "parameters"))
7891
+
7892
+ @parameters.setter
7893
+ def parameters(
7894
+ self,
7895
+ value: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnSecurityControl.ParameterConfigurationProperty"]]],
7896
+ ) -> None:
7897
+ if __debug__:
7898
+ type_hints = typing.get_type_hints(_typecheckingstub__ba42fae33edc1f1aa919c0aa456d75e2059314d6bb1a4b1deec59b91ddaeaf4e)
7899
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
7900
+ jsii.set(self, "parameters", value)
7901
+
7902
+ @builtins.property
7903
+ @jsii.member(jsii_name="lastUpdateReason")
7904
+ def last_update_reason(self) -> typing.Optional[builtins.str]:
7905
+ '''The most recent reason for updating the customizable properties of a security control.'''
7906
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "lastUpdateReason"))
7907
+
7908
+ @last_update_reason.setter
7909
+ def last_update_reason(self, value: typing.Optional[builtins.str]) -> None:
7910
+ if __debug__:
7911
+ type_hints = typing.get_type_hints(_typecheckingstub__3b44d1cfbd6f5b9cc0e4f01d2215ab6605103c5dd09dd732f99604233458a89a)
7912
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
7913
+ jsii.set(self, "lastUpdateReason", value)
7914
+
7915
+ @builtins.property
7916
+ @jsii.member(jsii_name="securityControlArn")
7917
+ def security_control_arn(self) -> typing.Optional[builtins.str]:
7918
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "securityControlArn"))
7919
+
7920
+ @security_control_arn.setter
7921
+ def security_control_arn(self, value: typing.Optional[builtins.str]) -> None:
7922
+ if __debug__:
7923
+ type_hints = typing.get_type_hints(_typecheckingstub__4478e81bddb9f9df8efd5c0032ddfb869fb7885b4a68ad3bdb3c327deb03328a)
7924
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
7925
+ jsii.set(self, "securityControlArn", value)
7926
+
7927
+ @builtins.property
7928
+ @jsii.member(jsii_name="securityControlId")
7929
+ def security_control_id(self) -> typing.Optional[builtins.str]:
7930
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "securityControlId"))
7931
+
7932
+ @security_control_id.setter
7933
+ def security_control_id(self, value: typing.Optional[builtins.str]) -> None:
7934
+ if __debug__:
7935
+ type_hints = typing.get_type_hints(_typecheckingstub__ff55fd11201a4a7c92e4e58e9fa5bcdb6762a8ac0310ada761c3b90158e2f5e4)
7936
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
7937
+ jsii.set(self, "securityControlId", value)
7938
+
7939
+ @jsii.data_type(
7940
+ jsii_type="aws-cdk-lib.aws_securityhub.CfnSecurityControl.ParameterConfigurationProperty",
7941
+ jsii_struct_bases=[],
7942
+ name_mapping={"value_type": "valueType"},
7943
+ )
7944
+ class ParameterConfigurationProperty:
7945
+ def __init__(self, *, value_type: builtins.str) -> None:
7946
+ '''
7947
+ :param value_type:
7948
+
7949
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-securitycontrol-parameterconfiguration.html
7950
+ :exampleMetadata: fixture=_generated
7951
+
7952
+ Example::
7953
+
7954
+ # The code below shows an example of how to instantiate this type.
7955
+ # The values are placeholders you should change.
7956
+ from aws_cdk import aws_securityhub as securityhub
7957
+
7958
+ parameter_configuration_property = securityhub.CfnSecurityControl.ParameterConfigurationProperty(
7959
+ value_type="valueType"
7960
+ )
7961
+ '''
7962
+ if __debug__:
7963
+ type_hints = typing.get_type_hints(_typecheckingstub__b4f8a75fb36fae6899e2291977edacf36a70ed147a49bd553150965029bec549)
7964
+ check_type(argname="argument value_type", value=value_type, expected_type=type_hints["value_type"])
7965
+ self._values: typing.Dict[builtins.str, typing.Any] = {
7966
+ "value_type": value_type,
7967
+ }
7968
+
7969
+ @builtins.property
7970
+ def value_type(self) -> builtins.str:
7971
+ '''
7972
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-securitycontrol-parameterconfiguration.html#cfn-securityhub-securitycontrol-parameterconfiguration-valuetype
7973
+ '''
7974
+ result = self._values.get("value_type")
7975
+ assert result is not None, "Required property 'value_type' is missing"
7976
+ return typing.cast(builtins.str, result)
7977
+
7978
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
7979
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
7980
+
7981
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
7982
+ return not (rhs == self)
7983
+
7984
+ def __repr__(self) -> str:
7985
+ return "ParameterConfigurationProperty(%s)" % ", ".join(
7986
+ k + "=" + repr(v) for k, v in self._values.items()
7987
+ )
7988
+
7989
+
7990
+ @jsii.data_type(
7991
+ jsii_type="aws-cdk-lib.aws_securityhub.CfnSecurityControlProps",
7992
+ jsii_struct_bases=[],
7993
+ name_mapping={
7994
+ "parameters": "parameters",
7995
+ "last_update_reason": "lastUpdateReason",
7996
+ "security_control_arn": "securityControlArn",
7997
+ "security_control_id": "securityControlId",
7998
+ },
7999
+ )
8000
+ class CfnSecurityControlProps:
8001
+ def __init__(
8002
+ self,
8003
+ *,
8004
+ parameters: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityControl.ParameterConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]],
8005
+ last_update_reason: typing.Optional[builtins.str] = None,
8006
+ security_control_arn: typing.Optional[builtins.str] = None,
8007
+ security_control_id: typing.Optional[builtins.str] = None,
8008
+ ) -> None:
8009
+ '''Properties for defining a ``CfnSecurityControl``.
8010
+
8011
+ :param parameters:
8012
+ :param last_update_reason: The most recent reason for updating the customizable properties of a security control. This differs from the UpdateReason field of the BatchUpdateStandardsControlAssociations API, which tracks the reason for updating the enablement status of a control. This field accepts alphanumeric characters in addition to white spaces, dashes, and underscores.
8013
+ :param security_control_arn:
8014
+ :param security_control_id:
8015
+
8016
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-securitycontrol.html
8017
+ :exampleMetadata: fixture=_generated
8018
+
8019
+ Example::
8020
+
8021
+ # The code below shows an example of how to instantiate this type.
8022
+ # The values are placeholders you should change.
8023
+ from aws_cdk import aws_securityhub as securityhub
8024
+
8025
+ cfn_security_control_props = securityhub.CfnSecurityControlProps(
8026
+ parameters={
8027
+ "parameters_key": securityhub.CfnSecurityControl.ParameterConfigurationProperty(
8028
+ value_type="valueType"
8029
+ )
8030
+ },
8031
+
8032
+ # the properties below are optional
8033
+ last_update_reason="lastUpdateReason",
8034
+ security_control_arn="securityControlArn",
8035
+ security_control_id="securityControlId"
8036
+ )
8037
+ '''
8038
+ if __debug__:
8039
+ type_hints = typing.get_type_hints(_typecheckingstub__592aeb56f2970a16d30327b0b500710f94ac9725954a4c60fb68c82fd900e348)
8040
+ check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
8041
+ check_type(argname="argument last_update_reason", value=last_update_reason, expected_type=type_hints["last_update_reason"])
8042
+ check_type(argname="argument security_control_arn", value=security_control_arn, expected_type=type_hints["security_control_arn"])
8043
+ check_type(argname="argument security_control_id", value=security_control_id, expected_type=type_hints["security_control_id"])
8044
+ self._values: typing.Dict[builtins.str, typing.Any] = {
8045
+ "parameters": parameters,
8046
+ }
8047
+ if last_update_reason is not None:
8048
+ self._values["last_update_reason"] = last_update_reason
8049
+ if security_control_arn is not None:
8050
+ self._values["security_control_arn"] = security_control_arn
8051
+ if security_control_id is not None:
8052
+ self._values["security_control_id"] = security_control_id
8053
+
8054
+ @builtins.property
8055
+ def parameters(
8056
+ self,
8057
+ ) -> typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, CfnSecurityControl.ParameterConfigurationProperty]]]:
8058
+ '''
8059
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-securitycontrol.html#cfn-securityhub-securitycontrol-parameters
8060
+ '''
8061
+ result = self._values.get("parameters")
8062
+ assert result is not None, "Required property 'parameters' is missing"
8063
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, CfnSecurityControl.ParameterConfigurationProperty]]], result)
8064
+
8065
+ @builtins.property
8066
+ def last_update_reason(self) -> typing.Optional[builtins.str]:
8067
+ '''The most recent reason for updating the customizable properties of a security control.
8068
+
8069
+ This differs from the UpdateReason field of the BatchUpdateStandardsControlAssociations API, which tracks the reason for updating the enablement status of a control. This field accepts alphanumeric characters in addition to white spaces, dashes, and underscores.
8070
+
8071
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-securitycontrol.html#cfn-securityhub-securitycontrol-lastupdatereason
8072
+ '''
8073
+ result = self._values.get("last_update_reason")
8074
+ return typing.cast(typing.Optional[builtins.str], result)
8075
+
8076
+ @builtins.property
8077
+ def security_control_arn(self) -> typing.Optional[builtins.str]:
8078
+ '''
8079
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-securitycontrol.html#cfn-securityhub-securitycontrol-securitycontrolarn
8080
+ '''
8081
+ result = self._values.get("security_control_arn")
8082
+ return typing.cast(typing.Optional[builtins.str], result)
8083
+
8084
+ @builtins.property
8085
+ def security_control_id(self) -> typing.Optional[builtins.str]:
8086
+ '''
8087
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-securitycontrol.html#cfn-securityhub-securitycontrol-securitycontrolid
8088
+ '''
8089
+ result = self._values.get("security_control_id")
8090
+ return typing.cast(typing.Optional[builtins.str], result)
8091
+
8092
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
8093
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
8094
+
8095
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
8096
+ return not (rhs == self)
8097
+
8098
+ def __repr__(self) -> str:
8099
+ return "CfnSecurityControlProps(%s)" % ", ".join(
8100
+ k + "=" + repr(v) for k, v in self._values.items()
8101
+ )
8102
+
8103
+
7785
8104
  @jsii.implements(_IInspectable_c2943556)
7786
8105
  class CfnStandard(
7787
8106
  _CfnResource_9df397a6,
@@ -8099,6 +8418,8 @@ __all__ = [
8099
8418
  "CfnInsightProps",
8100
8419
  "CfnProductSubscription",
8101
8420
  "CfnProductSubscriptionProps",
8421
+ "CfnSecurityControl",
8422
+ "CfnSecurityControlProps",
8102
8423
  "CfnStandard",
8103
8424
  "CfnStandardProps",
8104
8425
  ]
@@ -8684,6 +9005,71 @@ def _typecheckingstub__a1bfdbbfd3a598a5b02234a0dfd7a548ca422910244f63e8798ff35df
8684
9005
  """Type checking stubs"""
8685
9006
  pass
8686
9007
 
9008
+ def _typecheckingstub__726fa705fd558de76e132e75c55b8475c62b8dc48c449b5a702f64b1f4bff214(
9009
+ scope: _constructs_77d1e7e8.Construct,
9010
+ id: builtins.str,
9011
+ *,
9012
+ parameters: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityControl.ParameterConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]],
9013
+ last_update_reason: typing.Optional[builtins.str] = None,
9014
+ security_control_arn: typing.Optional[builtins.str] = None,
9015
+ security_control_id: typing.Optional[builtins.str] = None,
9016
+ ) -> None:
9017
+ """Type checking stubs"""
9018
+ pass
9019
+
9020
+ def _typecheckingstub__72e19ace58419cf7e5cc55ad38fcc4775e0c46952b1855a7a5ce7a6181b02400(
9021
+ inspector: _TreeInspector_488e0dd5,
9022
+ ) -> None:
9023
+ """Type checking stubs"""
9024
+ pass
9025
+
9026
+ def _typecheckingstub__dedfe4cee5ed4d744f654a047ae9cf47ebabdaf6eef2879ed46833422d93c9b7(
9027
+ props: typing.Mapping[builtins.str, typing.Any],
9028
+ ) -> None:
9029
+ """Type checking stubs"""
9030
+ pass
9031
+
9032
+ def _typecheckingstub__ba42fae33edc1f1aa919c0aa456d75e2059314d6bb1a4b1deec59b91ddaeaf4e(
9033
+ value: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, CfnSecurityControl.ParameterConfigurationProperty]]],
9034
+ ) -> None:
9035
+ """Type checking stubs"""
9036
+ pass
9037
+
9038
+ def _typecheckingstub__3b44d1cfbd6f5b9cc0e4f01d2215ab6605103c5dd09dd732f99604233458a89a(
9039
+ value: typing.Optional[builtins.str],
9040
+ ) -> None:
9041
+ """Type checking stubs"""
9042
+ pass
9043
+
9044
+ def _typecheckingstub__4478e81bddb9f9df8efd5c0032ddfb869fb7885b4a68ad3bdb3c327deb03328a(
9045
+ value: typing.Optional[builtins.str],
9046
+ ) -> None:
9047
+ """Type checking stubs"""
9048
+ pass
9049
+
9050
+ def _typecheckingstub__ff55fd11201a4a7c92e4e58e9fa5bcdb6762a8ac0310ada761c3b90158e2f5e4(
9051
+ value: typing.Optional[builtins.str],
9052
+ ) -> None:
9053
+ """Type checking stubs"""
9054
+ pass
9055
+
9056
+ def _typecheckingstub__b4f8a75fb36fae6899e2291977edacf36a70ed147a49bd553150965029bec549(
9057
+ *,
9058
+ value_type: builtins.str,
9059
+ ) -> None:
9060
+ """Type checking stubs"""
9061
+ pass
9062
+
9063
+ def _typecheckingstub__592aeb56f2970a16d30327b0b500710f94ac9725954a4c60fb68c82fd900e348(
9064
+ *,
9065
+ parameters: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityControl.ParameterConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]],
9066
+ last_update_reason: typing.Optional[builtins.str] = None,
9067
+ security_control_arn: typing.Optional[builtins.str] = None,
9068
+ security_control_id: typing.Optional[builtins.str] = None,
9069
+ ) -> None:
9070
+ """Type checking stubs"""
9071
+ pass
9072
+
8687
9073
  def _typecheckingstub__561d4df3cc67420b6eb1bedde6e0c0dfd6f3e64e2787adbaf250b63890914f1f(
8688
9074
  scope: _constructs_77d1e7e8.Construct,
8689
9075
  id: builtins.str,
@@ -2957,7 +2957,7 @@ class CfnMaintenanceWindowTask(
2957
2957
  :param max_concurrency: The maximum number of targets this task can be run for, in parallel. .. epigraph:: Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a `targetless task <https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html>`_ You must provide a value in all other cases. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of ``1`` . This value doesn't affect the running of your task.
2958
2958
  :param max_errors: The maximum number of errors allowed before this task stops being scheduled. .. epigraph:: Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a `targetless task <https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html>`_ You must provide a value in all other cases. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of ``1`` . This value doesn't affect the running of your task.
2959
2959
  :param name: The task name.
2960
- :param service_role_arn: The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
2960
+ :param service_role_arn: The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run ``RegisterTaskWithMaintenanceWindow`` . However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see `Setting up maintenance windows <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html>`_ in the in the *AWS Systems Manager User Guide* .
2961
2961
  :param targets: The targets, either instances or window target IDs. - Specify instances using ``Key=InstanceIds,Values= *instanceid1* , *instanceid2*`` . - Specify window target IDs using ``Key=WindowTargetIds,Values= *window-target-id-1* , *window-target-id-2*`` .
2962
2962
  :param task_invocation_parameters: The parameters to pass to the task when it runs. Populate only the fields that match the task type. All other fields should be empty. .. epigraph:: When you update a maintenance window task that has options specified in ``TaskInvocationParameters`` , you must provide again all the ``TaskInvocationParameters`` values that you want to retain. The values you do not specify again are removed. For example, suppose that when you registered a Run Command task, you specified ``TaskInvocationParameters`` values for ``Comment`` , ``NotificationConfig`` , and ``OutputS3BucketName`` . If you update the maintenance window task and specify only a different ``OutputS3BucketName`` value, the values for ``Comment`` and ``NotificationConfig`` are removed.
2963
2963
  :param task_parameters: The parameters to pass to the task when it runs. .. epigraph:: ``TaskParameters`` has been deprecated. To specify parameters to pass to a task when it runs, instead use the ``Parameters`` option in the ``TaskInvocationParameters`` structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see `MaintenanceWindowTaskInvocationParameters <https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_MaintenanceWindowTaskInvocationParameters.html>`_ .
@@ -3166,7 +3166,7 @@ class CfnMaintenanceWindowTask(
3166
3166
  @builtins.property
3167
3167
  @jsii.member(jsii_name="serviceRoleArn")
3168
3168
  def service_role_arn(self) -> typing.Optional[builtins.str]:
3169
- '''The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.'''
3169
+ '''The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task.'''
3170
3170
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "serviceRoleArn"))
3171
3171
 
3172
3172
  @service_role_arn.setter
@@ -3631,7 +3631,7 @@ class CfnMaintenanceWindowTask(
3631
3631
  :param output_s3_bucket_name: The name of the Amazon Simple Storage Service (Amazon S3) bucket.
3632
3632
  :param output_s3_key_prefix: The S3 bucket subfolder.
3633
3633
  :param parameters: The parameters for the ``RUN_COMMAND`` task execution. The supported parameters are the same as those for the ``SendCommand`` API call. For more information, see `SendCommand <https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_SendCommand.html>`_ in the *AWS Systems Manager API Reference* .
3634
- :param service_role_arn: The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
3634
+ :param service_role_arn: The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run ``RegisterTaskWithMaintenanceWindow`` . However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see `Setting up maintenance windows <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html>`_ in the in the *AWS Systems Manager User Guide* .
3635
3635
  :param timeout_seconds: If this time is reached and the command hasn't already started running, it doesn't run.
3636
3636
 
3637
3637
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html
@@ -3806,7 +3806,11 @@ class CfnMaintenanceWindowTask(
3806
3806
 
3807
3807
  @builtins.property
3808
3808
  def service_role_arn(self) -> typing.Optional[builtins.str]:
3809
- '''The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
3809
+ '''The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task.
3810
+
3811
+ If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run ``RegisterTaskWithMaintenanceWindow`` .
3812
+
3813
+ However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see `Setting up maintenance windows <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html>`_ in the in the *AWS Systems Manager User Guide* .
3810
3814
 
3811
3815
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-servicerolearn
3812
3816
  '''
@@ -4288,7 +4292,7 @@ class CfnMaintenanceWindowTaskProps:
4288
4292
  :param max_concurrency: The maximum number of targets this task can be run for, in parallel. .. epigraph:: Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a `targetless task <https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html>`_ You must provide a value in all other cases. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of ``1`` . This value doesn't affect the running of your task.
4289
4293
  :param max_errors: The maximum number of errors allowed before this task stops being scheduled. .. epigraph:: Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a `targetless task <https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html>`_ You must provide a value in all other cases. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of ``1`` . This value doesn't affect the running of your task.
4290
4294
  :param name: The task name.
4291
- :param service_role_arn: The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
4295
+ :param service_role_arn: The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run ``RegisterTaskWithMaintenanceWindow`` . However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see `Setting up maintenance windows <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html>`_ in the in the *AWS Systems Manager User Guide* .
4292
4296
  :param targets: The targets, either instances or window target IDs. - Specify instances using ``Key=InstanceIds,Values= *instanceid1* , *instanceid2*`` . - Specify window target IDs using ``Key=WindowTargetIds,Values= *window-target-id-1* , *window-target-id-2*`` .
4293
4297
  :param task_invocation_parameters: The parameters to pass to the task when it runs. Populate only the fields that match the task type. All other fields should be empty. .. epigraph:: When you update a maintenance window task that has options specified in ``TaskInvocationParameters`` , you must provide again all the ``TaskInvocationParameters`` values that you want to retain. The values you do not specify again are removed. For example, suppose that when you registered a Run Command task, you specified ``TaskInvocationParameters`` values for ``Comment`` , ``NotificationConfig`` , and ``OutputS3BucketName`` . If you update the maintenance window task and specify only a different ``OutputS3BucketName`` value, the values for ``Comment`` and ``NotificationConfig`` are removed.
4294
4298
  :param task_parameters: The parameters to pass to the task when it runs. .. epigraph:: ``TaskParameters`` has been deprecated. To specify parameters to pass to a task when it runs, instead use the ``Parameters`` option in the ``TaskInvocationParameters`` structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see `MaintenanceWindowTaskInvocationParameters <https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_MaintenanceWindowTaskInvocationParameters.html>`_ .
@@ -4536,7 +4540,11 @@ class CfnMaintenanceWindowTaskProps:
4536
4540
 
4537
4541
  @builtins.property
4538
4542
  def service_role_arn(self) -> typing.Optional[builtins.str]:
4539
- '''The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
4543
+ '''The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task.
4544
+
4545
+ If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run ``RegisterTaskWithMaintenanceWindow`` .
4546
+
4547
+ However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see `Setting up maintenance windows <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html>`_ in the in the *AWS Systems Manager User Guide* .
4540
4548
 
4541
4549
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html#cfn-ssm-maintenancewindowtask-servicerolearn
4542
4550
  '''