aws-cdk-lib 2.145.0__py3-none-any.whl → 2.147.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +12 -11
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.145.0.jsii.tgz → aws-cdk-lib@2.147.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +32 -12
- aws_cdk/aws_apigatewayv2/__init__.py +48 -2
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +142 -4
- aws_cdk/aws_appconfig/__init__.py +8 -4
- aws_cdk/aws_applicationsignals/__init__.py +1766 -0
- aws_cdk/aws_appsync/__init__.py +62 -0
- aws_cdk/aws_auditmanager/__init__.py +5 -1
- aws_cdk/aws_autoscaling/__init__.py +457 -56
- aws_cdk/aws_batch/__init__.py +215 -0
- aws_cdk/aws_bedrock/__init__.py +272 -103
- aws_cdk/aws_cloudformation/__init__.py +5 -11
- aws_cdk/aws_cloudfront/__init__.py +10 -3
- aws_cdk/aws_cloudtrail/__init__.py +56 -2
- aws_cdk/aws_codebuild/__init__.py +85 -32
- aws_cdk/aws_codepipeline/__init__.py +10 -5
- aws_cdk/aws_connect/__init__.py +86 -0
- aws_cdk/aws_datazone/__init__.py +80 -68
- aws_cdk/aws_deadline/__init__.py +603 -17
- aws_cdk/aws_ec2/__init__.py +237 -112
- aws_cdk/aws_ecs/__init__.py +123 -12
- aws_cdk/aws_eks/__init__.py +1335 -50
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +11 -5
- aws_cdk/aws_emrserverless/__init__.py +5 -5
- aws_cdk/aws_events/__init__.py +36 -16
- aws_cdk/aws_fsx/__init__.py +126 -21
- aws_cdk/aws_globalaccelerator/__init__.py +2 -1
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +35 -4
- aws_cdk/aws_glue/__init__.py +26 -0
- aws_cdk/aws_grafana/__init__.py +4 -4
- aws_cdk/aws_groundstation/__init__.py +55 -35
- aws_cdk/aws_guardduty/__init__.py +826 -0
- aws_cdk/aws_iam/__init__.py +13 -8
- aws_cdk/aws_iot/__init__.py +3 -3
- aws_cdk/aws_lambda/__init__.py +7 -5
- aws_cdk/aws_lightsail/__init__.py +1 -1
- aws_cdk/aws_location/__init__.py +10 -11
- aws_cdk/aws_mediapackagev2/__init__.py +38 -20
- aws_cdk/aws_mediatailor/__init__.py +2 -2
- aws_cdk/aws_msk/__init__.py +4 -4
- aws_cdk/aws_mwaa/__init__.py +16 -8
- aws_cdk/aws_nimblestudio/__init__.py +9 -9
- aws_cdk/aws_opensearchservice/__init__.py +11 -4
- aws_cdk/aws_opsworks/__init__.py +3 -3
- aws_cdk/aws_osis/__init__.py +33 -4
- aws_cdk/aws_pipes/__init__.py +691 -0
- aws_cdk/aws_quicksight/__init__.py +23 -21
- aws_cdk/aws_rds/__init__.py +55 -11
- aws_cdk/aws_refactorspaces/__init__.py +3 -3
- aws_cdk/aws_rolesanywhere/__init__.py +206 -3
- aws_cdk/aws_sagemaker/__init__.py +5 -2
- aws_cdk/aws_securityhub/__init__.py +163 -78
- aws_cdk/aws_securitylake/__init__.py +7 -5
- aws_cdk/aws_ses/__init__.py +117 -0
- aws_cdk/aws_simspaceweaver/__init__.py +2 -2
- aws_cdk/aws_sns/__init__.py +67 -13
- aws_cdk/aws_sqs/__init__.py +3 -3
- aws_cdk/aws_stepfunctions/__init__.py +51 -28
- aws_cdk/aws_stepfunctions_tasks/__init__.py +59 -5
- aws_cdk/aws_transfer/__init__.py +8 -2
- aws_cdk/aws_wafv2/__init__.py +10 -10
- aws_cdk/aws_workspacesweb/__init__.py +8 -8
- aws_cdk/region_info/__init__.py +6 -0
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/NOTICE +0 -35
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/RECORD +71 -70
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_pipes/__init__.py
CHANGED
|
@@ -367,6 +367,33 @@ class CfnPipe(
|
|
|
367
367
|
),
|
|
368
368
|
step_function_state_machine_parameters=pipes.CfnPipe.PipeTargetStateMachineParametersProperty(
|
|
369
369
|
invocation_type="invocationType"
|
|
370
|
+
),
|
|
371
|
+
timestream_parameters=pipes.CfnPipe.PipeTargetTimestreamParametersProperty(
|
|
372
|
+
dimension_mappings=[pipes.CfnPipe.DimensionMappingProperty(
|
|
373
|
+
dimension_name="dimensionName",
|
|
374
|
+
dimension_value="dimensionValue",
|
|
375
|
+
dimension_value_type="dimensionValueType"
|
|
376
|
+
)],
|
|
377
|
+
time_value="timeValue",
|
|
378
|
+
version_value="versionValue",
|
|
379
|
+
|
|
380
|
+
# the properties below are optional
|
|
381
|
+
epoch_time_unit="epochTimeUnit",
|
|
382
|
+
multi_measure_mappings=[pipes.CfnPipe.MultiMeasureMappingProperty(
|
|
383
|
+
multi_measure_attribute_mappings=[pipes.CfnPipe.MultiMeasureAttributeMappingProperty(
|
|
384
|
+
measure_value="measureValue",
|
|
385
|
+
measure_value_type="measureValueType",
|
|
386
|
+
multi_measure_attribute_name="multiMeasureAttributeName"
|
|
387
|
+
)],
|
|
388
|
+
multi_measure_name="multiMeasureName"
|
|
389
|
+
)],
|
|
390
|
+
single_measure_mappings=[pipes.CfnPipe.SingleMeasureMappingProperty(
|
|
391
|
+
measure_name="measureName",
|
|
392
|
+
measure_value="measureValue",
|
|
393
|
+
measure_value_type="measureValueType"
|
|
394
|
+
)],
|
|
395
|
+
time_field_type="timeFieldType",
|
|
396
|
+
timestamp_format="timestampFormat"
|
|
370
397
|
)
|
|
371
398
|
)
|
|
372
399
|
)
|
|
@@ -1512,6 +1539,100 @@ class CfnPipe(
|
|
|
1512
1539
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
1513
1540
|
)
|
|
1514
1541
|
|
|
1542
|
+
@jsii.data_type(
|
|
1543
|
+
jsii_type="aws-cdk-lib.aws_pipes.CfnPipe.DimensionMappingProperty",
|
|
1544
|
+
jsii_struct_bases=[],
|
|
1545
|
+
name_mapping={
|
|
1546
|
+
"dimension_name": "dimensionName",
|
|
1547
|
+
"dimension_value": "dimensionValue",
|
|
1548
|
+
"dimension_value_type": "dimensionValueType",
|
|
1549
|
+
},
|
|
1550
|
+
)
|
|
1551
|
+
class DimensionMappingProperty:
|
|
1552
|
+
def __init__(
|
|
1553
|
+
self,
|
|
1554
|
+
*,
|
|
1555
|
+
dimension_name: builtins.str,
|
|
1556
|
+
dimension_value: builtins.str,
|
|
1557
|
+
dimension_value_type: builtins.str,
|
|
1558
|
+
) -> None:
|
|
1559
|
+
'''Maps source data to a dimension in the target Timestream for LiveAnalytics table.
|
|
1560
|
+
|
|
1561
|
+
For more information, see `Amazon Timestream for LiveAnalytics concepts <https://docs.aws.amazon.com/timestream/latest/developerguide/concepts.html>`_
|
|
1562
|
+
|
|
1563
|
+
:param dimension_name: The metadata attributes of the time series. For example, the name and Availability Zone of an Amazon EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
|
|
1564
|
+
:param dimension_value: Dynamic path to the dimension value in the source event.
|
|
1565
|
+
:param dimension_value_type: The data type of the dimension for the time-series data.
|
|
1566
|
+
|
|
1567
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-dimensionmapping.html
|
|
1568
|
+
:exampleMetadata: fixture=_generated
|
|
1569
|
+
|
|
1570
|
+
Example::
|
|
1571
|
+
|
|
1572
|
+
# The code below shows an example of how to instantiate this type.
|
|
1573
|
+
# The values are placeholders you should change.
|
|
1574
|
+
from aws_cdk import aws_pipes as pipes
|
|
1575
|
+
|
|
1576
|
+
dimension_mapping_property = pipes.CfnPipe.DimensionMappingProperty(
|
|
1577
|
+
dimension_name="dimensionName",
|
|
1578
|
+
dimension_value="dimensionValue",
|
|
1579
|
+
dimension_value_type="dimensionValueType"
|
|
1580
|
+
)
|
|
1581
|
+
'''
|
|
1582
|
+
if __debug__:
|
|
1583
|
+
type_hints = typing.get_type_hints(_typecheckingstub__90445059775fe670e3c9c4a62b04819c3b1b38303ab6fd3fa549dd8bfd50f665)
|
|
1584
|
+
check_type(argname="argument dimension_name", value=dimension_name, expected_type=type_hints["dimension_name"])
|
|
1585
|
+
check_type(argname="argument dimension_value", value=dimension_value, expected_type=type_hints["dimension_value"])
|
|
1586
|
+
check_type(argname="argument dimension_value_type", value=dimension_value_type, expected_type=type_hints["dimension_value_type"])
|
|
1587
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1588
|
+
"dimension_name": dimension_name,
|
|
1589
|
+
"dimension_value": dimension_value,
|
|
1590
|
+
"dimension_value_type": dimension_value_type,
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
@builtins.property
|
|
1594
|
+
def dimension_name(self) -> builtins.str:
|
|
1595
|
+
'''The metadata attributes of the time series.
|
|
1596
|
+
|
|
1597
|
+
For example, the name and Availability Zone of an Amazon EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
|
|
1598
|
+
|
|
1599
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-dimensionmapping.html#cfn-pipes-pipe-dimensionmapping-dimensionname
|
|
1600
|
+
'''
|
|
1601
|
+
result = self._values.get("dimension_name")
|
|
1602
|
+
assert result is not None, "Required property 'dimension_name' is missing"
|
|
1603
|
+
return typing.cast(builtins.str, result)
|
|
1604
|
+
|
|
1605
|
+
@builtins.property
|
|
1606
|
+
def dimension_value(self) -> builtins.str:
|
|
1607
|
+
'''Dynamic path to the dimension value in the source event.
|
|
1608
|
+
|
|
1609
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-dimensionmapping.html#cfn-pipes-pipe-dimensionmapping-dimensionvalue
|
|
1610
|
+
'''
|
|
1611
|
+
result = self._values.get("dimension_value")
|
|
1612
|
+
assert result is not None, "Required property 'dimension_value' is missing"
|
|
1613
|
+
return typing.cast(builtins.str, result)
|
|
1614
|
+
|
|
1615
|
+
@builtins.property
|
|
1616
|
+
def dimension_value_type(self) -> builtins.str:
|
|
1617
|
+
'''The data type of the dimension for the time-series data.
|
|
1618
|
+
|
|
1619
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-dimensionmapping.html#cfn-pipes-pipe-dimensionmapping-dimensionvaluetype
|
|
1620
|
+
'''
|
|
1621
|
+
result = self._values.get("dimension_value_type")
|
|
1622
|
+
assert result is not None, "Required property 'dimension_value_type' is missing"
|
|
1623
|
+
return typing.cast(builtins.str, result)
|
|
1624
|
+
|
|
1625
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1626
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1627
|
+
|
|
1628
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1629
|
+
return not (rhs == self)
|
|
1630
|
+
|
|
1631
|
+
def __repr__(self) -> str:
|
|
1632
|
+
return "DimensionMappingProperty(%s)" % ", ".join(
|
|
1633
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1634
|
+
)
|
|
1635
|
+
|
|
1515
1636
|
@jsii.data_type(
|
|
1516
1637
|
jsii_type="aws-cdk-lib.aws_pipes.CfnPipe.EcsContainerOverrideProperty",
|
|
1517
1638
|
jsii_struct_bases=[],
|
|
@@ -2563,6 +2684,178 @@ class CfnPipe(
|
|
|
2563
2684
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2564
2685
|
)
|
|
2565
2686
|
|
|
2687
|
+
@jsii.data_type(
|
|
2688
|
+
jsii_type="aws-cdk-lib.aws_pipes.CfnPipe.MultiMeasureAttributeMappingProperty",
|
|
2689
|
+
jsii_struct_bases=[],
|
|
2690
|
+
name_mapping={
|
|
2691
|
+
"measure_value": "measureValue",
|
|
2692
|
+
"measure_value_type": "measureValueType",
|
|
2693
|
+
"multi_measure_attribute_name": "multiMeasureAttributeName",
|
|
2694
|
+
},
|
|
2695
|
+
)
|
|
2696
|
+
class MultiMeasureAttributeMappingProperty:
|
|
2697
|
+
def __init__(
|
|
2698
|
+
self,
|
|
2699
|
+
*,
|
|
2700
|
+
measure_value: builtins.str,
|
|
2701
|
+
measure_value_type: builtins.str,
|
|
2702
|
+
multi_measure_attribute_name: builtins.str,
|
|
2703
|
+
) -> None:
|
|
2704
|
+
'''A mapping of a source event data field to a measure in a Timestream for LiveAnalytics record.
|
|
2705
|
+
|
|
2706
|
+
:param measure_value: Dynamic path to the measurement attribute in the source event.
|
|
2707
|
+
:param measure_value_type: Data type of the measurement attribute in the source event.
|
|
2708
|
+
:param multi_measure_attribute_name: Target measure name to be used.
|
|
2709
|
+
|
|
2710
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-multimeasureattributemapping.html
|
|
2711
|
+
:exampleMetadata: fixture=_generated
|
|
2712
|
+
|
|
2713
|
+
Example::
|
|
2714
|
+
|
|
2715
|
+
# The code below shows an example of how to instantiate this type.
|
|
2716
|
+
# The values are placeholders you should change.
|
|
2717
|
+
from aws_cdk import aws_pipes as pipes
|
|
2718
|
+
|
|
2719
|
+
multi_measure_attribute_mapping_property = pipes.CfnPipe.MultiMeasureAttributeMappingProperty(
|
|
2720
|
+
measure_value="measureValue",
|
|
2721
|
+
measure_value_type="measureValueType",
|
|
2722
|
+
multi_measure_attribute_name="multiMeasureAttributeName"
|
|
2723
|
+
)
|
|
2724
|
+
'''
|
|
2725
|
+
if __debug__:
|
|
2726
|
+
type_hints = typing.get_type_hints(_typecheckingstub__212f99ab798061b4358af8078ee7d62d5efcb557ac65d28bae84405218a7bdb0)
|
|
2727
|
+
check_type(argname="argument measure_value", value=measure_value, expected_type=type_hints["measure_value"])
|
|
2728
|
+
check_type(argname="argument measure_value_type", value=measure_value_type, expected_type=type_hints["measure_value_type"])
|
|
2729
|
+
check_type(argname="argument multi_measure_attribute_name", value=multi_measure_attribute_name, expected_type=type_hints["multi_measure_attribute_name"])
|
|
2730
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2731
|
+
"measure_value": measure_value,
|
|
2732
|
+
"measure_value_type": measure_value_type,
|
|
2733
|
+
"multi_measure_attribute_name": multi_measure_attribute_name,
|
|
2734
|
+
}
|
|
2735
|
+
|
|
2736
|
+
@builtins.property
|
|
2737
|
+
def measure_value(self) -> builtins.str:
|
|
2738
|
+
'''Dynamic path to the measurement attribute in the source event.
|
|
2739
|
+
|
|
2740
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-multimeasureattributemapping.html#cfn-pipes-pipe-multimeasureattributemapping-measurevalue
|
|
2741
|
+
'''
|
|
2742
|
+
result = self._values.get("measure_value")
|
|
2743
|
+
assert result is not None, "Required property 'measure_value' is missing"
|
|
2744
|
+
return typing.cast(builtins.str, result)
|
|
2745
|
+
|
|
2746
|
+
@builtins.property
|
|
2747
|
+
def measure_value_type(self) -> builtins.str:
|
|
2748
|
+
'''Data type of the measurement attribute in the source event.
|
|
2749
|
+
|
|
2750
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-multimeasureattributemapping.html#cfn-pipes-pipe-multimeasureattributemapping-measurevaluetype
|
|
2751
|
+
'''
|
|
2752
|
+
result = self._values.get("measure_value_type")
|
|
2753
|
+
assert result is not None, "Required property 'measure_value_type' is missing"
|
|
2754
|
+
return typing.cast(builtins.str, result)
|
|
2755
|
+
|
|
2756
|
+
@builtins.property
|
|
2757
|
+
def multi_measure_attribute_name(self) -> builtins.str:
|
|
2758
|
+
'''Target measure name to be used.
|
|
2759
|
+
|
|
2760
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-multimeasureattributemapping.html#cfn-pipes-pipe-multimeasureattributemapping-multimeasureattributename
|
|
2761
|
+
'''
|
|
2762
|
+
result = self._values.get("multi_measure_attribute_name")
|
|
2763
|
+
assert result is not None, "Required property 'multi_measure_attribute_name' is missing"
|
|
2764
|
+
return typing.cast(builtins.str, result)
|
|
2765
|
+
|
|
2766
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2767
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2768
|
+
|
|
2769
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2770
|
+
return not (rhs == self)
|
|
2771
|
+
|
|
2772
|
+
def __repr__(self) -> str:
|
|
2773
|
+
return "MultiMeasureAttributeMappingProperty(%s)" % ", ".join(
|
|
2774
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2775
|
+
)
|
|
2776
|
+
|
|
2777
|
+
@jsii.data_type(
|
|
2778
|
+
jsii_type="aws-cdk-lib.aws_pipes.CfnPipe.MultiMeasureMappingProperty",
|
|
2779
|
+
jsii_struct_bases=[],
|
|
2780
|
+
name_mapping={
|
|
2781
|
+
"multi_measure_attribute_mappings": "multiMeasureAttributeMappings",
|
|
2782
|
+
"multi_measure_name": "multiMeasureName",
|
|
2783
|
+
},
|
|
2784
|
+
)
|
|
2785
|
+
class MultiMeasureMappingProperty:
|
|
2786
|
+
def __init__(
|
|
2787
|
+
self,
|
|
2788
|
+
*,
|
|
2789
|
+
multi_measure_attribute_mappings: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipe.MultiMeasureAttributeMappingProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
2790
|
+
multi_measure_name: builtins.str,
|
|
2791
|
+
) -> None:
|
|
2792
|
+
'''Maps multiple measures from the source event to the same Timestream for LiveAnalytics record.
|
|
2793
|
+
|
|
2794
|
+
For more information, see `Amazon Timestream for LiveAnalytics concepts <https://docs.aws.amazon.com/timestream/latest/developerguide/concepts.html>`_
|
|
2795
|
+
|
|
2796
|
+
:param multi_measure_attribute_mappings: Mappings that represent multiple source event fields mapped to measures in the same Timestream for LiveAnalytics record.
|
|
2797
|
+
:param multi_measure_name: The name of the multiple measurements per record (multi-measure).
|
|
2798
|
+
|
|
2799
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-multimeasuremapping.html
|
|
2800
|
+
:exampleMetadata: fixture=_generated
|
|
2801
|
+
|
|
2802
|
+
Example::
|
|
2803
|
+
|
|
2804
|
+
# The code below shows an example of how to instantiate this type.
|
|
2805
|
+
# The values are placeholders you should change.
|
|
2806
|
+
from aws_cdk import aws_pipes as pipes
|
|
2807
|
+
|
|
2808
|
+
multi_measure_mapping_property = pipes.CfnPipe.MultiMeasureMappingProperty(
|
|
2809
|
+
multi_measure_attribute_mappings=[pipes.CfnPipe.MultiMeasureAttributeMappingProperty(
|
|
2810
|
+
measure_value="measureValue",
|
|
2811
|
+
measure_value_type="measureValueType",
|
|
2812
|
+
multi_measure_attribute_name="multiMeasureAttributeName"
|
|
2813
|
+
)],
|
|
2814
|
+
multi_measure_name="multiMeasureName"
|
|
2815
|
+
)
|
|
2816
|
+
'''
|
|
2817
|
+
if __debug__:
|
|
2818
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b2807dcf94bfcf7b833ff6fa9c78c231e51d400fb78dd507b6fd4742dd6ee65c)
|
|
2819
|
+
check_type(argname="argument multi_measure_attribute_mappings", value=multi_measure_attribute_mappings, expected_type=type_hints["multi_measure_attribute_mappings"])
|
|
2820
|
+
check_type(argname="argument multi_measure_name", value=multi_measure_name, expected_type=type_hints["multi_measure_name"])
|
|
2821
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2822
|
+
"multi_measure_attribute_mappings": multi_measure_attribute_mappings,
|
|
2823
|
+
"multi_measure_name": multi_measure_name,
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
@builtins.property
|
|
2827
|
+
def multi_measure_attribute_mappings(
|
|
2828
|
+
self,
|
|
2829
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipe.MultiMeasureAttributeMappingProperty"]]]:
|
|
2830
|
+
'''Mappings that represent multiple source event fields mapped to measures in the same Timestream for LiveAnalytics record.
|
|
2831
|
+
|
|
2832
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-multimeasuremapping.html#cfn-pipes-pipe-multimeasuremapping-multimeasureattributemappings
|
|
2833
|
+
'''
|
|
2834
|
+
result = self._values.get("multi_measure_attribute_mappings")
|
|
2835
|
+
assert result is not None, "Required property 'multi_measure_attribute_mappings' is missing"
|
|
2836
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipe.MultiMeasureAttributeMappingProperty"]]], result)
|
|
2837
|
+
|
|
2838
|
+
@builtins.property
|
|
2839
|
+
def multi_measure_name(self) -> builtins.str:
|
|
2840
|
+
'''The name of the multiple measurements per record (multi-measure).
|
|
2841
|
+
|
|
2842
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-multimeasuremapping.html#cfn-pipes-pipe-multimeasuremapping-multimeasurename
|
|
2843
|
+
'''
|
|
2844
|
+
result = self._values.get("multi_measure_name")
|
|
2845
|
+
assert result is not None, "Required property 'multi_measure_name' is missing"
|
|
2846
|
+
return typing.cast(builtins.str, result)
|
|
2847
|
+
|
|
2848
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2849
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2850
|
+
|
|
2851
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2852
|
+
return not (rhs == self)
|
|
2853
|
+
|
|
2854
|
+
def __repr__(self) -> str:
|
|
2855
|
+
return "MultiMeasureMappingProperty(%s)" % ", ".join(
|
|
2856
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2857
|
+
)
|
|
2858
|
+
|
|
2566
2859
|
@jsii.data_type(
|
|
2567
2860
|
jsii_type="aws-cdk-lib.aws_pipes.CfnPipe.NetworkConfigurationProperty",
|
|
2568
2861
|
jsii_struct_bases=[],
|
|
@@ -5288,6 +5581,7 @@ class CfnPipe(
|
|
|
5288
5581
|
"sage_maker_pipeline_parameters": "sageMakerPipelineParameters",
|
|
5289
5582
|
"sqs_queue_parameters": "sqsQueueParameters",
|
|
5290
5583
|
"step_function_state_machine_parameters": "stepFunctionStateMachineParameters",
|
|
5584
|
+
"timestream_parameters": "timestreamParameters",
|
|
5291
5585
|
},
|
|
5292
5586
|
)
|
|
5293
5587
|
class PipeTargetParametersProperty:
|
|
@@ -5306,6 +5600,7 @@ class CfnPipe(
|
|
|
5306
5600
|
sage_maker_pipeline_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipe.PipeTargetSageMakerPipelineParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5307
5601
|
sqs_queue_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipe.PipeTargetSqsQueueParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5308
5602
|
step_function_state_machine_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipe.PipeTargetStateMachineParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5603
|
+
timestream_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipe.PipeTargetTimestreamParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5309
5604
|
) -> None:
|
|
5310
5605
|
'''The parameters required to set up a target for your pipe.
|
|
5311
5606
|
|
|
@@ -5323,6 +5618,7 @@ class CfnPipe(
|
|
|
5323
5618
|
:param sage_maker_pipeline_parameters: The parameters for using a SageMaker pipeline as a target.
|
|
5324
5619
|
:param sqs_queue_parameters: The parameters for using a Amazon SQS stream as a target.
|
|
5325
5620
|
:param step_function_state_machine_parameters: The parameters for using a Step Functions state machine as a target.
|
|
5621
|
+
:param timestream_parameters: The parameters for using a Timestream for LiveAnalytics table as a target.
|
|
5326
5622
|
|
|
5327
5623
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetparameters.html
|
|
5328
5624
|
:exampleMetadata: infused
|
|
@@ -5357,6 +5653,7 @@ class CfnPipe(
|
|
|
5357
5653
|
check_type(argname="argument sage_maker_pipeline_parameters", value=sage_maker_pipeline_parameters, expected_type=type_hints["sage_maker_pipeline_parameters"])
|
|
5358
5654
|
check_type(argname="argument sqs_queue_parameters", value=sqs_queue_parameters, expected_type=type_hints["sqs_queue_parameters"])
|
|
5359
5655
|
check_type(argname="argument step_function_state_machine_parameters", value=step_function_state_machine_parameters, expected_type=type_hints["step_function_state_machine_parameters"])
|
|
5656
|
+
check_type(argname="argument timestream_parameters", value=timestream_parameters, expected_type=type_hints["timestream_parameters"])
|
|
5360
5657
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5361
5658
|
if batch_job_parameters is not None:
|
|
5362
5659
|
self._values["batch_job_parameters"] = batch_job_parameters
|
|
@@ -5382,6 +5679,8 @@ class CfnPipe(
|
|
|
5382
5679
|
self._values["sqs_queue_parameters"] = sqs_queue_parameters
|
|
5383
5680
|
if step_function_state_machine_parameters is not None:
|
|
5384
5681
|
self._values["step_function_state_machine_parameters"] = step_function_state_machine_parameters
|
|
5682
|
+
if timestream_parameters is not None:
|
|
5683
|
+
self._values["timestream_parameters"] = timestream_parameters
|
|
5385
5684
|
|
|
5386
5685
|
@builtins.property
|
|
5387
5686
|
def batch_job_parameters(
|
|
@@ -5517,6 +5816,17 @@ class CfnPipe(
|
|
|
5517
5816
|
result = self._values.get("step_function_state_machine_parameters")
|
|
5518
5817
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipe.PipeTargetStateMachineParametersProperty"]], result)
|
|
5519
5818
|
|
|
5819
|
+
@builtins.property
|
|
5820
|
+
def timestream_parameters(
|
|
5821
|
+
self,
|
|
5822
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipe.PipeTargetTimestreamParametersProperty"]]:
|
|
5823
|
+
'''The parameters for using a Timestream for LiveAnalytics table as a target.
|
|
5824
|
+
|
|
5825
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetparameters.html#cfn-pipes-pipe-pipetargetparameters-timestreamparameters
|
|
5826
|
+
'''
|
|
5827
|
+
result = self._values.get("timestream_parameters")
|
|
5828
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipe.PipeTargetTimestreamParametersProperty"]], result)
|
|
5829
|
+
|
|
5520
5830
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5521
5831
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5522
5832
|
|
|
@@ -5880,6 +6190,218 @@ class CfnPipe(
|
|
|
5880
6190
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
5881
6191
|
)
|
|
5882
6192
|
|
|
6193
|
+
@jsii.data_type(
|
|
6194
|
+
jsii_type="aws-cdk-lib.aws_pipes.CfnPipe.PipeTargetTimestreamParametersProperty",
|
|
6195
|
+
jsii_struct_bases=[],
|
|
6196
|
+
name_mapping={
|
|
6197
|
+
"dimension_mappings": "dimensionMappings",
|
|
6198
|
+
"time_value": "timeValue",
|
|
6199
|
+
"version_value": "versionValue",
|
|
6200
|
+
"epoch_time_unit": "epochTimeUnit",
|
|
6201
|
+
"multi_measure_mappings": "multiMeasureMappings",
|
|
6202
|
+
"single_measure_mappings": "singleMeasureMappings",
|
|
6203
|
+
"time_field_type": "timeFieldType",
|
|
6204
|
+
"timestamp_format": "timestampFormat",
|
|
6205
|
+
},
|
|
6206
|
+
)
|
|
6207
|
+
class PipeTargetTimestreamParametersProperty:
|
|
6208
|
+
def __init__(
|
|
6209
|
+
self,
|
|
6210
|
+
*,
|
|
6211
|
+
dimension_mappings: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipe.DimensionMappingProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
6212
|
+
time_value: builtins.str,
|
|
6213
|
+
version_value: builtins.str,
|
|
6214
|
+
epoch_time_unit: typing.Optional[builtins.str] = None,
|
|
6215
|
+
multi_measure_mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipe.MultiMeasureMappingProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6216
|
+
single_measure_mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipe.SingleMeasureMappingProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6217
|
+
time_field_type: typing.Optional[builtins.str] = None,
|
|
6218
|
+
timestamp_format: typing.Optional[builtins.str] = None,
|
|
6219
|
+
) -> None:
|
|
6220
|
+
'''The parameters for using a Timestream for LiveAnalytics table as a target.
|
|
6221
|
+
|
|
6222
|
+
:param dimension_mappings: Map source data to dimensions in the target Timestream for LiveAnalytics table. For more information, see `Amazon Timestream for LiveAnalytics concepts <https://docs.aws.amazon.com/timestream/latest/developerguide/concepts.html>`_
|
|
6223
|
+
:param time_value: Dynamic path to the source data field that represents the time value for your data.
|
|
6224
|
+
:param version_value: 64 bit version value or source data field that represents the version value for your data. Write requests with a higher version number will update the existing measure values of the record and version. In cases where the measure value is the same, the version will still be updated. Default value is 1. Timestream for LiveAnalytics does not support updating partial measure values in a record. Write requests for duplicate data with a higher version number will update the existing measure value and version. In cases where the measure value is the same, ``Version`` will still be updated. Default value is ``1`` . .. epigraph:: ``Version`` must be ``1`` or greater, or you will receive a ``ValidationException`` error.
|
|
6225
|
+
:param epoch_time_unit: The granularity of the time units used. Default is ``MILLISECONDS`` . Required if ``TimeFieldType`` is specified as ``EPOCH`` .
|
|
6226
|
+
:param multi_measure_mappings: Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.
|
|
6227
|
+
:param single_measure_mappings: Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
|
|
6228
|
+
:param time_field_type: The type of time value used. The default is ``EPOCH`` .
|
|
6229
|
+
:param timestamp_format: How to format the timestamps. For example, ``YYYY-MM-DDThh:mm:ss.sssTZD`` . Required if ``TimeFieldType`` is specified as ``TIMESTAMP_FORMAT`` .
|
|
6230
|
+
|
|
6231
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargettimestreamparameters.html
|
|
6232
|
+
:exampleMetadata: fixture=_generated
|
|
6233
|
+
|
|
6234
|
+
Example::
|
|
6235
|
+
|
|
6236
|
+
# The code below shows an example of how to instantiate this type.
|
|
6237
|
+
# The values are placeholders you should change.
|
|
6238
|
+
from aws_cdk import aws_pipes as pipes
|
|
6239
|
+
|
|
6240
|
+
pipe_target_timestream_parameters_property = pipes.CfnPipe.PipeTargetTimestreamParametersProperty(
|
|
6241
|
+
dimension_mappings=[pipes.CfnPipe.DimensionMappingProperty(
|
|
6242
|
+
dimension_name="dimensionName",
|
|
6243
|
+
dimension_value="dimensionValue",
|
|
6244
|
+
dimension_value_type="dimensionValueType"
|
|
6245
|
+
)],
|
|
6246
|
+
time_value="timeValue",
|
|
6247
|
+
version_value="versionValue",
|
|
6248
|
+
|
|
6249
|
+
# the properties below are optional
|
|
6250
|
+
epoch_time_unit="epochTimeUnit",
|
|
6251
|
+
multi_measure_mappings=[pipes.CfnPipe.MultiMeasureMappingProperty(
|
|
6252
|
+
multi_measure_attribute_mappings=[pipes.CfnPipe.MultiMeasureAttributeMappingProperty(
|
|
6253
|
+
measure_value="measureValue",
|
|
6254
|
+
measure_value_type="measureValueType",
|
|
6255
|
+
multi_measure_attribute_name="multiMeasureAttributeName"
|
|
6256
|
+
)],
|
|
6257
|
+
multi_measure_name="multiMeasureName"
|
|
6258
|
+
)],
|
|
6259
|
+
single_measure_mappings=[pipes.CfnPipe.SingleMeasureMappingProperty(
|
|
6260
|
+
measure_name="measureName",
|
|
6261
|
+
measure_value="measureValue",
|
|
6262
|
+
measure_value_type="measureValueType"
|
|
6263
|
+
)],
|
|
6264
|
+
time_field_type="timeFieldType",
|
|
6265
|
+
timestamp_format="timestampFormat"
|
|
6266
|
+
)
|
|
6267
|
+
'''
|
|
6268
|
+
if __debug__:
|
|
6269
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b206852e9e433f381f61fd5ad5dfd0470a8f2f2d91b1c9d47ec9f3911f90b705)
|
|
6270
|
+
check_type(argname="argument dimension_mappings", value=dimension_mappings, expected_type=type_hints["dimension_mappings"])
|
|
6271
|
+
check_type(argname="argument time_value", value=time_value, expected_type=type_hints["time_value"])
|
|
6272
|
+
check_type(argname="argument version_value", value=version_value, expected_type=type_hints["version_value"])
|
|
6273
|
+
check_type(argname="argument epoch_time_unit", value=epoch_time_unit, expected_type=type_hints["epoch_time_unit"])
|
|
6274
|
+
check_type(argname="argument multi_measure_mappings", value=multi_measure_mappings, expected_type=type_hints["multi_measure_mappings"])
|
|
6275
|
+
check_type(argname="argument single_measure_mappings", value=single_measure_mappings, expected_type=type_hints["single_measure_mappings"])
|
|
6276
|
+
check_type(argname="argument time_field_type", value=time_field_type, expected_type=type_hints["time_field_type"])
|
|
6277
|
+
check_type(argname="argument timestamp_format", value=timestamp_format, expected_type=type_hints["timestamp_format"])
|
|
6278
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6279
|
+
"dimension_mappings": dimension_mappings,
|
|
6280
|
+
"time_value": time_value,
|
|
6281
|
+
"version_value": version_value,
|
|
6282
|
+
}
|
|
6283
|
+
if epoch_time_unit is not None:
|
|
6284
|
+
self._values["epoch_time_unit"] = epoch_time_unit
|
|
6285
|
+
if multi_measure_mappings is not None:
|
|
6286
|
+
self._values["multi_measure_mappings"] = multi_measure_mappings
|
|
6287
|
+
if single_measure_mappings is not None:
|
|
6288
|
+
self._values["single_measure_mappings"] = single_measure_mappings
|
|
6289
|
+
if time_field_type is not None:
|
|
6290
|
+
self._values["time_field_type"] = time_field_type
|
|
6291
|
+
if timestamp_format is not None:
|
|
6292
|
+
self._values["timestamp_format"] = timestamp_format
|
|
6293
|
+
|
|
6294
|
+
@builtins.property
|
|
6295
|
+
def dimension_mappings(
|
|
6296
|
+
self,
|
|
6297
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipe.DimensionMappingProperty"]]]:
|
|
6298
|
+
'''Map source data to dimensions in the target Timestream for LiveAnalytics table.
|
|
6299
|
+
|
|
6300
|
+
For more information, see `Amazon Timestream for LiveAnalytics concepts <https://docs.aws.amazon.com/timestream/latest/developerguide/concepts.html>`_
|
|
6301
|
+
|
|
6302
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargettimestreamparameters.html#cfn-pipes-pipe-pipetargettimestreamparameters-dimensionmappings
|
|
6303
|
+
'''
|
|
6304
|
+
result = self._values.get("dimension_mappings")
|
|
6305
|
+
assert result is not None, "Required property 'dimension_mappings' is missing"
|
|
6306
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipe.DimensionMappingProperty"]]], result)
|
|
6307
|
+
|
|
6308
|
+
@builtins.property
|
|
6309
|
+
def time_value(self) -> builtins.str:
|
|
6310
|
+
'''Dynamic path to the source data field that represents the time value for your data.
|
|
6311
|
+
|
|
6312
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargettimestreamparameters.html#cfn-pipes-pipe-pipetargettimestreamparameters-timevalue
|
|
6313
|
+
'''
|
|
6314
|
+
result = self._values.get("time_value")
|
|
6315
|
+
assert result is not None, "Required property 'time_value' is missing"
|
|
6316
|
+
return typing.cast(builtins.str, result)
|
|
6317
|
+
|
|
6318
|
+
@builtins.property
|
|
6319
|
+
def version_value(self) -> builtins.str:
|
|
6320
|
+
'''64 bit version value or source data field that represents the version value for your data.
|
|
6321
|
+
|
|
6322
|
+
Write requests with a higher version number will update the existing measure values of the record and version. In cases where the measure value is the same, the version will still be updated.
|
|
6323
|
+
|
|
6324
|
+
Default value is 1.
|
|
6325
|
+
|
|
6326
|
+
Timestream for LiveAnalytics does not support updating partial measure values in a record.
|
|
6327
|
+
|
|
6328
|
+
Write requests for duplicate data with a higher version number will update the existing measure value and version. In cases where the measure value is the same, ``Version`` will still be updated. Default value is ``1`` .
|
|
6329
|
+
.. epigraph::
|
|
6330
|
+
|
|
6331
|
+
``Version`` must be ``1`` or greater, or you will receive a ``ValidationException`` error.
|
|
6332
|
+
|
|
6333
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargettimestreamparameters.html#cfn-pipes-pipe-pipetargettimestreamparameters-versionvalue
|
|
6334
|
+
'''
|
|
6335
|
+
result = self._values.get("version_value")
|
|
6336
|
+
assert result is not None, "Required property 'version_value' is missing"
|
|
6337
|
+
return typing.cast(builtins.str, result)
|
|
6338
|
+
|
|
6339
|
+
@builtins.property
|
|
6340
|
+
def epoch_time_unit(self) -> typing.Optional[builtins.str]:
|
|
6341
|
+
'''The granularity of the time units used. Default is ``MILLISECONDS`` .
|
|
6342
|
+
|
|
6343
|
+
Required if ``TimeFieldType`` is specified as ``EPOCH`` .
|
|
6344
|
+
|
|
6345
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargettimestreamparameters.html#cfn-pipes-pipe-pipetargettimestreamparameters-epochtimeunit
|
|
6346
|
+
'''
|
|
6347
|
+
result = self._values.get("epoch_time_unit")
|
|
6348
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6349
|
+
|
|
6350
|
+
@builtins.property
|
|
6351
|
+
def multi_measure_mappings(
|
|
6352
|
+
self,
|
|
6353
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipe.MultiMeasureMappingProperty"]]]]:
|
|
6354
|
+
'''Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.
|
|
6355
|
+
|
|
6356
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargettimestreamparameters.html#cfn-pipes-pipe-pipetargettimestreamparameters-multimeasuremappings
|
|
6357
|
+
'''
|
|
6358
|
+
result = self._values.get("multi_measure_mappings")
|
|
6359
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipe.MultiMeasureMappingProperty"]]]], result)
|
|
6360
|
+
|
|
6361
|
+
@builtins.property
|
|
6362
|
+
def single_measure_mappings(
|
|
6363
|
+
self,
|
|
6364
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipe.SingleMeasureMappingProperty"]]]]:
|
|
6365
|
+
'''Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
|
|
6366
|
+
|
|
6367
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargettimestreamparameters.html#cfn-pipes-pipe-pipetargettimestreamparameters-singlemeasuremappings
|
|
6368
|
+
'''
|
|
6369
|
+
result = self._values.get("single_measure_mappings")
|
|
6370
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipe.SingleMeasureMappingProperty"]]]], result)
|
|
6371
|
+
|
|
6372
|
+
@builtins.property
|
|
6373
|
+
def time_field_type(self) -> typing.Optional[builtins.str]:
|
|
6374
|
+
'''The type of time value used.
|
|
6375
|
+
|
|
6376
|
+
The default is ``EPOCH`` .
|
|
6377
|
+
|
|
6378
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargettimestreamparameters.html#cfn-pipes-pipe-pipetargettimestreamparameters-timefieldtype
|
|
6379
|
+
'''
|
|
6380
|
+
result = self._values.get("time_field_type")
|
|
6381
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6382
|
+
|
|
6383
|
+
@builtins.property
|
|
6384
|
+
def timestamp_format(self) -> typing.Optional[builtins.str]:
|
|
6385
|
+
'''How to format the timestamps. For example, ``YYYY-MM-DDThh:mm:ss.sssTZD`` .
|
|
6386
|
+
|
|
6387
|
+
Required if ``TimeFieldType`` is specified as ``TIMESTAMP_FORMAT`` .
|
|
6388
|
+
|
|
6389
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargettimestreamparameters.html#cfn-pipes-pipe-pipetargettimestreamparameters-timestampformat
|
|
6390
|
+
'''
|
|
6391
|
+
result = self._values.get("timestamp_format")
|
|
6392
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6393
|
+
|
|
6394
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6395
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6396
|
+
|
|
6397
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6398
|
+
return not (rhs == self)
|
|
6399
|
+
|
|
6400
|
+
def __repr__(self) -> str:
|
|
6401
|
+
return "PipeTargetTimestreamParametersProperty(%s)" % ", ".join(
|
|
6402
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6403
|
+
)
|
|
6404
|
+
|
|
5883
6405
|
@jsii.data_type(
|
|
5884
6406
|
jsii_type="aws-cdk-lib.aws_pipes.CfnPipe.PlacementConstraintProperty",
|
|
5885
6407
|
jsii_struct_bases=[],
|
|
@@ -6388,6 +6910,98 @@ class CfnPipe(
|
|
|
6388
6910
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
6389
6911
|
)
|
|
6390
6912
|
|
|
6913
|
+
@jsii.data_type(
|
|
6914
|
+
jsii_type="aws-cdk-lib.aws_pipes.CfnPipe.SingleMeasureMappingProperty",
|
|
6915
|
+
jsii_struct_bases=[],
|
|
6916
|
+
name_mapping={
|
|
6917
|
+
"measure_name": "measureName",
|
|
6918
|
+
"measure_value": "measureValue",
|
|
6919
|
+
"measure_value_type": "measureValueType",
|
|
6920
|
+
},
|
|
6921
|
+
)
|
|
6922
|
+
class SingleMeasureMappingProperty:
|
|
6923
|
+
def __init__(
|
|
6924
|
+
self,
|
|
6925
|
+
*,
|
|
6926
|
+
measure_name: builtins.str,
|
|
6927
|
+
measure_value: builtins.str,
|
|
6928
|
+
measure_value_type: builtins.str,
|
|
6929
|
+
) -> None:
|
|
6930
|
+
'''Maps a single source data field to a single record in the specified Timestream for LiveAnalytics table.
|
|
6931
|
+
|
|
6932
|
+
For more information, see `Amazon Timestream for LiveAnalytics concepts <https://docs.aws.amazon.com/timestream/latest/developerguide/concepts.html>`_
|
|
6933
|
+
|
|
6934
|
+
:param measure_name: Target measure name for the measurement attribute in the Timestream table.
|
|
6935
|
+
:param measure_value: Dynamic path of the source field to map to the measure in the record.
|
|
6936
|
+
:param measure_value_type: Data type of the source field.
|
|
6937
|
+
|
|
6938
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-singlemeasuremapping.html
|
|
6939
|
+
:exampleMetadata: fixture=_generated
|
|
6940
|
+
|
|
6941
|
+
Example::
|
|
6942
|
+
|
|
6943
|
+
# The code below shows an example of how to instantiate this type.
|
|
6944
|
+
# The values are placeholders you should change.
|
|
6945
|
+
from aws_cdk import aws_pipes as pipes
|
|
6946
|
+
|
|
6947
|
+
single_measure_mapping_property = pipes.CfnPipe.SingleMeasureMappingProperty(
|
|
6948
|
+
measure_name="measureName",
|
|
6949
|
+
measure_value="measureValue",
|
|
6950
|
+
measure_value_type="measureValueType"
|
|
6951
|
+
)
|
|
6952
|
+
'''
|
|
6953
|
+
if __debug__:
|
|
6954
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6f2cbc8cdc4847f4898a4137ea8b22908f1ad5c472f632396cf65a72af05bda9)
|
|
6955
|
+
check_type(argname="argument measure_name", value=measure_name, expected_type=type_hints["measure_name"])
|
|
6956
|
+
check_type(argname="argument measure_value", value=measure_value, expected_type=type_hints["measure_value"])
|
|
6957
|
+
check_type(argname="argument measure_value_type", value=measure_value_type, expected_type=type_hints["measure_value_type"])
|
|
6958
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6959
|
+
"measure_name": measure_name,
|
|
6960
|
+
"measure_value": measure_value,
|
|
6961
|
+
"measure_value_type": measure_value_type,
|
|
6962
|
+
}
|
|
6963
|
+
|
|
6964
|
+
@builtins.property
|
|
6965
|
+
def measure_name(self) -> builtins.str:
|
|
6966
|
+
'''Target measure name for the measurement attribute in the Timestream table.
|
|
6967
|
+
|
|
6968
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-singlemeasuremapping.html#cfn-pipes-pipe-singlemeasuremapping-measurename
|
|
6969
|
+
'''
|
|
6970
|
+
result = self._values.get("measure_name")
|
|
6971
|
+
assert result is not None, "Required property 'measure_name' is missing"
|
|
6972
|
+
return typing.cast(builtins.str, result)
|
|
6973
|
+
|
|
6974
|
+
@builtins.property
|
|
6975
|
+
def measure_value(self) -> builtins.str:
|
|
6976
|
+
'''Dynamic path of the source field to map to the measure in the record.
|
|
6977
|
+
|
|
6978
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-singlemeasuremapping.html#cfn-pipes-pipe-singlemeasuremapping-measurevalue
|
|
6979
|
+
'''
|
|
6980
|
+
result = self._values.get("measure_value")
|
|
6981
|
+
assert result is not None, "Required property 'measure_value' is missing"
|
|
6982
|
+
return typing.cast(builtins.str, result)
|
|
6983
|
+
|
|
6984
|
+
@builtins.property
|
|
6985
|
+
def measure_value_type(self) -> builtins.str:
|
|
6986
|
+
'''Data type of the source field.
|
|
6987
|
+
|
|
6988
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-singlemeasuremapping.html#cfn-pipes-pipe-singlemeasuremapping-measurevaluetype
|
|
6989
|
+
'''
|
|
6990
|
+
result = self._values.get("measure_value_type")
|
|
6991
|
+
assert result is not None, "Required property 'measure_value_type' is missing"
|
|
6992
|
+
return typing.cast(builtins.str, result)
|
|
6993
|
+
|
|
6994
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6995
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6996
|
+
|
|
6997
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6998
|
+
return not (rhs == self)
|
|
6999
|
+
|
|
7000
|
+
def __repr__(self) -> str:
|
|
7001
|
+
return "SingleMeasureMappingProperty(%s)" % ", ".join(
|
|
7002
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7003
|
+
)
|
|
7004
|
+
|
|
6391
7005
|
|
|
6392
7006
|
@jsii.data_type(
|
|
6393
7007
|
jsii_type="aws-cdk-lib.aws_pipes.CfnPipeProps",
|
|
@@ -6738,6 +7352,33 @@ class CfnPipeProps:
|
|
|
6738
7352
|
),
|
|
6739
7353
|
step_function_state_machine_parameters=pipes.CfnPipe.PipeTargetStateMachineParametersProperty(
|
|
6740
7354
|
invocation_type="invocationType"
|
|
7355
|
+
),
|
|
7356
|
+
timestream_parameters=pipes.CfnPipe.PipeTargetTimestreamParametersProperty(
|
|
7357
|
+
dimension_mappings=[pipes.CfnPipe.DimensionMappingProperty(
|
|
7358
|
+
dimension_name="dimensionName",
|
|
7359
|
+
dimension_value="dimensionValue",
|
|
7360
|
+
dimension_value_type="dimensionValueType"
|
|
7361
|
+
)],
|
|
7362
|
+
time_value="timeValue",
|
|
7363
|
+
version_value="versionValue",
|
|
7364
|
+
|
|
7365
|
+
# the properties below are optional
|
|
7366
|
+
epoch_time_unit="epochTimeUnit",
|
|
7367
|
+
multi_measure_mappings=[pipes.CfnPipe.MultiMeasureMappingProperty(
|
|
7368
|
+
multi_measure_attribute_mappings=[pipes.CfnPipe.MultiMeasureAttributeMappingProperty(
|
|
7369
|
+
measure_value="measureValue",
|
|
7370
|
+
measure_value_type="measureValueType",
|
|
7371
|
+
multi_measure_attribute_name="multiMeasureAttributeName"
|
|
7372
|
+
)],
|
|
7373
|
+
multi_measure_name="multiMeasureName"
|
|
7374
|
+
)],
|
|
7375
|
+
single_measure_mappings=[pipes.CfnPipe.SingleMeasureMappingProperty(
|
|
7376
|
+
measure_name="measureName",
|
|
7377
|
+
measure_value="measureValue",
|
|
7378
|
+
measure_value_type="measureValueType"
|
|
7379
|
+
)],
|
|
7380
|
+
time_field_type="timeFieldType",
|
|
7381
|
+
timestamp_format="timestampFormat"
|
|
6741
7382
|
)
|
|
6742
7383
|
)
|
|
6743
7384
|
)
|
|
@@ -7104,6 +7745,15 @@ def _typecheckingstub__c77be0d58acf260e66916991ed848b46a2c0c50751145a9186710668a
|
|
|
7104
7745
|
"""Type checking stubs"""
|
|
7105
7746
|
pass
|
|
7106
7747
|
|
|
7748
|
+
def _typecheckingstub__90445059775fe670e3c9c4a62b04819c3b1b38303ab6fd3fa549dd8bfd50f665(
|
|
7749
|
+
*,
|
|
7750
|
+
dimension_name: builtins.str,
|
|
7751
|
+
dimension_value: builtins.str,
|
|
7752
|
+
dimension_value_type: builtins.str,
|
|
7753
|
+
) -> None:
|
|
7754
|
+
"""Type checking stubs"""
|
|
7755
|
+
pass
|
|
7756
|
+
|
|
7107
7757
|
def _typecheckingstub__2aa9c9e99af21330a73d690bfbb31c0ded547e5a62886d6682815f5910e00e65(
|
|
7108
7758
|
*,
|
|
7109
7759
|
command: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -7206,6 +7856,23 @@ def _typecheckingstub__46261e68c3c1fb4bc41f7b2debe372659b86c5d9845e6857c0ad7b904
|
|
|
7206
7856
|
"""Type checking stubs"""
|
|
7207
7857
|
pass
|
|
7208
7858
|
|
|
7859
|
+
def _typecheckingstub__212f99ab798061b4358af8078ee7d62d5efcb557ac65d28bae84405218a7bdb0(
|
|
7860
|
+
*,
|
|
7861
|
+
measure_value: builtins.str,
|
|
7862
|
+
measure_value_type: builtins.str,
|
|
7863
|
+
multi_measure_attribute_name: builtins.str,
|
|
7864
|
+
) -> None:
|
|
7865
|
+
"""Type checking stubs"""
|
|
7866
|
+
pass
|
|
7867
|
+
|
|
7868
|
+
def _typecheckingstub__b2807dcf94bfcf7b833ff6fa9c78c231e51d400fb78dd507b6fd4742dd6ee65c(
|
|
7869
|
+
*,
|
|
7870
|
+
multi_measure_attribute_mappings: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipe.MultiMeasureAttributeMappingProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
7871
|
+
multi_measure_name: builtins.str,
|
|
7872
|
+
) -> None:
|
|
7873
|
+
"""Type checking stubs"""
|
|
7874
|
+
pass
|
|
7875
|
+
|
|
7209
7876
|
def _typecheckingstub__d27b7177804b8a4677a880ec362095763e2c62871f3c70d4aadd38189dedd0ac(
|
|
7210
7877
|
*,
|
|
7211
7878
|
awsvpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipe.AwsVpcConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -7430,6 +8097,7 @@ def _typecheckingstub__165d2153d77ee319562b47678485053dec4a8dbcb94c274abe1d78488
|
|
|
7430
8097
|
sage_maker_pipeline_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipe.PipeTargetSageMakerPipelineParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7431
8098
|
sqs_queue_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipe.PipeTargetSqsQueueParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7432
8099
|
step_function_state_machine_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipe.PipeTargetStateMachineParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8100
|
+
timestream_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipe.PipeTargetTimestreamParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7433
8101
|
) -> None:
|
|
7434
8102
|
"""Type checking stubs"""
|
|
7435
8103
|
pass
|
|
@@ -7468,6 +8136,20 @@ def _typecheckingstub__9ec503fded11cbbc4dab0b1613c3577e5cd2103bb82744fbf161f720d
|
|
|
7468
8136
|
"""Type checking stubs"""
|
|
7469
8137
|
pass
|
|
7470
8138
|
|
|
8139
|
+
def _typecheckingstub__b206852e9e433f381f61fd5ad5dfd0470a8f2f2d91b1c9d47ec9f3911f90b705(
|
|
8140
|
+
*,
|
|
8141
|
+
dimension_mappings: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipe.DimensionMappingProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
8142
|
+
time_value: builtins.str,
|
|
8143
|
+
version_value: builtins.str,
|
|
8144
|
+
epoch_time_unit: typing.Optional[builtins.str] = None,
|
|
8145
|
+
multi_measure_mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipe.MultiMeasureMappingProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8146
|
+
single_measure_mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipe.SingleMeasureMappingProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8147
|
+
time_field_type: typing.Optional[builtins.str] = None,
|
|
8148
|
+
timestamp_format: typing.Optional[builtins.str] = None,
|
|
8149
|
+
) -> None:
|
|
8150
|
+
"""Type checking stubs"""
|
|
8151
|
+
pass
|
|
8152
|
+
|
|
7471
8153
|
def _typecheckingstub__29749098783763739ea7f446fdc50033c069cafa812e55482d1793fc10995a4b(
|
|
7472
8154
|
*,
|
|
7473
8155
|
expression: typing.Optional[builtins.str] = None,
|
|
@@ -7520,6 +8202,15 @@ def _typecheckingstub__93a7c0e9afe409ba0c90cb07ebece11a8dbddefa4be80b9479ca7514b
|
|
|
7520
8202
|
"""Type checking stubs"""
|
|
7521
8203
|
pass
|
|
7522
8204
|
|
|
8205
|
+
def _typecheckingstub__6f2cbc8cdc4847f4898a4137ea8b22908f1ad5c472f632396cf65a72af05bda9(
|
|
8206
|
+
*,
|
|
8207
|
+
measure_name: builtins.str,
|
|
8208
|
+
measure_value: builtins.str,
|
|
8209
|
+
measure_value_type: builtins.str,
|
|
8210
|
+
) -> None:
|
|
8211
|
+
"""Type checking stubs"""
|
|
8212
|
+
pass
|
|
8213
|
+
|
|
7523
8214
|
def _typecheckingstub__f6a6720db1bd2e7acc178f6bd481fd8e3e740405a24c01b669c4c4595318b8c0(
|
|
7524
8215
|
*,
|
|
7525
8216
|
role_arn: builtins.str,
|