aws-cdk-lib 2.159.1__py3-none-any.whl → 2.161.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.

Files changed (58) hide show
  1. aws_cdk/__init__.py +281 -33
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.159.1.jsii.tgz → aws-cdk-lib@2.161.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +13 -14
  5. aws_cdk/aws_autoscaling/__init__.py +2 -2
  6. aws_cdk/aws_b2bi/__init__.py +2283 -672
  7. aws_cdk/aws_batch/__init__.py +9 -5
  8. aws_cdk/aws_bedrock/__init__.py +52 -20
  9. aws_cdk/aws_cloudformation/__init__.py +9 -9
  10. aws_cdk/aws_cloudtrail/__init__.py +97 -183
  11. aws_cdk/aws_cloudwatch/__init__.py +38 -42
  12. aws_cdk/aws_codepipeline_actions/__init__.py +4 -4
  13. aws_cdk/aws_cognito/__init__.py +18 -0
  14. aws_cdk/aws_datasync/__init__.py +1 -1
  15. aws_cdk/aws_dynamodb/__init__.py +4 -4
  16. aws_cdk/aws_ec2/__init__.py +138 -12
  17. aws_cdk/aws_ecs/__init__.py +517 -6
  18. aws_cdk/aws_eks/__init__.py +118 -2
  19. aws_cdk/aws_elasticloadbalancingv2/__init__.py +5 -3
  20. aws_cdk/aws_glue/__init__.py +386 -0
  21. aws_cdk/aws_iotfleetwise/__init__.py +49 -49
  22. aws_cdk/aws_iottwinmaker/__init__.py +4 -4
  23. aws_cdk/aws_iotwireless/__init__.py +2 -1
  24. aws_cdk/aws_kinesisfirehose/__init__.py +52 -76
  25. aws_cdk/aws_kms/__init__.py +4 -4
  26. aws_cdk/aws_lambda/__init__.py +385 -244
  27. aws_cdk/aws_logs/__init__.py +455 -24
  28. aws_cdk/aws_mediaconnect/__init__.py +6 -4
  29. aws_cdk/aws_medialive/__init__.py +36 -0
  30. aws_cdk/aws_organizations/__init__.py +4 -3
  31. aws_cdk/aws_pipes/__init__.py +2 -2
  32. aws_cdk/aws_quicksight/__init__.py +1086 -6
  33. aws_cdk/aws_rds/__init__.py +182 -3
  34. aws_cdk/aws_route53resolver/__init__.py +3 -17
  35. aws_cdk/aws_s3/__init__.py +24 -15
  36. aws_cdk/aws_s3_deployment/__init__.py +45 -0
  37. aws_cdk/aws_s3express/__init__.py +314 -4
  38. aws_cdk/aws_sagemaker/__init__.py +44 -4
  39. aws_cdk/aws_secretsmanager/__init__.py +14 -7
  40. aws_cdk/aws_securityhub/__init__.py +16 -14
  41. aws_cdk/aws_ses/__init__.py +52 -18
  42. aws_cdk/aws_sqs/__init__.py +16 -14
  43. aws_cdk/aws_ssm/__init__.py +6 -2
  44. aws_cdk/aws_stepfunctions/__init__.py +412 -32
  45. aws_cdk/aws_synthetics/__init__.py +46 -0
  46. aws_cdk/aws_waf/__init__.py +33 -22
  47. aws_cdk/aws_wafregional/__init__.py +36 -24
  48. aws_cdk/aws_workspacesweb/__init__.py +54 -3
  49. aws_cdk/cloud_assembly_schema/__init__.py +1304 -417
  50. aws_cdk/cloudformation_include/__init__.py +28 -0
  51. aws_cdk/cx_api/__init__.py +129 -0
  52. aws_cdk/pipelines/__init__.py +4 -4
  53. {aws_cdk_lib-2.159.1.dist-info → aws_cdk_lib-2.161.0.dist-info}/METADATA +4 -4
  54. {aws_cdk_lib-2.159.1.dist-info → aws_cdk_lib-2.161.0.dist-info}/RECORD +58 -58
  55. {aws_cdk_lib-2.159.1.dist-info → aws_cdk_lib-2.161.0.dist-info}/LICENSE +0 -0
  56. {aws_cdk_lib-2.159.1.dist-info → aws_cdk_lib-2.161.0.dist-info}/NOTICE +0 -0
  57. {aws_cdk_lib-2.159.1.dist-info → aws_cdk_lib-2.161.0.dist-info}/WHEEL +0 -0
  58. {aws_cdk_lib-2.159.1.dist-info → aws_cdk_lib-2.161.0.dist-info}/top_level.txt +0 -0
