aws-cdk-lib 2.212.0__py3-none-any.whl → 2.214.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 +23 -3
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.212.0.jsii.tgz → aws-cdk-lib@2.214.0.jsii.tgz} +0 -0
- aws_cdk/aws_appconfig/__init__.py +18 -6
- aws_cdk/aws_appintegrations/__init__.py +4 -4
- aws_cdk/aws_apprunner/__init__.py +5 -8
- aws_cdk/aws_aps/__init__.py +243 -10
- aws_cdk/aws_b2bi/__init__.py +1015 -128
- aws_cdk/aws_batch/__init__.py +33 -11
- aws_cdk/aws_bedrock/__init__.py +22 -216
- aws_cdk/aws_budgets/__init__.py +18 -0
- aws_cdk/aws_certificatemanager/__init__.py +96 -15
- aws_cdk/aws_cloudformation/__init__.py +3 -3
- aws_cdk/aws_cloudwatch/__init__.py +80 -49
- aws_cdk/aws_cognito/__init__.py +76 -5
- aws_cdk/aws_connect/__init__.py +188 -2
- aws_cdk/aws_datazone/__init__.py +2267 -0
- aws_cdk/aws_deadline/__init__.py +6 -5
- aws_cdk/aws_dynamodb/__init__.py +418 -56
- aws_cdk/aws_ec2/__init__.py +51 -10
- aws_cdk/aws_ecs/__init__.py +288 -25
- aws_cdk/aws_ecs_patterns/__init__.py +2 -0
- aws_cdk/aws_eks/__init__.py +124 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +6 -2
- aws_cdk/aws_entityresolution/__init__.py +107 -0
- aws_cdk/aws_events/__init__.py +153 -55
- aws_cdk/aws_events_targets/__init__.py +87 -36
- aws_cdk/aws_fsx/__init__.py +62 -0
- aws_cdk/aws_gameliftstreams/__init__.py +1 -1
- aws_cdk/aws_glue/__init__.py +205 -23
- aws_cdk/aws_guardduty/__init__.py +205 -100
- aws_cdk/aws_iam/__init__.py +18 -0
- aws_cdk/aws_inspectorv2/__init__.py +125 -80
- aws_cdk/aws_iot/__init__.py +37 -19
- aws_cdk/aws_iotsitewise/__init__.py +111 -75
- aws_cdk/aws_ivs/__init__.py +17 -17
- aws_cdk/aws_kinesisanalytics/__init__.py +122 -3
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +122 -3
- aws_cdk/aws_lambda/__init__.py +23 -2
- aws_cdk/aws_logs/__init__.py +20 -15
- aws_cdk/aws_mediapackagev2/__init__.py +2 -2
- aws_cdk/aws_networkfirewall/__init__.py +6 -6
- aws_cdk/aws_omics/__init__.py +477 -2
- aws_cdk/aws_qbusiness/__init__.py +4 -2
- aws_cdk/aws_rds/__init__.py +132 -4
- aws_cdk/aws_route53/__init__.py +18 -11
- aws_cdk/aws_s3/__init__.py +4 -4
- aws_cdk/aws_s3_deployment/__init__.py +45 -0
- aws_cdk/aws_sagemaker/__init__.py +653 -0
- aws_cdk/aws_servicediscovery/__init__.py +22 -37
- aws_cdk/aws_sns/__init__.py +12 -2
- aws_cdk/aws_sns_subscriptions/__init__.py +3 -1
- aws_cdk/aws_sqs/__init__.py +5 -5
- aws_cdk/aws_ssm/__init__.py +8 -3
- aws_cdk/aws_ssmquicksetup/__init__.py +2 -2
- aws_cdk/aws_synthetics/__init__.py +222 -12
- aws_cdk/aws_transfer/__init__.py +15 -2
- aws_cdk/aws_vpclattice/__init__.py +41 -0
- aws_cdk/aws_workspacesweb/__init__.py +71 -41
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/RECORD +65 -65
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_iam/__init__.py
CHANGED
|
@@ -9811,6 +9811,24 @@ class OpenIdConnectProvider(
|
|
|
9811
9811
|
requires access to AWS resources, but you don't want to create custom sign-in
|
|
9812
9812
|
code or manage your own user identities.
|
|
9813
9813
|
|
|
9814
|
+
⚠️ **IMPORTANT NOTICE FOR CONTRIBUTORS** ⚠️
|
|
9815
|
+
|
|
9816
|
+
**DO NOT ADD NEW FEATURES TO THIS CONSTRUCT**
|
|
9817
|
+
|
|
9818
|
+
This construct uses a custom resource with Lambda functions and is maintained
|
|
9819
|
+
for backward compatibility only. We cannot deprecate it due to its usage in
|
|
9820
|
+
existing services like EKS (see https://github.com/aws/aws-cdk/pull/28634#discussion_r1842962697).
|
|
9821
|
+
|
|
9822
|
+
For new functionality, developers should use ``OidcProviderNative`` instead, which
|
|
9823
|
+
utilizes the native CloudFormation resource ``AWS::IAM::OIDCProvider`` and provides
|
|
9824
|
+
the same functionality with less complexity.
|
|
9825
|
+
|
|
9826
|
+
If you are considering adding features to this construct, please:
|
|
9827
|
+
|
|
9828
|
+
1. Consider implementing the feature in ``OidcProviderNative`` instead
|
|
9829
|
+
2. Discuss with the CDK team before proceeding
|
|
9830
|
+
3. Ensure any changes maintain strict backward compatibility
|
|
9831
|
+
|
|
9814
9832
|
:see: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_oidc.html
|
|
9815
9833
|
:resource: AWS::CloudFormation::CustomResource
|
|
9816
9834
|
:exampleMetadata: infused
|
|
@@ -951,7 +951,7 @@ class CfnCodeSecurityIntegration(
|
|
|
951
951
|
metaclass=jsii.JSIIMeta,
|
|
952
952
|
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnCodeSecurityIntegration",
|
|
953
953
|
):
|
|
954
|
-
'''
|
|
954
|
+
'''Creates a code security integration with a source code repository provider.
|
|
955
955
|
|
|
956
956
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html
|
|
957
957
|
:cloudformationResource: AWS::InspectorV2::CodeSecurityIntegration
|
|
@@ -1001,11 +1001,11 @@ class CfnCodeSecurityIntegration(
|
|
|
1001
1001
|
'''
|
|
1002
1002
|
:param scope: Scope in which this resource is defined.
|
|
1003
1003
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1004
|
-
:param create_integration_details:
|
|
1005
|
-
:param name:
|
|
1006
|
-
:param tags:
|
|
1007
|
-
:param type:
|
|
1008
|
-
:param update_integration_details:
|
|
1004
|
+
:param create_integration_details: Contains details required to create a code security integration with a specific repository provider.
|
|
1005
|
+
:param name: The name of the code security integration.
|
|
1006
|
+
:param tags: The tags to apply to the code security integration.
|
|
1007
|
+
:param type: The type of repository provider for the integration.
|
|
1008
|
+
:param update_integration_details: The updated integration details specific to the repository provider type.
|
|
1009
1009
|
'''
|
|
1010
1010
|
if __debug__:
|
|
1011
1011
|
type_hints = typing.get_type_hints(_typecheckingstub__80799b4356912cf375014b9f868e52ed37e885f4e1f3c1ddd85598a234badc5f)
|
|
@@ -1054,7 +1054,7 @@ class CfnCodeSecurityIntegration(
|
|
|
1054
1054
|
@builtins.property
|
|
1055
1055
|
@jsii.member(jsii_name="attrArn")
|
|
1056
1056
|
def attr_arn(self) -> builtins.str:
|
|
1057
|
-
'''
|
|
1057
|
+
'''The Amazon Resource Name (ARN) of the code security integration.
|
|
1058
1058
|
|
|
1059
1059
|
:cloudformationAttribute: Arn
|
|
1060
1060
|
'''
|
|
@@ -1063,7 +1063,7 @@ class CfnCodeSecurityIntegration(
|
|
|
1063
1063
|
@builtins.property
|
|
1064
1064
|
@jsii.member(jsii_name="attrAuthorizationUrl")
|
|
1065
1065
|
def attr_authorization_url(self) -> builtins.str:
|
|
1066
|
-
'''
|
|
1066
|
+
'''The URL used to authorize the integration with the repository provider.
|
|
1067
1067
|
|
|
1068
1068
|
:cloudformationAttribute: AuthorizationUrl
|
|
1069
1069
|
'''
|
|
@@ -1072,7 +1072,7 @@ class CfnCodeSecurityIntegration(
|
|
|
1072
1072
|
@builtins.property
|
|
1073
1073
|
@jsii.member(jsii_name="attrCreatedAt")
|
|
1074
1074
|
def attr_created_at(self) -> builtins.str:
|
|
1075
|
-
'''
|
|
1075
|
+
'''The timestamp when the code security integration was created.
|
|
1076
1076
|
|
|
1077
1077
|
:cloudformationAttribute: CreatedAt
|
|
1078
1078
|
'''
|
|
@@ -1081,7 +1081,7 @@ class CfnCodeSecurityIntegration(
|
|
|
1081
1081
|
@builtins.property
|
|
1082
1082
|
@jsii.member(jsii_name="attrLastUpdatedAt")
|
|
1083
1083
|
def attr_last_updated_at(self) -> builtins.str:
|
|
1084
|
-
'''
|
|
1084
|
+
'''The timestamp when the code security integration was last updated.
|
|
1085
1085
|
|
|
1086
1086
|
:cloudformationAttribute: LastUpdatedAt
|
|
1087
1087
|
'''
|
|
@@ -1090,7 +1090,8 @@ class CfnCodeSecurityIntegration(
|
|
|
1090
1090
|
@builtins.property
|
|
1091
1091
|
@jsii.member(jsii_name="attrStatus")
|
|
1092
1092
|
def attr_status(self) -> builtins.str:
|
|
1093
|
-
'''
|
|
1093
|
+
'''The current status of the integration.
|
|
1094
|
+
|
|
1094
1095
|
:cloudformationAttribute: Status
|
|
1095
1096
|
'''
|
|
1096
1097
|
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
@@ -1098,7 +1099,7 @@ class CfnCodeSecurityIntegration(
|
|
|
1098
1099
|
@builtins.property
|
|
1099
1100
|
@jsii.member(jsii_name="attrStatusReason")
|
|
1100
1101
|
def attr_status_reason(self) -> builtins.str:
|
|
1101
|
-
'''
|
|
1102
|
+
'''The reason for the current status of the code security integration.
|
|
1102
1103
|
|
|
1103
1104
|
:cloudformationAttribute: StatusReason
|
|
1104
1105
|
'''
|
|
@@ -1120,6 +1121,7 @@ class CfnCodeSecurityIntegration(
|
|
|
1120
1121
|
def create_integration_details(
|
|
1121
1122
|
self,
|
|
1122
1123
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.CreateDetailsProperty"]]:
|
|
1124
|
+
'''Contains details required to create a code security integration with a specific repository provider.'''
|
|
1123
1125
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.CreateDetailsProperty"]], jsii.get(self, "createIntegrationDetails"))
|
|
1124
1126
|
|
|
1125
1127
|
@create_integration_details.setter
|
|
@@ -1135,7 +1137,7 @@ class CfnCodeSecurityIntegration(
|
|
|
1135
1137
|
@builtins.property
|
|
1136
1138
|
@jsii.member(jsii_name="name")
|
|
1137
1139
|
def name(self) -> typing.Optional[builtins.str]:
|
|
1138
|
-
'''
|
|
1140
|
+
'''The name of the code security integration.'''
|
|
1139
1141
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "name"))
|
|
1140
1142
|
|
|
1141
1143
|
@name.setter
|
|
@@ -1148,6 +1150,7 @@ class CfnCodeSecurityIntegration(
|
|
|
1148
1150
|
@builtins.property
|
|
1149
1151
|
@jsii.member(jsii_name="tags")
|
|
1150
1152
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1153
|
+
'''The tags to apply to the code security integration.'''
|
|
1151
1154
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
1152
1155
|
|
|
1153
1156
|
@tags.setter
|
|
@@ -1163,6 +1166,7 @@ class CfnCodeSecurityIntegration(
|
|
|
1163
1166
|
@builtins.property
|
|
1164
1167
|
@jsii.member(jsii_name="type")
|
|
1165
1168
|
def type(self) -> typing.Optional[builtins.str]:
|
|
1169
|
+
'''The type of repository provider for the integration.'''
|
|
1166
1170
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "type"))
|
|
1167
1171
|
|
|
1168
1172
|
@type.setter
|
|
@@ -1177,6 +1181,7 @@ class CfnCodeSecurityIntegration(
|
|
|
1177
1181
|
def update_integration_details(
|
|
1178
1182
|
self,
|
|
1179
1183
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.UpdateDetailsProperty"]]:
|
|
1184
|
+
'''The updated integration details specific to the repository provider type.'''
|
|
1180
1185
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.UpdateDetailsProperty"]], jsii.get(self, "updateIntegrationDetails"))
|
|
1181
1186
|
|
|
1182
1187
|
@update_integration_details.setter
|
|
@@ -1200,8 +1205,9 @@ class CfnCodeSecurityIntegration(
|
|
|
1200
1205
|
*,
|
|
1201
1206
|
gitlab_self_managed: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetailProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1202
1207
|
) -> None:
|
|
1203
|
-
'''
|
|
1204
|
-
|
|
1208
|
+
'''Contains details required to create a code security integration with a specific repository provider.
|
|
1209
|
+
|
|
1210
|
+
:param gitlab_self_managed: Details specific to creating an integration with a self-managed GitLab instance.
|
|
1205
1211
|
|
|
1206
1212
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-createdetails.html
|
|
1207
1213
|
:exampleMetadata: fixture=_generated
|
|
@@ -1230,7 +1236,8 @@ class CfnCodeSecurityIntegration(
|
|
|
1230
1236
|
def gitlab_self_managed(
|
|
1231
1237
|
self,
|
|
1232
1238
|
) -> typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetailProperty"]:
|
|
1233
|
-
'''
|
|
1239
|
+
'''Details specific to creating an integration with a self-managed GitLab instance.
|
|
1240
|
+
|
|
1234
1241
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-createdetails.html#cfn-inspectorv2-codesecurityintegration-createdetails-gitlabselfmanaged
|
|
1235
1242
|
'''
|
|
1236
1243
|
result = self._values.get("gitlab_self_managed")
|
|
@@ -1260,9 +1267,10 @@ class CfnCodeSecurityIntegration(
|
|
|
1260
1267
|
access_token: builtins.str,
|
|
1261
1268
|
instance_url: builtins.str,
|
|
1262
1269
|
) -> None:
|
|
1263
|
-
'''
|
|
1264
|
-
|
|
1265
|
-
:param
|
|
1270
|
+
'''Contains details required to create an integration with a self-managed GitLab instance.
|
|
1271
|
+
|
|
1272
|
+
:param access_token: The personal access token used to authenticate with the self-managed GitLab instance.
|
|
1273
|
+
:param instance_url: The URL of the self-managed GitLab instance.
|
|
1266
1274
|
|
|
1267
1275
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-creategitlabselfmanagedintegrationdetail.html
|
|
1268
1276
|
:exampleMetadata: fixture=_generated
|
|
@@ -1289,7 +1297,8 @@ class CfnCodeSecurityIntegration(
|
|
|
1289
1297
|
|
|
1290
1298
|
@builtins.property
|
|
1291
1299
|
def access_token(self) -> builtins.str:
|
|
1292
|
-
'''
|
|
1300
|
+
'''The personal access token used to authenticate with the self-managed GitLab instance.
|
|
1301
|
+
|
|
1293
1302
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-creategitlabselfmanagedintegrationdetail.html#cfn-inspectorv2-codesecurityintegration-creategitlabselfmanagedintegrationdetail-accesstoken
|
|
1294
1303
|
'''
|
|
1295
1304
|
result = self._values.get("access_token")
|
|
@@ -1298,7 +1307,8 @@ class CfnCodeSecurityIntegration(
|
|
|
1298
1307
|
|
|
1299
1308
|
@builtins.property
|
|
1300
1309
|
def instance_url(self) -> builtins.str:
|
|
1301
|
-
'''
|
|
1310
|
+
'''The URL of the self-managed GitLab instance.
|
|
1311
|
+
|
|
1302
1312
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-creategitlabselfmanagedintegrationdetail.html#cfn-inspectorv2-codesecurityintegration-creategitlabselfmanagedintegrationdetail-instanceurl
|
|
1303
1313
|
'''
|
|
1304
1314
|
result = self._values.get("instance_url")
|
|
@@ -1328,9 +1338,10 @@ class CfnCodeSecurityIntegration(
|
|
|
1328
1338
|
github: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1329
1339
|
gitlab_self_managed: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1330
1340
|
) -> None:
|
|
1331
|
-
'''
|
|
1332
|
-
|
|
1333
|
-
:param
|
|
1341
|
+
'''Contains details required to update a code security integration with a specific repository provider.
|
|
1342
|
+
|
|
1343
|
+
:param github: Details specific to updating an integration with GitHub.
|
|
1344
|
+
:param gitlab_self_managed: Details specific to updating an integration with a self-managed GitLab instance.
|
|
1334
1345
|
|
|
1335
1346
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updatedetails.html
|
|
1336
1347
|
:exampleMetadata: fixture=_generated
|
|
@@ -1365,7 +1376,8 @@ class CfnCodeSecurityIntegration(
|
|
|
1365
1376
|
def github(
|
|
1366
1377
|
self,
|
|
1367
1378
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty"]]:
|
|
1368
|
-
'''
|
|
1379
|
+
'''Details specific to updating an integration with GitHub.
|
|
1380
|
+
|
|
1369
1381
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updatedetails.html#cfn-inspectorv2-codesecurityintegration-updatedetails-github
|
|
1370
1382
|
'''
|
|
1371
1383
|
result = self._values.get("github")
|
|
@@ -1375,7 +1387,8 @@ class CfnCodeSecurityIntegration(
|
|
|
1375
1387
|
def gitlab_self_managed(
|
|
1376
1388
|
self,
|
|
1377
1389
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailProperty"]]:
|
|
1378
|
-
'''
|
|
1390
|
+
'''Details specific to updating an integration with a self-managed GitLab instance.
|
|
1391
|
+
|
|
1379
1392
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updatedetails.html#cfn-inspectorv2-codesecurityintegration-updatedetails-gitlabselfmanaged
|
|
1380
1393
|
'''
|
|
1381
1394
|
result = self._values.get("gitlab_self_managed")
|
|
@@ -1404,9 +1417,10 @@ class CfnCodeSecurityIntegration(
|
|
|
1404
1417
|
code: builtins.str,
|
|
1405
1418
|
installation_id: builtins.str,
|
|
1406
1419
|
) -> None:
|
|
1407
|
-
'''
|
|
1408
|
-
|
|
1409
|
-
:param
|
|
1420
|
+
'''Contains details required to update an integration with GitHub.
|
|
1421
|
+
|
|
1422
|
+
:param code: The authorization code received from GitHub to update the integration.
|
|
1423
|
+
:param installation_id: The installation ID of the GitHub App associated with the integration.
|
|
1410
1424
|
|
|
1411
1425
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategithubintegrationdetail.html
|
|
1412
1426
|
:exampleMetadata: fixture=_generated
|
|
@@ -1433,7 +1447,8 @@ class CfnCodeSecurityIntegration(
|
|
|
1433
1447
|
|
|
1434
1448
|
@builtins.property
|
|
1435
1449
|
def code(self) -> builtins.str:
|
|
1436
|
-
'''
|
|
1450
|
+
'''The authorization code received from GitHub to update the integration.
|
|
1451
|
+
|
|
1437
1452
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategithubintegrationdetail.html#cfn-inspectorv2-codesecurityintegration-updategithubintegrationdetail-code
|
|
1438
1453
|
'''
|
|
1439
1454
|
result = self._values.get("code")
|
|
@@ -1442,7 +1457,8 @@ class CfnCodeSecurityIntegration(
|
|
|
1442
1457
|
|
|
1443
1458
|
@builtins.property
|
|
1444
1459
|
def installation_id(self) -> builtins.str:
|
|
1445
|
-
'''
|
|
1460
|
+
'''The installation ID of the GitHub App associated with the integration.
|
|
1461
|
+
|
|
1446
1462
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategithubintegrationdetail.html#cfn-inspectorv2-codesecurityintegration-updategithubintegrationdetail-installationid
|
|
1447
1463
|
'''
|
|
1448
1464
|
result = self._values.get("installation_id")
|
|
@@ -1467,8 +1483,9 @@ class CfnCodeSecurityIntegration(
|
|
|
1467
1483
|
)
|
|
1468
1484
|
class UpdateGitLabSelfManagedIntegrationDetailProperty:
|
|
1469
1485
|
def __init__(self, *, auth_code: builtins.str) -> None:
|
|
1470
|
-
'''
|
|
1471
|
-
|
|
1486
|
+
'''Contains details required to update an integration with a self-managed GitLab instance.
|
|
1487
|
+
|
|
1488
|
+
:param auth_code: The authorization code received from the self-managed GitLab instance to update the integration.
|
|
1472
1489
|
|
|
1473
1490
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategitlabselfmanagedintegrationdetail.html
|
|
1474
1491
|
:exampleMetadata: fixture=_generated
|
|
@@ -1492,7 +1509,8 @@ class CfnCodeSecurityIntegration(
|
|
|
1492
1509
|
|
|
1493
1510
|
@builtins.property
|
|
1494
1511
|
def auth_code(self) -> builtins.str:
|
|
1495
|
-
'''
|
|
1512
|
+
'''The authorization code received from the self-managed GitLab instance to update the integration.
|
|
1513
|
+
|
|
1496
1514
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategitlabselfmanagedintegrationdetail.html#cfn-inspectorv2-codesecurityintegration-updategitlabselfmanagedintegrationdetail-authcode
|
|
1497
1515
|
'''
|
|
1498
1516
|
result = self._values.get("auth_code")
|
|
@@ -1534,11 +1552,11 @@ class CfnCodeSecurityIntegrationProps:
|
|
|
1534
1552
|
) -> None:
|
|
1535
1553
|
'''Properties for defining a ``CfnCodeSecurityIntegration``.
|
|
1536
1554
|
|
|
1537
|
-
:param create_integration_details:
|
|
1538
|
-
:param name:
|
|
1539
|
-
:param tags:
|
|
1540
|
-
:param type:
|
|
1541
|
-
:param update_integration_details:
|
|
1555
|
+
:param create_integration_details: Contains details required to create a code security integration with a specific repository provider.
|
|
1556
|
+
:param name: The name of the code security integration.
|
|
1557
|
+
:param tags: The tags to apply to the code security integration.
|
|
1558
|
+
:param type: The type of repository provider for the integration.
|
|
1559
|
+
:param update_integration_details: The updated integration details specific to the repository provider type.
|
|
1542
1560
|
|
|
1543
1561
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html
|
|
1544
1562
|
:exampleMetadata: fixture=_generated
|
|
@@ -1595,7 +1613,8 @@ class CfnCodeSecurityIntegrationProps:
|
|
|
1595
1613
|
def create_integration_details(
|
|
1596
1614
|
self,
|
|
1597
1615
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCodeSecurityIntegration.CreateDetailsProperty]]:
|
|
1598
|
-
'''
|
|
1616
|
+
'''Contains details required to create a code security integration with a specific repository provider.
|
|
1617
|
+
|
|
1599
1618
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html#cfn-inspectorv2-codesecurityintegration-createintegrationdetails
|
|
1600
1619
|
'''
|
|
1601
1620
|
result = self._values.get("create_integration_details")
|
|
@@ -1603,7 +1622,7 @@ class CfnCodeSecurityIntegrationProps:
|
|
|
1603
1622
|
|
|
1604
1623
|
@builtins.property
|
|
1605
1624
|
def name(self) -> typing.Optional[builtins.str]:
|
|
1606
|
-
'''
|
|
1625
|
+
'''The name of the code security integration.
|
|
1607
1626
|
|
|
1608
1627
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html#cfn-inspectorv2-codesecurityintegration-name
|
|
1609
1628
|
'''
|
|
@@ -1612,7 +1631,8 @@ class CfnCodeSecurityIntegrationProps:
|
|
|
1612
1631
|
|
|
1613
1632
|
@builtins.property
|
|
1614
1633
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1615
|
-
'''
|
|
1634
|
+
'''The tags to apply to the code security integration.
|
|
1635
|
+
|
|
1616
1636
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html#cfn-inspectorv2-codesecurityintegration-tags
|
|
1617
1637
|
'''
|
|
1618
1638
|
result = self._values.get("tags")
|
|
@@ -1620,7 +1640,8 @@ class CfnCodeSecurityIntegrationProps:
|
|
|
1620
1640
|
|
|
1621
1641
|
@builtins.property
|
|
1622
1642
|
def type(self) -> typing.Optional[builtins.str]:
|
|
1623
|
-
'''
|
|
1643
|
+
'''The type of repository provider for the integration.
|
|
1644
|
+
|
|
1624
1645
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html#cfn-inspectorv2-codesecurityintegration-type
|
|
1625
1646
|
'''
|
|
1626
1647
|
result = self._values.get("type")
|
|
@@ -1630,7 +1651,8 @@ class CfnCodeSecurityIntegrationProps:
|
|
|
1630
1651
|
def update_integration_details(
|
|
1631
1652
|
self,
|
|
1632
1653
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCodeSecurityIntegration.UpdateDetailsProperty]]:
|
|
1633
|
-
'''
|
|
1654
|
+
'''The updated integration details specific to the repository provider type.
|
|
1655
|
+
|
|
1634
1656
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html#cfn-inspectorv2-codesecurityintegration-updateintegrationdetails
|
|
1635
1657
|
'''
|
|
1636
1658
|
result = self._values.get("update_integration_details")
|
|
@@ -1654,7 +1676,7 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
1654
1676
|
metaclass=jsii.JSIIMeta,
|
|
1655
1677
|
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnCodeSecurityScanConfiguration",
|
|
1656
1678
|
):
|
|
1657
|
-
'''
|
|
1679
|
+
'''Creates a scan configuration for code security scanning.
|
|
1658
1680
|
|
|
1659
1681
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html
|
|
1660
1682
|
:cloudformationResource: AWS::InspectorV2::CodeSecurityScanConfiguration
|
|
@@ -1704,11 +1726,11 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
1704
1726
|
'''
|
|
1705
1727
|
:param scope: Scope in which this resource is defined.
|
|
1706
1728
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1707
|
-
:param configuration:
|
|
1708
|
-
:param level:
|
|
1709
|
-
:param name:
|
|
1710
|
-
:param scope_settings:
|
|
1711
|
-
:param tags:
|
|
1729
|
+
:param configuration: The configuration settings for the code security scan.
|
|
1730
|
+
:param level: The security level for the scan configuration.
|
|
1731
|
+
:param name: The name of the scan configuration.
|
|
1732
|
+
:param scope_settings: The scope settings that define which repositories will be scanned.
|
|
1733
|
+
:param tags: The tags to apply to the scan configuration.
|
|
1712
1734
|
'''
|
|
1713
1735
|
if __debug__:
|
|
1714
1736
|
type_hints = typing.get_type_hints(_typecheckingstub__1f8087fd99eb325ae09773df4a6c219dda10efe85e43341cb1f5b576a1e88cef)
|
|
@@ -1757,7 +1779,7 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
1757
1779
|
@builtins.property
|
|
1758
1780
|
@jsii.member(jsii_name="attrArn")
|
|
1759
1781
|
def attr_arn(self) -> builtins.str:
|
|
1760
|
-
'''
|
|
1782
|
+
'''The Amazon Resource Name (ARN) of the scan configuration.
|
|
1761
1783
|
|
|
1762
1784
|
:cloudformationAttribute: Arn
|
|
1763
1785
|
'''
|
|
@@ -1779,6 +1801,7 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
1779
1801
|
def configuration(
|
|
1780
1802
|
self,
|
|
1781
1803
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty"]]:
|
|
1804
|
+
'''The configuration settings for the code security scan.'''
|
|
1782
1805
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty"]], jsii.get(self, "configuration"))
|
|
1783
1806
|
|
|
1784
1807
|
@configuration.setter
|
|
@@ -1794,6 +1817,7 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
1794
1817
|
@builtins.property
|
|
1795
1818
|
@jsii.member(jsii_name="level")
|
|
1796
1819
|
def level(self) -> typing.Optional[builtins.str]:
|
|
1820
|
+
'''The security level for the scan configuration.'''
|
|
1797
1821
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "level"))
|
|
1798
1822
|
|
|
1799
1823
|
@level.setter
|
|
@@ -1806,7 +1830,7 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
1806
1830
|
@builtins.property
|
|
1807
1831
|
@jsii.member(jsii_name="name")
|
|
1808
1832
|
def name(self) -> typing.Optional[builtins.str]:
|
|
1809
|
-
'''
|
|
1833
|
+
'''The name of the scan configuration.'''
|
|
1810
1834
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "name"))
|
|
1811
1835
|
|
|
1812
1836
|
@name.setter
|
|
@@ -1821,6 +1845,7 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
1821
1845
|
def scope_settings(
|
|
1822
1846
|
self,
|
|
1823
1847
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityScanConfiguration.ScopeSettingsProperty"]]:
|
|
1848
|
+
'''The scope settings that define which repositories will be scanned.'''
|
|
1824
1849
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityScanConfiguration.ScopeSettingsProperty"]], jsii.get(self, "scopeSettings"))
|
|
1825
1850
|
|
|
1826
1851
|
@scope_settings.setter
|
|
@@ -1836,6 +1861,7 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
1836
1861
|
@builtins.property
|
|
1837
1862
|
@jsii.member(jsii_name="tags")
|
|
1838
1863
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1864
|
+
'''The tags to apply to the scan configuration.'''
|
|
1839
1865
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
1840
1866
|
|
|
1841
1867
|
@tags.setter
|
|
@@ -1865,10 +1891,11 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
1865
1891
|
continuous_integration_scan_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSecurityScanConfiguration.ContinuousIntegrationScanConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1866
1892
|
periodic_scan_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSecurityScanConfiguration.PeriodicScanConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1867
1893
|
) -> None:
|
|
1868
|
-
'''
|
|
1869
|
-
|
|
1870
|
-
:param
|
|
1871
|
-
:param
|
|
1894
|
+
'''Contains the configuration settings for code security scans.
|
|
1895
|
+
|
|
1896
|
+
:param rule_set_categories: The categories of security rules to be applied during the scan.
|
|
1897
|
+
:param continuous_integration_scan_configuration: Configuration settings for continuous integration scans that run automatically when code changes are made.
|
|
1898
|
+
:param periodic_scan_configuration: Configuration settings for periodic scans that run on a scheduled basis.
|
|
1872
1899
|
|
|
1873
1900
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration.html
|
|
1874
1901
|
:exampleMetadata: fixture=_generated
|
|
@@ -1907,7 +1934,8 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
1907
1934
|
|
|
1908
1935
|
@builtins.property
|
|
1909
1936
|
def rule_set_categories(self) -> typing.List[builtins.str]:
|
|
1910
|
-
'''
|
|
1937
|
+
'''The categories of security rules to be applied during the scan.
|
|
1938
|
+
|
|
1911
1939
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration-rulesetcategories
|
|
1912
1940
|
'''
|
|
1913
1941
|
result = self._values.get("rule_set_categories")
|
|
@@ -1918,7 +1946,8 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
1918
1946
|
def continuous_integration_scan_configuration(
|
|
1919
1947
|
self,
|
|
1920
1948
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityScanConfiguration.ContinuousIntegrationScanConfigurationProperty"]]:
|
|
1921
|
-
'''
|
|
1949
|
+
'''Configuration settings for continuous integration scans that run automatically when code changes are made.
|
|
1950
|
+
|
|
1922
1951
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration-continuousintegrationscanconfiguration
|
|
1923
1952
|
'''
|
|
1924
1953
|
result = self._values.get("continuous_integration_scan_configuration")
|
|
@@ -1928,7 +1957,8 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
1928
1957
|
def periodic_scan_configuration(
|
|
1929
1958
|
self,
|
|
1930
1959
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityScanConfiguration.PeriodicScanConfigurationProperty"]]:
|
|
1931
|
-
'''
|
|
1960
|
+
'''Configuration settings for periodic scans that run on a scheduled basis.
|
|
1961
|
+
|
|
1932
1962
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration-periodicscanconfiguration
|
|
1933
1963
|
'''
|
|
1934
1964
|
result = self._values.get("periodic_scan_configuration")
|
|
@@ -1952,8 +1982,9 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
1952
1982
|
)
|
|
1953
1983
|
class ContinuousIntegrationScanConfigurationProperty:
|
|
1954
1984
|
def __init__(self, *, supported_events: typing.Sequence[builtins.str]) -> None:
|
|
1955
|
-
'''
|
|
1956
|
-
|
|
1985
|
+
'''Configuration settings for continuous integration scans that run automatically when code changes are made.
|
|
1986
|
+
|
|
1987
|
+
:param supported_events: The repository events that trigger continuous integration scans, such as pull requests or commits.
|
|
1957
1988
|
|
|
1958
1989
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-continuousintegrationscanconfiguration.html
|
|
1959
1990
|
:exampleMetadata: fixture=_generated
|
|
@@ -1977,7 +2008,8 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
1977
2008
|
|
|
1978
2009
|
@builtins.property
|
|
1979
2010
|
def supported_events(self) -> typing.List[builtins.str]:
|
|
1980
|
-
'''
|
|
2011
|
+
'''The repository events that trigger continuous integration scans, such as pull requests or commits.
|
|
2012
|
+
|
|
1981
2013
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-continuousintegrationscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-continuousintegrationscanconfiguration-supportedevents
|
|
1982
2014
|
'''
|
|
1983
2015
|
result = self._values.get("supported_events")
|
|
@@ -2010,9 +2042,10 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
2010
2042
|
frequency: typing.Optional[builtins.str] = None,
|
|
2011
2043
|
frequency_expression: typing.Optional[builtins.str] = None,
|
|
2012
2044
|
) -> None:
|
|
2013
|
-
'''
|
|
2014
|
-
|
|
2015
|
-
:param
|
|
2045
|
+
'''Configuration settings for periodic scans that run on a scheduled basis.
|
|
2046
|
+
|
|
2047
|
+
:param frequency: The frequency at which periodic scans are performed (such as weekly or monthly). If you don't provide the ``frequencyExpression`` Amazon Inspector chooses day for the scan to run. If you provide the ``frequencyExpression`` , the schedule must match the specified ``frequency`` .
|
|
2048
|
+
:param frequency_expression: The schedule expression for periodic scans, in cron format.
|
|
2016
2049
|
|
|
2017
2050
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-periodicscanconfiguration.html
|
|
2018
2051
|
:exampleMetadata: fixture=_generated
|
|
@@ -2040,7 +2073,10 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
2040
2073
|
|
|
2041
2074
|
@builtins.property
|
|
2042
2075
|
def frequency(self) -> typing.Optional[builtins.str]:
|
|
2043
|
-
'''
|
|
2076
|
+
'''The frequency at which periodic scans are performed (such as weekly or monthly).
|
|
2077
|
+
|
|
2078
|
+
If you don't provide the ``frequencyExpression`` Amazon Inspector chooses day for the scan to run. If you provide the ``frequencyExpression`` , the schedule must match the specified ``frequency`` .
|
|
2079
|
+
|
|
2044
2080
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-periodicscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-periodicscanconfiguration-frequency
|
|
2045
2081
|
'''
|
|
2046
2082
|
result = self._values.get("frequency")
|
|
@@ -2048,7 +2084,8 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
2048
2084
|
|
|
2049
2085
|
@builtins.property
|
|
2050
2086
|
def frequency_expression(self) -> typing.Optional[builtins.str]:
|
|
2051
|
-
'''
|
|
2087
|
+
'''The schedule expression for periodic scans, in cron format.
|
|
2088
|
+
|
|
2052
2089
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-periodicscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-periodicscanconfiguration-frequencyexpression
|
|
2053
2090
|
'''
|
|
2054
2091
|
result = self._values.get("frequency_expression")
|
|
@@ -2076,8 +2113,11 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
2076
2113
|
*,
|
|
2077
2114
|
project_selection_scope: typing.Optional[builtins.str] = None,
|
|
2078
2115
|
) -> None:
|
|
2079
|
-
'''
|
|
2080
|
-
|
|
2116
|
+
'''The scope settings that define which repositories will be scanned.
|
|
2117
|
+
|
|
2118
|
+
If the ``ScopeSetting`` parameter is ``ALL`` the scan configuration applies to all existing and future projects imported into Amazon Inspector .
|
|
2119
|
+
|
|
2120
|
+
:param project_selection_scope: The scope of projects to be selected for scanning within the integrated repositories.
|
|
2081
2121
|
|
|
2082
2122
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-scopesettings.html
|
|
2083
2123
|
:exampleMetadata: fixture=_generated
|
|
@@ -2101,7 +2141,8 @@ class CfnCodeSecurityScanConfiguration(
|
|
|
2101
2141
|
|
|
2102
2142
|
@builtins.property
|
|
2103
2143
|
def project_selection_scope(self) -> typing.Optional[builtins.str]:
|
|
2104
|
-
'''
|
|
2144
|
+
'''The scope of projects to be selected for scanning within the integrated repositories.
|
|
2145
|
+
|
|
2105
2146
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-scopesettings.html#cfn-inspectorv2-codesecurityscanconfiguration-scopesettings-projectselectionscope
|
|
2106
2147
|
'''
|
|
2107
2148
|
result = self._values.get("project_selection_scope")
|
|
@@ -2142,11 +2183,11 @@ class CfnCodeSecurityScanConfigurationProps:
|
|
|
2142
2183
|
) -> None:
|
|
2143
2184
|
'''Properties for defining a ``CfnCodeSecurityScanConfiguration``.
|
|
2144
2185
|
|
|
2145
|
-
:param configuration:
|
|
2146
|
-
:param level:
|
|
2147
|
-
:param name:
|
|
2148
|
-
:param scope_settings:
|
|
2149
|
-
:param tags:
|
|
2186
|
+
:param configuration: The configuration settings for the code security scan.
|
|
2187
|
+
:param level: The security level for the scan configuration.
|
|
2188
|
+
:param name: The name of the scan configuration.
|
|
2189
|
+
:param scope_settings: The scope settings that define which repositories will be scanned.
|
|
2190
|
+
:param tags: The tags to apply to the scan configuration.
|
|
2150
2191
|
|
|
2151
2192
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html
|
|
2152
2193
|
:exampleMetadata: fixture=_generated
|
|
@@ -2203,7 +2244,8 @@ class CfnCodeSecurityScanConfigurationProps:
|
|
|
2203
2244
|
def configuration(
|
|
2204
2245
|
self,
|
|
2205
2246
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty]]:
|
|
2206
|
-
'''
|
|
2247
|
+
'''The configuration settings for the code security scan.
|
|
2248
|
+
|
|
2207
2249
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-configuration
|
|
2208
2250
|
'''
|
|
2209
2251
|
result = self._values.get("configuration")
|
|
@@ -2211,7 +2253,8 @@ class CfnCodeSecurityScanConfigurationProps:
|
|
|
2211
2253
|
|
|
2212
2254
|
@builtins.property
|
|
2213
2255
|
def level(self) -> typing.Optional[builtins.str]:
|
|
2214
|
-
'''
|
|
2256
|
+
'''The security level for the scan configuration.
|
|
2257
|
+
|
|
2215
2258
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-level
|
|
2216
2259
|
'''
|
|
2217
2260
|
result = self._values.get("level")
|
|
@@ -2219,7 +2262,7 @@ class CfnCodeSecurityScanConfigurationProps:
|
|
|
2219
2262
|
|
|
2220
2263
|
@builtins.property
|
|
2221
2264
|
def name(self) -> typing.Optional[builtins.str]:
|
|
2222
|
-
'''
|
|
2265
|
+
'''The name of the scan configuration.
|
|
2223
2266
|
|
|
2224
2267
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-name
|
|
2225
2268
|
'''
|
|
@@ -2230,7 +2273,8 @@ class CfnCodeSecurityScanConfigurationProps:
|
|
|
2230
2273
|
def scope_settings(
|
|
2231
2274
|
self,
|
|
2232
2275
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCodeSecurityScanConfiguration.ScopeSettingsProperty]]:
|
|
2233
|
-
'''
|
|
2276
|
+
'''The scope settings that define which repositories will be scanned.
|
|
2277
|
+
|
|
2234
2278
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-scopesettings
|
|
2235
2279
|
'''
|
|
2236
2280
|
result = self._values.get("scope_settings")
|
|
@@ -2238,7 +2282,8 @@ class CfnCodeSecurityScanConfigurationProps:
|
|
|
2238
2282
|
|
|
2239
2283
|
@builtins.property
|
|
2240
2284
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
2241
|
-
'''
|
|
2285
|
+
'''The tags to apply to the scan configuration.
|
|
2286
|
+
|
|
2242
2287
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-tags
|
|
2243
2288
|
'''
|
|
2244
2289
|
result = self._values.get("tags")
|