aws-cdk-lib 2.171.1__py3-none-any.whl → 2.173.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 +528 -161
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.173.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +40 -40
- aws_cdk/aws_apigateway/__init__.py +1357 -120
- aws_cdk/aws_applicationautoscaling/__init__.py +141 -66
- aws_cdk/aws_appsync/__init__.py +163 -139
- aws_cdk/aws_autoscaling/__init__.py +96 -30
- aws_cdk/aws_bedrock/__init__.py +80 -44
- aws_cdk/aws_chatbot/__init__.py +803 -2
- aws_cdk/aws_cleanrooms/__init__.py +4 -6
- aws_cdk/aws_cloudformation/__init__.py +240 -159
- aws_cdk/aws_cloudfront/__init__.py +15 -7
- aws_cdk/aws_cloudtrail/__init__.py +802 -13
- aws_cdk/aws_cloudwatch/__init__.py +51 -14
- aws_cdk/aws_codebuild/__init__.py +39 -0
- aws_cdk/aws_codepipeline/__init__.py +4 -4
- aws_cdk/aws_cognito/__init__.py +1032 -43
- aws_cdk/aws_config/__init__.py +13 -10
- aws_cdk/aws_connect/__init__.py +454 -23
- aws_cdk/aws_connectcampaignsv2/__init__.py +187 -176
- aws_cdk/aws_customerprofiles/__init__.py +3148 -0
- aws_cdk/aws_docdb/__init__.py +128 -0
- aws_cdk/aws_dynamodb/__init__.py +256 -0
- aws_cdk/aws_ec2/__init__.py +976 -27
- aws_cdk/aws_ecs/__init__.py +37 -20
- aws_cdk/aws_eks/__init__.py +771 -0
- aws_cdk/aws_elasticache/__init__.py +22 -22
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +441 -177
- aws_cdk/aws_events/__init__.py +550 -30
- aws_cdk/aws_fsx/__init__.py +134 -10
- aws_cdk/aws_imagebuilder/__init__.py +8 -8
- aws_cdk/aws_invoicing/__init__.py +651 -0
- aws_cdk/aws_iot/__init__.py +70 -26
- aws_cdk/aws_iotfleetwise/__init__.py +1033 -382
- aws_cdk/aws_iotsitewise/__init__.py +158 -0
- aws_cdk/aws_ivs/__init__.py +43 -31
- aws_cdk/aws_kendra/__init__.py +4 -0
- aws_cdk/aws_lakeformation/__init__.py +2 -1
- aws_cdk/aws_lambda/__init__.py +272 -164
- aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
- aws_cdk/aws_logs/__init__.py +532 -0
- aws_cdk/aws_m2/__init__.py +289 -0
- aws_cdk/aws_mediaconnect/__init__.py +24 -14
- aws_cdk/aws_medialive/__init__.py +2359 -5
- aws_cdk/aws_mediapackage/__init__.py +3 -9
- aws_cdk/aws_mediapackagev2/__init__.py +19 -17
- aws_cdk/aws_memorydb/__init__.py +664 -4
- aws_cdk/aws_mwaa/__init__.py +6 -6
- aws_cdk/aws_opensearchserverless/__init__.py +249 -1
- aws_cdk/aws_pipes/__init__.py +14 -30
- aws_cdk/aws_qbusiness/__init__.py +2021 -67
- aws_cdk/aws_quicksight/__init__.py +8270 -10
- aws_cdk/aws_rbin/__init__.py +53 -34
- aws_cdk/aws_rds/__init__.py +170 -8
- aws_cdk/aws_resourcegroups/__init__.py +362 -4
- aws_cdk/aws_route53/__init__.py +1177 -10
- aws_cdk/aws_route53_targets/__init__.py +297 -91
- aws_cdk/aws_route53resolver/__init__.py +19 -8
- aws_cdk/aws_s3/__init__.py +4 -4
- aws_cdk/aws_s3express/__init__.py +421 -9
- aws_cdk/aws_sagemaker/__init__.py +905 -119
- aws_cdk/aws_secretsmanager/__init__.py +20 -6
- aws_cdk/aws_securityhub/__init__.py +64 -32
- aws_cdk/aws_servicediscovery/__init__.py +43 -0
- aws_cdk/aws_ses/__init__.py +188 -41
- aws_cdk/aws_stepfunctions_tasks/__init__.py +190 -35
- aws_cdk/aws_synthetics/__init__.py +7 -5
- aws_cdk/aws_vpclattice/__init__.py +1479 -122
- aws_cdk/aws_wisdom/__init__.py +8509 -1502
- aws_cdk/aws_workspacesweb/__init__.py +1081 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/RECORD +78 -77
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/top_level.txt +0 -0
|
@@ -317,8 +317,8 @@ class CfnGroup(
|
|
|
317
317
|
|
|
318
318
|
A service configuration can consist of one or more items. For details service configurations and how to construct them, see `Service configurations for resource groups <https://docs.aws.amazon.com//ARG/latest/APIReference/about-slg.html>`_ in the *AWS Resource Groups User Guide* .
|
|
319
319
|
|
|
320
|
-
:param parameters: A collection of parameters for this configuration item. For the list of parameters that you can use with each configuration item ``Type`` , see `Supported resource types and parameters <https://docs.aws.amazon.com
|
|
321
|
-
:param type: Specifies the type of configuration item. Each item must have a unique value for type. For the list of the types that you can specify for a configuration item, see `Supported resource types and parameters <https://docs.aws.amazon.com
|
|
320
|
+
:param parameters: A collection of parameters for this configuration item. For the list of parameters that you can use with each configuration item ``Type`` , see `Supported resource types and parameters <https://docs.aws.amazon.com//ARG/latest/APIReference/about-slg.html#about-slg-types>`_ in the *AWS Resource Groups User Guide* .
|
|
321
|
+
:param type: Specifies the type of configuration item. Each item must have a unique value for type. For the list of the types that you can specify for a configuration item, see `Supported resource types and parameters <https://docs.aws.amazon.com//ARG/latest/APIReference/about-slg.html#about-slg-types>`_ in the *AWS Resource Groups User Guide* .
|
|
322
322
|
|
|
323
323
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-configurationitem.html
|
|
324
324
|
:exampleMetadata: fixture=_generated
|
|
@@ -353,7 +353,7 @@ class CfnGroup(
|
|
|
353
353
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnGroup.ConfigurationParameterProperty"]]]]:
|
|
354
354
|
'''A collection of parameters for this configuration item.
|
|
355
355
|
|
|
356
|
-
For the list of parameters that you can use with each configuration item ``Type`` , see `Supported resource types and parameters <https://docs.aws.amazon.com
|
|
356
|
+
For the list of parameters that you can use with each configuration item ``Type`` , see `Supported resource types and parameters <https://docs.aws.amazon.com//ARG/latest/APIReference/about-slg.html#about-slg-types>`_ in the *AWS Resource Groups User Guide* .
|
|
357
357
|
|
|
358
358
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-configurationitem.html#cfn-resourcegroups-group-configurationitem-parameters
|
|
359
359
|
'''
|
|
@@ -364,7 +364,7 @@ class CfnGroup(
|
|
|
364
364
|
def type(self) -> typing.Optional[builtins.str]:
|
|
365
365
|
'''Specifies the type of configuration item.
|
|
366
366
|
|
|
367
|
-
Each item must have a unique value for type. For the list of the types that you can specify for a configuration item, see `Supported resource types and parameters <https://docs.aws.amazon.com
|
|
367
|
+
Each item must have a unique value for type. For the list of the types that you can specify for a configuration item, see `Supported resource types and parameters <https://docs.aws.amazon.com//ARG/latest/APIReference/about-slg.html#about-slg-types>`_ in the *AWS Resource Groups User Guide* .
|
|
368
368
|
|
|
369
369
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-configurationitem.html#cfn-resourcegroups-group-configurationitem-type
|
|
370
370
|
'''
|
|
@@ -923,9 +923,309 @@ class CfnGroupProps:
|
|
|
923
923
|
)
|
|
924
924
|
|
|
925
925
|
|
|
926
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
927
|
+
class CfnTagSyncTask(
|
|
928
|
+
_CfnResource_9df397a6,
|
|
929
|
+
metaclass=jsii.JSIIMeta,
|
|
930
|
+
jsii_type="aws-cdk-lib.aws_resourcegroups.CfnTagSyncTask",
|
|
931
|
+
):
|
|
932
|
+
'''Onboards and syncs resources tagged with a specific tag key-value pair to an application.
|
|
933
|
+
|
|
934
|
+
*Minimum permissions*
|
|
935
|
+
|
|
936
|
+
To run this command, you must have the following permissions:
|
|
937
|
+
|
|
938
|
+
- ``resource-groups:StartTagSyncTask``
|
|
939
|
+
- ``resource-groups:CreateGroup``
|
|
940
|
+
- ``iam:PassRole`` for the role you provide to create a tag-sync task
|
|
941
|
+
|
|
942
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-tagsynctask.html
|
|
943
|
+
:cloudformationResource: AWS::ResourceGroups::TagSyncTask
|
|
944
|
+
:exampleMetadata: fixture=_generated
|
|
945
|
+
|
|
946
|
+
Example::
|
|
947
|
+
|
|
948
|
+
# The code below shows an example of how to instantiate this type.
|
|
949
|
+
# The values are placeholders you should change.
|
|
950
|
+
from aws_cdk import aws_resourcegroups as resourcegroups
|
|
951
|
+
|
|
952
|
+
cfn_tag_sync_task = resourcegroups.CfnTagSyncTask(self, "MyCfnTagSyncTask",
|
|
953
|
+
group="group",
|
|
954
|
+
role_arn="roleArn",
|
|
955
|
+
tag_key="tagKey",
|
|
956
|
+
tag_value="tagValue"
|
|
957
|
+
)
|
|
958
|
+
'''
|
|
959
|
+
|
|
960
|
+
def __init__(
|
|
961
|
+
self,
|
|
962
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
963
|
+
id: builtins.str,
|
|
964
|
+
*,
|
|
965
|
+
group: builtins.str,
|
|
966
|
+
role_arn: builtins.str,
|
|
967
|
+
tag_key: builtins.str,
|
|
968
|
+
tag_value: builtins.str,
|
|
969
|
+
) -> None:
|
|
970
|
+
'''
|
|
971
|
+
:param scope: Scope in which this resource is defined.
|
|
972
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
973
|
+
:param group: The Amazon resource name (ARN) or name of the application group for which you want to create a tag-sync task.
|
|
974
|
+
:param role_arn: The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.
|
|
975
|
+
:param tag_key: The tag key.
|
|
976
|
+
:param tag_value: The tag value.
|
|
977
|
+
'''
|
|
978
|
+
if __debug__:
|
|
979
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5cc3fe2babfae90c2893ec2e64dba324eb7f1354bc8586a2157b1e9493be9d2a)
|
|
980
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
981
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
982
|
+
props = CfnTagSyncTaskProps(
|
|
983
|
+
group=group, role_arn=role_arn, tag_key=tag_key, tag_value=tag_value
|
|
984
|
+
)
|
|
985
|
+
|
|
986
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
987
|
+
|
|
988
|
+
@jsii.member(jsii_name="inspect")
|
|
989
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
990
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
991
|
+
|
|
992
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
993
|
+
'''
|
|
994
|
+
if __debug__:
|
|
995
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fa39f02686575059144fa82b37d1e2e3bbec0b2f0f8b1503d29a8202955b1d71)
|
|
996
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
997
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
998
|
+
|
|
999
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1000
|
+
def _render_properties(
|
|
1001
|
+
self,
|
|
1002
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1003
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1004
|
+
'''
|
|
1005
|
+
:param props: -
|
|
1006
|
+
'''
|
|
1007
|
+
if __debug__:
|
|
1008
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f5e39aeb093662e365e0c8f8da41ae7f18912a09e014a840fd4e0a3eea585462)
|
|
1009
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1010
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1011
|
+
|
|
1012
|
+
@jsii.python.classproperty
|
|
1013
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
1014
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1015
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
1016
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1017
|
+
|
|
1018
|
+
@builtins.property
|
|
1019
|
+
@jsii.member(jsii_name="attrGroupArn")
|
|
1020
|
+
def attr_group_arn(self) -> builtins.str:
|
|
1021
|
+
'''The Amazon resource name (ARN) of the application group.
|
|
1022
|
+
|
|
1023
|
+
:cloudformationAttribute: GroupArn
|
|
1024
|
+
'''
|
|
1025
|
+
return typing.cast(builtins.str, jsii.get(self, "attrGroupArn"))
|
|
1026
|
+
|
|
1027
|
+
@builtins.property
|
|
1028
|
+
@jsii.member(jsii_name="attrGroupName")
|
|
1029
|
+
def attr_group_name(self) -> builtins.str:
|
|
1030
|
+
'''The name of the application group.
|
|
1031
|
+
|
|
1032
|
+
:cloudformationAttribute: GroupName
|
|
1033
|
+
'''
|
|
1034
|
+
return typing.cast(builtins.str, jsii.get(self, "attrGroupName"))
|
|
1035
|
+
|
|
1036
|
+
@builtins.property
|
|
1037
|
+
@jsii.member(jsii_name="attrStatus")
|
|
1038
|
+
def attr_status(self) -> builtins.str:
|
|
1039
|
+
'''The status of the tag-sync task.
|
|
1040
|
+
|
|
1041
|
+
Valid values include:
|
|
1042
|
+
|
|
1043
|
+
- ``ACTIVE`` - The tag-sync task is actively managing resources in the application by adding or removing the ``awsApplication`` tag from resources when they are tagged or untagged with the specified tag key-value pair.
|
|
1044
|
+
- ``ERROR`` - The tag-sync task is not actively managing resources in the application. Review the ``ErrorMessage`` for more information about resolving the error.
|
|
1045
|
+
|
|
1046
|
+
:cloudformationAttribute: Status
|
|
1047
|
+
'''
|
|
1048
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
1049
|
+
|
|
1050
|
+
@builtins.property
|
|
1051
|
+
@jsii.member(jsii_name="attrTaskArn")
|
|
1052
|
+
def attr_task_arn(self) -> builtins.str:
|
|
1053
|
+
'''The Amazon resource name (ARN) of the tag-sync task.
|
|
1054
|
+
|
|
1055
|
+
:cloudformationAttribute: TaskArn
|
|
1056
|
+
'''
|
|
1057
|
+
return typing.cast(builtins.str, jsii.get(self, "attrTaskArn"))
|
|
1058
|
+
|
|
1059
|
+
@builtins.property
|
|
1060
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
1061
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1062
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1063
|
+
|
|
1064
|
+
@builtins.property
|
|
1065
|
+
@jsii.member(jsii_name="group")
|
|
1066
|
+
def group(self) -> builtins.str:
|
|
1067
|
+
'''The Amazon resource name (ARN) or name of the application group for which you want to create a tag-sync task.'''
|
|
1068
|
+
return typing.cast(builtins.str, jsii.get(self, "group"))
|
|
1069
|
+
|
|
1070
|
+
@group.setter
|
|
1071
|
+
def group(self, value: builtins.str) -> None:
|
|
1072
|
+
if __debug__:
|
|
1073
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d133f44d39c629bca40a85ade7619a80aef78c5629c6cdd2f74b840c6b4cd745)
|
|
1074
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1075
|
+
jsii.set(self, "group", value) # pyright: ignore[reportArgumentType]
|
|
1076
|
+
|
|
1077
|
+
@builtins.property
|
|
1078
|
+
@jsii.member(jsii_name="roleArn")
|
|
1079
|
+
def role_arn(self) -> builtins.str:
|
|
1080
|
+
'''The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.'''
|
|
1081
|
+
return typing.cast(builtins.str, jsii.get(self, "roleArn"))
|
|
1082
|
+
|
|
1083
|
+
@role_arn.setter
|
|
1084
|
+
def role_arn(self, value: builtins.str) -> None:
|
|
1085
|
+
if __debug__:
|
|
1086
|
+
type_hints = typing.get_type_hints(_typecheckingstub__be46018b4db2c0ed820aeae0051f1b794bdebae8736cd97e2b08cf2bf5d3a673)
|
|
1087
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1088
|
+
jsii.set(self, "roleArn", value) # pyright: ignore[reportArgumentType]
|
|
1089
|
+
|
|
1090
|
+
@builtins.property
|
|
1091
|
+
@jsii.member(jsii_name="tagKey")
|
|
1092
|
+
def tag_key(self) -> builtins.str:
|
|
1093
|
+
'''The tag key.'''
|
|
1094
|
+
return typing.cast(builtins.str, jsii.get(self, "tagKey"))
|
|
1095
|
+
|
|
1096
|
+
@tag_key.setter
|
|
1097
|
+
def tag_key(self, value: builtins.str) -> None:
|
|
1098
|
+
if __debug__:
|
|
1099
|
+
type_hints = typing.get_type_hints(_typecheckingstub__36f0fe44c7515735b59ea6297b6cb7c5a2b5bddb1a4da3e9f0910baab1d7d5d9)
|
|
1100
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1101
|
+
jsii.set(self, "tagKey", value) # pyright: ignore[reportArgumentType]
|
|
1102
|
+
|
|
1103
|
+
@builtins.property
|
|
1104
|
+
@jsii.member(jsii_name="tagValue")
|
|
1105
|
+
def tag_value(self) -> builtins.str:
|
|
1106
|
+
'''The tag value.'''
|
|
1107
|
+
return typing.cast(builtins.str, jsii.get(self, "tagValue"))
|
|
1108
|
+
|
|
1109
|
+
@tag_value.setter
|
|
1110
|
+
def tag_value(self, value: builtins.str) -> None:
|
|
1111
|
+
if __debug__:
|
|
1112
|
+
type_hints = typing.get_type_hints(_typecheckingstub__66392dc23dc3e7ed8bf3c5d524bd90c2953712bb7e49a797537fda8d836525c3)
|
|
1113
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1114
|
+
jsii.set(self, "tagValue", value) # pyright: ignore[reportArgumentType]
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
@jsii.data_type(
|
|
1118
|
+
jsii_type="aws-cdk-lib.aws_resourcegroups.CfnTagSyncTaskProps",
|
|
1119
|
+
jsii_struct_bases=[],
|
|
1120
|
+
name_mapping={
|
|
1121
|
+
"group": "group",
|
|
1122
|
+
"role_arn": "roleArn",
|
|
1123
|
+
"tag_key": "tagKey",
|
|
1124
|
+
"tag_value": "tagValue",
|
|
1125
|
+
},
|
|
1126
|
+
)
|
|
1127
|
+
class CfnTagSyncTaskProps:
|
|
1128
|
+
def __init__(
|
|
1129
|
+
self,
|
|
1130
|
+
*,
|
|
1131
|
+
group: builtins.str,
|
|
1132
|
+
role_arn: builtins.str,
|
|
1133
|
+
tag_key: builtins.str,
|
|
1134
|
+
tag_value: builtins.str,
|
|
1135
|
+
) -> None:
|
|
1136
|
+
'''Properties for defining a ``CfnTagSyncTask``.
|
|
1137
|
+
|
|
1138
|
+
:param group: The Amazon resource name (ARN) or name of the application group for which you want to create a tag-sync task.
|
|
1139
|
+
:param role_arn: The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.
|
|
1140
|
+
:param tag_key: The tag key.
|
|
1141
|
+
:param tag_value: The tag value.
|
|
1142
|
+
|
|
1143
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-tagsynctask.html
|
|
1144
|
+
:exampleMetadata: fixture=_generated
|
|
1145
|
+
|
|
1146
|
+
Example::
|
|
1147
|
+
|
|
1148
|
+
# The code below shows an example of how to instantiate this type.
|
|
1149
|
+
# The values are placeholders you should change.
|
|
1150
|
+
from aws_cdk import aws_resourcegroups as resourcegroups
|
|
1151
|
+
|
|
1152
|
+
cfn_tag_sync_task_props = resourcegroups.CfnTagSyncTaskProps(
|
|
1153
|
+
group="group",
|
|
1154
|
+
role_arn="roleArn",
|
|
1155
|
+
tag_key="tagKey",
|
|
1156
|
+
tag_value="tagValue"
|
|
1157
|
+
)
|
|
1158
|
+
'''
|
|
1159
|
+
if __debug__:
|
|
1160
|
+
type_hints = typing.get_type_hints(_typecheckingstub__92e2f4c3b48ee7233cae450c356891144695748bdb5f027bc5b13135d8eeea4e)
|
|
1161
|
+
check_type(argname="argument group", value=group, expected_type=type_hints["group"])
|
|
1162
|
+
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
1163
|
+
check_type(argname="argument tag_key", value=tag_key, expected_type=type_hints["tag_key"])
|
|
1164
|
+
check_type(argname="argument tag_value", value=tag_value, expected_type=type_hints["tag_value"])
|
|
1165
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1166
|
+
"group": group,
|
|
1167
|
+
"role_arn": role_arn,
|
|
1168
|
+
"tag_key": tag_key,
|
|
1169
|
+
"tag_value": tag_value,
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
@builtins.property
|
|
1173
|
+
def group(self) -> builtins.str:
|
|
1174
|
+
'''The Amazon resource name (ARN) or name of the application group for which you want to create a tag-sync task.
|
|
1175
|
+
|
|
1176
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-tagsynctask.html#cfn-resourcegroups-tagsynctask-group
|
|
1177
|
+
'''
|
|
1178
|
+
result = self._values.get("group")
|
|
1179
|
+
assert result is not None, "Required property 'group' is missing"
|
|
1180
|
+
return typing.cast(builtins.str, result)
|
|
1181
|
+
|
|
1182
|
+
@builtins.property
|
|
1183
|
+
def role_arn(self) -> builtins.str:
|
|
1184
|
+
'''The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.
|
|
1185
|
+
|
|
1186
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-tagsynctask.html#cfn-resourcegroups-tagsynctask-rolearn
|
|
1187
|
+
'''
|
|
1188
|
+
result = self._values.get("role_arn")
|
|
1189
|
+
assert result is not None, "Required property 'role_arn' is missing"
|
|
1190
|
+
return typing.cast(builtins.str, result)
|
|
1191
|
+
|
|
1192
|
+
@builtins.property
|
|
1193
|
+
def tag_key(self) -> builtins.str:
|
|
1194
|
+
'''The tag key.
|
|
1195
|
+
|
|
1196
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-tagsynctask.html#cfn-resourcegroups-tagsynctask-tagkey
|
|
1197
|
+
'''
|
|
1198
|
+
result = self._values.get("tag_key")
|
|
1199
|
+
assert result is not None, "Required property 'tag_key' is missing"
|
|
1200
|
+
return typing.cast(builtins.str, result)
|
|
1201
|
+
|
|
1202
|
+
@builtins.property
|
|
1203
|
+
def tag_value(self) -> builtins.str:
|
|
1204
|
+
'''The tag value.
|
|
1205
|
+
|
|
1206
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-tagsynctask.html#cfn-resourcegroups-tagsynctask-tagvalue
|
|
1207
|
+
'''
|
|
1208
|
+
result = self._values.get("tag_value")
|
|
1209
|
+
assert result is not None, "Required property 'tag_value' is missing"
|
|
1210
|
+
return typing.cast(builtins.str, result)
|
|
1211
|
+
|
|
1212
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1213
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1214
|
+
|
|
1215
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1216
|
+
return not (rhs == self)
|
|
1217
|
+
|
|
1218
|
+
def __repr__(self) -> str:
|
|
1219
|
+
return "CfnTagSyncTaskProps(%s)" % ", ".join(
|
|
1220
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1221
|
+
)
|
|
1222
|
+
|
|
1223
|
+
|
|
926
1224
|
__all__ = [
|
|
927
1225
|
"CfnGroup",
|
|
928
1226
|
"CfnGroupProps",
|
|
1227
|
+
"CfnTagSyncTask",
|
|
1228
|
+
"CfnTagSyncTaskProps",
|
|
929
1229
|
]
|
|
930
1230
|
|
|
931
1231
|
publication.publish()
|
|
@@ -1044,3 +1344,61 @@ def _typecheckingstub__fb026100b2da91b258c8101dddf16a77684d48ca689302721dfecf0e2
|
|
|
1044
1344
|
) -> None:
|
|
1045
1345
|
"""Type checking stubs"""
|
|
1046
1346
|
pass
|
|
1347
|
+
|
|
1348
|
+
def _typecheckingstub__5cc3fe2babfae90c2893ec2e64dba324eb7f1354bc8586a2157b1e9493be9d2a(
|
|
1349
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1350
|
+
id: builtins.str,
|
|
1351
|
+
*,
|
|
1352
|
+
group: builtins.str,
|
|
1353
|
+
role_arn: builtins.str,
|
|
1354
|
+
tag_key: builtins.str,
|
|
1355
|
+
tag_value: builtins.str,
|
|
1356
|
+
) -> None:
|
|
1357
|
+
"""Type checking stubs"""
|
|
1358
|
+
pass
|
|
1359
|
+
|
|
1360
|
+
def _typecheckingstub__fa39f02686575059144fa82b37d1e2e3bbec0b2f0f8b1503d29a8202955b1d71(
|
|
1361
|
+
inspector: _TreeInspector_488e0dd5,
|
|
1362
|
+
) -> None:
|
|
1363
|
+
"""Type checking stubs"""
|
|
1364
|
+
pass
|
|
1365
|
+
|
|
1366
|
+
def _typecheckingstub__f5e39aeb093662e365e0c8f8da41ae7f18912a09e014a840fd4e0a3eea585462(
|
|
1367
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1368
|
+
) -> None:
|
|
1369
|
+
"""Type checking stubs"""
|
|
1370
|
+
pass
|
|
1371
|
+
|
|
1372
|
+
def _typecheckingstub__d133f44d39c629bca40a85ade7619a80aef78c5629c6cdd2f74b840c6b4cd745(
|
|
1373
|
+
value: builtins.str,
|
|
1374
|
+
) -> None:
|
|
1375
|
+
"""Type checking stubs"""
|
|
1376
|
+
pass
|
|
1377
|
+
|
|
1378
|
+
def _typecheckingstub__be46018b4db2c0ed820aeae0051f1b794bdebae8736cd97e2b08cf2bf5d3a673(
|
|
1379
|
+
value: builtins.str,
|
|
1380
|
+
) -> None:
|
|
1381
|
+
"""Type checking stubs"""
|
|
1382
|
+
pass
|
|
1383
|
+
|
|
1384
|
+
def _typecheckingstub__36f0fe44c7515735b59ea6297b6cb7c5a2b5bddb1a4da3e9f0910baab1d7d5d9(
|
|
1385
|
+
value: builtins.str,
|
|
1386
|
+
) -> None:
|
|
1387
|
+
"""Type checking stubs"""
|
|
1388
|
+
pass
|
|
1389
|
+
|
|
1390
|
+
def _typecheckingstub__66392dc23dc3e7ed8bf3c5d524bd90c2953712bb7e49a797537fda8d836525c3(
|
|
1391
|
+
value: builtins.str,
|
|
1392
|
+
) -> None:
|
|
1393
|
+
"""Type checking stubs"""
|
|
1394
|
+
pass
|
|
1395
|
+
|
|
1396
|
+
def _typecheckingstub__92e2f4c3b48ee7233cae450c356891144695748bdb5f027bc5b13135d8eeea4e(
|
|
1397
|
+
*,
|
|
1398
|
+
group: builtins.str,
|
|
1399
|
+
role_arn: builtins.str,
|
|
1400
|
+
tag_key: builtins.str,
|
|
1401
|
+
tag_value: builtins.str,
|
|
1402
|
+
) -> None:
|
|
1403
|
+
"""Type checking stubs"""
|
|
1404
|
+
pass
|