aws-cdk-lib 2.178.2__py3-none-any.whl → 2.180.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 +83 -41
- aws_cdk/_jsii/__init__.py +1 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.178.2.jsii.tgz → aws-cdk-lib@2.180.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +47 -0
- aws_cdk/aws_apigateway/__init__.py +176 -35
- aws_cdk/aws_apigatewayv2/__init__.py +151 -32
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +348 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +8 -8
- aws_cdk/aws_appsync/__init__.py +10 -7
- aws_cdk/aws_backup/__init__.py +89 -0
- aws_cdk/aws_batch/__init__.py +89 -50
- aws_cdk/aws_bedrock/__init__.py +506 -62
- aws_cdk/aws_cloudfront/__init__.py +1037 -146
- aws_cdk/aws_cloudfront_origins/__init__.py +1338 -144
- aws_cdk/aws_cloudtrail/__init__.py +4 -8
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_codebuild/__init__.py +218 -2
- aws_cdk/aws_codepipeline/__init__.py +113 -28
- aws_cdk/aws_codepipeline_actions/__init__.py +554 -63
- aws_cdk/aws_codestar/__init__.py +2 -1
- aws_cdk/aws_cognito/__init__.py +676 -29
- aws_cdk/aws_connect/__init__.py +257 -0
- aws_cdk/aws_datasync/__init__.py +279 -50
- aws_cdk/aws_deadline/__init__.py +683 -6
- aws_cdk/aws_directoryservice/__init__.py +9 -4
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +0 -54
- aws_cdk/aws_ec2/__init__.py +402 -130
- aws_cdk/aws_ecs/__init__.py +28 -43
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +560 -182
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -27
- aws_cdk/aws_emrcontainers/__init__.py +44 -1
- aws_cdk/aws_events/__init__.py +17 -26
- aws_cdk/aws_events_targets/__init__.py +303 -16
- aws_cdk/aws_fms/__init__.py +5 -5
- aws_cdk/aws_fsx/__init__.py +5 -4
- aws_cdk/aws_glue/__init__.py +161 -0
- aws_cdk/aws_groundstation/__init__.py +23 -1
- aws_cdk/aws_iam/__init__.py +15 -15
- aws_cdk/aws_iot/__init__.py +7 -0
- aws_cdk/aws_ivs/__init__.py +254 -77
- aws_cdk/aws_kinesis/__init__.py +689 -35
- aws_cdk/aws_lambda/__init__.py +10 -15
- aws_cdk/aws_lambda_event_sources/__init__.py +175 -2
- aws_cdk/aws_logs/__init__.py +62 -13
- aws_cdk/aws_medialive/__init__.py +314 -4
- aws_cdk/aws_opensearchserverless/__init__.py +19 -0
- aws_cdk/aws_pinpoint/__init__.py +14 -9
- aws_cdk/aws_rds/__init__.py +246 -82
- aws_cdk/aws_s3/__init__.py +287 -9
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_ses/__init__.py +228 -8
- aws_cdk/aws_ssm/__init__.py +4 -5
- aws_cdk/aws_stepfunctions/__init__.py +301 -70
- aws_cdk/aws_stepfunctions_tasks/__init__.py +269 -163
- aws_cdk/aws_supportapp/__init__.py +7 -7
- aws_cdk/aws_transfer/__init__.py +820 -2
- aws_cdk/aws_wafv2/__init__.py +17 -9
- aws_cdk/custom_resources/__init__.py +23 -26
- aws_cdk/cx_api/__init__.py +16 -0
- aws_cdk/pipelines/__init__.py +2 -2
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/METADATA +1 -2
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/RECORD +69 -70
- aws_cdk/lambda_layer_kubectl/__init__.py +0 -107
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/top_level.txt +0 -0
|
@@ -803,6 +803,7 @@ import constructs as _constructs_77d1e7e8
|
|
|
803
803
|
from .. import (
|
|
804
804
|
CfnResource as _CfnResource_9df397a6,
|
|
805
805
|
CfnTag as _CfnTag_f6864754,
|
|
806
|
+
Duration as _Duration_4839e8c3,
|
|
806
807
|
IInspectable as _IInspectable_c2943556,
|
|
807
808
|
IResolvable as _IResolvable_da3f097b,
|
|
808
809
|
IResource as _IResource_c80c4260,
|
|
@@ -1015,6 +1016,7 @@ class ActionCategory(enum.Enum):
|
|
|
1015
1016
|
APPROVAL = "APPROVAL"
|
|
1016
1017
|
DEPLOY = "DEPLOY"
|
|
1017
1018
|
INVOKE = "INVOKE"
|
|
1019
|
+
COMPUTE = "COMPUTE"
|
|
1018
1020
|
|
|
1019
1021
|
|
|
1020
1022
|
@jsii.data_type(
|
|
@@ -1074,13 +1076,16 @@ class ActionConfig:
|
|
|
1074
1076
|
"category": "category",
|
|
1075
1077
|
"provider": "provider",
|
|
1076
1078
|
"account": "account",
|
|
1079
|
+
"commands": "commands",
|
|
1077
1080
|
"inputs": "inputs",
|
|
1078
1081
|
"outputs": "outputs",
|
|
1082
|
+
"output_variables": "outputVariables",
|
|
1079
1083
|
"owner": "owner",
|
|
1080
1084
|
"region": "region",
|
|
1081
1085
|
"resource": "resource",
|
|
1082
1086
|
"role": "role",
|
|
1083
1087
|
"run_order": "runOrder",
|
|
1088
|
+
"timeout": "timeout",
|
|
1084
1089
|
"variables_namespace": "variablesNamespace",
|
|
1085
1090
|
"version": "version",
|
|
1086
1091
|
},
|
|
@@ -1094,13 +1099,16 @@ class ActionProperties:
|
|
|
1094
1099
|
category: ActionCategory,
|
|
1095
1100
|
provider: builtins.str,
|
|
1096
1101
|
account: typing.Optional[builtins.str] = None,
|
|
1102
|
+
commands: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1097
1103
|
inputs: typing.Optional[typing.Sequence["Artifact"]] = None,
|
|
1098
1104
|
outputs: typing.Optional[typing.Sequence["Artifact"]] = None,
|
|
1105
|
+
output_variables: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1099
1106
|
owner: typing.Optional[builtins.str] = None,
|
|
1100
1107
|
region: typing.Optional[builtins.str] = None,
|
|
1101
1108
|
resource: typing.Optional[_IResource_c80c4260] = None,
|
|
1102
1109
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
1103
1110
|
run_order: typing.Optional[jsii.Number] = None,
|
|
1111
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
1104
1112
|
variables_namespace: typing.Optional[builtins.str] = None,
|
|
1105
1113
|
version: typing.Optional[builtins.str] = None,
|
|
1106
1114
|
) -> None:
|
|
@@ -1110,13 +1118,16 @@ class ActionProperties:
|
|
|
1110
1118
|
:param category: The category of the action. The category defines which action type the owner (the entity that performs the action) performs.
|
|
1111
1119
|
:param provider: The service provider that the action calls.
|
|
1112
1120
|
:param account: The account the Action is supposed to live in. For Actions backed by resources, this is inferred from the Stack ``resource`` is part of. However, some Actions, like the CloudFormation ones, are not backed by any resource, and they still might want to be cross-account. In general, a concrete Action class should specify either ``resource``, or ``account`` - but not both.
|
|
1121
|
+
:param commands: Shell commands for the Commands action to run. Default: - no commands
|
|
1113
1122
|
:param inputs:
|
|
1114
1123
|
:param outputs:
|
|
1124
|
+
:param output_variables: The names of the variables in your environment that you want to export. Default: - no output variables
|
|
1115
1125
|
:param owner:
|
|
1116
1126
|
:param region: The AWS region the given Action resides in. Note that a cross-region Pipeline requires replication buckets to function correctly. You can provide their names with the ``PipelineProps#crossRegionReplicationBuckets`` property. If you don't, the CodePipeline Construct will create new Stacks in your CDK app containing those buckets, that you will need to ``cdk deploy`` before deploying the main, Pipeline-containing Stack. Default: the Action resides in the same region as the Pipeline
|
|
1117
1127
|
:param resource: The optional resource that is backing this Action. This is used for automatically handling Actions backed by resources from a different account and/or region.
|
|
1118
1128
|
:param role:
|
|
1119
1129
|
:param run_order: The order in which AWS CodePipeline runs this action. For more information, see the AWS CodePipeline User Guide. https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements
|
|
1130
|
+
:param timeout: A timeout duration that can be applied against the ActionType’s default timeout value specified in Quotas for AWS CodePipeline. This attribute is available only to the ``ManualApprovalAction``. It is configurable up to 86400 minutes (60 days) with a minimum value of 5 minutes. Default: - default timeout value defined by each ActionType
|
|
1120
1131
|
:param variables_namespace: The name of the namespace to use for variables emitted by this action. Default: - a name will be generated, based on the stage and action names
|
|
1121
1132
|
:param version:
|
|
1122
1133
|
|
|
@@ -1147,13 +1158,16 @@ class ActionProperties:
|
|
|
1147
1158
|
|
|
1148
1159
|
# the properties below are optional
|
|
1149
1160
|
account="account",
|
|
1161
|
+
commands=["commands"],
|
|
1150
1162
|
inputs=[artifact],
|
|
1151
1163
|
outputs=[artifact],
|
|
1164
|
+
output_variables=["outputVariables"],
|
|
1152
1165
|
owner="owner",
|
|
1153
1166
|
region="region",
|
|
1154
1167
|
resource=resource,
|
|
1155
1168
|
role=role,
|
|
1156
1169
|
run_order=123,
|
|
1170
|
+
timeout=cdk.Duration.minutes(30),
|
|
1157
1171
|
variables_namespace="variablesNamespace",
|
|
1158
1172
|
version="version"
|
|
1159
1173
|
)
|
|
@@ -1167,13 +1181,16 @@ class ActionProperties:
|
|
|
1167
1181
|
check_type(argname="argument category", value=category, expected_type=type_hints["category"])
|
|
1168
1182
|
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
1169
1183
|
check_type(argname="argument account", value=account, expected_type=type_hints["account"])
|
|
1184
|
+
check_type(argname="argument commands", value=commands, expected_type=type_hints["commands"])
|
|
1170
1185
|
check_type(argname="argument inputs", value=inputs, expected_type=type_hints["inputs"])
|
|
1171
1186
|
check_type(argname="argument outputs", value=outputs, expected_type=type_hints["outputs"])
|
|
1187
|
+
check_type(argname="argument output_variables", value=output_variables, expected_type=type_hints["output_variables"])
|
|
1172
1188
|
check_type(argname="argument owner", value=owner, expected_type=type_hints["owner"])
|
|
1173
1189
|
check_type(argname="argument region", value=region, expected_type=type_hints["region"])
|
|
1174
1190
|
check_type(argname="argument resource", value=resource, expected_type=type_hints["resource"])
|
|
1175
1191
|
check_type(argname="argument role", value=role, expected_type=type_hints["role"])
|
|
1176
1192
|
check_type(argname="argument run_order", value=run_order, expected_type=type_hints["run_order"])
|
|
1193
|
+
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
1177
1194
|
check_type(argname="argument variables_namespace", value=variables_namespace, expected_type=type_hints["variables_namespace"])
|
|
1178
1195
|
check_type(argname="argument version", value=version, expected_type=type_hints["version"])
|
|
1179
1196
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -1184,10 +1201,14 @@ class ActionProperties:
|
|
|
1184
1201
|
}
|
|
1185
1202
|
if account is not None:
|
|
1186
1203
|
self._values["account"] = account
|
|
1204
|
+
if commands is not None:
|
|
1205
|
+
self._values["commands"] = commands
|
|
1187
1206
|
if inputs is not None:
|
|
1188
1207
|
self._values["inputs"] = inputs
|
|
1189
1208
|
if outputs is not None:
|
|
1190
1209
|
self._values["outputs"] = outputs
|
|
1210
|
+
if output_variables is not None:
|
|
1211
|
+
self._values["output_variables"] = output_variables
|
|
1191
1212
|
if owner is not None:
|
|
1192
1213
|
self._values["owner"] = owner
|
|
1193
1214
|
if region is not None:
|
|
@@ -1198,6 +1219,8 @@ class ActionProperties:
|
|
|
1198
1219
|
self._values["role"] = role
|
|
1199
1220
|
if run_order is not None:
|
|
1200
1221
|
self._values["run_order"] = run_order
|
|
1222
|
+
if timeout is not None:
|
|
1223
|
+
self._values["timeout"] = timeout
|
|
1201
1224
|
if variables_namespace is not None:
|
|
1202
1225
|
self._values["variables_namespace"] = variables_namespace
|
|
1203
1226
|
if version is not None:
|
|
@@ -1247,6 +1270,15 @@ class ActionProperties:
|
|
|
1247
1270
|
result = self._values.get("account")
|
|
1248
1271
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1249
1272
|
|
|
1273
|
+
@builtins.property
|
|
1274
|
+
def commands(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1275
|
+
'''Shell commands for the Commands action to run.
|
|
1276
|
+
|
|
1277
|
+
:default: - no commands
|
|
1278
|
+
'''
|
|
1279
|
+
result = self._values.get("commands")
|
|
1280
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
1281
|
+
|
|
1250
1282
|
@builtins.property
|
|
1251
1283
|
def inputs(self) -> typing.Optional[typing.List["Artifact"]]:
|
|
1252
1284
|
result = self._values.get("inputs")
|
|
@@ -1257,6 +1289,15 @@ class ActionProperties:
|
|
|
1257
1289
|
result = self._values.get("outputs")
|
|
1258
1290
|
return typing.cast(typing.Optional[typing.List["Artifact"]], result)
|
|
1259
1291
|
|
|
1292
|
+
@builtins.property
|
|
1293
|
+
def output_variables(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1294
|
+
'''The names of the variables in your environment that you want to export.
|
|
1295
|
+
|
|
1296
|
+
:default: - no output variables
|
|
1297
|
+
'''
|
|
1298
|
+
result = self._values.get("output_variables")
|
|
1299
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
1300
|
+
|
|
1260
1301
|
@builtins.property
|
|
1261
1302
|
def owner(self) -> typing.Optional[builtins.str]:
|
|
1262
1303
|
result = self._values.get("owner")
|
|
@@ -1300,6 +1341,21 @@ class ActionProperties:
|
|
|
1300
1341
|
result = self._values.get("run_order")
|
|
1301
1342
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1302
1343
|
|
|
1344
|
+
@builtins.property
|
|
1345
|
+
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
1346
|
+
'''A timeout duration that can be applied against the ActionType’s default timeout value specified in Quotas for AWS CodePipeline.
|
|
1347
|
+
|
|
1348
|
+
This attribute is available only to the ``ManualApprovalAction``.
|
|
1349
|
+
|
|
1350
|
+
It is configurable up to 86400 minutes (60 days) with a minimum value of 5 minutes.
|
|
1351
|
+
|
|
1352
|
+
:default: - default timeout value defined by each ActionType
|
|
1353
|
+
|
|
1354
|
+
:see: https://docs.aws.amazon.com/codepipeline/latest/userguide/limits.html
|
|
1355
|
+
'''
|
|
1356
|
+
result = self._values.get("timeout")
|
|
1357
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
1358
|
+
|
|
1303
1359
|
@builtins.property
|
|
1304
1360
|
def variables_namespace(self) -> typing.Optional[builtins.str]:
|
|
1305
1361
|
'''The name of the namespace to use for variables emitted by this action.
|
|
@@ -1374,28 +1430,43 @@ class Artifact(
|
|
|
1374
1430
|
)
|
|
1375
1431
|
'''
|
|
1376
1432
|
|
|
1377
|
-
def __init__(
|
|
1378
|
-
|
|
1379
|
-
|
|
1433
|
+
def __init__(
|
|
1434
|
+
self,
|
|
1435
|
+
artifact_name: typing.Optional[builtins.str] = None,
|
|
1436
|
+
artifact_files: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1437
|
+
) -> None:
|
|
1438
|
+
'''An output artifact of an action.
|
|
1439
|
+
|
|
1440
|
+
Artifacts can be used as input by some actions.
|
|
1441
|
+
|
|
1442
|
+
:param artifact_name: the (required) name of the Artifact.
|
|
1443
|
+
:param artifact_files: file paths that you want to export as the output artifact for the action. This property can only be used in the artifact for ``CommandsAction``. The length of the artifactFiles array must be between 1 and 10.
|
|
1380
1444
|
'''
|
|
1381
1445
|
if __debug__:
|
|
1382
1446
|
type_hints = typing.get_type_hints(_typecheckingstub__f54b8d044be8c6120e635522855c750b47ac8841ab3f60bdbffb0d5bc115acd6)
|
|
1383
1447
|
check_type(argname="argument artifact_name", value=artifact_name, expected_type=type_hints["artifact_name"])
|
|
1384
|
-
|
|
1448
|
+
check_type(argname="argument artifact_files", value=artifact_files, expected_type=type_hints["artifact_files"])
|
|
1449
|
+
jsii.create(self.__class__, self, [artifact_name, artifact_files])
|
|
1385
1450
|
|
|
1386
1451
|
@jsii.member(jsii_name="artifact")
|
|
1387
1452
|
@builtins.classmethod
|
|
1388
|
-
def artifact(
|
|
1453
|
+
def artifact(
|
|
1454
|
+
cls,
|
|
1455
|
+
name: builtins.str,
|
|
1456
|
+
files: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1457
|
+
) -> "Artifact":
|
|
1389
1458
|
'''A static factory method used to create instances of the Artifact class.
|
|
1390
1459
|
|
|
1391
1460
|
Mainly meant to be used from ``decdk``.
|
|
1392
1461
|
|
|
1393
1462
|
:param name: the (required) name of the Artifact.
|
|
1463
|
+
:param files: file paths that you want to export as the output artifact for the action. This property can only be used in the artifact for ``CommandsAction``. The length of the files array must be between 1 and 10.
|
|
1394
1464
|
'''
|
|
1395
1465
|
if __debug__:
|
|
1396
1466
|
type_hints = typing.get_type_hints(_typecheckingstub__162b74657e69163ea68e052eb239ee6234ff6e7032951e1dfa2a29c0547c72f2)
|
|
1397
1467
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1398
|
-
|
|
1468
|
+
check_type(argname="argument files", value=files, expected_type=type_hints["files"])
|
|
1469
|
+
return typing.cast("Artifact", jsii.sinvoke(cls, "artifact", [name, files]))
|
|
1399
1470
|
|
|
1400
1471
|
@jsii.member(jsii_name="atPath")
|
|
1401
1472
|
def at_path(self, file_name: builtins.str) -> "ArtifactPath":
|
|
@@ -1486,6 +1557,15 @@ class Artifact(
|
|
|
1486
1557
|
'''The artifact attribute of the Amazon Simple Storage Service (Amazon S3) URL of the artifact, such as https://s3-us-west-2.amazonaws.com/artifactstorebucket-yivczw8jma0c/test/TemplateSo/1ABCyZZ.zip.'''
|
|
1487
1558
|
return typing.cast(builtins.str, jsii.get(self, "url"))
|
|
1488
1559
|
|
|
1560
|
+
@builtins.property
|
|
1561
|
+
@jsii.member(jsii_name="artifactFiles")
|
|
1562
|
+
def artifact_files(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1563
|
+
'''The file paths that you want to export as the output artifact for the action.
|
|
1564
|
+
|
|
1565
|
+
This property can only be used in artifacts for ``CommandsAction``.
|
|
1566
|
+
'''
|
|
1567
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "artifactFiles"))
|
|
1568
|
+
|
|
1489
1569
|
@builtins.property
|
|
1490
1570
|
@jsii.member(jsii_name="artifactName")
|
|
1491
1571
|
def artifact_name(self) -> typing.Optional[builtins.str]:
|
|
@@ -9364,35 +9444,35 @@ class PipelineProps:
|
|
|
9364
9444
|
|
|
9365
9445
|
Example::
|
|
9366
9446
|
|
|
9367
|
-
#
|
|
9368
|
-
|
|
9369
|
-
|
|
9370
|
-
|
|
9447
|
+
# Source action
|
|
9448
|
+
bucket = s3.Bucket(self, "SourceBucket",
|
|
9449
|
+
versioned=True
|
|
9450
|
+
)
|
|
9451
|
+
source_artifact = codepipeline.Artifact("SourceArtifact")
|
|
9452
|
+
source_action = codepipeline_actions.S3SourceAction(
|
|
9453
|
+
action_name="Source",
|
|
9454
|
+
output=source_artifact,
|
|
9455
|
+
bucket=bucket,
|
|
9456
|
+
bucket_key="my.zip"
|
|
9457
|
+
)
|
|
9371
9458
|
|
|
9372
|
-
#
|
|
9373
|
-
|
|
9374
|
-
|
|
9375
|
-
|
|
9376
|
-
|
|
9459
|
+
# Commands action
|
|
9460
|
+
output_artifact = codepipeline.Artifact("OutputArtifact")
|
|
9461
|
+
commands_action = codepipeline_actions.CommandsAction(
|
|
9462
|
+
action_name="Commands",
|
|
9463
|
+
commands=["echo \"some commands\""
|
|
9464
|
+
],
|
|
9465
|
+
input=source_artifact,
|
|
9466
|
+
output=output_artifact
|
|
9377
9467
|
)
|
|
9378
9468
|
|
|
9379
|
-
codepipeline.Pipeline(self, "Pipeline",
|
|
9380
|
-
pipeline_type=codepipeline.PipelineType.V2,
|
|
9381
|
-
variables=[variable],
|
|
9469
|
+
pipeline = codepipeline.Pipeline(self, "Pipeline",
|
|
9382
9470
|
stages=[codepipeline.StageProps(
|
|
9383
9471
|
stage_name="Source",
|
|
9384
9472
|
actions=[source_action]
|
|
9385
9473
|
), codepipeline.StageProps(
|
|
9386
|
-
stage_name="
|
|
9387
|
-
actions=[
|
|
9388
|
-
codepipeline_actions.S3DeployAction(
|
|
9389
|
-
action_name="DeployAction",
|
|
9390
|
-
# can reference the variables
|
|
9391
|
-
object_key=f"{variable.reference()}.txt",
|
|
9392
|
-
input=source_output,
|
|
9393
|
-
bucket=deploy_bucket
|
|
9394
|
-
)
|
|
9395
|
-
]
|
|
9474
|
+
stage_name="Commands",
|
|
9475
|
+
actions=[commands_action]
|
|
9396
9476
|
)
|
|
9397
9477
|
]
|
|
9398
9478
|
)
|
|
@@ -10572,13 +10652,16 @@ def _typecheckingstub__9d5af996beb5106d261c46a26d8be39e2a16f31935368b97303970d10
|
|
|
10572
10652
|
category: ActionCategory,
|
|
10573
10653
|
provider: builtins.str,
|
|
10574
10654
|
account: typing.Optional[builtins.str] = None,
|
|
10655
|
+
commands: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10575
10656
|
inputs: typing.Optional[typing.Sequence[Artifact]] = None,
|
|
10576
10657
|
outputs: typing.Optional[typing.Sequence[Artifact]] = None,
|
|
10658
|
+
output_variables: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10577
10659
|
owner: typing.Optional[builtins.str] = None,
|
|
10578
10660
|
region: typing.Optional[builtins.str] = None,
|
|
10579
10661
|
resource: typing.Optional[_IResource_c80c4260] = None,
|
|
10580
10662
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
10581
10663
|
run_order: typing.Optional[jsii.Number] = None,
|
|
10664
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
10582
10665
|
variables_namespace: typing.Optional[builtins.str] = None,
|
|
10583
10666
|
version: typing.Optional[builtins.str] = None,
|
|
10584
10667
|
) -> None:
|
|
@@ -10587,12 +10670,14 @@ def _typecheckingstub__9d5af996beb5106d261c46a26d8be39e2a16f31935368b97303970d10
|
|
|
10587
10670
|
|
|
10588
10671
|
def _typecheckingstub__f54b8d044be8c6120e635522855c750b47ac8841ab3f60bdbffb0d5bc115acd6(
|
|
10589
10672
|
artifact_name: typing.Optional[builtins.str] = None,
|
|
10673
|
+
artifact_files: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10590
10674
|
) -> None:
|
|
10591
10675
|
"""Type checking stubs"""
|
|
10592
10676
|
pass
|
|
10593
10677
|
|
|
10594
10678
|
def _typecheckingstub__162b74657e69163ea68e052eb239ee6234ff6e7032951e1dfa2a29c0547c72f2(
|
|
10595
10679
|
name: builtins.str,
|
|
10680
|
+
files: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10596
10681
|
) -> None:
|
|
10597
10682
|
"""Type checking stubs"""
|
|
10598
10683
|
pass
|