aws-cdk-lib 2.194.0__py3-none-any.whl → 2.196.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 +435 -20
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.194.0.jsii.tgz → aws-cdk-lib@2.196.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +2 -2
- aws_cdk/aws_apigateway/__init__.py +208 -70
- aws_cdk/aws_apigatewayv2/__init__.py +155 -24
- aws_cdk/aws_appconfig/__init__.py +24 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +6 -0
- aws_cdk/aws_appmesh/__init__.py +42 -0
- aws_cdk/aws_appsync/__init__.py +92 -20
- aws_cdk/aws_autoscaling/__init__.py +24 -0
- aws_cdk/aws_backup/__init__.py +53 -14
- aws_cdk/aws_batch/__init__.py +72 -0
- aws_cdk/aws_bedrock/__init__.py +1201 -18
- aws_cdk/aws_budgets/__init__.py +569 -0
- aws_cdk/aws_certificatemanager/__init__.py +21 -0
- aws_cdk/aws_chatbot/__init__.py +6 -0
- aws_cdk/aws_cloudfront/__init__.py +277 -120
- aws_cdk/aws_cloudfront/experimental/__init__.py +6 -0
- aws_cdk/aws_cloudtrail/__init__.py +6 -0
- aws_cdk/aws_cloudwatch/__init__.py +18 -0
- aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
- aws_cdk/aws_codebuild/__init__.py +48 -0
- aws_cdk/aws_codecommit/__init__.py +6 -0
- aws_cdk/aws_codedeploy/__init__.py +63 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +6 -0
- aws_cdk/aws_codepipeline/__init__.py +114 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +4 -4
- aws_cdk/aws_codestarnotifications/__init__.py +6 -0
- aws_cdk/aws_cognito/__init__.py +215 -10
- aws_cdk/aws_cognito_identitypool/__init__.py +6 -0
- aws_cdk/aws_config/__init__.py +36 -0
- aws_cdk/aws_datazone/__init__.py +1013 -100
- aws_cdk/aws_docdb/__init__.py +27 -3
- aws_cdk/aws_dsql/__init__.py +29 -12
- aws_cdk/aws_dynamodb/__init__.py +25 -11
- aws_cdk/aws_ec2/__init__.py +408 -23
- aws_cdk/aws_ecr/__init__.py +22 -14
- aws_cdk/aws_ecr_assets/__init__.py +6 -0
- aws_cdk/aws_ecs/__init__.py +116 -34
- aws_cdk/aws_ecs_patterns/__init__.py +58 -0
- aws_cdk/aws_efs/__init__.py +12 -0
- aws_cdk/aws_eks/__init__.py +42 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +6 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -9
- aws_cdk/aws_elasticsearch/__init__.py +9 -0
- aws_cdk/aws_events/__init__.py +36 -0
- aws_cdk/aws_events_targets/__init__.py +10 -10
- aws_cdk/aws_fsx/__init__.py +8 -3
- aws_cdk/aws_globalaccelerator/__init__.py +18 -0
- aws_cdk/aws_iam/__init__.py +66 -0
- aws_cdk/aws_imagebuilder/__init__.py +181 -26
- aws_cdk/aws_inspector/__init__.py +6 -0
- aws_cdk/aws_kinesis/__init__.py +19 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +7 -7
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +7 -7
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
- aws_cdk/aws_kms/__init__.py +16 -4
- aws_cdk/aws_lambda/__init__.py +76 -6
- aws_cdk/aws_lambda_nodejs/__init__.py +6 -0
- aws_cdk/aws_logs/__init__.py +155 -12
- aws_cdk/aws_medialive/__init__.py +4 -6
- aws_cdk/aws_mediatailor/__init__.py +115 -0
- aws_cdk/aws_oam/__init__.py +43 -10
- aws_cdk/aws_opensearchservice/__init__.py +12 -0
- aws_cdk/aws_qbusiness/__init__.py +2 -2
- aws_cdk/aws_quicksight/__init__.py +22 -22
- aws_cdk/aws_rds/__init__.py +347 -36
- aws_cdk/aws_redshiftserverless/__init__.py +7 -7
- aws_cdk/aws_route53/__init__.py +735 -33
- aws_cdk/aws_route53_targets/__init__.py +62 -1
- aws_cdk/aws_route53profiles/__init__.py +1 -1
- aws_cdk/aws_s3/__init__.py +37 -10
- aws_cdk/aws_s3_deployment/__init__.py +6 -0
- aws_cdk/aws_s3_notifications/__init__.py +5 -5
- aws_cdk/aws_sagemaker/__init__.py +452 -8
- aws_cdk/aws_scheduler/__init__.py +12 -0
- aws_cdk/aws_secretsmanager/__init__.py +24 -0
- aws_cdk/aws_servicecatalog/__init__.py +24 -0
- aws_cdk/aws_servicediscovery/__init__.py +48 -0
- aws_cdk/aws_ses/__init__.py +133 -33
- aws_cdk/aws_signer/__init__.py +6 -0
- aws_cdk/aws_sns/__init__.py +18 -0
- aws_cdk/aws_sns_subscriptions/__init__.py +6 -0
- aws_cdk/aws_sqs/__init__.py +12 -0
- aws_cdk/aws_ssm/__init__.py +12 -0
- aws_cdk/aws_ssmcontacts/__init__.py +53 -2
- aws_cdk/aws_ssmguiconnect/__init__.py +544 -0
- aws_cdk/aws_stepfunctions/__init__.py +153 -7
- aws_cdk/aws_stepfunctions_tasks/__init__.py +46 -10
- aws_cdk/aws_synthetics/__init__.py +32 -0
- aws_cdk/aws_verifiedpermissions/__init__.py +168 -3
- aws_cdk/aws_vpclattice/__init__.py +3 -1
- aws_cdk/aws_wisdom/__init__.py +6 -4
- aws_cdk/cloud_assembly_schema/__init__.py +7 -1
- aws_cdk/custom_resources/__init__.py +18 -0
- aws_cdk/cx_api/__init__.py +33 -0
- aws_cdk/lambda_layer_awscli/__init__.py +6 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
- aws_cdk/pipelines/__init__.py +10 -10
- aws_cdk/triggers/__init__.py +6 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/METADATA +84 -6
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/RECORD +108 -107
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/top_level.txt +0 -0
|
@@ -853,6 +853,12 @@ class EdgeFunction(
|
|
|
853
853
|
|
|
854
854
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricThrottles", [props]))
|
|
855
855
|
|
|
856
|
+
@jsii.python.classproperty
|
|
857
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
858
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
859
|
+
'''Uniquely identifies this class.'''
|
|
860
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
861
|
+
|
|
856
862
|
@builtins.property
|
|
857
863
|
@jsii.member(jsii_name="architecture")
|
|
858
864
|
def architecture(self) -> _Architecture_12d5a53f:
|
|
@@ -4760,6 +4760,12 @@ class Trail(
|
|
|
4760
4760
|
|
|
4761
4761
|
return typing.cast(None, jsii.invoke(self, "logAllS3DataEvents", [options]))
|
|
4762
4762
|
|
|
4763
|
+
@jsii.python.classproperty
|
|
4764
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
4765
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
4766
|
+
'''Uniquely identifies this class.'''
|
|
4767
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
4768
|
+
|
|
4763
4769
|
@builtins.property
|
|
4764
4770
|
@jsii.member(jsii_name="trailArn")
|
|
4765
4771
|
def trail_arn(self) -> builtins.str:
|
|
@@ -7180,6 +7180,12 @@ class Dashboard(
|
|
|
7180
7180
|
check_type(argname="argument widgets", value=widgets, expected_type=typing.Tuple[type_hints["widgets"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
7181
7181
|
return typing.cast(None, jsii.invoke(self, "addWidgets", [*widgets]))
|
|
7182
7182
|
|
|
7183
|
+
@jsii.python.classproperty
|
|
7184
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
7185
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
7186
|
+
'''Uniquely identifies this class.'''
|
|
7187
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
7188
|
+
|
|
7183
7189
|
@builtins.property
|
|
7184
7190
|
@jsii.member(jsii_name="dashboardArn")
|
|
7185
7191
|
def dashboard_arn(self) -> builtins.str:
|
|
@@ -14829,6 +14835,12 @@ class CompositeAlarm(
|
|
|
14829
14835
|
check_type(argname="argument composite_alarm_name", value=composite_alarm_name, expected_type=type_hints["composite_alarm_name"])
|
|
14830
14836
|
return typing.cast(IAlarm, jsii.sinvoke(cls, "fromCompositeAlarmName", [scope, id, composite_alarm_name]))
|
|
14831
14837
|
|
|
14838
|
+
@jsii.python.classproperty
|
|
14839
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
14840
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
14841
|
+
'''Uniquely identifies this class.'''
|
|
14842
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
14843
|
+
|
|
14832
14844
|
@builtins.property
|
|
14833
14845
|
@jsii.member(jsii_name="alarmArn")
|
|
14834
14846
|
def alarm_arn(self) -> builtins.str:
|
|
@@ -15008,6 +15020,12 @@ class Alarm(
|
|
|
15008
15020
|
'''
|
|
15009
15021
|
return typing.cast(HorizontalAnnotation, jsii.invoke(self, "toAnnotation", []))
|
|
15010
15022
|
|
|
15023
|
+
@jsii.python.classproperty
|
|
15024
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
15025
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
15026
|
+
'''Uniquely identifies this class.'''
|
|
15027
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
15028
|
+
|
|
15011
15029
|
@builtins.property
|
|
15012
15030
|
@jsii.member(jsii_name="alarmArn")
|
|
15013
15031
|
def alarm_arn(self) -> builtins.str:
|
|
@@ -313,14 +313,19 @@ class LambdaAction(
|
|
|
313
313
|
def __init__(
|
|
314
314
|
self,
|
|
315
315
|
lambda_function: typing.Union[_IFunction_6adb0ab8, _IVersion_faf7234e, _IAlias_c8fe45f4],
|
|
316
|
+
*,
|
|
317
|
+
use_unique_permission_id: typing.Optional[builtins.bool] = None,
|
|
316
318
|
) -> None:
|
|
317
319
|
'''
|
|
318
320
|
:param lambda_function: -
|
|
321
|
+
:param use_unique_permission_id: Whether to generate unique Lambda Permission id. Use this parameter to resolve id collision in case of multiple alarms triggering the same action Default: - false
|
|
319
322
|
'''
|
|
320
323
|
if __debug__:
|
|
321
324
|
type_hints = typing.get_type_hints(_typecheckingstub__2693adec8362e537633b2584509df8d0d77cb381732395de1707d1edfe2c3c9e)
|
|
322
325
|
check_type(argname="argument lambda_function", value=lambda_function, expected_type=type_hints["lambda_function"])
|
|
323
|
-
|
|
326
|
+
props = LambdaActionProps(use_unique_permission_id=use_unique_permission_id)
|
|
327
|
+
|
|
328
|
+
jsii.create(self.__class__, self, [lambda_function, props])
|
|
324
329
|
|
|
325
330
|
@jsii.member(jsii_name="bind")
|
|
326
331
|
def bind(
|
|
@@ -342,6 +347,65 @@ class LambdaAction(
|
|
|
342
347
|
return typing.cast(_AlarmActionConfig_f831c655, jsii.invoke(self, "bind", [scope, alarm]))
|
|
343
348
|
|
|
344
349
|
|
|
350
|
+
@jsii.data_type(
|
|
351
|
+
jsii_type="aws-cdk-lib.aws_cloudwatch_actions.LambdaActionProps",
|
|
352
|
+
jsii_struct_bases=[],
|
|
353
|
+
name_mapping={"use_unique_permission_id": "useUniquePermissionId"},
|
|
354
|
+
)
|
|
355
|
+
class LambdaActionProps:
|
|
356
|
+
def __init__(
|
|
357
|
+
self,
|
|
358
|
+
*,
|
|
359
|
+
use_unique_permission_id: typing.Optional[builtins.bool] = None,
|
|
360
|
+
) -> None:
|
|
361
|
+
'''Properties for Lambda Alarm Action.
|
|
362
|
+
|
|
363
|
+
:param use_unique_permission_id: Whether to generate unique Lambda Permission id. Use this parameter to resolve id collision in case of multiple alarms triggering the same action Default: - false
|
|
364
|
+
|
|
365
|
+
:exampleMetadata: fixture=_generated
|
|
366
|
+
|
|
367
|
+
Example::
|
|
368
|
+
|
|
369
|
+
# The code below shows an example of how to instantiate this type.
|
|
370
|
+
# The values are placeholders you should change.
|
|
371
|
+
from aws_cdk import aws_cloudwatch_actions as cloudwatch_actions
|
|
372
|
+
|
|
373
|
+
lambda_action_props = cloudwatch_actions.LambdaActionProps(
|
|
374
|
+
use_unique_permission_id=False
|
|
375
|
+
)
|
|
376
|
+
'''
|
|
377
|
+
if __debug__:
|
|
378
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2be134df5b4b042a1cf75cbb9e29a273c25a1bdf15dc683b2cbba3452447846a)
|
|
379
|
+
check_type(argname="argument use_unique_permission_id", value=use_unique_permission_id, expected_type=type_hints["use_unique_permission_id"])
|
|
380
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
381
|
+
if use_unique_permission_id is not None:
|
|
382
|
+
self._values["use_unique_permission_id"] = use_unique_permission_id
|
|
383
|
+
|
|
384
|
+
@builtins.property
|
|
385
|
+
def use_unique_permission_id(self) -> typing.Optional[builtins.bool]:
|
|
386
|
+
'''Whether to generate unique Lambda Permission id.
|
|
387
|
+
|
|
388
|
+
Use this parameter to resolve id collision in case of multiple alarms triggering the same action
|
|
389
|
+
|
|
390
|
+
:default: - false
|
|
391
|
+
|
|
392
|
+
:see: https://github.com/aws/aws-cdk/issues/33958
|
|
393
|
+
'''
|
|
394
|
+
result = self._values.get("use_unique_permission_id")
|
|
395
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
396
|
+
|
|
397
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
398
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
399
|
+
|
|
400
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
401
|
+
return not (rhs == self)
|
|
402
|
+
|
|
403
|
+
def __repr__(self) -> str:
|
|
404
|
+
return "LambdaActionProps(%s)" % ", ".join(
|
|
405
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
406
|
+
)
|
|
407
|
+
|
|
408
|
+
|
|
345
409
|
@jsii.enum(jsii_type="aws-cdk-lib.aws_cloudwatch_actions.OpsItemCategory")
|
|
346
410
|
class OpsItemCategory(enum.Enum):
|
|
347
411
|
'''Types of OpsItem category available.
|
|
@@ -542,6 +606,7 @@ __all__ = [
|
|
|
542
606
|
"Ec2Action",
|
|
543
607
|
"Ec2InstanceAction",
|
|
544
608
|
"LambdaAction",
|
|
609
|
+
"LambdaActionProps",
|
|
545
610
|
"OpsItemCategory",
|
|
546
611
|
"OpsItemSeverity",
|
|
547
612
|
"SnsAction",
|
|
@@ -592,6 +657,8 @@ def _typecheckingstub__617684dcf0b429d0176779c30669a734e5e356a2d0dbb98bf321e897c
|
|
|
592
657
|
|
|
593
658
|
def _typecheckingstub__2693adec8362e537633b2584509df8d0d77cb381732395de1707d1edfe2c3c9e(
|
|
594
659
|
lambda_function: typing.Union[_IFunction_6adb0ab8, _IVersion_faf7234e, _IAlias_c8fe45f4],
|
|
660
|
+
*,
|
|
661
|
+
use_unique_permission_id: typing.Optional[builtins.bool] = None,
|
|
595
662
|
) -> None:
|
|
596
663
|
"""Type checking stubs"""
|
|
597
664
|
pass
|
|
@@ -603,6 +670,13 @@ def _typecheckingstub__2856bb69373ffd5b6a7628782cc0fb8ab9fd20450269ca5c709a08e9b
|
|
|
603
670
|
"""Type checking stubs"""
|
|
604
671
|
pass
|
|
605
672
|
|
|
673
|
+
def _typecheckingstub__2be134df5b4b042a1cf75cbb9e29a273c25a1bdf15dc683b2cbba3452447846a(
|
|
674
|
+
*,
|
|
675
|
+
use_unique_permission_id: typing.Optional[builtins.bool] = None,
|
|
676
|
+
) -> None:
|
|
677
|
+
"""Type checking stubs"""
|
|
678
|
+
pass
|
|
679
|
+
|
|
606
680
|
def _typecheckingstub__d45c9fa069d1e0b882f975c29c8eb30315e60025b85741889c42ee16c1f229ca(
|
|
607
681
|
topic: _ITopic_9eca4852,
|
|
608
682
|
) -> None:
|
|
@@ -1392,6 +1392,12 @@ class BitBucketSourceCredentials(
|
|
|
1392
1392
|
|
|
1393
1393
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
1394
1394
|
|
|
1395
|
+
@jsii.python.classproperty
|
|
1396
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
1397
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
1398
|
+
'''Uniquely identifies this class.'''
|
|
1399
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
1400
|
+
|
|
1395
1401
|
|
|
1396
1402
|
@jsii.data_type(
|
|
1397
1403
|
jsii_type="aws-cdk-lib.aws_codebuild.BitBucketSourceCredentialsProps",
|
|
@@ -9960,6 +9966,12 @@ class GitHubEnterpriseSourceCredentials(
|
|
|
9960
9966
|
|
|
9961
9967
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
9962
9968
|
|
|
9969
|
+
@jsii.python.classproperty
|
|
9970
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
9971
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
9972
|
+
'''Uniquely identifies this class.'''
|
|
9973
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
9974
|
+
|
|
9963
9975
|
|
|
9964
9976
|
@jsii.data_type(
|
|
9965
9977
|
jsii_type="aws-cdk-lib.aws_codebuild.GitHubEnterpriseSourceCredentialsProps",
|
|
@@ -10054,6 +10066,12 @@ class GitHubSourceCredentials(
|
|
|
10054
10066
|
|
|
10055
10067
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
10056
10068
|
|
|
10069
|
+
@jsii.python.classproperty
|
|
10070
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
10071
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
10072
|
+
'''Uniquely identifies this class.'''
|
|
10073
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
10074
|
+
|
|
10057
10075
|
|
|
10058
10076
|
@jsii.data_type(
|
|
10059
10077
|
jsii_type="aws-cdk-lib.aws_codebuild.GitHubSourceCredentialsProps",
|
|
@@ -14626,6 +14644,12 @@ class Project(
|
|
|
14626
14644
|
|
|
14627
14645
|
return typing.cast(_Rule_334ed2b5, jsii.invoke(self, "onStateChange", [id, options]))
|
|
14628
14646
|
|
|
14647
|
+
@jsii.python.classproperty
|
|
14648
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
14649
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
14650
|
+
'''Uniquely identifies this class.'''
|
|
14651
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
14652
|
+
|
|
14629
14653
|
@builtins.property
|
|
14630
14654
|
@jsii.member(jsii_name="connections")
|
|
14631
14655
|
def connections(self) -> _Connections_0f31fce8:
|
|
@@ -15481,6 +15505,12 @@ class ReportGroup(
|
|
|
15481
15505
|
check_type(argname="argument identity", value=identity, expected_type=type_hints["identity"])
|
|
15482
15506
|
return typing.cast(_Grant_a7ae64f8, jsii.invoke(self, "grantWrite", [identity]))
|
|
15483
15507
|
|
|
15508
|
+
@jsii.python.classproperty
|
|
15509
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
15510
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
15511
|
+
'''Uniquely identifies this class.'''
|
|
15512
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
15513
|
+
|
|
15484
15514
|
@builtins.property
|
|
15485
15515
|
@jsii.member(jsii_name="reportGroupArn")
|
|
15486
15516
|
def report_group_arn(self) -> builtins.str:
|
|
@@ -16500,6 +16530,12 @@ class UntrustedCodeBoundaryPolicy(
|
|
|
16500
16530
|
|
|
16501
16531
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
16502
16532
|
|
|
16533
|
+
@jsii.python.classproperty
|
|
16534
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
16535
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
16536
|
+
'''Uniquely identifies this class.'''
|
|
16537
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
16538
|
+
|
|
16503
16539
|
|
|
16504
16540
|
@jsii.data_type(
|
|
16505
16541
|
jsii_type="aws-cdk-lib.aws_codebuild.UntrustedCodeBoundaryPolicyProps",
|
|
@@ -17431,6 +17467,12 @@ class Fleet(
|
|
|
17431
17467
|
check_type(argname="argument fleet_arn", value=fleet_arn, expected_type=type_hints["fleet_arn"])
|
|
17432
17468
|
return typing.cast(IFleet, jsii.sinvoke(cls, "fromFleetArn", [scope, id, fleet_arn]))
|
|
17433
17469
|
|
|
17470
|
+
@jsii.python.classproperty
|
|
17471
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
17472
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
17473
|
+
'''Uniquely identifies this class.'''
|
|
17474
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
17475
|
+
|
|
17434
17476
|
@builtins.property
|
|
17435
17477
|
@jsii.member(jsii_name="computeType")
|
|
17436
17478
|
def compute_type(self) -> FleetComputeType:
|
|
@@ -18434,6 +18476,12 @@ class PipelineProject(
|
|
|
18434
18476
|
|
|
18435
18477
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
18436
18478
|
|
|
18479
|
+
@jsii.python.classproperty
|
|
18480
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
18481
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
18482
|
+
'''Uniquely identifies this class.'''
|
|
18483
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
18484
|
+
|
|
18437
18485
|
|
|
18438
18486
|
@jsii.data_type(
|
|
18439
18487
|
jsii_type="aws-cdk-lib.aws_codebuild.S3SourceProps",
|
|
@@ -3292,6 +3292,12 @@ class Repository(
|
|
|
3292
3292
|
|
|
3293
3293
|
return typing.cast(_Rule_334ed2b5, jsii.invoke(self, "onStateChange", [id, options]))
|
|
3294
3294
|
|
|
3295
|
+
@jsii.python.classproperty
|
|
3296
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
3297
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
3298
|
+
'''Uniquely identifies this class.'''
|
|
3299
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
3300
|
+
|
|
3295
3301
|
@builtins.property
|
|
3296
3302
|
@jsii.member(jsii_name="repositoryArn")
|
|
3297
3303
|
def repository_arn(self) -> builtins.str:
|
|
@@ -7167,6 +7167,12 @@ class LambdaApplication(
|
|
|
7167
7167
|
check_type(argname="argument lambda_application_name", value=lambda_application_name, expected_type=type_hints["lambda_application_name"])
|
|
7168
7168
|
return typing.cast(ILambdaApplication, jsii.sinvoke(cls, "fromLambdaApplicationName", [scope, id, lambda_application_name]))
|
|
7169
7169
|
|
|
7170
|
+
@jsii.python.classproperty
|
|
7171
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
7172
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
7173
|
+
'''Uniquely identifies this class.'''
|
|
7174
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
7175
|
+
|
|
7170
7176
|
@builtins.property
|
|
7171
7177
|
@jsii.member(jsii_name="applicationArn")
|
|
7172
7178
|
def application_arn(self) -> builtins.str:
|
|
@@ -7522,6 +7528,12 @@ class LambdaDeploymentGroup(
|
|
|
7522
7528
|
check_type(argname="argument grantee", value=grantee, expected_type=type_hints["grantee"])
|
|
7523
7529
|
return typing.cast(_Grant_a7ae64f8, jsii.invoke(self, "grantPutLifecycleEventHookExecutionStatus", [grantee]))
|
|
7524
7530
|
|
|
7531
|
+
@jsii.python.classproperty
|
|
7532
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
7533
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
7534
|
+
'''Uniquely identifies this class.'''
|
|
7535
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
7536
|
+
|
|
7525
7537
|
@builtins.property
|
|
7526
7538
|
@jsii.member(jsii_name="application")
|
|
7527
7539
|
def application(self) -> ILambdaApplication:
|
|
@@ -8204,6 +8216,12 @@ class ServerApplication(
|
|
|
8204
8216
|
check_type(argname="argument server_application_name", value=server_application_name, expected_type=type_hints["server_application_name"])
|
|
8205
8217
|
return typing.cast(IServerApplication, jsii.sinvoke(cls, "fromServerApplicationName", [scope, id, server_application_name]))
|
|
8206
8218
|
|
|
8219
|
+
@jsii.python.classproperty
|
|
8220
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
8221
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
8222
|
+
'''Uniquely identifies this class.'''
|
|
8223
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
8224
|
+
|
|
8207
8225
|
@builtins.property
|
|
8208
8226
|
@jsii.member(jsii_name="applicationArn")
|
|
8209
8227
|
def application_arn(self) -> builtins.str:
|
|
@@ -8493,6 +8511,12 @@ class ServerDeploymentGroup(
|
|
|
8493
8511
|
check_type(argname="argument asg", value=asg, expected_type=type_hints["asg"])
|
|
8494
8512
|
return typing.cast(None, jsii.invoke(self, "addAutoScalingGroup", [asg]))
|
|
8495
8513
|
|
|
8514
|
+
@jsii.python.classproperty
|
|
8515
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
8516
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
8517
|
+
'''Uniquely identifies this class.'''
|
|
8518
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
8519
|
+
|
|
8496
8520
|
@builtins.property
|
|
8497
8521
|
@jsii.member(jsii_name="application")
|
|
8498
8522
|
def application(self) -> IServerApplication:
|
|
@@ -9529,6 +9553,15 @@ class CustomLambdaDeploymentConfig(
|
|
|
9529
9553
|
|
|
9530
9554
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
9531
9555
|
|
|
9556
|
+
@jsii.python.classproperty
|
|
9557
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
9558
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
9559
|
+
'''(deprecated) Uniquely identifies this class.
|
|
9560
|
+
|
|
9561
|
+
:stability: deprecated
|
|
9562
|
+
'''
|
|
9563
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
9564
|
+
|
|
9532
9565
|
@builtins.property
|
|
9533
9566
|
@jsii.member(jsii_name="deploymentConfigArn")
|
|
9534
9567
|
def deployment_config_arn(self) -> builtins.str:
|
|
@@ -9641,6 +9674,12 @@ class EcsApplication(
|
|
|
9641
9674
|
check_type(argname="argument ecs_application_name", value=ecs_application_name, expected_type=type_hints["ecs_application_name"])
|
|
9642
9675
|
return typing.cast(IEcsApplication, jsii.sinvoke(cls, "fromEcsApplicationName", [scope, id, ecs_application_name]))
|
|
9643
9676
|
|
|
9677
|
+
@jsii.python.classproperty
|
|
9678
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
9679
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
9680
|
+
'''Uniquely identifies this class.'''
|
|
9681
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
9682
|
+
|
|
9644
9683
|
@builtins.property
|
|
9645
9684
|
@jsii.member(jsii_name="applicationArn")
|
|
9646
9685
|
def application_arn(self) -> builtins.str:
|
|
@@ -9774,6 +9813,12 @@ class EcsDeploymentConfig(
|
|
|
9774
9813
|
'''CodeDeploy predefined deployment configuration that shifts 10 percent of traffic every three minutes until all traffic is shifted.'''
|
|
9775
9814
|
return typing.cast(IEcsDeploymentConfig, jsii.sget(cls, "LINEAR_10PERCENT_EVERY_3MINUTES"))
|
|
9776
9815
|
|
|
9816
|
+
@jsii.python.classproperty
|
|
9817
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
9818
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
9819
|
+
'''Uniquely identifies this class.'''
|
|
9820
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
9821
|
+
|
|
9777
9822
|
|
|
9778
9823
|
@jsii.implements(IEcsDeploymentGroup)
|
|
9779
9824
|
class EcsDeploymentGroup(
|
|
@@ -9910,6 +9955,12 @@ class EcsDeploymentGroup(
|
|
|
9910
9955
|
check_type(argname="argument alarm", value=alarm, expected_type=type_hints["alarm"])
|
|
9911
9956
|
return typing.cast(None, jsii.invoke(self, "addAlarm", [alarm]))
|
|
9912
9957
|
|
|
9958
|
+
@jsii.python.classproperty
|
|
9959
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
9960
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
9961
|
+
'''Uniquely identifies this class.'''
|
|
9962
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
9963
|
+
|
|
9913
9964
|
@builtins.property
|
|
9914
9965
|
@jsii.member(jsii_name="application")
|
|
9915
9966
|
def application(self) -> IEcsApplication:
|
|
@@ -10114,6 +10165,12 @@ class LambdaDeploymentConfig(
|
|
|
10114
10165
|
'''CodeDeploy predefined deployment configuration that shifts 10 percent of traffic every three minutes until all traffic is shifted.'''
|
|
10115
10166
|
return typing.cast(ILambdaDeploymentConfig, jsii.sget(cls, "LINEAR_10PERCENT_EVERY_3MINUTES"))
|
|
10116
10167
|
|
|
10168
|
+
@jsii.python.classproperty
|
|
10169
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
10170
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
10171
|
+
'''Uniquely identifies this class.'''
|
|
10172
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
10173
|
+
|
|
10117
10174
|
|
|
10118
10175
|
@jsii.implements(IServerDeploymentConfig)
|
|
10119
10176
|
class ServerDeploymentConfig(
|
|
@@ -10213,6 +10270,12 @@ class ServerDeploymentConfig(
|
|
|
10213
10270
|
'''
|
|
10214
10271
|
return typing.cast(IServerDeploymentConfig, jsii.sget(cls, "ONE_AT_A_TIME"))
|
|
10215
10272
|
|
|
10273
|
+
@jsii.python.classproperty
|
|
10274
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
10275
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
10276
|
+
'''Uniquely identifies this class.'''
|
|
10277
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
10278
|
+
|
|
10216
10279
|
|
|
10217
10280
|
class TimeBasedCanaryTrafficRouting(
|
|
10218
10281
|
TrafficRouting,
|
|
@@ -798,6 +798,12 @@ class ProfilingGroup(
|
|
|
798
798
|
check_type(argname="argument grantee", value=grantee, expected_type=type_hints["grantee"])
|
|
799
799
|
return typing.cast(_Grant_a7ae64f8, jsii.invoke(self, "grantRead", [grantee]))
|
|
800
800
|
|
|
801
|
+
@jsii.python.classproperty
|
|
802
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
803
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
804
|
+
'''Uniquely identifies this class.'''
|
|
805
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
806
|
+
|
|
801
807
|
@builtins.property
|
|
802
808
|
@jsii.member(jsii_name="profilingGroupArn")
|
|
803
809
|
def profiling_group_arn(self) -> builtins.str:
|
|
@@ -2697,6 +2697,10 @@ class CfnPipeline(
|
|
|
2697
2697
|
# the properties below are optional
|
|
2698
2698
|
commands=["commands"],
|
|
2699
2699
|
configuration=configuration,
|
|
2700
|
+
environment_variables=[codepipeline.CfnPipeline.EnvironmentVariableProperty(
|
|
2701
|
+
name="name",
|
|
2702
|
+
value="value"
|
|
2703
|
+
)],
|
|
2700
2704
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
2701
2705
|
name="name"
|
|
2702
2706
|
)],
|
|
@@ -3178,6 +3182,7 @@ class CfnPipeline(
|
|
|
3178
3182
|
"name": "name",
|
|
3179
3183
|
"commands": "commands",
|
|
3180
3184
|
"configuration": "configuration",
|
|
3185
|
+
"environment_variables": "environmentVariables",
|
|
3181
3186
|
"input_artifacts": "inputArtifacts",
|
|
3182
3187
|
"namespace": "namespace",
|
|
3183
3188
|
"output_artifacts": "outputArtifacts",
|
|
@@ -3196,6 +3201,7 @@ class CfnPipeline(
|
|
|
3196
3201
|
name: builtins.str,
|
|
3197
3202
|
commands: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3198
3203
|
configuration: typing.Any = None,
|
|
3204
|
+
environment_variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.EnvironmentVariableProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3199
3205
|
input_artifacts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.InputArtifactProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3200
3206
|
namespace: typing.Optional[builtins.str] = None,
|
|
3201
3207
|
output_artifacts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.OutputArtifactProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -3211,6 +3217,7 @@ class CfnPipeline(
|
|
|
3211
3217
|
:param name: The action declaration's name.
|
|
3212
3218
|
:param commands: The shell commands to run with your compute action in CodePipeline. All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild. .. epigraph:: Using compute time for this action will incur separate charges in AWS CodeBuild .
|
|
3213
3219
|
:param configuration: The action's configuration. These are key-value pairs that specify input values for an action. For more information, see `Action Structure Requirements in CodePipeline <https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements>`_ . For the list of configuration properties for the AWS CloudFormation action type in CodePipeline, see `Configuration Properties Reference <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-action-reference.html>`_ in the *AWS CloudFormation User Guide* . For template snippets with examples, see `Using Parameter Override Functions with CodePipeline Pipelines <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-parameter-override-functions.html>`_ in the *AWS CloudFormation User Guide* . The values can be represented in either JSON or YAML format. For example, the JSON configuration item format is as follows: *JSON:* ``"Configuration" : { Key : Value },``
|
|
3220
|
+
:param environment_variables: The environment variables for the action.
|
|
3214
3221
|
:param input_artifacts: The name or ID of the artifact consumed by the action, such as a test or build artifact. While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of input artifacts. To refer to the action configuration specification by action provider, see the `Action structure reference <https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html>`_ in the *AWS CodePipeline User Guide* . .. epigraph:: For a CodeBuild action with multiple input artifacts, one of your input sources must be designated the PrimarySource. For more information, see the `CodeBuild action reference page <https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CodeBuild.html>`_ in the *AWS CodePipeline User Guide* .
|
|
3215
3222
|
:param namespace: The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.
|
|
3216
3223
|
:param output_artifacts: The name or ID of the result of the action declaration, such as a test or build artifact. While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of output artifacts. To refer to the action configuration specification by action provider, see the `Action structure reference <https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html>`_ in the *AWS CodePipeline User Guide* .
|
|
@@ -3243,6 +3250,10 @@ class CfnPipeline(
|
|
|
3243
3250
|
# the properties below are optional
|
|
3244
3251
|
commands=["commands"],
|
|
3245
3252
|
configuration=configuration,
|
|
3253
|
+
environment_variables=[codepipeline.CfnPipeline.EnvironmentVariableProperty(
|
|
3254
|
+
name="name",
|
|
3255
|
+
value="value"
|
|
3256
|
+
)],
|
|
3246
3257
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
3247
3258
|
name="name"
|
|
3248
3259
|
)],
|
|
@@ -3266,6 +3277,7 @@ class CfnPipeline(
|
|
|
3266
3277
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
3267
3278
|
check_type(argname="argument commands", value=commands, expected_type=type_hints["commands"])
|
|
3268
3279
|
check_type(argname="argument configuration", value=configuration, expected_type=type_hints["configuration"])
|
|
3280
|
+
check_type(argname="argument environment_variables", value=environment_variables, expected_type=type_hints["environment_variables"])
|
|
3269
3281
|
check_type(argname="argument input_artifacts", value=input_artifacts, expected_type=type_hints["input_artifacts"])
|
|
3270
3282
|
check_type(argname="argument namespace", value=namespace, expected_type=type_hints["namespace"])
|
|
3271
3283
|
check_type(argname="argument output_artifacts", value=output_artifacts, expected_type=type_hints["output_artifacts"])
|
|
@@ -3282,6 +3294,8 @@ class CfnPipeline(
|
|
|
3282
3294
|
self._values["commands"] = commands
|
|
3283
3295
|
if configuration is not None:
|
|
3284
3296
|
self._values["configuration"] = configuration
|
|
3297
|
+
if environment_variables is not None:
|
|
3298
|
+
self._values["environment_variables"] = environment_variables
|
|
3285
3299
|
if input_artifacts is not None:
|
|
3286
3300
|
self._values["input_artifacts"] = input_artifacts
|
|
3287
3301
|
if namespace is not None:
|
|
@@ -3352,6 +3366,17 @@ class CfnPipeline(
|
|
|
3352
3366
|
result = self._values.get("configuration")
|
|
3353
3367
|
return typing.cast(typing.Any, result)
|
|
3354
3368
|
|
|
3369
|
+
@builtins.property
|
|
3370
|
+
def environment_variables(
|
|
3371
|
+
self,
|
|
3372
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipeline.EnvironmentVariableProperty"]]]]:
|
|
3373
|
+
'''The environment variables for the action.
|
|
3374
|
+
|
|
3375
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-environmentvariables
|
|
3376
|
+
'''
|
|
3377
|
+
result = self._values.get("environment_variables")
|
|
3378
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipeline.EnvironmentVariableProperty"]]]], result)
|
|
3379
|
+
|
|
3355
3380
|
@builtins.property
|
|
3356
3381
|
def input_artifacts(
|
|
3357
3382
|
self,
|
|
@@ -4081,6 +4106,72 @@ class CfnPipeline(
|
|
|
4081
4106
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
4082
4107
|
)
|
|
4083
4108
|
|
|
4109
|
+
@jsii.data_type(
|
|
4110
|
+
jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.EnvironmentVariableProperty",
|
|
4111
|
+
jsii_struct_bases=[],
|
|
4112
|
+
name_mapping={"name": "name", "value": "value"},
|
|
4113
|
+
)
|
|
4114
|
+
class EnvironmentVariableProperty:
|
|
4115
|
+
def __init__(self, *, name: builtins.str, value: builtins.str) -> None:
|
|
4116
|
+
'''The environment variables for the action.
|
|
4117
|
+
|
|
4118
|
+
:param name: The environment variable name in the key-value pair.
|
|
4119
|
+
:param value: The environment variable value in the key-value pair.
|
|
4120
|
+
|
|
4121
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-environmentvariable.html
|
|
4122
|
+
:exampleMetadata: fixture=_generated
|
|
4123
|
+
|
|
4124
|
+
Example::
|
|
4125
|
+
|
|
4126
|
+
# The code below shows an example of how to instantiate this type.
|
|
4127
|
+
# The values are placeholders you should change.
|
|
4128
|
+
from aws_cdk import aws_codepipeline as codepipeline
|
|
4129
|
+
|
|
4130
|
+
environment_variable_property = codepipeline.CfnPipeline.EnvironmentVariableProperty(
|
|
4131
|
+
name="name",
|
|
4132
|
+
value="value"
|
|
4133
|
+
)
|
|
4134
|
+
'''
|
|
4135
|
+
if __debug__:
|
|
4136
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f259d9da088fb308ad8abebb0fb3aca04739c87fd2ed5561a20074f8e2458d5a)
|
|
4137
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
4138
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4139
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4140
|
+
"name": name,
|
|
4141
|
+
"value": value,
|
|
4142
|
+
}
|
|
4143
|
+
|
|
4144
|
+
@builtins.property
|
|
4145
|
+
def name(self) -> builtins.str:
|
|
4146
|
+
'''The environment variable name in the key-value pair.
|
|
4147
|
+
|
|
4148
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-environmentvariable.html#cfn-codepipeline-pipeline-environmentvariable-name
|
|
4149
|
+
'''
|
|
4150
|
+
result = self._values.get("name")
|
|
4151
|
+
assert result is not None, "Required property 'name' is missing"
|
|
4152
|
+
return typing.cast(builtins.str, result)
|
|
4153
|
+
|
|
4154
|
+
@builtins.property
|
|
4155
|
+
def value(self) -> builtins.str:
|
|
4156
|
+
'''The environment variable value in the key-value pair.
|
|
4157
|
+
|
|
4158
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-environmentvariable.html#cfn-codepipeline-pipeline-environmentvariable-value
|
|
4159
|
+
'''
|
|
4160
|
+
result = self._values.get("value")
|
|
4161
|
+
assert result is not None, "Required property 'value' is missing"
|
|
4162
|
+
return typing.cast(builtins.str, result)
|
|
4163
|
+
|
|
4164
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4165
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4166
|
+
|
|
4167
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4168
|
+
return not (rhs == self)
|
|
4169
|
+
|
|
4170
|
+
def __repr__(self) -> str:
|
|
4171
|
+
return "EnvironmentVariableProperty(%s)" % ", ".join(
|
|
4172
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4173
|
+
)
|
|
4174
|
+
|
|
4084
4175
|
@jsii.data_type(
|
|
4085
4176
|
jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.FailureConditionsProperty",
|
|
4086
4177
|
jsii_struct_bases=[],
|
|
@@ -5386,6 +5477,10 @@ class CfnPipeline(
|
|
|
5386
5477
|
# the properties below are optional
|
|
5387
5478
|
commands=["commands"],
|
|
5388
5479
|
configuration=configuration,
|
|
5480
|
+
environment_variables=[codepipeline.CfnPipeline.EnvironmentVariableProperty(
|
|
5481
|
+
name="name",
|
|
5482
|
+
value="value"
|
|
5483
|
+
)],
|
|
5389
5484
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
5390
5485
|
name="name"
|
|
5391
5486
|
)],
|
|
@@ -5900,6 +5995,10 @@ class CfnPipelineProps:
|
|
|
5900
5995
|
# the properties below are optional
|
|
5901
5996
|
commands=["commands"],
|
|
5902
5997
|
configuration=configuration,
|
|
5998
|
+
environment_variables=[codepipeline.CfnPipeline.EnvironmentVariableProperty(
|
|
5999
|
+
name="name",
|
|
6000
|
+
value="value"
|
|
6001
|
+
)],
|
|
5903
6002
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
5904
6003
|
name="name"
|
|
5905
6004
|
)],
|
|
@@ -9723,6 +9822,12 @@ class Pipeline(
|
|
|
9723
9822
|
check_type(argname="argument stage_name", value=stage_name, expected_type=type_hints["stage_name"])
|
|
9724
9823
|
return typing.cast(IStage, jsii.invoke(self, "stage", [stage_name]))
|
|
9725
9824
|
|
|
9825
|
+
@jsii.python.classproperty
|
|
9826
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
9827
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
9828
|
+
'''Uniquely identifies this class.'''
|
|
9829
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
9830
|
+
|
|
9726
9831
|
@builtins.property
|
|
9727
9832
|
@jsii.member(jsii_name="artifactBucket")
|
|
9728
9833
|
def artifact_bucket(self) -> _IBucket_42e086fd:
|
|
@@ -12139,6 +12244,7 @@ def _typecheckingstub__490d89c9ac665593d791c6e187fcf0e47ca3ec8684f1c7a502e1711bc
|
|
|
12139
12244
|
name: builtins.str,
|
|
12140
12245
|
commands: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
12141
12246
|
configuration: typing.Any = None,
|
|
12247
|
+
environment_variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.EnvironmentVariableProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
12142
12248
|
input_artifacts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.InputArtifactProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
12143
12249
|
namespace: typing.Optional[builtins.str] = None,
|
|
12144
12250
|
output_artifacts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.OutputArtifactProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -12209,6 +12315,14 @@ def _typecheckingstub__947de613103ce26163068b14d3b93b5c2d7f86d29fa6fc5cbd1509b11
|
|
|
12209
12315
|
"""Type checking stubs"""
|
|
12210
12316
|
pass
|
|
12211
12317
|
|
|
12318
|
+
def _typecheckingstub__f259d9da088fb308ad8abebb0fb3aca04739c87fd2ed5561a20074f8e2458d5a(
|
|
12319
|
+
*,
|
|
12320
|
+
name: builtins.str,
|
|
12321
|
+
value: builtins.str,
|
|
12322
|
+
) -> None:
|
|
12323
|
+
"""Type checking stubs"""
|
|
12324
|
+
pass
|
|
12325
|
+
|
|
12212
12326
|
def _typecheckingstub__24827e49ed35c3622e48ed5d5a7874646b28153667949aaac3a40638392631b8(
|
|
12213
12327
|
*,
|
|
12214
12328
|
conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.ConditionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|