aws-cdk-lib 2.182.0__py3-none-any.whl → 2.184.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 +459 -33
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.182.0.jsii.tgz → aws-cdk-lib@2.184.0.jsii.tgz} +0 -0
- aws_cdk/aws_batch/__init__.py +15 -9
- aws_cdk/aws_bedrock/__init__.py +5804 -2325
- aws_cdk/aws_ce/__init__.py +141 -3
- aws_cdk/aws_cloudformation/__init__.py +26 -33
- aws_cdk/aws_cloudfront/experimental/__init__.py +2 -2
- aws_cdk/aws_cloudtrail/__init__.py +4 -4
- aws_cdk/aws_codebuild/__init__.py +4 -10
- aws_cdk/aws_cognito/__init__.py +3 -3
- aws_cdk/aws_dms/__init__.py +350 -0
- aws_cdk/aws_ec2/__init__.py +63 -5
- aws_cdk/aws_elasticache/__init__.py +3 -3
- aws_cdk/aws_emr/__init__.py +9 -3
- aws_cdk/aws_events/__init__.py +3 -1
- aws_cdk/aws_events_targets/__init__.py +31 -7
- aws_cdk/aws_gameliftstreams/__init__.py +1205 -0
- aws_cdk/aws_iam/__init__.py +290 -35
- aws_cdk/aws_inspector/__init__.py +13 -10
- aws_cdk/aws_iot/__init__.py +616 -22
- aws_cdk/aws_iotfleetwise/__init__.py +72 -10
- aws_cdk/aws_iotsitewise/__init__.py +12 -8
- aws_cdk/aws_kafkaconnect/__init__.py +4 -2
- aws_cdk/aws_kinesisfirehose/__init__.py +45 -51
- aws_cdk/aws_lambda/__init__.py +27 -18
- aws_cdk/aws_lambda_event_sources/__init__.py +14 -14
- aws_cdk/aws_logs/__init__.py +133 -0
- aws_cdk/aws_medialive/__init__.py +86 -86
- aws_cdk/aws_msk/__init__.py +236 -128
- aws_cdk/aws_neptunegraph/__init__.py +3 -3
- aws_cdk/aws_opensearchserverless/__init__.py +1031 -0
- aws_cdk/aws_quicksight/__init__.py +6511 -20331
- aws_cdk/aws_rds/__init__.py +264 -32
- aws_cdk/aws_redshift/__init__.py +8 -8
- aws_cdk/aws_sagemaker/__init__.py +12 -5
- aws_cdk/aws_securitylake/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +2 -0
- aws_cdk/aws_transfer/__init__.py +241 -40
- aws_cdk/aws_wafv2/__init__.py +118 -30
- aws_cdk/aws_xray/__init__.py +195 -0
- aws_cdk/cloud_assembly_schema/__init__.py +2 -2
- aws_cdk/custom_resources/__init__.py +65 -8
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/METADATA +5 -6
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/RECORD +49 -48
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -41885,7 +41885,7 @@ class CfnSecurityGroup(
|
|
|
41885
41885
|
:param scope: Scope in which this resource is defined.
|
|
41886
41886
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
41887
41887
|
:param group_description: A description for the security group. Constraints: Up to 255 characters in length Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
|
|
41888
|
-
:param group_name: The name of the security group. Constraints: Up to 255 characters in length.
|
|
41888
|
+
:param group_name: The name of the security group. Names are case-insensitive and must be unique within the VPC. Constraints: Up to 255 characters in length. Can't start with ``sg-`` . Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
|
|
41889
41889
|
:param security_group_egress: The outbound rules associated with the security group. There is a short interruption during which you cannot connect to the security group.
|
|
41890
41890
|
:param security_group_ingress: The inbound rules associated with the security group. There is a short interruption during which you cannot connect to the security group.
|
|
41891
41891
|
:param tags: Any tags assigned to the security group.
|
|
@@ -41990,7 +41990,10 @@ class CfnSecurityGroup(
|
|
|
41990
41990
|
@builtins.property
|
|
41991
41991
|
@jsii.member(jsii_name="groupName")
|
|
41992
41992
|
def group_name(self) -> typing.Optional[builtins.str]:
|
|
41993
|
-
'''The name of the security group.
|
|
41993
|
+
'''The name of the security group.
|
|
41994
|
+
|
|
41995
|
+
Names are case-insensitive and must be unique within the VPC.
|
|
41996
|
+
'''
|
|
41994
41997
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "groupName"))
|
|
41995
41998
|
|
|
41996
41999
|
@group_name.setter
|
|
@@ -43567,7 +43570,7 @@ class CfnSecurityGroupProps:
|
|
|
43567
43570
|
'''Properties for defining a ``CfnSecurityGroup``.
|
|
43568
43571
|
|
|
43569
43572
|
:param group_description: A description for the security group. Constraints: Up to 255 characters in length Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
|
|
43570
|
-
:param group_name: The name of the security group. Constraints: Up to 255 characters in length.
|
|
43573
|
+
:param group_name: The name of the security group. Names are case-insensitive and must be unique within the VPC. Constraints: Up to 255 characters in length. Can't start with ``sg-`` . Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
|
|
43571
43574
|
:param security_group_egress: The outbound rules associated with the security group. There is a short interruption during which you cannot connect to the security group.
|
|
43572
43575
|
:param security_group_ingress: The inbound rules associated with the security group. There is a short interruption during which you cannot connect to the security group.
|
|
43573
43576
|
:param tags: Any tags assigned to the security group.
|
|
@@ -43658,9 +43661,9 @@ class CfnSecurityGroupProps:
|
|
|
43658
43661
|
|
|
43659
43662
|
@builtins.property
|
|
43660
43663
|
def group_name(self) -> typing.Optional[builtins.str]:
|
|
43661
|
-
'''The name of the security group.
|
|
43664
|
+
'''The name of the security group. Names are case-insensitive and must be unique within the VPC.
|
|
43662
43665
|
|
|
43663
|
-
Constraints: Up to 255 characters in length.
|
|
43666
|
+
Constraints: Up to 255 characters in length. Can't start with ``sg-`` .
|
|
43664
43667
|
|
|
43665
43668
|
Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
|
|
43666
43669
|
|
|
@@ -79653,6 +79656,11 @@ class InterfaceVpcEndpointAwsService(
|
|
|
79653
79656
|
def EMR_SERVERLESS(cls) -> "InterfaceVpcEndpointAwsService":
|
|
79654
79657
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "EMR_SERVERLESS"))
|
|
79655
79658
|
|
|
79659
|
+
@jsii.python.classproperty
|
|
79660
|
+
@jsii.member(jsii_name="EMR_SERVERLESS_DASHBOARD")
|
|
79661
|
+
def EMR_SERVERLESS_DASHBOARD(cls) -> "InterfaceVpcEndpointAwsService":
|
|
79662
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "EMR_SERVERLESS_DASHBOARD"))
|
|
79663
|
+
|
|
79656
79664
|
@jsii.python.classproperty
|
|
79657
79665
|
@jsii.member(jsii_name="EMR_SERVERLESS_LIVY")
|
|
79658
79666
|
def EMR_SERVERLESS_LIVY(cls) -> "InterfaceVpcEndpointAwsService":
|
|
@@ -80030,6 +80038,36 @@ class InterfaceVpcEndpointAwsService(
|
|
|
80030
80038
|
def LICENSE_MANAGER_USER_SUBSCRIPTIONS(cls) -> "InterfaceVpcEndpointAwsService":
|
|
80031
80039
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "LICENSE_MANAGER_USER_SUBSCRIPTIONS"))
|
|
80032
80040
|
|
|
80041
|
+
@jsii.python.classproperty
|
|
80042
|
+
@jsii.member(jsii_name="LOCATION_SERVICE_GEOFENCING")
|
|
80043
|
+
def LOCATION_SERVICE_GEOFENCING(cls) -> "InterfaceVpcEndpointAwsService":
|
|
80044
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "LOCATION_SERVICE_GEOFENCING"))
|
|
80045
|
+
|
|
80046
|
+
@jsii.python.classproperty
|
|
80047
|
+
@jsii.member(jsii_name="LOCATION_SERVICE_MAPS")
|
|
80048
|
+
def LOCATION_SERVICE_MAPS(cls) -> "InterfaceVpcEndpointAwsService":
|
|
80049
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "LOCATION_SERVICE_MAPS"))
|
|
80050
|
+
|
|
80051
|
+
@jsii.python.classproperty
|
|
80052
|
+
@jsii.member(jsii_name="LOCATION_SERVICE_METADATA")
|
|
80053
|
+
def LOCATION_SERVICE_METADATA(cls) -> "InterfaceVpcEndpointAwsService":
|
|
80054
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "LOCATION_SERVICE_METADATA"))
|
|
80055
|
+
|
|
80056
|
+
@jsii.python.classproperty
|
|
80057
|
+
@jsii.member(jsii_name="LOCATION_SERVICE_PLACES")
|
|
80058
|
+
def LOCATION_SERVICE_PLACES(cls) -> "InterfaceVpcEndpointAwsService":
|
|
80059
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "LOCATION_SERVICE_PLACES"))
|
|
80060
|
+
|
|
80061
|
+
@jsii.python.classproperty
|
|
80062
|
+
@jsii.member(jsii_name="LOCATION_SERVICE_ROUTE")
|
|
80063
|
+
def LOCATION_SERVICE_ROUTE(cls) -> "InterfaceVpcEndpointAwsService":
|
|
80064
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "LOCATION_SERVICE_ROUTE"))
|
|
80065
|
+
|
|
80066
|
+
@jsii.python.classproperty
|
|
80067
|
+
@jsii.member(jsii_name="LOCATION_SERVICE_TRACKING")
|
|
80068
|
+
def LOCATION_SERVICE_TRACKING(cls) -> "InterfaceVpcEndpointAwsService":
|
|
80069
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "LOCATION_SERVICE_TRACKING"))
|
|
80070
|
+
|
|
80033
80071
|
@jsii.python.classproperty
|
|
80034
80072
|
@jsii.member(jsii_name="LOOKOUT_EQUIPMENT")
|
|
80035
80073
|
def LOOKOUT_EQUIPMENT(cls) -> "InterfaceVpcEndpointAwsService":
|
|
@@ -80569,6 +80607,16 @@ class InterfaceVpcEndpointAwsService(
|
|
|
80569
80607
|
def SECURITYHUB(cls) -> "InterfaceVpcEndpointAwsService":
|
|
80570
80608
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "SECURITYHUB"))
|
|
80571
80609
|
|
|
80610
|
+
@jsii.python.classproperty
|
|
80611
|
+
@jsii.member(jsii_name="SECURITYLAKE")
|
|
80612
|
+
def SECURITYLAKE(cls) -> "InterfaceVpcEndpointAwsService":
|
|
80613
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "SECURITYLAKE"))
|
|
80614
|
+
|
|
80615
|
+
@jsii.python.classproperty
|
|
80616
|
+
@jsii.member(jsii_name="SECURITYLAKE_FIPS")
|
|
80617
|
+
def SECURITYLAKE_FIPS(cls) -> "InterfaceVpcEndpointAwsService":
|
|
80618
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "SECURITYLAKE_FIPS"))
|
|
80619
|
+
|
|
80572
80620
|
@jsii.python.classproperty
|
|
80573
80621
|
@jsii.member(jsii_name="SERVER_MIGRATION_SERVICE")
|
|
80574
80622
|
def SERVER_MIGRATION_SERVICE(cls) -> "InterfaceVpcEndpointAwsService":
|
|
@@ -80764,6 +80812,16 @@ class InterfaceVpcEndpointAwsService(
|
|
|
80764
80812
|
def VPC_LATTICE(cls) -> "InterfaceVpcEndpointAwsService":
|
|
80765
80813
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "VPC_LATTICE"))
|
|
80766
80814
|
|
|
80815
|
+
@jsii.python.classproperty
|
|
80816
|
+
@jsii.member(jsii_name="WAFV2")
|
|
80817
|
+
def WAFV2(cls) -> "InterfaceVpcEndpointAwsService":
|
|
80818
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "WAFV2"))
|
|
80819
|
+
|
|
80820
|
+
@jsii.python.classproperty
|
|
80821
|
+
@jsii.member(jsii_name="WAFV2_FIPS")
|
|
80822
|
+
def WAFV2_FIPS(cls) -> "InterfaceVpcEndpointAwsService":
|
|
80823
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "WAFV2_FIPS"))
|
|
80824
|
+
|
|
80767
80825
|
@jsii.python.classproperty
|
|
80768
80826
|
@jsii.member(jsii_name="WELL_ARCHITECTED_TOOL")
|
|
80769
80827
|
def WELL_ARCHITECTED_TOOL(cls) -> "InterfaceVpcEndpointAwsService":
|
|
@@ -2451,7 +2451,7 @@ class CfnParameterGroup(
|
|
|
2451
2451
|
'''
|
|
2452
2452
|
:param scope: Scope in which this resource is defined.
|
|
2453
2453
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2454
|
-
:param cache_parameter_group_family: The name of the cache parameter group family that this cache parameter group is compatible with. Valid values are: ``memcached1.4`` | ``memcached1.5`` | ``memcached1.6`` | ``redis2.6`` | ``redis2.8`` | ``redis3.2`` | ``redis4.0`` | ``redis5.0`` | ``redis6.x`` | ``redis7``
|
|
2454
|
+
:param cache_parameter_group_family: The name of the cache parameter group family that this cache parameter group is compatible with. Valid values are: ``valkey8`` | ``valkey7`` | ``memcached1.4`` | ``memcached1.5`` | ``memcached1.6`` | ``redis2.6`` | ``redis2.8`` | ``redis3.2`` | ``redis4.0`` | ``redis5.0`` | ``redis6.x`` | ``redis7``
|
|
2455
2455
|
:param description: The description for this cache parameter group.
|
|
2456
2456
|
:param properties: A comma-delimited list of parameter name/value pairs. For example:: "Properties" : { "cas_disabled" : "1", "chunk_size_growth_factor" : "1.02" }
|
|
2457
2457
|
:param tags: A tag that can be added to an ElastiCache parameter group. Tags are composed of a Key/Value pair. You can use tags to categorize and track all your parameter groups. A tag with a null Value is permitted.
|
|
@@ -2598,7 +2598,7 @@ class CfnParameterGroupProps:
|
|
|
2598
2598
|
) -> None:
|
|
2599
2599
|
'''Properties for defining a ``CfnParameterGroup``.
|
|
2600
2600
|
|
|
2601
|
-
:param cache_parameter_group_family: The name of the cache parameter group family that this cache parameter group is compatible with. Valid values are: ``memcached1.4`` | ``memcached1.5`` | ``memcached1.6`` | ``redis2.6`` | ``redis2.8`` | ``redis3.2`` | ``redis4.0`` | ``redis5.0`` | ``redis6.x`` | ``redis7``
|
|
2601
|
+
:param cache_parameter_group_family: The name of the cache parameter group family that this cache parameter group is compatible with. Valid values are: ``valkey8`` | ``valkey7`` | ``memcached1.4`` | ``memcached1.5`` | ``memcached1.6`` | ``redis2.6`` | ``redis2.8`` | ``redis3.2`` | ``redis4.0`` | ``redis5.0`` | ``redis6.x`` | ``redis7``
|
|
2602
2602
|
:param description: The description for this cache parameter group.
|
|
2603
2603
|
:param properties: A comma-delimited list of parameter name/value pairs. For example:: "Properties" : { "cas_disabled" : "1", "chunk_size_growth_factor" : "1.02" }
|
|
2604
2604
|
:param tags: A tag that can be added to an ElastiCache parameter group. Tags are composed of a Key/Value pair. You can use tags to categorize and track all your parameter groups. A tag with a null Value is permitted.
|
|
@@ -2645,7 +2645,7 @@ class CfnParameterGroupProps:
|
|
|
2645
2645
|
def cache_parameter_group_family(self) -> builtins.str:
|
|
2646
2646
|
'''The name of the cache parameter group family that this cache parameter group is compatible with.
|
|
2647
2647
|
|
|
2648
|
-
Valid values are: ``memcached1.4`` | ``memcached1.5`` | ``memcached1.6`` | ``redis2.6`` | ``redis2.8`` | ``redis3.2`` | ``redis4.0`` | ``redis5.0`` | ``redis6.x`` | ``redis7``
|
|
2648
|
+
Valid values are: ``valkey8`` | ``valkey7`` | ``memcached1.4`` | ``memcached1.5`` | ``memcached1.6`` | ``redis2.6`` | ``redis2.8`` | ``redis3.2`` | ``redis4.0`` | ``redis5.0`` | ``redis6.x`` | ``redis7``
|
|
2649
2649
|
|
|
2650
2650
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-parametergroup.html#cfn-elasticache-parametergroup-cacheparametergroupfamily
|
|
2651
2651
|
'''
|
aws_cdk/aws_emr/__init__.py
CHANGED
|
@@ -1573,7 +1573,7 @@ class CfnCluster(
|
|
|
1573
1573
|
``EbsConfiguration`` determines the EBS volumes to attach to EMR cluster instances.
|
|
1574
1574
|
|
|
1575
1575
|
:param ebs_block_device_configs: An array of Amazon EBS volume specifications attached to a cluster instance.
|
|
1576
|
-
:param ebs_optimized: Indicates whether an Amazon EBS volume is EBS-optimized.
|
|
1576
|
+
:param ebs_optimized: Indicates whether an Amazon EBS volume is EBS-optimized. The default is false. You should explicitly set this value to true to enable the Amazon EBS-optimized setting for an EC2 instance.
|
|
1577
1577
|
|
|
1578
1578
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-ebsconfiguration.html
|
|
1579
1579
|
:exampleMetadata: fixture=_generated
|
|
@@ -1628,6 +1628,8 @@ class CfnCluster(
|
|
|
1628
1628
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1629
1629
|
'''Indicates whether an Amazon EBS volume is EBS-optimized.
|
|
1630
1630
|
|
|
1631
|
+
The default is false. You should explicitly set this value to true to enable the Amazon EBS-optimized setting for an EC2 instance.
|
|
1632
|
+
|
|
1631
1633
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-ebsconfiguration.html#cfn-emr-cluster-ebsconfiguration-ebsoptimized
|
|
1632
1634
|
'''
|
|
1633
1635
|
result = self._values.get("ebs_optimized")
|
|
@@ -6262,7 +6264,7 @@ class CfnInstanceFleetConfig(
|
|
|
6262
6264
|
'''``EbsConfiguration`` determines the EBS volumes to attach to EMR cluster instances.
|
|
6263
6265
|
|
|
6264
6266
|
:param ebs_block_device_configs: An array of Amazon EBS volume specifications attached to a cluster instance.
|
|
6265
|
-
:param ebs_optimized: Indicates whether an Amazon EBS volume is EBS-optimized.
|
|
6267
|
+
:param ebs_optimized: Indicates whether an Amazon EBS volume is EBS-optimized. The default is false. You should explicitly set this value to true to enable the Amazon EBS-optimized setting for an EC2 instance.
|
|
6266
6268
|
|
|
6267
6269
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-ebsconfiguration.html
|
|
6268
6270
|
:exampleMetadata: fixture=_generated
|
|
@@ -6317,6 +6319,8 @@ class CfnInstanceFleetConfig(
|
|
|
6317
6319
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
6318
6320
|
'''Indicates whether an Amazon EBS volume is EBS-optimized.
|
|
6319
6321
|
|
|
6322
|
+
The default is false. You should explicitly set this value to true to enable the Amazon EBS-optimized setting for an EC2 instance.
|
|
6323
|
+
|
|
6320
6324
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-ebsconfiguration.html#cfn-emr-instancefleetconfig-ebsconfiguration-ebsoptimized
|
|
6321
6325
|
'''
|
|
6322
6326
|
result = self._values.get("ebs_optimized")
|
|
@@ -8495,7 +8499,7 @@ class CfnInstanceGroupConfig(
|
|
|
8495
8499
|
'''The Amazon EBS configuration of a cluster instance.
|
|
8496
8500
|
|
|
8497
8501
|
:param ebs_block_device_configs: An array of Amazon EBS volume specifications attached to a cluster instance.
|
|
8498
|
-
:param ebs_optimized: Indicates whether an Amazon EBS volume is EBS-optimized.
|
|
8502
|
+
:param ebs_optimized: Indicates whether an Amazon EBS volume is EBS-optimized. The default is false. You should explicitly set this value to true to enable the Amazon EBS-optimized setting for an EC2 instance.
|
|
8499
8503
|
|
|
8500
8504
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancegroupconfig-ebsconfiguration.html
|
|
8501
8505
|
:exampleMetadata: fixture=_generated
|
|
@@ -8550,6 +8554,8 @@ class CfnInstanceGroupConfig(
|
|
|
8550
8554
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
8551
8555
|
'''Indicates whether an Amazon EBS volume is EBS-optimized.
|
|
8552
8556
|
|
|
8557
|
+
The default is false. You should explicitly set this value to true to enable the Amazon EBS-optimized setting for an EC2 instance.
|
|
8558
|
+
|
|
8553
8559
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancegroupconfig-ebsconfiguration.html#cfn-emr-instancegroupconfig-ebsconfiguration-ebsoptimized
|
|
8554
8560
|
'''
|
|
8555
8561
|
result = self._values.get("ebs_optimized")
|
aws_cdk/aws_events/__init__.py
CHANGED
|
@@ -8890,7 +8890,7 @@ class EventField(
|
|
|
8890
8890
|
|
|
8891
8891
|
|
|
8892
8892
|
rule.add_target(targets.CloudWatchLogGroup(log_group,
|
|
8893
|
-
log_event=targets.LogGroupTargetInput.
|
|
8893
|
+
log_event=targets.LogGroupTargetInput.from_object_v2(
|
|
8894
8894
|
timestamp=events.EventField.from_path("$.time"),
|
|
8895
8895
|
message=events.EventField.from_path("$.detail-type")
|
|
8896
8896
|
)
|
|
@@ -11230,6 +11230,8 @@ class RuleTargetInput(
|
|
|
11230
11230
|
matched event.
|
|
11231
11231
|
|
|
11232
11232
|
:param obj: -
|
|
11233
|
+
|
|
11234
|
+
:return: RuleTargetInput
|
|
11233
11235
|
'''
|
|
11234
11236
|
if __debug__:
|
|
11235
11237
|
type_hints = typing.get_type_hints(_typecheckingstub__8091475ef36fdd615b50f3492db20e93a218f280b559ea557d766f61df68f0d0)
|
|
@@ -103,7 +103,7 @@ import aws_cdk.aws_logs as logs
|
|
|
103
103
|
|
|
104
104
|
|
|
105
105
|
rule.add_target(targets.CloudWatchLogGroup(log_group,
|
|
106
|
-
log_event=targets.LogGroupTargetInput.
|
|
106
|
+
log_event=targets.LogGroupTargetInput.from_object_v2(
|
|
107
107
|
timestamp=events.EventField.from_path("$.time"),
|
|
108
108
|
message=events.EventField.from_path("$.detail-type")
|
|
109
109
|
)
|
|
@@ -120,7 +120,7 @@ import aws_cdk.aws_logs as logs
|
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
rule.add_target(targets.CloudWatchLogGroup(log_group,
|
|
123
|
-
log_event=targets.LogGroupTargetInput.
|
|
123
|
+
log_event=targets.LogGroupTargetInput.from_object_v2(
|
|
124
124
|
message=JSON.stringify({
|
|
125
125
|
"CustomField": "CustomValue"
|
|
126
126
|
})
|
|
@@ -1493,7 +1493,7 @@ class CloudWatchLogGroup(
|
|
|
1493
1493
|
|
|
1494
1494
|
|
|
1495
1495
|
rule.add_target(targets.CloudWatchLogGroup(log_group,
|
|
1496
|
-
log_event=targets.LogGroupTargetInput.
|
|
1496
|
+
log_event=targets.LogGroupTargetInput.from_object_v2(
|
|
1497
1497
|
message=JSON.stringify({
|
|
1498
1498
|
"CustomField": "CustomValue"
|
|
1499
1499
|
})
|
|
@@ -2632,7 +2632,7 @@ class LogGroupTargetInput(
|
|
|
2632
2632
|
|
|
2633
2633
|
|
|
2634
2634
|
rule.add_target(targets.CloudWatchLogGroup(log_group,
|
|
2635
|
-
log_event=targets.LogGroupTargetInput.
|
|
2635
|
+
log_event=targets.LogGroupTargetInput.from_object_v2(
|
|
2636
2636
|
timestamp=events.EventField.from_path("$.time"),
|
|
2637
2637
|
message=events.EventField.from_path("$.detail-type")
|
|
2638
2638
|
)
|
|
@@ -2650,18 +2650,42 @@ class LogGroupTargetInput(
|
|
|
2650
2650
|
message: typing.Any = None,
|
|
2651
2651
|
timestamp: typing.Any = None,
|
|
2652
2652
|
) -> _RuleTargetInput_6beca786:
|
|
2653
|
-
'''Pass a JSON object to the the log group event target.
|
|
2653
|
+
'''(deprecated) Pass a JSON object to the the log group event target.
|
|
2654
2654
|
|
|
2655
2655
|
May contain strings returned by ``EventField.from()`` to substitute in parts of the
|
|
2656
2656
|
matched event.
|
|
2657
2657
|
|
|
2658
2658
|
:param message: The value provided here will be used in the Log "message" field. This field must be a string. If an object is passed (e.g. JSON data) it will not throw an error, but the message that makes it to CloudWatch logs will be incorrect. This is a likely scenario if doing something like: EventField.fromPath('$.detail') since in most cases the ``detail`` field contains JSON data. Default: EventField.detailType
|
|
2659
2659
|
:param timestamp: The timestamp that will appear in the CloudWatch Logs record. Default: EventField.time
|
|
2660
|
+
|
|
2661
|
+
:deprecated: use fromObjectV2
|
|
2662
|
+
|
|
2663
|
+
:stability: deprecated
|
|
2660
2664
|
'''
|
|
2661
2665
|
options = LogGroupTargetInputOptions(message=message, timestamp=timestamp)
|
|
2662
2666
|
|
|
2663
2667
|
return typing.cast(_RuleTargetInput_6beca786, jsii.sinvoke(cls, "fromObject", [options]))
|
|
2664
2668
|
|
|
2669
|
+
@jsii.member(jsii_name="fromObjectV2")
|
|
2670
|
+
@builtins.classmethod
|
|
2671
|
+
def from_object_v2(
|
|
2672
|
+
cls,
|
|
2673
|
+
*,
|
|
2674
|
+
message: typing.Any = None,
|
|
2675
|
+
timestamp: typing.Any = None,
|
|
2676
|
+
) -> "LogGroupTargetInput":
|
|
2677
|
+
'''Pass a JSON object to the the log group event target.
|
|
2678
|
+
|
|
2679
|
+
May contain strings returned by ``EventField.from()`` to substitute in parts of the
|
|
2680
|
+
matched event.
|
|
2681
|
+
|
|
2682
|
+
:param message: The value provided here will be used in the Log "message" field. This field must be a string. If an object is passed (e.g. JSON data) it will not throw an error, but the message that makes it to CloudWatch logs will be incorrect. This is a likely scenario if doing something like: EventField.fromPath('$.detail') since in most cases the ``detail`` field contains JSON data. Default: EventField.detailType
|
|
2683
|
+
:param timestamp: The timestamp that will appear in the CloudWatch Logs record. Default: EventField.time
|
|
2684
|
+
'''
|
|
2685
|
+
options = LogGroupTargetInputOptions(message=message, timestamp=timestamp)
|
|
2686
|
+
|
|
2687
|
+
return typing.cast("LogGroupTargetInput", jsii.sinvoke(cls, "fromObjectV2", [options]))
|
|
2688
|
+
|
|
2665
2689
|
@jsii.member(jsii_name="bind")
|
|
2666
2690
|
@abc.abstractmethod
|
|
2667
2691
|
def bind(self, rule: _IRule_af9e3d28) -> _RuleTargetInputProperties_38e7b0db:
|
|
@@ -2715,7 +2739,7 @@ class LogGroupTargetInputOptions:
|
|
|
2715
2739
|
|
|
2716
2740
|
|
|
2717
2741
|
rule.add_target(targets.CloudWatchLogGroup(log_group,
|
|
2718
|
-
log_event=targets.LogGroupTargetInput.
|
|
2742
|
+
log_event=targets.LogGroupTargetInput.from_object_v2(
|
|
2719
2743
|
timestamp=events.EventField.from_path("$.time"),
|
|
2720
2744
|
message=events.EventField.from_path("$.detail-type")
|
|
2721
2745
|
)
|
|
@@ -5326,7 +5350,7 @@ class LogGroupProps(TargetBaseProps):
|
|
|
5326
5350
|
|
|
5327
5351
|
|
|
5328
5352
|
rule.add_target(targets.CloudWatchLogGroup(log_group,
|
|
5329
|
-
log_event=targets.LogGroupTargetInput.
|
|
5353
|
+
log_event=targets.LogGroupTargetInput.from_object_v2(
|
|
5330
5354
|
message=JSON.stringify({
|
|
5331
5355
|
"CustomField": "CustomValue"
|
|
5332
5356
|
})
|