aws-cdk-lib 2.148.1__py3-none-any.whl → 2.150.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 +4 -8
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.148.1.jsii.tgz → aws-cdk-lib@2.150.0.jsii.tgz} +0 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +16 -12
- aws_cdk/aws_bedrock/__init__.py +60 -28
- aws_cdk/aws_cloudformation/__init__.py +4 -8
- aws_cdk/aws_cloudtrail/__init__.py +30 -558
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_codebuild/__init__.py +57 -5
- aws_cdk/aws_codecommit/__init__.py +103 -0
- aws_cdk/aws_codedeploy/__init__.py +251 -5
- aws_cdk/aws_codepipeline/__init__.py +80 -5
- aws_cdk/aws_codestarnotifications/__init__.py +90 -4
- aws_cdk/aws_cognito/__init__.py +1 -2
- aws_cdk/aws_deadline/__init__.py +9 -15
- aws_cdk/aws_dms/__init__.py +10 -10
- aws_cdk/aws_ec2/__init__.py +86 -4
- aws_cdk/aws_ecs/__init__.py +10 -8
- aws_cdk/aws_eks/__init__.py +26 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
- aws_cdk/aws_emr/__init__.py +26 -28
- aws_cdk/aws_events/__init__.py +1 -13
- aws_cdk/aws_fsx/__init__.py +25 -23
- aws_cdk/aws_glue/__init__.py +3 -3
- aws_cdk/aws_guardduty/__init__.py +6 -4
- aws_cdk/aws_iam/__init__.py +8 -5
- aws_cdk/aws_kinesisanalytics/__init__.py +11 -11
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +11 -11
- aws_cdk/aws_lambda/__init__.py +19 -2
- aws_cdk/aws_logs/__init__.py +9 -0
- aws_cdk/aws_qbusiness/__init__.py +21 -7
- aws_cdk/aws_rds/__init__.py +18 -12
- aws_cdk/aws_rolesanywhere/__init__.py +22 -13
- aws_cdk/aws_route53profiles/__init__.py +4 -4
- aws_cdk/aws_s3/__init__.py +15 -117
- aws_cdk/aws_sagemaker/__init__.py +10 -10
- aws_cdk/aws_ses/__init__.py +119 -102
- aws_cdk/aws_stepfunctions_tasks/__init__.py +215 -24
- aws_cdk/aws_synthetics/__init__.py +15 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +7 -9
- aws_cdk/aws_wafv2/__init__.py +10 -16
- aws_cdk/aws_workspaces/__init__.py +86 -56
- aws_cdk/custom_resources/__init__.py +91 -23
- aws_cdk/pipelines/__init__.py +1 -1
- aws_cdk/region_info/__init__.py +32 -12
- {aws_cdk_lib-2.148.1.dist-info → aws_cdk_lib-2.150.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.148.1.dist-info → aws_cdk_lib-2.150.0.dist-info}/RECORD +51 -51
- {aws_cdk_lib-2.148.1.dist-info → aws_cdk_lib-2.150.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.148.1.dist-info → aws_cdk_lib-2.150.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.148.1.dist-info → aws_cdk_lib-2.150.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.148.1.dist-info → aws_cdk_lib-2.150.0.dist-info}/top_level.txt +0 -0
|
@@ -44,7 +44,11 @@ rule = notifications.NotificationRule(self, "NotificationRule",
|
|
|
44
44
|
source=project,
|
|
45
45
|
events=["codebuild-project-build-state-succeeded", "codebuild-project-build-state-failed"
|
|
46
46
|
],
|
|
47
|
-
targets=[topic]
|
|
47
|
+
targets=[topic],
|
|
48
|
+
notification_rule_name="MyNotificationRuleName",
|
|
49
|
+
enabled=True, # The default is true
|
|
50
|
+
detail_type=notifications.DetailType.FULL, # The default is FULL
|
|
51
|
+
created_by="Jone Doe"
|
|
48
52
|
)
|
|
49
53
|
rule.add_target(slack)
|
|
50
54
|
```
|
|
@@ -678,7 +682,40 @@ class CfnNotificationRuleProps:
|
|
|
678
682
|
|
|
679
683
|
@jsii.enum(jsii_type="aws-cdk-lib.aws_codestarnotifications.DetailType")
|
|
680
684
|
class DetailType(enum.Enum):
|
|
681
|
-
'''The level of detail to include in the notifications for this resource.
|
|
685
|
+
'''The level of detail to include in the notifications for this resource.
|
|
686
|
+
|
|
687
|
+
:exampleMetadata: infused
|
|
688
|
+
|
|
689
|
+
Example::
|
|
690
|
+
|
|
691
|
+
import aws_cdk.aws_codestarnotifications as notifications
|
|
692
|
+
import aws_cdk.aws_codebuild as codebuild
|
|
693
|
+
import aws_cdk.aws_sns as sns
|
|
694
|
+
import aws_cdk.aws_chatbot as chatbot
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
project = codebuild.PipelineProject(self, "MyProject")
|
|
698
|
+
|
|
699
|
+
topic = sns.Topic(self, "MyTopic1")
|
|
700
|
+
|
|
701
|
+
slack = chatbot.SlackChannelConfiguration(self, "MySlackChannel",
|
|
702
|
+
slack_channel_configuration_name="YOUR_CHANNEL_NAME",
|
|
703
|
+
slack_workspace_id="YOUR_SLACK_WORKSPACE_ID",
|
|
704
|
+
slack_channel_id="YOUR_SLACK_CHANNEL_ID"
|
|
705
|
+
)
|
|
706
|
+
|
|
707
|
+
rule = notifications.NotificationRule(self, "NotificationRule",
|
|
708
|
+
source=project,
|
|
709
|
+
events=["codebuild-project-build-state-succeeded", "codebuild-project-build-state-failed"
|
|
710
|
+
],
|
|
711
|
+
targets=[topic],
|
|
712
|
+
notification_rule_name="MyNotificationRuleName",
|
|
713
|
+
enabled=True, # The default is true
|
|
714
|
+
detail_type=notifications.DetailType.FULL, # The default is FULL
|
|
715
|
+
created_by="Jone Doe"
|
|
716
|
+
)
|
|
717
|
+
rule.add_target(slack)
|
|
718
|
+
'''
|
|
682
719
|
|
|
683
720
|
BASIC = "BASIC"
|
|
684
721
|
'''BASIC will include only the contents of the event as it would appear in AWS CloudWatch.'''
|
|
@@ -858,7 +895,11 @@ class NotificationRule(
|
|
|
858
895
|
source=project,
|
|
859
896
|
events=["codebuild-project-build-state-succeeded", "codebuild-project-build-state-failed"
|
|
860
897
|
],
|
|
861
|
-
targets=[topic]
|
|
898
|
+
targets=[topic],
|
|
899
|
+
notification_rule_name="MyNotificationRuleName",
|
|
900
|
+
enabled=True, # The default is true
|
|
901
|
+
detail_type=notifications.DetailType.FULL, # The default is FULL
|
|
902
|
+
created_by="Jone Doe"
|
|
862
903
|
)
|
|
863
904
|
rule.add_target(slack)
|
|
864
905
|
'''
|
|
@@ -871,6 +912,7 @@ class NotificationRule(
|
|
|
871
912
|
events: typing.Sequence[builtins.str],
|
|
872
913
|
source: INotificationRuleSource,
|
|
873
914
|
targets: typing.Optional[typing.Sequence[INotificationRuleTarget]] = None,
|
|
915
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
874
916
|
detail_type: typing.Optional[DetailType] = None,
|
|
875
917
|
enabled: typing.Optional[builtins.bool] = None,
|
|
876
918
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -881,6 +923,7 @@ class NotificationRule(
|
|
|
881
923
|
:param events: A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
|
|
882
924
|
:param source: The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Currently, Supported sources include pipelines in AWS CodePipeline, build projects in AWS CodeBuild, and repositories in AWS CodeCommit in this L2 constructor.
|
|
883
925
|
:param targets: The targets to register for the notification destination. Default: - No targets are added to the rule. Use ``addTarget()`` to add a target.
|
|
926
|
+
:param created_by: The name or email alias of the person who created the notification rule. If not specified, it means that the creator's alias is not provided. Default: - No alias provided
|
|
884
927
|
:param detail_type: The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created. Default: DetailType.FULL
|
|
885
928
|
:param enabled: The status of the notification rule. If the enabled is set to DISABLED, notifications aren't sent for the notification rule. Default: true
|
|
886
929
|
:param notification_rule_name: The name for the notification rule. Notification rule names must be unique in your AWS account. Default: - generated from the ``id``
|
|
@@ -893,6 +936,7 @@ class NotificationRule(
|
|
|
893
936
|
events=events,
|
|
894
937
|
source=source,
|
|
895
938
|
targets=targets,
|
|
939
|
+
created_by=created_by,
|
|
896
940
|
detail_type=detail_type,
|
|
897
941
|
enabled=enabled,
|
|
898
942
|
notification_rule_name=notification_rule_name,
|
|
@@ -946,6 +990,7 @@ class NotificationRule(
|
|
|
946
990
|
jsii_type="aws-cdk-lib.aws_codestarnotifications.NotificationRuleOptions",
|
|
947
991
|
jsii_struct_bases=[],
|
|
948
992
|
name_mapping={
|
|
993
|
+
"created_by": "createdBy",
|
|
949
994
|
"detail_type": "detailType",
|
|
950
995
|
"enabled": "enabled",
|
|
951
996
|
"notification_rule_name": "notificationRuleName",
|
|
@@ -955,12 +1000,14 @@ class NotificationRuleOptions:
|
|
|
955
1000
|
def __init__(
|
|
956
1001
|
self,
|
|
957
1002
|
*,
|
|
1003
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
958
1004
|
detail_type: typing.Optional[DetailType] = None,
|
|
959
1005
|
enabled: typing.Optional[builtins.bool] = None,
|
|
960
1006
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
961
1007
|
) -> None:
|
|
962
1008
|
'''Standard set of options for ``notifyOnXxx`` codestar notification handler on construct.
|
|
963
1009
|
|
|
1010
|
+
:param created_by: The name or email alias of the person who created the notification rule. If not specified, it means that the creator's alias is not provided. Default: - No alias provided
|
|
964
1011
|
:param detail_type: The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created. Default: DetailType.FULL
|
|
965
1012
|
:param enabled: The status of the notification rule. If the enabled is set to DISABLED, notifications aren't sent for the notification rule. Default: true
|
|
966
1013
|
:param notification_rule_name: The name for the notification rule. Notification rule names must be unique in your AWS account. Default: - generated from the ``id``
|
|
@@ -974,6 +1021,7 @@ class NotificationRuleOptions:
|
|
|
974
1021
|
from aws_cdk import aws_codestarnotifications as codestarnotifications
|
|
975
1022
|
|
|
976
1023
|
notification_rule_options = codestarnotifications.NotificationRuleOptions(
|
|
1024
|
+
created_by="createdBy",
|
|
977
1025
|
detail_type=codestarnotifications.DetailType.BASIC,
|
|
978
1026
|
enabled=False,
|
|
979
1027
|
notification_rule_name="notificationRuleName"
|
|
@@ -981,10 +1029,13 @@ class NotificationRuleOptions:
|
|
|
981
1029
|
'''
|
|
982
1030
|
if __debug__:
|
|
983
1031
|
type_hints = typing.get_type_hints(_typecheckingstub__eefabcfdf7bed8d3d87d052ee762b71c3b6147378fc2dcef592f76197869ec52)
|
|
1032
|
+
check_type(argname="argument created_by", value=created_by, expected_type=type_hints["created_by"])
|
|
984
1033
|
check_type(argname="argument detail_type", value=detail_type, expected_type=type_hints["detail_type"])
|
|
985
1034
|
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
986
1035
|
check_type(argname="argument notification_rule_name", value=notification_rule_name, expected_type=type_hints["notification_rule_name"])
|
|
987
1036
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1037
|
+
if created_by is not None:
|
|
1038
|
+
self._values["created_by"] = created_by
|
|
988
1039
|
if detail_type is not None:
|
|
989
1040
|
self._values["detail_type"] = detail_type
|
|
990
1041
|
if enabled is not None:
|
|
@@ -992,6 +1043,17 @@ class NotificationRuleOptions:
|
|
|
992
1043
|
if notification_rule_name is not None:
|
|
993
1044
|
self._values["notification_rule_name"] = notification_rule_name
|
|
994
1045
|
|
|
1046
|
+
@builtins.property
|
|
1047
|
+
def created_by(self) -> typing.Optional[builtins.str]:
|
|
1048
|
+
'''The name or email alias of the person who created the notification rule.
|
|
1049
|
+
|
|
1050
|
+
If not specified, it means that the creator's alias is not provided.
|
|
1051
|
+
|
|
1052
|
+
:default: - No alias provided
|
|
1053
|
+
'''
|
|
1054
|
+
result = self._values.get("created_by")
|
|
1055
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1056
|
+
|
|
995
1057
|
@builtins.property
|
|
996
1058
|
def detail_type(self) -> typing.Optional[DetailType]:
|
|
997
1059
|
'''The level of detail to include in the notifications for this resource.
|
|
@@ -1042,6 +1104,7 @@ class NotificationRuleOptions:
|
|
|
1042
1104
|
jsii_type="aws-cdk-lib.aws_codestarnotifications.NotificationRuleProps",
|
|
1043
1105
|
jsii_struct_bases=[NotificationRuleOptions],
|
|
1044
1106
|
name_mapping={
|
|
1107
|
+
"created_by": "createdBy",
|
|
1045
1108
|
"detail_type": "detailType",
|
|
1046
1109
|
"enabled": "enabled",
|
|
1047
1110
|
"notification_rule_name": "notificationRuleName",
|
|
@@ -1054,6 +1117,7 @@ class NotificationRuleProps(NotificationRuleOptions):
|
|
|
1054
1117
|
def __init__(
|
|
1055
1118
|
self,
|
|
1056
1119
|
*,
|
|
1120
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
1057
1121
|
detail_type: typing.Optional[DetailType] = None,
|
|
1058
1122
|
enabled: typing.Optional[builtins.bool] = None,
|
|
1059
1123
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -1063,6 +1127,7 @@ class NotificationRuleProps(NotificationRuleOptions):
|
|
|
1063
1127
|
) -> None:
|
|
1064
1128
|
'''Properties for a new notification rule.
|
|
1065
1129
|
|
|
1130
|
+
:param created_by: The name or email alias of the person who created the notification rule. If not specified, it means that the creator's alias is not provided. Default: - No alias provided
|
|
1066
1131
|
:param detail_type: The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created. Default: DetailType.FULL
|
|
1067
1132
|
:param enabled: The status of the notification rule. If the enabled is set to DISABLED, notifications aren't sent for the notification rule. Default: true
|
|
1068
1133
|
:param notification_rule_name: The name for the notification rule. Notification rule names must be unique in your AWS account. Default: - generated from the ``id``
|
|
@@ -1094,12 +1159,17 @@ class NotificationRuleProps(NotificationRuleOptions):
|
|
|
1094
1159
|
source=project,
|
|
1095
1160
|
events=["codebuild-project-build-state-succeeded", "codebuild-project-build-state-failed"
|
|
1096
1161
|
],
|
|
1097
|
-
targets=[topic]
|
|
1162
|
+
targets=[topic],
|
|
1163
|
+
notification_rule_name="MyNotificationRuleName",
|
|
1164
|
+
enabled=True, # The default is true
|
|
1165
|
+
detail_type=notifications.DetailType.FULL, # The default is FULL
|
|
1166
|
+
created_by="Jone Doe"
|
|
1098
1167
|
)
|
|
1099
1168
|
rule.add_target(slack)
|
|
1100
1169
|
'''
|
|
1101
1170
|
if __debug__:
|
|
1102
1171
|
type_hints = typing.get_type_hints(_typecheckingstub__07e191339712f728b76ba8a634b1678dff009608132b685c7342315eab988d78)
|
|
1172
|
+
check_type(argname="argument created_by", value=created_by, expected_type=type_hints["created_by"])
|
|
1103
1173
|
check_type(argname="argument detail_type", value=detail_type, expected_type=type_hints["detail_type"])
|
|
1104
1174
|
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
1105
1175
|
check_type(argname="argument notification_rule_name", value=notification_rule_name, expected_type=type_hints["notification_rule_name"])
|
|
@@ -1110,6 +1180,8 @@ class NotificationRuleProps(NotificationRuleOptions):
|
|
|
1110
1180
|
"events": events,
|
|
1111
1181
|
"source": source,
|
|
1112
1182
|
}
|
|
1183
|
+
if created_by is not None:
|
|
1184
|
+
self._values["created_by"] = created_by
|
|
1113
1185
|
if detail_type is not None:
|
|
1114
1186
|
self._values["detail_type"] = detail_type
|
|
1115
1187
|
if enabled is not None:
|
|
@@ -1119,6 +1191,17 @@ class NotificationRuleProps(NotificationRuleOptions):
|
|
|
1119
1191
|
if targets is not None:
|
|
1120
1192
|
self._values["targets"] = targets
|
|
1121
1193
|
|
|
1194
|
+
@builtins.property
|
|
1195
|
+
def created_by(self) -> typing.Optional[builtins.str]:
|
|
1196
|
+
'''The name or email alias of the person who created the notification rule.
|
|
1197
|
+
|
|
1198
|
+
If not specified, it means that the creator's alias is not provided.
|
|
1199
|
+
|
|
1200
|
+
:default: - No alias provided
|
|
1201
|
+
'''
|
|
1202
|
+
result = self._values.get("created_by")
|
|
1203
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1204
|
+
|
|
1122
1205
|
@builtins.property
|
|
1123
1206
|
def detail_type(self) -> typing.Optional[DetailType]:
|
|
1124
1207
|
'''The level of detail to include in the notifications for this resource.
|
|
@@ -1470,6 +1553,7 @@ def _typecheckingstub__2ee042127cf39a85f944067772f0419c8ac6769379b69d847458271ee
|
|
|
1470
1553
|
events: typing.Sequence[builtins.str],
|
|
1471
1554
|
source: INotificationRuleSource,
|
|
1472
1555
|
targets: typing.Optional[typing.Sequence[INotificationRuleTarget]] = None,
|
|
1556
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
1473
1557
|
detail_type: typing.Optional[DetailType] = None,
|
|
1474
1558
|
enabled: typing.Optional[builtins.bool] = None,
|
|
1475
1559
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -1493,6 +1577,7 @@ def _typecheckingstub__7ae4822f460efa58f235b9774da89d7f779da55fe51601a3cdfdf7b24
|
|
|
1493
1577
|
|
|
1494
1578
|
def _typecheckingstub__eefabcfdf7bed8d3d87d052ee762b71c3b6147378fc2dcef592f76197869ec52(
|
|
1495
1579
|
*,
|
|
1580
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
1496
1581
|
detail_type: typing.Optional[DetailType] = None,
|
|
1497
1582
|
enabled: typing.Optional[builtins.bool] = None,
|
|
1498
1583
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
|
@@ -1502,6 +1587,7 @@ def _typecheckingstub__eefabcfdf7bed8d3d87d052ee762b71c3b6147378fc2dcef592f76197
|
|
|
1502
1587
|
|
|
1503
1588
|
def _typecheckingstub__07e191339712f728b76ba8a634b1678dff009608132b685c7342315eab988d78(
|
|
1504
1589
|
*,
|
|
1590
|
+
created_by: typing.Optional[builtins.str] = None,
|
|
1505
1591
|
detail_type: typing.Optional[DetailType] = None,
|
|
1506
1592
|
enabled: typing.Optional[builtins.bool] = None,
|
|
1507
1593
|
notification_rule_name: typing.Optional[builtins.str] = None,
|
aws_cdk/aws_cognito/__init__.py
CHANGED
|
@@ -10971,8 +10971,7 @@ class CfnUserPoolUICustomizationAttachment(
|
|
|
10971
10971
|
@builtins.property
|
|
10972
10972
|
@jsii.member(jsii_name="attrId")
|
|
10973
10973
|
def attr_id(self) -> builtins.str:
|
|
10974
|
-
'''
|
|
10975
|
-
|
|
10974
|
+
'''
|
|
10976
10975
|
:cloudformationAttribute: Id
|
|
10977
10976
|
'''
|
|
10978
10977
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
aws_cdk/aws_deadline/__init__.py
CHANGED
|
@@ -2896,11 +2896,11 @@ class CfnMeteredProduct(
|
|
|
2896
2896
|
'''
|
|
2897
2897
|
:param scope: Scope in which this resource is defined.
|
|
2898
2898
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2899
|
-
:param family:
|
|
2899
|
+
:param family:
|
|
2900
2900
|
:param license_endpoint_id: The Amazon EC2 identifier of the license endpoint.
|
|
2901
|
-
:param port:
|
|
2901
|
+
:param port:
|
|
2902
2902
|
:param product_id: The product ID.
|
|
2903
|
-
:param vendor:
|
|
2903
|
+
:param vendor:
|
|
2904
2904
|
'''
|
|
2905
2905
|
if __debug__:
|
|
2906
2906
|
type_hints = typing.get_type_hints(_typecheckingstub__1349660e6447c1e6551d1ce7cde2c5dc6adbf1fb1fdceb9f214b066a5a6b4ebe)
|
|
@@ -2963,7 +2963,6 @@ class CfnMeteredProduct(
|
|
|
2963
2963
|
@builtins.property
|
|
2964
2964
|
@jsii.member(jsii_name="family")
|
|
2965
2965
|
def family(self) -> typing.Optional[builtins.str]:
|
|
2966
|
-
'''The family to which the metered product belongs.'''
|
|
2967
2966
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "family"))
|
|
2968
2967
|
|
|
2969
2968
|
@family.setter
|
|
@@ -2989,7 +2988,6 @@ class CfnMeteredProduct(
|
|
|
2989
2988
|
@builtins.property
|
|
2990
2989
|
@jsii.member(jsii_name="port")
|
|
2991
2990
|
def port(self) -> typing.Optional[jsii.Number]:
|
|
2992
|
-
'''The port on which the metered product should run.'''
|
|
2993
2991
|
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "port"))
|
|
2994
2992
|
|
|
2995
2993
|
@port.setter
|
|
@@ -3015,7 +3013,6 @@ class CfnMeteredProduct(
|
|
|
3015
3013
|
@builtins.property
|
|
3016
3014
|
@jsii.member(jsii_name="vendor")
|
|
3017
3015
|
def vendor(self) -> typing.Optional[builtins.str]:
|
|
3018
|
-
'''The vendor.'''
|
|
3019
3016
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "vendor"))
|
|
3020
3017
|
|
|
3021
3018
|
@vendor.setter
|
|
@@ -3049,11 +3046,11 @@ class CfnMeteredProductProps:
|
|
|
3049
3046
|
) -> None:
|
|
3050
3047
|
'''Properties for defining a ``CfnMeteredProduct``.
|
|
3051
3048
|
|
|
3052
|
-
:param family:
|
|
3049
|
+
:param family:
|
|
3053
3050
|
:param license_endpoint_id: The Amazon EC2 identifier of the license endpoint.
|
|
3054
|
-
:param port:
|
|
3051
|
+
:param port:
|
|
3055
3052
|
:param product_id: The product ID.
|
|
3056
|
-
:param vendor:
|
|
3053
|
+
:param vendor:
|
|
3057
3054
|
|
|
3058
3055
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-meteredproduct.html
|
|
3059
3056
|
:exampleMetadata: fixture=_generated
|
|
@@ -3093,8 +3090,7 @@ class CfnMeteredProductProps:
|
|
|
3093
3090
|
|
|
3094
3091
|
@builtins.property
|
|
3095
3092
|
def family(self) -> typing.Optional[builtins.str]:
|
|
3096
|
-
'''
|
|
3097
|
-
|
|
3093
|
+
'''
|
|
3098
3094
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-meteredproduct.html#cfn-deadline-meteredproduct-family
|
|
3099
3095
|
'''
|
|
3100
3096
|
result = self._values.get("family")
|
|
@@ -3111,8 +3107,7 @@ class CfnMeteredProductProps:
|
|
|
3111
3107
|
|
|
3112
3108
|
@builtins.property
|
|
3113
3109
|
def port(self) -> typing.Optional[jsii.Number]:
|
|
3114
|
-
'''
|
|
3115
|
-
|
|
3110
|
+
'''
|
|
3116
3111
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-meteredproduct.html#cfn-deadline-meteredproduct-port
|
|
3117
3112
|
'''
|
|
3118
3113
|
result = self._values.get("port")
|
|
@@ -3129,8 +3124,7 @@ class CfnMeteredProductProps:
|
|
|
3129
3124
|
|
|
3130
3125
|
@builtins.property
|
|
3131
3126
|
def vendor(self) -> typing.Optional[builtins.str]:
|
|
3132
|
-
'''
|
|
3133
|
-
|
|
3127
|
+
'''
|
|
3134
3128
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-meteredproduct.html#cfn-deadline-meteredproduct-vendor
|
|
3135
3129
|
'''
|
|
3136
3130
|
result = self._values.get("vendor")
|
aws_cdk/aws_dms/__init__.py
CHANGED
|
@@ -4125,7 +4125,7 @@ class CfnEndpoint(
|
|
|
4125
4125
|
:param add_supplemental_logging: Set this attribute to set up table-level supplemental logging for the Oracle database. This attribute enables PRIMARY KEY supplemental logging on all tables selected for a migration task. If you use this option, you still need to enable database-level supplemental logging.
|
|
4126
4126
|
:param allow_select_nested_tables: Set this attribute to ``true`` to enable replication of Oracle tables containing columns that are nested tables or defined types.
|
|
4127
4127
|
:param archived_log_dest_id: Specifies the ID of the destination for the archived redo logs. This value should be the same as a number in the dest_id column of the v$archived_log view. If you work with an additional redo log destination, use the ``AdditionalArchivedLogDestId`` option to specify the additional destination ID. Doing this improves performance by ensuring that the correct logs are accessed from the outset.
|
|
4128
|
-
:param archived_logs_only: When this field is set to ``
|
|
4128
|
+
:param archived_logs_only: When this field is set to ``True`` , AWS DMS only accesses the archived redo logs. If the archived redo logs are stored on Automatic Storage Management (ASM) only, the AWS DMS user account needs to be granted ASM privileges.
|
|
4129
4129
|
:param asm_password: For an Oracle source endpoint, your Oracle Automatic Storage Management (ASM) password. You can set this value from the ``*asm_user_password*`` value. You set this value as part of the comma-separated value that you set to the ``Password`` request parameter when you create the endpoint to access transaction logs using Binary Reader. For more information, see `Configuration for change data capture (CDC) on an Oracle source database <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.CDC.Configuration>`_ .
|
|
4130
4130
|
:param asm_server: For an Oracle source endpoint, your ASM server address. You can set this value from the ``asm_server`` value. You set ``asm_server`` as part of the extra connection attribute string to access an Oracle server with Binary Reader that uses ASM. For more information, see `Configuration for change data capture (CDC) on an Oracle source database <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.CDC.Configuration>`_ .
|
|
4131
4131
|
:param asm_user: For an Oracle source endpoint, your ASM user name. You can set this value from the ``asm_user`` value. You set ``asm_user`` as part of the extra connection attribute string to access an Oracle server with Binary Reader that uses ASM. For more information, see `Configuration for change data capture (CDC) on an Oracle source database <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.CDC.Configuration>`_ .
|
|
@@ -4151,9 +4151,9 @@ class CfnEndpoint(
|
|
|
4151
4151
|
:param spatial_data_option_to_geo_json_function_name: Use this attribute to convert ``SDO_GEOMETRY`` to ``GEOJSON`` format. By default, DMS calls the ``SDO2GEOJSON`` custom function if present and accessible. Or you can create your own custom function that mimics the operation of ``SDOGEOJSON`` and set ``SpatialDataOptionToGeoJsonFunctionName`` to call it instead.
|
|
4152
4152
|
:param standby_delay_time: Use this attribute to specify a time in minutes for the delay in standby sync. If the source is an Oracle Active Data Guard standby database, use this attribute to specify the time lag between primary and standby databases. In AWS DMS , you can create an Oracle CDC task that uses an Active Data Guard standby instance as a source for replicating ongoing changes. Doing this eliminates the need to connect to an active database that might be in production.
|
|
4153
4153
|
:param use_alternate_folder_for_online: Set this attribute to ``true`` in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This tells the DMS instance to use any specified prefix replacement to access all online redo logs.
|
|
4154
|
-
:param use_b_file: Set this attribute to
|
|
4155
|
-
:param use_direct_path_full_load: Set this attribute to
|
|
4156
|
-
:param use_logminer_reader: Set this attribute to
|
|
4154
|
+
:param use_b_file: Set this attribute to True to capture change data using the Binary Reader utility. Set ``UseLogminerReader`` to False to set this attribute to True. To use Binary Reader with Amazon RDS for Oracle as the source, you set additional attributes. For more information about using this setting with Oracle Automatic Storage Management (ASM), see `Using Oracle LogMiner or AWS DMS Binary Reader for CDC <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.CDC>`_ .
|
|
4155
|
+
:param use_direct_path_full_load: Set this attribute to True to have AWS DMS use a direct path full load. Specify this value to use the direct path protocol in the Oracle Call Interface (OCI). By using this OCI protocol, you can bulk-load Oracle target tables during a full load.
|
|
4156
|
+
:param use_logminer_reader: Set this attribute to True to capture change data using the Oracle LogMiner utility (the default). Set this attribute to False if you want to access the redo logs as a binary file. When you set ``UseLogminerReader`` to False, also set ``UseBfile`` to True. For more information on this setting and using Oracle ASM, see `Using Oracle LogMiner or AWS DMS Binary Reader for CDC <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.CDC>`_ in the *AWS DMS User Guide* .
|
|
4157
4157
|
:param use_path_prefix: Set this string attribute to the required value in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This value specifies the path prefix used to replace the default Oracle root to access the redo logs.
|
|
4158
4158
|
|
|
4159
4159
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html
|
|
@@ -4379,7 +4379,7 @@ class CfnEndpoint(
|
|
|
4379
4379
|
def archived_logs_only(
|
|
4380
4380
|
self,
|
|
4381
4381
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4382
|
-
'''When this field is set to ``
|
|
4382
|
+
'''When this field is set to ``True`` , AWS DMS only accesses the archived redo logs.
|
|
4383
4383
|
|
|
4384
4384
|
If the archived redo logs are stored on Automatic Storage Management (ASM) only, the AWS DMS user account needs to be granted ASM privileges.
|
|
4385
4385
|
|
|
@@ -4705,9 +4705,9 @@ class CfnEndpoint(
|
|
|
4705
4705
|
def use_b_file(
|
|
4706
4706
|
self,
|
|
4707
4707
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4708
|
-
'''Set this attribute to
|
|
4708
|
+
'''Set this attribute to True to capture change data using the Binary Reader utility.
|
|
4709
4709
|
|
|
4710
|
-
Set ``UseLogminerReader`` to
|
|
4710
|
+
Set ``UseLogminerReader`` to False to set this attribute to True. To use Binary Reader with Amazon RDS for Oracle as the source, you set additional attributes. For more information about using this setting with Oracle Automatic Storage Management (ASM), see `Using Oracle LogMiner or AWS DMS Binary Reader for CDC <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.CDC>`_ .
|
|
4711
4711
|
|
|
4712
4712
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-usebfile
|
|
4713
4713
|
'''
|
|
@@ -4718,7 +4718,7 @@ class CfnEndpoint(
|
|
|
4718
4718
|
def use_direct_path_full_load(
|
|
4719
4719
|
self,
|
|
4720
4720
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4721
|
-
'''Set this attribute to
|
|
4721
|
+
'''Set this attribute to True to have AWS DMS use a direct path full load.
|
|
4722
4722
|
|
|
4723
4723
|
Specify this value to use the direct path protocol in the Oracle Call Interface (OCI). By using this OCI protocol, you can bulk-load Oracle target tables during a full load.
|
|
4724
4724
|
|
|
@@ -4731,9 +4731,9 @@ class CfnEndpoint(
|
|
|
4731
4731
|
def use_logminer_reader(
|
|
4732
4732
|
self,
|
|
4733
4733
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4734
|
-
'''Set this attribute to
|
|
4734
|
+
'''Set this attribute to True to capture change data using the Oracle LogMiner utility (the default).
|
|
4735
4735
|
|
|
4736
|
-
Set this attribute to
|
|
4736
|
+
Set this attribute to False if you want to access the redo logs as a binary file. When you set ``UseLogminerReader`` to False, also set ``UseBfile`` to True. For more information on this setting and using Oracle ASM, see `Using Oracle LogMiner or AWS DMS Binary Reader for CDC <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.CDC>`_ in the *AWS DMS User Guide* .
|
|
4737
4737
|
|
|
4738
4738
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-uselogminerreader
|
|
4739
4739
|
'''
|
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -11250,7 +11250,7 @@ class CfnEC2Fleet(
|
|
|
11250
11250
|
:param placement: The location where the instance launched, if applicable.
|
|
11251
11251
|
:param priority: The priority for the launch template override. The highest priority is launched first. If the On-Demand ``AllocationStrategy`` is set to ``prioritized`` , EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. If the Spot ``AllocationStrategy`` is set to ``capacity-optimized-prioritized`` , EC2 Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first. Valid values are whole numbers starting at ``0`` . The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.
|
|
11252
11252
|
:param subnet_id: The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, ``subnet-1234abcdeexample1, subnet-0987cdef6example2`` ). A request of type ``instant`` can have only one subnet ID.
|
|
11253
|
-
:param weighted_capacity: The number of units provided by the specified instance type. .. epigraph:: When specifying weights, the price used in the ``lowest-price`` and ``price-capacity-optimized`` allocation strategies is per *unit* hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested ``TargetCapacity`` , resulting in only 1 instance being launched, the price used is per *instance* hour.
|
|
11253
|
+
:param weighted_capacity: The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O. If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1. .. epigraph:: When specifying weights, the price used in the ``lowest-price`` and ``price-capacity-optimized`` allocation strategies is per *unit* hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested ``TargetCapacity`` , resulting in only 1 instance being launched, the price used is per *instance* hour.
|
|
11254
11254
|
|
|
11255
11255
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-fleetlaunchtemplateoverridesrequest.html
|
|
11256
11256
|
:exampleMetadata: fixture=_generated
|
|
@@ -11455,6 +11455,9 @@ class CfnEC2Fleet(
|
|
|
11455
11455
|
def weighted_capacity(self) -> typing.Optional[jsii.Number]:
|
|
11456
11456
|
'''The number of units provided by the specified instance type.
|
|
11457
11457
|
|
|
11458
|
+
These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.
|
|
11459
|
+
|
|
11460
|
+
If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.
|
|
11458
11461
|
.. epigraph::
|
|
11459
11462
|
|
|
11460
11463
|
When specifying weights, the price used in the ``lowest-price`` and ``price-capacity-optimized`` allocation strategies is per *unit* hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested ``TargetCapacity`` , resulting in only 1 instance being launched, the price used is per *instance* hour.
|
|
@@ -45095,7 +45098,7 @@ class CfnSpotFleet(
|
|
|
45095
45098
|
:param priority: The priority for the launch template override. The highest priority is launched first. If ``OnDemandAllocationStrategy`` is set to ``prioritized`` , Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. If the Spot ``AllocationStrategy`` is set to ``capacityOptimizedPrioritized`` , Spot Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first. Valid values are whole numbers starting at ``0`` . The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.
|
|
45096
45099
|
:param spot_price: The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. .. epigraph:: If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
|
|
45097
45100
|
:param subnet_id: The ID of the subnet in which to launch the instances.
|
|
45098
|
-
:param weighted_capacity: The number of units provided by the specified instance type. .. epigraph:: When specifying weights, the price used in the ``
|
|
45101
|
+
:param weighted_capacity: The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O. If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1. .. epigraph:: When specifying weights, the price used in the ``lowestPrice`` and ``priceCapacityOptimized`` allocation strategies is per *unit* hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested ``TargetCapacity`` , resulting in only 1 instance being launched, the price used is per *instance* hour.
|
|
45099
45102
|
|
|
45100
45103
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-launchtemplateoverrides.html
|
|
45101
45104
|
:exampleMetadata: fixture=_generated
|
|
@@ -45269,9 +45272,12 @@ class CfnSpotFleet(
|
|
|
45269
45272
|
def weighted_capacity(self) -> typing.Optional[jsii.Number]:
|
|
45270
45273
|
'''The number of units provided by the specified instance type.
|
|
45271
45274
|
|
|
45275
|
+
These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.
|
|
45276
|
+
|
|
45277
|
+
If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.
|
|
45272
45278
|
.. epigraph::
|
|
45273
45279
|
|
|
45274
|
-
When specifying weights, the price used in the ``
|
|
45280
|
+
When specifying weights, the price used in the ``lowestPrice`` and ``priceCapacityOptimized`` allocation strategies is per *unit* hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested ``TargetCapacity`` , resulting in only 1 instance being launched, the price used is per *instance* hour.
|
|
45275
45281
|
|
|
45276
45282
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-launchtemplateoverrides.html#cfn-ec2-spotfleet-launchtemplateoverrides-weightedcapacity
|
|
45277
45283
|
'''
|
|
@@ -45904,7 +45910,7 @@ class CfnSpotFleet(
|
|
|
45904
45910
|
:param subnet_id: The IDs of the subnets in which to launch the instances. To specify multiple subnets, separate them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2". If you specify a network interface, you must specify any subnets as part of the network interface instead of using this parameter.
|
|
45905
45911
|
:param tag_specifications: The tags to apply during creation.
|
|
45906
45912
|
:param user_data: The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.
|
|
45907
|
-
:param weighted_capacity: The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O. If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.
|
|
45913
|
+
:param weighted_capacity: The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O. If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1. .. epigraph:: When specifying weights, the price used in the ``lowestPrice`` and ``priceCapacityOptimized`` allocation strategies is per *unit* hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested ``TargetCapacity`` , resulting in only 1 instance being launched, the price used is per *instance* hour.
|
|
45908
45914
|
|
|
45909
45915
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetlaunchspecification.html
|
|
45910
45916
|
:exampleMetadata: fixture=_generated
|
|
@@ -46304,6 +46310,9 @@ class CfnSpotFleet(
|
|
|
46304
46310
|
These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.
|
|
46305
46311
|
|
|
46306
46312
|
If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.
|
|
46313
|
+
.. epigraph::
|
|
46314
|
+
|
|
46315
|
+
When specifying weights, the price used in the ``lowestPrice`` and ``priceCapacityOptimized`` allocation strategies is per *unit* hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested ``TargetCapacity`` , resulting in only 1 instance being launched, the price used is per *instance* hour.
|
|
46307
46316
|
|
|
46308
46317
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetlaunchspecification.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-weightedcapacity
|
|
46309
46318
|
'''
|
|
@@ -72275,6 +72284,51 @@ class Instance(
|
|
|
72275
72284
|
check_type(argname="argument commands", value=commands, expected_type=typing.Tuple[type_hints["commands"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
72276
72285
|
return typing.cast(None, jsii.invoke(self, "addUserData", [*commands]))
|
|
72277
72286
|
|
|
72287
|
+
@jsii.member(jsii_name="applyCloudFormationInit")
|
|
72288
|
+
def apply_cloud_formation_init(
|
|
72289
|
+
self,
|
|
72290
|
+
init: CloudFormationInit,
|
|
72291
|
+
*,
|
|
72292
|
+
config_sets: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
72293
|
+
embed_fingerprint: typing.Optional[builtins.bool] = None,
|
|
72294
|
+
ignore_failures: typing.Optional[builtins.bool] = None,
|
|
72295
|
+
include_role: typing.Optional[builtins.bool] = None,
|
|
72296
|
+
include_url: typing.Optional[builtins.bool] = None,
|
|
72297
|
+
print_log: typing.Optional[builtins.bool] = None,
|
|
72298
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
72299
|
+
) -> None:
|
|
72300
|
+
'''Use a CloudFormation Init configuration at instance startup.
|
|
72301
|
+
|
|
72302
|
+
This does the following:
|
|
72303
|
+
|
|
72304
|
+
- Attaches the CloudFormation Init metadata to the Instance resource.
|
|
72305
|
+
- Add commands to the instance UserData to run ``cfn-init`` and ``cfn-signal``.
|
|
72306
|
+
- Update the instance's CreationPolicy to wait for the ``cfn-signal`` commands.
|
|
72307
|
+
|
|
72308
|
+
:param init: -
|
|
72309
|
+
:param config_sets: ConfigSet to activate. Default: ['default']
|
|
72310
|
+
:param embed_fingerprint: Force instance replacement by embedding a config fingerprint. If ``true`` (the default), a hash of the config will be embedded into the UserData, so that if the config changes, the UserData changes. - If the EC2 instance is instance-store backed or ``userDataCausesReplacement`` is set, this will cause the instance to be replaced and the new configuration to be applied. - If the instance is EBS-backed and ``userDataCausesReplacement`` is not set, the change of UserData will make the instance restart but not be replaced, and the configuration will not be applied automatically. If ``false``, no hash will be embedded, and if the CloudFormation Init config changes nothing will happen to the running instance. If a config update introduces errors, you will not notice until after the CloudFormation deployment successfully finishes and the next instance fails to launch. Default: true
|
|
72311
|
+
:param ignore_failures: Don't fail the instance creation when cfn-init fails. You can use this to prevent CloudFormation from rolling back when instances fail to start up, to help in debugging. Default: false
|
|
72312
|
+
:param include_role: Include --role argument when running cfn-init and cfn-signal commands. This will be the IAM instance profile attached to the EC2 instance Default: false
|
|
72313
|
+
:param include_url: Include --url argument when running cfn-init and cfn-signal commands. This will be the cloudformation endpoint in the deployed region e.g. https://cloudformation.us-east-1.amazonaws.com Default: false
|
|
72314
|
+
:param print_log: Print the results of running cfn-init to the Instance System Log. By default, the output of running cfn-init is written to a log file on the instance. Set this to ``true`` to print it to the System Log (visible from the EC2 Console), ``false`` to not print it. (Be aware that the system log is refreshed at certain points in time of the instance life cycle, and successful execution may not always show up). Default: true
|
|
72315
|
+
:param timeout: Timeout waiting for the configuration to be applied. Default: Duration.minutes(5)
|
|
72316
|
+
'''
|
|
72317
|
+
if __debug__:
|
|
72318
|
+
type_hints = typing.get_type_hints(_typecheckingstub__53b303537c54bd04722c794882b372a979c13db12619a012ce63ca57718733ff)
|
|
72319
|
+
check_type(argname="argument init", value=init, expected_type=type_hints["init"])
|
|
72320
|
+
options = ApplyCloudFormationInitOptions(
|
|
72321
|
+
config_sets=config_sets,
|
|
72322
|
+
embed_fingerprint=embed_fingerprint,
|
|
72323
|
+
ignore_failures=ignore_failures,
|
|
72324
|
+
include_role=include_role,
|
|
72325
|
+
include_url=include_url,
|
|
72326
|
+
print_log=print_log,
|
|
72327
|
+
timeout=timeout,
|
|
72328
|
+
)
|
|
72329
|
+
|
|
72330
|
+
return typing.cast(None, jsii.invoke(self, "applyCloudFormationInit", [init, options]))
|
|
72331
|
+
|
|
72278
72332
|
@builtins.property
|
|
72279
72333
|
@jsii.member(jsii_name="connections")
|
|
72280
72334
|
def connections(self) -> "Connections":
|
|
@@ -72564,6 +72618,10 @@ class InstanceClass(enum.Enum):
|
|
|
72564
72618
|
'''Memory optimized instances based on 4th generation AMD EPYC (codename Genoa), 7th generation.'''
|
|
72565
72619
|
R7A = "R7A"
|
|
72566
72620
|
'''Memory optimized instances based on 4th generation AMD EPYC (codename Genoa), 7th generation.'''
|
|
72621
|
+
MEMORY8_GRAVITON = "MEMORY8_GRAVITON"
|
|
72622
|
+
'''Memory optimized instances with Graviton4 processors.'''
|
|
72623
|
+
R8G = "R8G"
|
|
72624
|
+
'''Memory optimized instances with Graviton4 processors.'''
|
|
72567
72625
|
COMPUTE3 = "COMPUTE3"
|
|
72568
72626
|
'''Compute optimized instances, 3rd generation.'''
|
|
72569
72627
|
C3 = "C3"
|
|
@@ -72778,6 +72836,10 @@ class InstanceClass(enum.Enum):
|
|
|
72778
72836
|
'''Graphics-optimized instances powered by AWS Graviton2 Processors and NVIDIA T4G Tensor Core GPUs, 5th generation.'''
|
|
72779
72837
|
G5G = "G5G"
|
|
72780
72838
|
'''Graphics-optimized instances powered by AWS Graviton2 Processors and NVIDIA T4G Tensor Core GPUs, 5th generation.'''
|
|
72839
|
+
GRAPHICS6 = "GRAPHICS6"
|
|
72840
|
+
'''Graphics-optimized instances, 6th generation.'''
|
|
72841
|
+
G6 = "G6"
|
|
72842
|
+
'''Graphics-optimized instances, 6th generation.'''
|
|
72781
72843
|
PARALLEL2 = "PARALLEL2"
|
|
72782
72844
|
'''Parallel-processing optimized instances, 2nd generation.'''
|
|
72783
72845
|
P2 = "P2"
|
|
@@ -86582,6 +86644,12 @@ class VpcEndpointService(
|
|
|
86582
86644
|
|
|
86583
86645
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
86584
86646
|
|
|
86647
|
+
@jsii.python.classproperty
|
|
86648
|
+
@jsii.member(jsii_name="DEFAULT_PREFIX")
|
|
86649
|
+
def DEFAULT_PREFIX(cls) -> builtins.str:
|
|
86650
|
+
'''The default value for a VPC Endpoint Service name prefix, useful if you do not have a synthesize-time region literal available (all you have is ``{ "Ref": "AWS::Region" }``).'''
|
|
86651
|
+
return typing.cast(builtins.str, jsii.sget(cls, "DEFAULT_PREFIX"))
|
|
86652
|
+
|
|
86585
86653
|
@builtins.property
|
|
86586
86654
|
@jsii.member(jsii_name="acceptanceRequired")
|
|
86587
86655
|
def acceptance_required(self) -> builtins.bool:
|
|
@@ -104312,6 +104380,20 @@ def _typecheckingstub__82601f36068811ad664f607ef04191e661dad31e73a2a8f4f2c40217f
|
|
|
104312
104380
|
"""Type checking stubs"""
|
|
104313
104381
|
pass
|
|
104314
104382
|
|
|
104383
|
+
def _typecheckingstub__53b303537c54bd04722c794882b372a979c13db12619a012ce63ca57718733ff(
|
|
104384
|
+
init: CloudFormationInit,
|
|
104385
|
+
*,
|
|
104386
|
+
config_sets: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
104387
|
+
embed_fingerprint: typing.Optional[builtins.bool] = None,
|
|
104388
|
+
ignore_failures: typing.Optional[builtins.bool] = None,
|
|
104389
|
+
include_role: typing.Optional[builtins.bool] = None,
|
|
104390
|
+
include_url: typing.Optional[builtins.bool] = None,
|
|
104391
|
+
print_log: typing.Optional[builtins.bool] = None,
|
|
104392
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
104393
|
+
) -> None:
|
|
104394
|
+
"""Type checking stubs"""
|
|
104395
|
+
pass
|
|
104396
|
+
|
|
104315
104397
|
def _typecheckingstub__2d4dc63c6e6ee3ddc68d5dd204d8ac5ef1f1dec37a7b84d636225df1c2f17d22(
|
|
104316
104398
|
*,
|
|
104317
104399
|
instance_type: InstanceType,
|