@@ -228,6 +228,32 @@ cloudwatch.Alarm(self, "alarm from metric filter",
228
228
  )
229
229
  ```
230
230
 
231
+ ### Metrics for IncomingLogs and IncomingBytes
232
+
233
+ Metric methods have been defined for IncomingLogs and IncomingBytes within LogGroups. These metrics allow for the creation of alarms on log ingestion, ensuring that the log ingestion process is functioning correctly.
234
+
235
+ To define an alarm based on these metrics, you can use the following template:
236
+
237
+ ```python
238
+ log_group = logs.LogGroup(self, "MyLogGroup")
239
+ incoming_events_metric = log_group.metric_incoming_log_events()
240
+ cloudwatch.Alarm(self, "HighLogVolumeAlarm",
241
+ metric=incoming_events_metric,
242
+ threshold=1000,
243
+ evaluation_periods=1
244
+ )
245
+ ```
246
+
247
+ ```python
248
+ log_group = logs.LogGroup(self, "MyLogGroup")
249
+ incoming_bytes_metric = log_group.metric_incoming_bytes()
250
+ cloudwatch.Alarm(self, "HighDataVolumeAlarm",
251
+ metric=incoming_bytes_metric,
252
+ threshold=5000000, # 5 MB
253
+ evaluation_periods=1
254
+ )
255
+ ```
256
+
231
257
  ## Patterns
232
258
 
233
259
  Patterns describe which log events match a subscription or metric filter. There
@@ -3579,7 +3605,7 @@ class CfnQueryDefinition(
3579
3605
  '''
3580
3606
  :param scope: Scope in which this resource is defined.
3581
3607
  :param id: Construct identifier for this resource (unique in its scope).
3582
- :param name: A name for the query definition. .. epigraph:: You can use the name to create a folder structure for your queries. To create a folder, use a forward slash (/) to prefix your desired query name with your desired folder name. For example, ``/ *folder-name* / *query-name*`` .
3608
+ :param name: A name for the query definition. .. epigraph:: You can use the name to create a folder structure for your queries. To create a folder, use a forward slash (/) to prefix your desired query name with your desired folder name. For example, ``*folder-name* / *query-name*`` .
3583
3609
  :param query_string: The query string to use for this query definition. For more information, see `CloudWatch Logs Insights Query Syntax <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html>`_ .
3584
3610
  :param log_group_names: Use this parameter if you want the query to query only certain log groups.
3585
3611
  '''
@@ -3699,7 +3725,7 @@ class CfnQueryDefinitionProps:
3699
3725
  ) -> None:
3700
3726
  '''Properties for defining a ``CfnQueryDefinition``.
3701
3727
 
3702
- :param name: A name for the query definition. .. epigraph:: You can use the name to create a folder structure for your queries. To create a folder, use a forward slash (/) to prefix your desired query name with your desired folder name. For example, ``/ *folder-name* / *query-name*`` .
3728
+ :param name: A name for the query definition. .. epigraph:: You can use the name to create a folder structure for your queries. To create a folder, use a forward slash (/) to prefix your desired query name with your desired folder name. For example, ``*folder-name* / *query-name*`` .
3703
3729
  :param query_string: The query string to use for this query definition. For more information, see `CloudWatch Logs Insights Query Syntax <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html>`_ .
3704
3730
  :param log_group_names: Use this parameter if you want the query to query only certain log groups.
3705
3731
 
@@ -3738,7 +3764,7 @@ class CfnQueryDefinitionProps:
3738
3764
 
3739
3765
  .. epigraph::
3740
3766
 
3741
- You can use the name to create a folder structure for your queries. To create a folder, use a forward slash (/) to prefix your desired query name with your desired folder name. For example, ``/ *folder-name* / *query-name*`` .
3767
+ You can use the name to create a folder structure for your queries. To create a folder, use a forward slash (/) to prefix your desired query name with your desired folder name. For example, ``*folder-name* / *query-name*`` .
3742
3768
 
3743
3769
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-querydefinition.html#cfn-logs-querydefinition-name
3744
3770
  '''
@@ -5724,6 +5750,92 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
5724
5750
  '''Public method to get the physical name of this log group.'''
5725
5751
  ...
5726
5752
 
5753
+ @jsii.member(jsii_name="metric")
5754
+ def metric(
5755
+ self,
5756
+ metric_name: builtins.str,
5757
+ *,
5758
+ account: typing.Optional[builtins.str] = None,
5759
+ color: typing.Optional[builtins.str] = None,
5760
+ dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5761
+ label: typing.Optional[builtins.str] = None,
5762
+ period: typing.Optional[_Duration_4839e8c3] = None,
5763
+ region: typing.Optional[builtins.str] = None,
5764
+ statistic: typing.Optional[builtins.str] = None,
5765
+ unit: typing.Optional[_Unit_61bc6f70] = None,
5766
+ ) -> _Metric_e396a4dc:
5767
+ '''Return the given named metric for this Log Group.
5768
+
5769
+ :param metric_name: The name of the metric.
5770
+ :param account: Account which this metric comes from. Default: - Deployment account.
5771
+ :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
5772
+ :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5773
+ :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
5774
+ :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
5775
+ :param region: Region which this metric comes from. Default: - Deployment region.
5776
+ :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
5777
+ :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
5778
+ '''
5779
+ ...
5780
+
5781
+ @jsii.member(jsii_name="metricIncomingBytes")
5782
+ def metric_incoming_bytes(
5783
+ self,
5784
+ *,
5785
+ account: typing.Optional[builtins.str] = None,
5786
+ color: typing.Optional[builtins.str] = None,
5787
+ dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5788
+ label: typing.Optional[builtins.str] = None,
5789
+ period: typing.Optional[_Duration_4839e8c3] = None,
5790
+ region: typing.Optional[builtins.str] = None,
5791
+ statistic: typing.Optional[builtins.str] = None,
5792
+ unit: typing.Optional[_Unit_61bc6f70] = None,
5793
+ ) -> _Metric_e396a4dc:
5794
+ '''The volume of log events in uncompressed bytes uploaded to CloudWatch Logs.
5795
+
5796
+ When used with the LogGroupName dimension, this is the volume of log events
5797
+ in uncompressed bytes uploaded to the log group.
5798
+
5799
+ :param account: Account which this metric comes from. Default: - Deployment account.
5800
+ :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
5801
+ :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5802
+ :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
5803
+ :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
5804
+ :param region: Region which this metric comes from. Default: - Deployment region.
5805
+ :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
5806
+ :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
5807
+ '''
5808
+ ...
5809
+
5810
+ @jsii.member(jsii_name="metricIncomingLogEvents")
5811
+ def metric_incoming_log_events(
5812
+ self,
5813
+ *,
5814
+ account: typing.Optional[builtins.str] = None,
5815
+ color: typing.Optional[builtins.str] = None,
5816
+ dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5817
+ label: typing.Optional[builtins.str] = None,
5818
+ period: typing.Optional[_Duration_4839e8c3] = None,
5819
+ region: typing.Optional[builtins.str] = None,
5820
+ statistic: typing.Optional[builtins.str] = None,
5821
+ unit: typing.Optional[_Unit_61bc6f70] = None,
5822
+ ) -> _Metric_e396a4dc:
5823
+ '''The number of log events uploaded to CloudWatch Logs.
5824
+
5825
+ When used with the LogGroupName dimension, this is the number of
5826
+ log events uploaded to the log group.
5827
+
5828
+ :param account: Account which this metric comes from. Default: - Deployment account.
5829
+ :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
5830
+ :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5831
+ :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
5832
+ :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
5833
+ :param region: Region which this metric comes from. Default: - Deployment region.
5834
+ :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
5835
+ :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
5836
+ '''
5837
+ ...
5838
+
5727
5839
 
5728
5840
  class _ILogGroupProxy(
5729
5841
  jsii.proxy_for(_IResourceWithPolicy_720d64fc), # type: ignore[misc]
@@ -5911,6 +6023,128 @@ class _ILogGroupProxy(
5911
6023
  '''Public method to get the physical name of this log group.'''
5912
6024
  return typing.cast(builtins.str, jsii.invoke(self, "logGroupPhysicalName", []))
5913
6025
 
6026
+ @jsii.member(jsii_name="metric")
6027
+ def metric(
6028
+ self,
6029
+ metric_name: builtins.str,
6030
+ *,
6031
+ account: typing.Optional[builtins.str] = None,
6032
+ color: typing.Optional[builtins.str] = None,
6033
+ dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6034
+ label: typing.Optional[builtins.str] = None,
6035
+ period: typing.Optional[_Duration_4839e8c3] = None,
6036
+ region: typing.Optional[builtins.str] = None,
6037
+ statistic: typing.Optional[builtins.str] = None,
6038
+ unit: typing.Optional[_Unit_61bc6f70] = None,
6039
+ ) -> _Metric_e396a4dc:
6040
+ '''Return the given named metric for this Log Group.
6041
+
6042
+ :param metric_name: The name of the metric.
6043
+ :param account: Account which this metric comes from. Default: - Deployment account.
6044
+ :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
6045
+ :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
6046
+ :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
6047
+ :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
6048
+ :param region: Region which this metric comes from. Default: - Deployment region.
6049
+ :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
6050
+ :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
6051
+ '''
6052
+ if __debug__:
6053
+ type_hints = typing.get_type_hints(_typecheckingstub__e63ab70f8bacc728cdbf61171dfc0b89720bb794e34d29336b9486edb7738afb)
6054
+ check_type(argname="argument metric_name", value=metric_name, expected_type=type_hints["metric_name"])
6055
+ props = _MetricOptions_1788b62f(
6056
+ account=account,
6057
+ color=color,
6058
+ dimensions_map=dimensions_map,
6059
+ label=label,
6060
+ period=period,
6061
+ region=region,
6062
+ statistic=statistic,
6063
+ unit=unit,
6064
+ )
6065
+
6066
+ return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
6067
+
6068
+ @jsii.member(jsii_name="metricIncomingBytes")
6069
+ def metric_incoming_bytes(
6070
+ self,
6071
+ *,
6072
+ account: typing.Optional[builtins.str] = None,
6073
+ color: typing.Optional[builtins.str] = None,
6074
+ dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6075
+ label: typing.Optional[builtins.str] = None,
6076
+ period: typing.Optional[_Duration_4839e8c3] = None,
6077
+ region: typing.Optional[builtins.str] = None,
6078
+ statistic: typing.Optional[builtins.str] = None,
6079
+ unit: typing.Optional[_Unit_61bc6f70] = None,
6080
+ ) -> _Metric_e396a4dc:
6081
+ '''The volume of log events in uncompressed bytes uploaded to CloudWatch Logs.
6082
+
6083
+ When used with the LogGroupName dimension, this is the volume of log events
6084
+ in uncompressed bytes uploaded to the log group.
6085
+
6086
+ :param account: Account which this metric comes from. Default: - Deployment account.
6087
+ :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
6088
+ :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
6089
+ :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
6090
+ :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
6091
+ :param region: Region which this metric comes from. Default: - Deployment region.
6092
+ :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
6093
+ :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
6094
+ '''
6095
+ props = _MetricOptions_1788b62f(
6096
+ account=account,
6097
+ color=color,
6098
+ dimensions_map=dimensions_map,
6099
+ label=label,
6100
+ period=period,
6101
+ region=region,
6102
+ statistic=statistic,
6103
+ unit=unit,
6104
+ )
6105
+
6106
+ return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingBytes", [props]))
6107
+
6108
+ @jsii.member(jsii_name="metricIncomingLogEvents")
6109
+ def metric_incoming_log_events(
6110
+ self,
6111
+ *,
6112
+ account: typing.Optional[builtins.str] = None,
6113
+ color: typing.Optional[builtins.str] = None,
6114
+ dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6115
+ label: typing.Optional[builtins.str] = None,
6116
+ period: typing.Optional[_Duration_4839e8c3] = None,
6117
+ region: typing.Optional[builtins.str] = None,
6118
+ statistic: typing.Optional[builtins.str] = None,
6119
+ unit: typing.Optional[_Unit_61bc6f70] = None,
6120
+ ) -> _Metric_e396a4dc:
6121
+ '''The number of log events uploaded to CloudWatch Logs.
6122
+
6123
+ When used with the LogGroupName dimension, this is the number of
6124
+ log events uploaded to the log group.
6125
+
6126
+ :param account: Account which this metric comes from. Default: - Deployment account.
6127
+ :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
6128
+ :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
6129
+ :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
6130
+ :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
6131
+ :param region: Region which this metric comes from. Default: - Deployment region.
6132
+ :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
6133
+ :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
6134
+ '''
6135
+ props = _MetricOptions_1788b62f(
6136
+ account=account,
6137
+ color=color,
6138
+ dimensions_map=dimensions_map,
6139
+ label=label,
6140
+ period=period,
6141
+ region=region,
6142
+ statistic=statistic,
6143
+ unit=unit,
6144
+ )
6145
+
6146
+ return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingLogEvents", [props]))
6147
+
5914
6148
  # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
5915
6149
  typing.cast(typing.Any, ILogGroup).__jsii_proxy_class__ = lambda : _ILogGroupProxy
5916
6150
 
@@ -6349,6 +6583,170 @@ class LogGroup(
6349
6583
  '''
6350
6584
  return typing.cast(builtins.str, jsii.invoke(self, "logGroupPhysicalName", []))
6351
6585
 
6586
+ @jsii.member(jsii_name="metric")
6587
+ def metric(
6588
+ self,
6589
+ metric_name: builtins.str,
6590
+ *,
6591
+ account: typing.Optional[builtins.str] = None,
6592
+ color: typing.Optional[builtins.str] = None,
6593
+ dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6594
+ label: typing.Optional[builtins.str] = None,
6595
+ period: typing.Optional[_Duration_4839e8c3] = None,
6596
+ region: typing.Optional[builtins.str] = None,
6597
+ statistic: typing.Optional[builtins.str] = None,
6598
+ unit: typing.Optional[_Unit_61bc6f70] = None,
6599
+ ) -> _Metric_e396a4dc:
6600
+ '''Creates a CloudWatch metric for this log group.
6601
+
6602
+ :param metric_name: - The name of the metric to create.
6603
+ :param account: Account which this metric comes from. Default: - Deployment account.
6604
+ :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
6605
+ :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
6606
+ :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
6607
+ :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
6608
+ :param region: Region which this metric comes from. Default: - Deployment region.
6609
+ :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
6610
+ :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
6611
+
6612
+ :return:
6613
+
6614
+ A CloudWatch Metric object representing the specified metric for this log group.
6615
+
6616
+ This method creates a CloudWatch Metric object with predefined settings for the log group.
6617
+ It sets the namespace to 'AWS/Logs' and the statistic to 'Sum' by default.
6618
+
6619
+ The created metric is automatically associated with this log group using the ``attachTo`` method.
6620
+
6621
+ Common metric names for log groups include:
6622
+
6623
+ - 'IncomingBytes': The volume of log data in bytes ingested into the log group.
6624
+ - 'IncomingLogEvents': The number of log events ingested into the log group.
6625
+
6626
+ Example::
6627
+ '''
6628
+ if __debug__:
6629
+ type_hints = typing.get_type_hints(_typecheckingstub__afd13314ef52ff283429f1992d9ab29ab14998262e884015dc1d0af12ff9df43)
6630
+ check_type(argname="argument metric_name", value=metric_name, expected_type=type_hints["metric_name"])
6631
+ props = _MetricOptions_1788b62f(
6632
+ account=account,
6633
+ color=color,
6634
+ dimensions_map=dimensions_map,
6635
+ label=label,
6636
+ period=period,
6637
+ region=region,
6638
+ statistic=statistic,
6639
+ unit=unit,
6640
+ )
6641
+
6642
+ return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
6643
+
6644
+ @jsii.member(jsii_name="metricIncomingBytes")
6645
+ def metric_incoming_bytes(
6646
+ self,
6647
+ *,
6648
+ account: typing.Optional[builtins.str] = None,
6649
+ color: typing.Optional[builtins.str] = None,
6650
+ dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6651
+ label: typing.Optional[builtins.str] = None,
6652
+ period: typing.Optional[_Duration_4839e8c3] = None,
6653
+ region: typing.Optional[builtins.str] = None,
6654
+ statistic: typing.Optional[builtins.str] = None,
6655
+ unit: typing.Optional[_Unit_61bc6f70] = None,
6656
+ ) -> _Metric_e396a4dc:
6657
+ '''Creates a CloudWatch metric for the volume of incoming log data in bytes to this log group.
6658
+
6659
+ :param account: Account which this metric comes from. Default: - Deployment account.
6660
+ :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
6661
+ :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
6662
+ :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
6663
+ :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
6664
+ :param region: Region which this metric comes from. Default: - Deployment region.
6665
+ :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
6666
+ :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
6667
+
6668
+ :return:
6669
+
6670
+ A CloudWatch Metric object representing the IncomingBytes metric.
6671
+
6672
+ This method allows you to monitor the volume of data being ingested into the log group.
6673
+ It's useful for understanding the size of your logs, which can impact storage costs
6674
+ and help in identifying unexpectedly large log entries.
6675
+
6676
+ Example usage::
6677
+
6678
+ const logGroup = new logs.LogGroup(this, 'MyLogGroup');
6679
+ logGroup.metricIncomingBytes().createAlarm(stack, 'IncomingBytesPerInstanceAlarm', {
6680
+ threshold: 1,
6681
+ evaluationPeriods: 1,
6682
+ });
6683
+ '''
6684
+ props = _MetricOptions_1788b62f(
6685
+ account=account,
6686
+ color=color,
6687
+ dimensions_map=dimensions_map,
6688
+ label=label,
6689
+ period=period,
6690
+ region=region,
6691
+ statistic=statistic,
6692
+ unit=unit,
6693
+ )
6694
+
6695
+ return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingBytes", [props]))
6696
+
6697
+ @jsii.member(jsii_name="metricIncomingLogEvents")
6698
+ def metric_incoming_log_events(
6699
+ self,
6700
+ *,
6701
+ account: typing.Optional[builtins.str] = None,
6702
+ color: typing.Optional[builtins.str] = None,
6703
+ dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6704
+ label: typing.Optional[builtins.str] = None,
6705
+ period: typing.Optional[_Duration_4839e8c3] = None,
6706
+ region: typing.Optional[builtins.str] = None,
6707
+ statistic: typing.Optional[builtins.str] = None,
6708
+ unit: typing.Optional[_Unit_61bc6f70] = None,
6709
+ ) -> _Metric_e396a4dc:
6710
+ '''Creates a CloudWatch metric for the number of incoming log events to this log group.
6711
+
6712
+ :param account: Account which this metric comes from. Default: - Deployment account.
6713
+ :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
6714
+ :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
6715
+ :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
6716
+ :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
6717
+ :param region: Region which this metric comes from. Default: - Deployment region.
6718
+ :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
6719
+ :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
6720
+
6721
+ :return:
6722
+
6723
+ A CloudWatch Metric object representing the IncomingLogEvents metric.
6724
+
6725
+ This method allows you to monitor the rate at which log events are being ingested
6726
+ into the log group. It's useful for understanding the volume of logging activity
6727
+ and can help in capacity planning or detecting unusual spikes in logging.
6728
+
6729
+ Example usage::
6730
+
6731
+ const logGroup = new logs.LogGroup(this, 'MyLogGroup');
6732
+ logGroup.metricIncomingLogEvents().createAlarm(stack, 'IncomingEventsPerInstanceAlarm', {
6733
+ threshold: 1,
6734
+ evaluationPeriods: 1,
6735
+ });
6736
+ '''
6737
+ props = _MetricOptions_1788b62f(
6738
+ account=account,
6739
+ color=color,
6740
+ dimensions_map=dimensions_map,
6741
+ label=label,
6742
+ period=period,
6743
+ region=region,
6744
+ statistic=statistic,
6745
+ unit=unit,
6746
+ )
6747
+
6748
+ return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingLogEvents", [props]))
6749
+
6352
6750
  @builtins.property
6353
6751
  @jsii.member(jsii_name="logGroupArn")
6354
6752
  def log_group_arn(self) -> builtins.str:
@@ -6408,33 +6806,36 @@ class LogGroupProps:
6408
6806
 
6409
6807
  Example::
6410
6808
 
6411
- # vpc: ec2.Vpc
6809
+ import aws_cdk.aws_kinesisfirehose_alpha as kinesisfirehose
6810
+ import aws_cdk.aws_kinesisfirehose_destinations_alpha as destinations
6412
6811
 
6413
- kms_key = kms.Key(self, "KmsKey")
6414
6812
 
6415
- # Pass the KMS key in the `encryptionKey` field to associate the key to the log group
6416
- log_group = logs.LogGroup(self, "LogGroup",
6417
- encryption_key=kms_key
6813
+ log_group_destination = logs.LogGroup(self, "LogGroupLambdaAudit",
6814
+ log_group_name="auditDestinationForCDK"
6418
6815
  )
6419
6816
 
6420
- # Pass the KMS key in the `encryptionKey` field to associate the key to the S3 bucket
6421
- exec_bucket = s3.Bucket(self, "EcsExecBucket",
6422
- encryption_key=kms_key
6817
+ bucket = s3.Bucket(self, "audit-bucket")
6818
+ s3_destination = destinations.S3Bucket(bucket)
6819
+
6820
+ delivery_stream = kinesisfirehose.DeliveryStream(self, "Delivery Stream",
6821
+ destinations=[s3_destination]
6423
6822
  )
6424
6823
 
6425
- cluster = ecs.Cluster(self, "Cluster",
6426
- vpc=vpc,
6427
- execute_command_configuration=ecs.ExecuteCommandConfiguration(
6428
- kms_key=kms_key,
6429
- log_configuration=ecs.ExecuteCommandLogConfiguration(
6430
- cloud_watch_log_group=log_group,
6431
- cloud_watch_encryption_enabled=True,
6432
- s3_bucket=exec_bucket,
6433
- s3_encryption_enabled=True,
6434
- s3_key_prefix="exec-command-output"
6435
- ),
6436
- logging=ecs.ExecuteCommandLogging.OVERRIDE
6437
- )
6824
+ data_protection_policy = logs.DataProtectionPolicy(
6825
+ name="data protection policy",
6826
+ description="policy description",
6827
+ identifiers=[logs.DataIdentifier.DRIVERSLICENSE_US, # managed data identifier
6828
+ logs.DataIdentifier("EmailAddress"), # forward compatibility for new managed data identifiers
6829
+ logs.CustomDataIdentifier("EmployeeId", "EmployeeId-\\d{9}")
6830
+ ], # custom data identifier
6831
+ log_group_audit_destination=log_group_destination,
6832
+ s3_bucket_audit_destination=bucket,
6833
+ delivery_stream_name_audit_destination=delivery_stream.delivery_stream_name
6834
+ )
6835
+
6836
+ logs.LogGroup(self, "LogGroupLambda",
6837
+ log_group_name="cdkIntegLogGroup",
6838
+ data_protection_policy=data_protection_policy
6438
6839
  )
6439
6840
  '''
6440
6841
  if __debug__:
@@ -9836,6 +10237,21 @@ def _typecheckingstub__558c66823e9e8b21feeb1abd2b6534206c929fdf82184f3c0d1aff294
9836
10237
  """Type checking stubs"""
9837
10238
  pass
9838
10239
 
10240
+ def _typecheckingstub__e63ab70f8bacc728cdbf61171dfc0b89720bb794e34d29336b9486edb7738afb(
10241
+ metric_name: builtins.str,
10242
+ *,
10243
+ account: typing.Optional[builtins.str] = None,
10244
+ color: typing.Optional[builtins.str] = None,
10245
+ dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10246
+ label: typing.Optional[builtins.str] = None,
10247
+ period: typing.Optional[_Duration_4839e8c3] = None,
10248
+ region: typing.Optional[builtins.str] = None,
10249
+ statistic: typing.Optional[builtins.str] = None,
10250
+ unit: typing.Optional[_Unit_61bc6f70] = None,
10251
+ ) -> None:
10252
+ """Type checking stubs"""
10253
+ pass
10254
+
9839
10255
  def _typecheckingstub__0d2d750464949100272f59f23f28dae31a40c84ad1d188b0cd44fdca6ca395d5(
9840
10256
  scope: _constructs_77d1e7e8.Construct,
9841
10257
  source_log_group: ILogGroup,
@@ -9946,6 +10362,21 @@ def _typecheckingstub__c97b414675dc468df60a1d999b2ddb74ddf42567d0d8ac3af19bb44f4
9946
10362
  """Type checking stubs"""
9947
10363
  pass
9948
10364
 
10365
+ def _typecheckingstub__afd13314ef52ff283429f1992d9ab29ab14998262e884015dc1d0af12ff9df43(
10366
+ metric_name: builtins.str,
10367
+ *,
10368
+ account: typing.Optional[builtins.str] = None,
10369
+ color: typing.Optional[builtins.str] = None,
10370
+ dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10371
+ label: typing.Optional[builtins.str] = None,
10372
+ period: typing.Optional[_Duration_4839e8c3] = None,
10373
+ region: typing.Optional[builtins.str] = None,
10374
+ statistic: typing.Optional[builtins.str] = None,
10375
+ unit: typing.Optional[_Unit_61bc6f70] = None,
10376
+ ) -> None:
10377
+ """Type checking stubs"""
10378
+ pass
10379
+
9949
10380
  def _typecheckingstub__df51a93f7809d59dd37d78a60967e0071dab4876ea1cd5ecd658ac3c8eae1320(
9950
10381
  *,
9951
10382
  data_protection_policy: typing.Optional[DataProtectionPolicy] = None,
@@ -5346,7 +5346,7 @@ class CfnFlowOutput(
5346
5346
  :param media_stream_output_configurations: The definition for each media stream that is associated with the output.
5347
5347
  :param min_latency: The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.
5348
5348
  :param name: The name of the output. This value must be unique within the current flow.
5349
- :param output_status: An indication of whether the output should transmit data or not.
5349
+ :param output_status: An indication of whether the new output should be enabled or disabled as soon as it is created. If you don't specify the outputStatus field in your request, MediaConnect sets it to ENABLED.
5350
5350
  :param port: The port to use when MediaConnect distributes content to the output.
5351
5351
  :param remote_id: The identifier that is assigned to the Zixi receiver. This parameter applies only to outputs that use Zixi pull.
5352
5352
  :param smoothing_latency: The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
@@ -5568,7 +5568,7 @@ class CfnFlowOutput(
5568
5568
  @builtins.property
5569
5569
  @jsii.member(jsii_name="outputStatus")
5570
5570
  def output_status(self) -> typing.Optional[builtins.str]:
5571
- '''An indication of whether the output should transmit data or not.'''
5571
+ '''An indication of whether the new output should be enabled or disabled as soon as it is created.'''
5572
5572
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "outputStatus"))
5573
5573
 
5574
5574
  @output_status.setter
@@ -6238,7 +6238,7 @@ class CfnFlowOutputProps:
6238
6238
  :param media_stream_output_configurations: The definition for each media stream that is associated with the output.
6239
6239
  :param min_latency: The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.
6240
6240
  :param name: The name of the output. This value must be unique within the current flow.
6241
- :param output_status: An indication of whether the output should transmit data or not.
6241
+ :param output_status: An indication of whether the new output should be enabled or disabled as soon as it is created. If you don't specify the outputStatus field in your request, MediaConnect sets it to ENABLED.
6242
6242
  :param port: The port to use when MediaConnect distributes content to the output.
6243
6243
  :param remote_id: The identifier that is assigned to the Zixi receiver. This parameter applies only to outputs that use Zixi pull.
6244
6244
  :param smoothing_latency: The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
@@ -6461,7 +6461,9 @@ class CfnFlowOutputProps:
6461
6461
 
6462
6462
  @builtins.property
6463
6463
  def output_status(self) -> typing.Optional[builtins.str]:
6464
- '''An indication of whether the output should transmit data or not.
6464
+ '''An indication of whether the new output should be enabled or disabled as soon as it is created.
6465
+
6466
+ If you don't specify the outputStatus field in your request, MediaConnect sets it to ENABLED.
6465
6467
 
6466
6468
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowoutput.html#cfn-mediaconnect-flowoutput-outputstatus
6467
6469
  '''