aws-cdk-lib 2.200.2__py3-none-any.whl → 2.224.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 +1349 -373
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.200.2.jsii.tgz → aws-cdk-lib@2.224.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +12 -2
- aws_cdk/aws_accessanalyzer/__init__.py +323 -6
- aws_cdk/aws_acmpca/__init__.py +53 -10
- aws_cdk/aws_aiops/__init__.py +1019 -0
- aws_cdk/aws_amazonmq/__init__.py +357 -313
- aws_cdk/aws_amplify/__init__.py +173 -17
- aws_cdk/aws_amplifyuibuilder/__init__.py +35 -6
- aws_cdk/aws_apigateway/__init__.py +1017 -155
- aws_cdk/aws_apigatewayv2/__init__.py +2796 -379
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +94 -16
- aws_cdk/aws_appconfig/__init__.py +298 -43
- aws_cdk/aws_appflow/__init__.py +151 -6
- aws_cdk/aws_appintegrations/__init__.py +546 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +29 -6
- aws_cdk/aws_applicationinsights/__init__.py +13 -2
- aws_cdk/aws_applicationsignals/__init__.py +374 -6
- aws_cdk/aws_appmesh/__init__.py +94 -26
- aws_cdk/aws_apprunner/__init__.py +66 -18
- aws_cdk/aws_appstream/__init__.py +309 -55
- aws_cdk/aws_appsync/__init__.py +227 -53
- aws_cdk/aws_apptest/__init__.py +71 -2
- aws_cdk/aws_aps/__init__.py +1875 -132
- aws_cdk/aws_arcregionswitch/__init__.py +5095 -0
- aws_cdk/aws_arczonalshift/__init__.py +39 -12
- aws_cdk/aws_athena/__init__.py +365 -29
- aws_cdk/aws_auditmanager/__init__.py +71 -2
- aws_cdk/aws_autoscaling/__init__.py +135 -55
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +13 -2
- aws_cdk/aws_b2bi/__init__.py +1819 -99
- aws_cdk/aws_backup/__init__.py +317 -28
- aws_cdk/aws_backupgateway/__init__.py +13 -2
- aws_cdk/aws_batch/__init__.py +1405 -178
- aws_cdk/aws_bcmdataexports/__init__.py +21 -2
- aws_cdk/aws_bedrock/__init__.py +6747 -627
- aws_cdk/aws_bedrockagentcore/__init__.py +10425 -0
- aws_cdk/aws_billingconductor/__init__.py +197 -11
- aws_cdk/aws_budgets/__init__.py +42 -4
- aws_cdk/aws_cassandra/__init__.py +247 -6
- aws_cdk/aws_ce/__init__.py +35 -6
- aws_cdk/aws_certificatemanager/__init__.py +237 -32
- aws_cdk/aws_chatbot/__init__.py +70 -6
- aws_cdk/aws_cleanrooms/__init__.py +709 -206
- aws_cdk/aws_cleanroomsml/__init__.py +13 -2
- aws_cdk/aws_cloud9/__init__.py +13 -2
- aws_cdk/aws_cloudformation/__init__.py +345 -166
- aws_cdk/aws_cloudfront/__init__.py +2101 -680
- aws_cdk/aws_cloudfront/experimental/__init__.py +108 -16
- aws_cdk/aws_cloudfront_origins/__init__.py +614 -73
- aws_cdk/aws_cloudtrail/__init__.py +301 -17
- aws_cdk/aws_cloudwatch/__init__.py +1414 -153
- aws_cdk/aws_codeartifact/__init__.py +35 -6
- aws_cdk/aws_codebuild/__init__.py +1103 -118
- aws_cdk/aws_codecommit/__init__.py +23 -9
- aws_cdk/aws_codeconnections/__init__.py +13 -2
- aws_cdk/aws_codedeploy/__init__.py +67 -6
- aws_cdk/aws_codeguruprofiler/__init__.py +74 -2
- aws_cdk/aws_codegurureviewer/__init__.py +13 -2
- aws_cdk/aws_codepipeline/__init__.py +127 -64
- aws_cdk/aws_codepipeline_actions/__init__.py +749 -0
- aws_cdk/aws_codestar/__init__.py +13 -2
- aws_cdk/aws_codestarconnections/__init__.py +35 -6
- aws_cdk/aws_codestarnotifications/__init__.py +16 -2
- aws_cdk/aws_cognito/__init__.py +814 -80
- aws_cdk/aws_cognito_identitypool/__init__.py +17 -12
- aws_cdk/aws_comprehend/__init__.py +24 -4
- aws_cdk/aws_config/__init__.py +191 -30
- aws_cdk/aws_connect/__init__.py +2736 -191
- aws_cdk/aws_connectcampaigns/__init__.py +13 -2
- aws_cdk/aws_connectcampaignsv2/__init__.py +268 -6
- aws_cdk/aws_controltower/__init__.py +35 -6
- aws_cdk/aws_cur/__init__.py +100 -4
- aws_cdk/aws_customerprofiles/__init__.py +617 -27
- aws_cdk/aws_databrew/__init__.py +68 -12
- aws_cdk/aws_datapipeline/__init__.py +42 -2
- aws_cdk/aws_datasync/__init__.py +723 -203
- aws_cdk/aws_datazone/__init__.py +4425 -608
- aws_cdk/aws_dax/__init__.py +83 -6
- aws_cdk/aws_deadline/__init__.py +321 -32
- aws_cdk/aws_detective/__init__.py +35 -6
- aws_cdk/aws_devicefarm/__init__.py +68 -12
- aws_cdk/aws_devopsguru/__init__.py +37 -6
- aws_cdk/aws_directoryservice/__init__.py +53 -4
- aws_cdk/aws_dlm/__init__.py +13 -2
- aws_cdk/aws_dms/__init__.py +184 -27
- aws_cdk/aws_docdb/__init__.py +323 -46
- aws_cdk/aws_docdbelastic/__init__.py +13 -2
- aws_cdk/aws_dsql/__init__.py +340 -12
- aws_cdk/aws_dynamodb/__init__.py +1463 -166
- aws_cdk/aws_ec2/__init__.py +9636 -1120
- aws_cdk/aws_ecr/__init__.py +631 -43
- aws_cdk/aws_ecr_assets/__init__.py +4 -0
- aws_cdk/aws_ecs/__init__.py +6524 -497
- aws_cdk/aws_ecs_patterns/__init__.py +2 -0
- aws_cdk/aws_efs/__init__.py +264 -24
- aws_cdk/aws_eks/__init__.py +1050 -218
- aws_cdk/aws_elasticache/__init__.py +373 -20
- aws_cdk/aws_elasticbeanstalk/__init__.py +75 -8
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -2
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1670 -106
- aws_cdk/aws_elasticsearch/__init__.py +282 -9
- aws_cdk/aws_emr/__init__.py +187 -20
- aws_cdk/aws_emrcontainers/__init__.py +71 -2
- aws_cdk/aws_emrserverless/__init__.py +188 -3
- aws_cdk/aws_entityresolution/__init__.py +585 -58
- aws_cdk/aws_events/__init__.py +969 -124
- aws_cdk/aws_events_targets/__init__.py +310 -54
- aws_cdk/aws_eventschemas/__init__.py +46 -8
- aws_cdk/aws_evidently/__init__.py +57 -10
- aws_cdk/aws_evs/__init__.py +2244 -0
- aws_cdk/aws_finspace/__init__.py +71 -2
- aws_cdk/aws_fis/__init__.py +26 -4
- aws_cdk/aws_fms/__init__.py +35 -6
- aws_cdk/aws_forecast/__init__.py +24 -4
- aws_cdk/aws_frauddetector/__init__.py +79 -14
- aws_cdk/aws_fsx/__init__.py +1236 -142
- aws_cdk/aws_gamelift/__init__.py +653 -78
- aws_cdk/aws_gameliftstreams/__init__.py +38 -16
- aws_cdk/aws_globalaccelerator/__init__.py +55 -14
- aws_cdk/aws_glue/__init__.py +1368 -320
- aws_cdk/aws_grafana/__init__.py +13 -2
- aws_cdk/aws_greengrass/__init__.py +654 -32
- aws_cdk/aws_greengrassv2/__init__.py +53 -4
- aws_cdk/aws_groundstation/__init__.py +122 -6
- aws_cdk/aws_guardduty/__init__.py +1613 -123
- aws_cdk/aws_healthimaging/__init__.py +71 -2
- aws_cdk/aws_healthlake/__init__.py +42 -2
- aws_cdk/aws_iam/__init__.py +480 -140
- aws_cdk/aws_identitystore/__init__.py +24 -4
- aws_cdk/aws_imagebuilder/__init__.py +1433 -183
- aws_cdk/aws_inspector/__init__.py +38 -6
- aws_cdk/aws_inspectorv2/__init__.py +2285 -243
- aws_cdk/aws_internetmonitor/__init__.py +71 -2
- aws_cdk/aws_invoicing/__init__.py +13 -2
- aws_cdk/aws_iot/__init__.py +1730 -86
- aws_cdk/aws_iotanalytics/__init__.py +162 -8
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +106 -40
- aws_cdk/aws_iotevents/__init__.py +122 -6
- aws_cdk/aws_iotfleethub/__init__.py +71 -2
- aws_cdk/aws_iotfleetwise/__init__.py +195 -14
- aws_cdk/aws_iotsitewise/__init__.py +1837 -89
- aws_cdk/aws_iotthingsgraph/__init__.py +13 -2
- aws_cdk/aws_iottwinmaker/__init__.py +115 -10
- aws_cdk/aws_iotwireless/__init__.py +649 -22
- aws_cdk/aws_ivs/__init__.py +561 -57
- aws_cdk/aws_ivschat/__init__.py +24 -4
- aws_cdk/aws_kafkaconnect/__init__.py +35 -6
- aws_cdk/aws_kendra/__init__.py +120 -28
- aws_cdk/aws_kendraranking/__init__.py +13 -2
- aws_cdk/aws_kinesis/__init__.py +622 -22
- aws_cdk/aws_kinesisanalytics/__init__.py +467 -94
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +201 -11
- aws_cdk/aws_kinesisfirehose/__init__.py +3077 -295
- aws_cdk/aws_kinesisvideo/__init__.py +24 -4
- aws_cdk/aws_kms/__init__.py +188 -41
- aws_cdk/aws_lakeformation/__init__.py +80 -15
- aws_cdk/aws_lambda/__init__.py +2101 -252
- aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +63 -24
- aws_cdk/aws_launchwizard/__init__.py +13 -2
- aws_cdk/aws_lex/__init__.py +871 -8
- aws_cdk/aws_licensemanager/__init__.py +24 -4
- aws_cdk/aws_lightsail/__init__.py +2159 -975
- aws_cdk/aws_location/__init__.py +618 -14
- aws_cdk/aws_logs/__init__.py +5904 -956
- aws_cdk/aws_lookoutequipment/__init__.py +13 -2
- aws_cdk/aws_lookoutmetrics/__init__.py +38 -6
- aws_cdk/aws_lookoutvision/__init__.py +71 -2
- aws_cdk/aws_m2/__init__.py +94 -19
- aws_cdk/aws_macie/__init__.py +49 -11
- aws_cdk/aws_managedblockchain/__init__.py +180 -6
- aws_cdk/aws_mediaconnect/__init__.py +101 -18
- aws_cdk/aws_mediaconvert/__init__.py +35 -6
- aws_cdk/aws_medialive/__init__.py +1239 -35
- aws_cdk/aws_mediapackage/__init__.py +59 -12
- aws_cdk/aws_mediapackagev2/__init__.py +1607 -225
- aws_cdk/aws_mediastore/__init__.py +13 -2
- aws_cdk/aws_mediatailor/__init__.py +583 -12
- aws_cdk/aws_memorydb/__init__.py +271 -12
- aws_cdk/aws_mpa/__init__.py +1495 -0
- aws_cdk/aws_msk/__init__.py +104 -18
- aws_cdk/aws_mwaa/__init__.py +121 -9
- aws_cdk/aws_neptune/__init__.py +290 -78
- aws_cdk/aws_neptunegraph/__init__.py +24 -4
- aws_cdk/aws_networkfirewall/__init__.py +1289 -273
- aws_cdk/aws_networkmanager/__init__.py +349 -33
- aws_cdk/aws_nimblestudio/__init__.py +75 -8
- aws_cdk/aws_notifications/__init__.py +317 -12
- aws_cdk/aws_notificationscontacts/__init__.py +13 -2
- aws_cdk/aws_oam/__init__.py +24 -4
- aws_cdk/aws_observabilityadmin/__init__.py +2561 -0
- aws_cdk/aws_odb/__init__.py +5872 -0
- aws_cdk/aws_omics/__init__.py +2495 -529
- aws_cdk/aws_opensearchserverless/__init__.py +312 -37
- aws_cdk/aws_opensearchservice/__init__.py +495 -19
- aws_cdk/aws_opsworks/__init__.py +235 -139
- aws_cdk/aws_opsworkscm/__init__.py +16 -52
- aws_cdk/aws_organizations/__init__.py +70 -10
- aws_cdk/aws_osis/__init__.py +167 -2
- aws_cdk/aws_panorama/__init__.py +151 -6
- aws_cdk/aws_paymentcryptography/__init__.py +24 -4
- aws_cdk/aws_pcaconnectorad/__init__.py +59 -10
- aws_cdk/aws_pcaconnectorscep/__init__.py +24 -4
- aws_cdk/aws_pcs/__init__.py +387 -68
- aws_cdk/aws_personalize/__init__.py +46 -8
- aws_cdk/aws_pinpoint/__init__.py +329 -38
- aws_cdk/aws_pinpointemail/__init__.py +48 -8
- aws_cdk/aws_pipes/__init__.py +12 -2
- aws_cdk/aws_proton/__init__.py +37 -6
- aws_cdk/aws_qbusiness/__init__.py +635 -34
- aws_cdk/aws_qldb/__init__.py +24 -4
- aws_cdk/aws_quicksight/__init__.py +7900 -1160
- aws_cdk/aws_ram/__init__.py +24 -4
- aws_cdk/aws_rbin/__init__.py +12 -2
- aws_cdk/aws_rds/__init__.py +3345 -512
- aws_cdk/aws_redshift/__init__.py +143 -20
- aws_cdk/aws_redshiftserverless/__init__.py +692 -4
- aws_cdk/aws_refactorspaces/__init__.py +64 -14
- aws_cdk/aws_rekognition/__init__.py +93 -6
- aws_cdk/aws_resiliencehub/__init__.py +24 -4
- aws_cdk/aws_resourceexplorer2/__init__.py +35 -6
- aws_cdk/aws_resourcegroups/__init__.py +82 -4
- aws_cdk/aws_robomaker/__init__.py +72 -12
- aws_cdk/aws_rolesanywhere/__init__.py +180 -6
- aws_cdk/aws_route53/__init__.py +3273 -1442
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +37 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +46 -8
- aws_cdk/aws_route53recoveryreadiness/__init__.py +104 -8
- aws_cdk/aws_route53resolver/__init__.py +226 -36
- aws_cdk/aws_rtbfabric/__init__.py +3498 -0
- aws_cdk/aws_rum/__init__.py +13 -2
- aws_cdk/aws_s3/__init__.py +1291 -158
- aws_cdk/aws_s3_assets/__init__.py +11 -11
- aws_cdk/aws_s3_deployment/__init__.py +147 -11
- aws_cdk/aws_s3_notifications/__init__.py +7 -7
- aws_cdk/aws_s3express/__init__.py +266 -8
- aws_cdk/aws_s3objectlambda/__init__.py +68 -16
- aws_cdk/aws_s3outposts/__init__.py +46 -8
- aws_cdk/aws_s3tables/__init__.py +2000 -323
- aws_cdk/aws_s3vectors/__init__.py +1378 -0
- aws_cdk/aws_sagemaker/__init__.py +6617 -363
- aws_cdk/aws_sam/__init__.py +79 -14
- aws_cdk/aws_scheduler/__init__.py +237 -4
- aws_cdk/aws_sdb/__init__.py +12 -2
- aws_cdk/aws_secretsmanager/__init__.py +170 -14
- aws_cdk/aws_securityhub/__init__.py +3121 -176
- aws_cdk/aws_securitylake/__init__.py +46 -8
- aws_cdk/aws_servicecatalog/__init__.py +405 -246
- aws_cdk/aws_servicecatalogappregistry/__init__.py +164 -8
- aws_cdk/aws_servicediscovery/__init__.py +140 -47
- aws_cdk/aws_ses/__init__.py +1231 -140
- aws_cdk/aws_shield/__init__.py +46 -8
- aws_cdk/aws_signer/__init__.py +27 -4
- aws_cdk/aws_simspaceweaver/__init__.py +42 -2
- aws_cdk/aws_smsvoice/__init__.py +4716 -0
- aws_cdk/aws_sns/__init__.py +245 -29
- aws_cdk/aws_sns_subscriptions/__init__.py +3 -1
- aws_cdk/aws_sqs/__init__.py +211 -14
- aws_cdk/aws_ssm/__init__.py +401 -58
- aws_cdk/aws_ssmcontacts/__init__.py +46 -8
- aws_cdk/aws_ssmguiconnect/__init__.py +13 -2
- aws_cdk/aws_ssmincidents/__init__.py +24 -4
- aws_cdk/aws_ssmquicksetup/__init__.py +383 -6
- aws_cdk/aws_sso/__init__.py +70 -12
- aws_cdk/aws_stepfunctions/__init__.py +615 -70
- aws_cdk/aws_stepfunctions_tasks/__init__.py +781 -144
- aws_cdk/aws_supportapp/__init__.py +39 -6
- aws_cdk/aws_synthetics/__init__.py +861 -75
- aws_cdk/aws_systemsmanagersap/__init__.py +13 -2
- aws_cdk/aws_timestream/__init__.py +104 -8
- aws_cdk/aws_transfer/__init__.py +784 -87
- aws_cdk/aws_verifiedpermissions/__init__.py +145 -17
- aws_cdk/aws_voiceid/__init__.py +41 -2
- aws_cdk/aws_vpclattice/__init__.py +376 -30
- aws_cdk/aws_waf/__init__.py +79 -14
- aws_cdk/aws_wafregional/__init__.py +123 -22
- aws_cdk/aws_wafv2/__init__.py +1179 -60
- aws_cdk/aws_wisdom/__init__.py +1401 -90
- aws_cdk/aws_workspaces/__init__.py +93 -6
- aws_cdk/aws_workspacesinstances/__init__.py +3940 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +79 -10
- aws_cdk/aws_workspacesweb/__init__.py +1057 -141
- aws_cdk/aws_xray/__init__.py +48 -8
- aws_cdk/cloud_assembly_schema/__init__.py +231 -6
- aws_cdk/custom_resources/__init__.py +40 -12
- aws_cdk/cx_api/__init__.py +85 -14
- aws_cdk/interfaces/__init__.py +739 -0
- aws_cdk/interfaces/alexa_ask/__init__.py +146 -0
- aws_cdk/interfaces/aws_accessanalyzer/__init__.py +146 -0
- aws_cdk/interfaces/aws_acmpca/__init__.py +501 -0
- aws_cdk/interfaces/aws_aiops/__init__.py +146 -0
- aws_cdk/interfaces/aws_amazonmq/__init__.py +386 -0
- aws_cdk/interfaces/aws_amplify/__init__.py +352 -0
- aws_cdk/interfaces/aws_amplifyuibuilder/__init__.py +454 -0
- aws_cdk/interfaces/aws_apigateway/__init__.py +2486 -0
- aws_cdk/interfaces/aws_apigatewayv2/__init__.py +1651 -0
- aws_cdk/interfaces/aws_appconfig/__init__.py +1020 -0
- aws_cdk/interfaces/aws_appflow/__init__.py +404 -0
- aws_cdk/interfaces/aws_appintegrations/__init__.py +396 -0
- aws_cdk/interfaces/aws_applicationautoscaling/__init__.py +307 -0
- aws_cdk/interfaces/aws_applicationinsights/__init__.py +148 -0
- aws_cdk/interfaces/aws_applicationsignals/__init__.py +358 -0
- aws_cdk/interfaces/aws_appmesh/__init__.py +888 -0
- aws_cdk/interfaces/aws_apprunner/__init__.py +564 -0
- aws_cdk/interfaces/aws_appstream/__init__.py +1482 -0
- aws_cdk/interfaces/aws_appsync/__init__.py +1326 -0
- aws_cdk/interfaces/aws_apptest/__init__.py +163 -0
- aws_cdk/interfaces/aws_aps/__init__.py +558 -0
- aws_cdk/interfaces/aws_arcregionswitch/__init__.py +146 -0
- aws_cdk/interfaces/aws_arczonalshift/__init__.py +273 -0
- aws_cdk/interfaces/aws_athena/__init__.py +575 -0
- aws_cdk/interfaces/aws_auditmanager/__init__.py +163 -0
- aws_cdk/interfaces/aws_autoscaling/__init__.py +705 -0
- aws_cdk/interfaces/aws_autoscalingplans/__init__.py +148 -0
- aws_cdk/interfaces/aws_b2bi/__init__.py +524 -0
- aws_cdk/interfaces/aws_backup/__init__.py +955 -0
- aws_cdk/interfaces/aws_backupgateway/__init__.py +146 -0
- aws_cdk/interfaces/aws_batch/__init__.py +681 -0
- aws_cdk/interfaces/aws_bcmdataexports/__init__.py +146 -0
- aws_cdk/interfaces/aws_bedrock/__init__.py +1942 -0
- aws_cdk/interfaces/aws_bedrockagentcore/__init__.py +934 -0
- aws_cdk/interfaces/aws_billing/__init__.py +146 -0
- aws_cdk/interfaces/aws_billingconductor/__init__.py +463 -0
- aws_cdk/interfaces/aws_budgets/__init__.py +261 -0
- aws_cdk/interfaces/aws_cassandra/__init__.py +381 -0
- aws_cdk/interfaces/aws_ce/__init__.py +352 -0
- aws_cdk/interfaces/aws_certificatemanager/__init__.py +251 -0
- aws_cdk/interfaces/aws_chatbot/__init__.py +366 -0
- aws_cdk/interfaces/aws_cleanrooms/__init__.py +1103 -0
- aws_cdk/interfaces/aws_cleanroomsml/__init__.py +148 -0
- aws_cdk/interfaces/aws_cloud9/__init__.py +166 -0
- aws_cdk/interfaces/aws_cloudformation/__init__.py +1919 -0
- aws_cdk/interfaces/aws_cloudfront/__init__.py +1998 -0
- aws_cdk/interfaces/aws_cloudtrail/__init__.py +570 -0
- aws_cdk/interfaces/aws_cloudwatch/__init__.py +733 -0
- aws_cdk/interfaces/aws_codeartifact/__init__.py +352 -0
- aws_cdk/interfaces/aws_codebuild/__init__.py +487 -0
- aws_cdk/interfaces/aws_codecommit/__init__.py +163 -0
- aws_cdk/interfaces/aws_codeconnections/__init__.py +146 -0
- aws_cdk/interfaces/aws_codedeploy/__init__.py +352 -0
- aws_cdk/interfaces/aws_codeguruprofiler/__init__.py +168 -0
- aws_cdk/interfaces/aws_codegurureviewer/__init__.py +148 -0
- aws_cdk/interfaces/aws_codepipeline/__init__.py +388 -0
- aws_cdk/interfaces/aws_codestar/__init__.py +146 -0
- aws_cdk/interfaces/aws_codestarconnections/__init__.py +370 -0
- aws_cdk/interfaces/aws_codestarnotifications/__init__.py +148 -0
- aws_cdk/interfaces/aws_cognito/__init__.py +1929 -0
- aws_cdk/interfaces/aws_comprehend/__init__.py +251 -0
- aws_cdk/interfaces/aws_config/__init__.py +1165 -0
- aws_cdk/interfaces/aws_connect/__init__.py +2949 -0
- aws_cdk/interfaces/aws_connectcampaigns/__init__.py +146 -0
- aws_cdk/interfaces/aws_connectcampaignsv2/__init__.py +146 -0
- aws_cdk/interfaces/aws_controltower/__init__.py +394 -0
- aws_cdk/interfaces/aws_cur/__init__.py +146 -0
- aws_cdk/interfaces/aws_customerprofiles/__init__.py +915 -0
- aws_cdk/interfaces/aws_databrew/__init__.py +661 -0
- aws_cdk/interfaces/aws_datapipeline/__init__.py +146 -0
- aws_cdk/interfaces/aws_datasync/__init__.py +1384 -0
- aws_cdk/interfaces/aws_datazone/__init__.py +2238 -0
- aws_cdk/interfaces/aws_dax/__init__.py +364 -0
- aws_cdk/interfaces/aws_deadline/__init__.py +1303 -0
- aws_cdk/interfaces/aws_detective/__init__.py +364 -0
- aws_cdk/interfaces/aws_devicefarm/__init__.py +663 -0
- aws_cdk/interfaces/aws_devopsguru/__init__.py +362 -0
- aws_cdk/interfaces/aws_directoryservice/__init__.py +251 -0
- aws_cdk/interfaces/aws_dlm/__init__.py +166 -0
- aws_cdk/interfaces/aws_dms/__init__.py +1176 -0
- aws_cdk/interfaces/aws_docdb/__init__.py +560 -0
- aws_cdk/interfaces/aws_docdbelastic/__init__.py +146 -0
- aws_cdk/interfaces/aws_dsql/__init__.py +146 -0
- aws_cdk/interfaces/aws_dynamodb/__init__.py +278 -0
- aws_cdk/interfaces/aws_ec2/__init__.py +11963 -0
- aws_cdk/interfaces/aws_ecr/__init__.py +814 -0
- aws_cdk/interfaces/aws_ecs/__init__.py +845 -0
- aws_cdk/interfaces/aws_efs/__init__.py +392 -0
- aws_cdk/interfaces/aws_eks/__init__.py +948 -0
- aws_cdk/interfaces/aws_elasticache/__init__.py +1108 -0
- aws_cdk/interfaces/aws_elasticbeanstalk/__init__.py +503 -0
- aws_cdk/interfaces/aws_elasticloadbalancing/__init__.py +148 -0
- aws_cdk/interfaces/aws_elasticloadbalancingv2/__init__.py +795 -0
- aws_cdk/interfaces/aws_elasticsearch/__init__.py +158 -0
- aws_cdk/interfaces/aws_emr/__init__.py +913 -0
- aws_cdk/interfaces/aws_emrcontainers/__init__.py +168 -0
- aws_cdk/interfaces/aws_emrserverless/__init__.py +166 -0
- aws_cdk/interfaces/aws_entityresolution/__init__.py +608 -0
- aws_cdk/interfaces/aws_events/__init__.py +872 -0
- aws_cdk/interfaces/aws_eventschemas/__init__.py +455 -0
- aws_cdk/interfaces/aws_evidently/__init__.py +558 -0
- aws_cdk/interfaces/aws_evs/__init__.py +166 -0
- aws_cdk/interfaces/aws_finspace/__init__.py +166 -0
- aws_cdk/interfaces/aws_fis/__init__.py +271 -0
- aws_cdk/interfaces/aws_fms/__init__.py +364 -0
- aws_cdk/interfaces/aws_forecast/__init__.py +249 -0
- aws_cdk/interfaces/aws_frauddetector/__init__.py +764 -0
- aws_cdk/interfaces/aws_fsx/__init__.py +663 -0
- aws_cdk/interfaces/aws_gamelift/__init__.py +1325 -0
- aws_cdk/interfaces/aws_gameliftstreams/__init__.py +249 -0
- aws_cdk/interfaces/aws_globalaccelerator/__init__.py +461 -0
- aws_cdk/interfaces/aws_glue/__init__.py +2377 -0
- aws_cdk/interfaces/aws_grafana/__init__.py +146 -0
- aws_cdk/interfaces/aws_greengrass/__init__.py +1871 -0
- aws_cdk/interfaces/aws_greengrassv2/__init__.py +251 -0
- aws_cdk/interfaces/aws_groundstation/__init__.py +396 -0
- aws_cdk/interfaces/aws_guardduty/__init__.py +1225 -0
- aws_cdk/interfaces/aws_healthimaging/__init__.py +163 -0
- aws_cdk/interfaces/aws_healthlake/__init__.py +146 -0
- aws_cdk/interfaces/aws_iam/__init__.py +1803 -0
- aws_cdk/interfaces/aws_identitystore/__init__.py +288 -0
- aws_cdk/interfaces/aws_imagebuilder/__init__.py +984 -0
- aws_cdk/interfaces/aws_inspector/__init__.py +354 -0
- aws_cdk/interfaces/aws_inspectorv2/__init__.py +467 -0
- aws_cdk/interfaces/aws_internetmonitor/__init__.py +163 -0
- aws_cdk/interfaces/aws_invoicing/__init__.py +146 -0
- aws_cdk/interfaces/aws_iot/__init__.py +3483 -0
- aws_cdk/interfaces/aws_iotanalytics/__init__.py +455 -0
- aws_cdk/interfaces/aws_iotcoredeviceadvisor/__init__.py +168 -0
- aws_cdk/interfaces/aws_iotevents/__init__.py +352 -0
- aws_cdk/interfaces/aws_iotfleethub/__init__.py +166 -0
- aws_cdk/interfaces/aws_iotfleetwise/__init__.py +892 -0
- aws_cdk/interfaces/aws_iotsitewise/__init__.py +1097 -0
- aws_cdk/interfaces/aws_iotthingsgraph/__init__.py +146 -0
- aws_cdk/interfaces/aws_iottwinmaker/__init__.py +711 -0
- aws_cdk/interfaces/aws_iotwireless/__init__.py +1401 -0
- aws_cdk/interfaces/aws_ivs/__init__.py +1075 -0
- aws_cdk/interfaces/aws_ivschat/__init__.py +251 -0
- aws_cdk/interfaces/aws_kafkaconnect/__init__.py +354 -0
- aws_cdk/interfaces/aws_kendra/__init__.py +428 -0
- aws_cdk/interfaces/aws_kendraranking/__init__.py +166 -0
- aws_cdk/interfaces/aws_kinesis/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalytics/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalyticsv2/__init__.py +479 -0
- aws_cdk/interfaces/aws_kinesisfirehose/__init__.py +168 -0
- aws_cdk/interfaces/aws_kinesisvideo/__init__.py +283 -0
- aws_cdk/interfaces/aws_kms/__init__.py +376 -0
- aws_cdk/interfaces/aws_lakeformation/__init__.py +860 -0
- aws_cdk/interfaces/aws_lambda/__init__.py +1141 -0
- aws_cdk/interfaces/aws_launchwizard/__init__.py +146 -0
- aws_cdk/interfaces/aws_lex/__init__.py +513 -0
- aws_cdk/interfaces/aws_licensemanager/__init__.py +249 -0
- aws_cdk/interfaces/aws_lightsail/__init__.py +1744 -0
- aws_cdk/interfaces/aws_location/__init__.py +879 -0
- aws_cdk/interfaces/aws_logs/__init__.py +1667 -0
- aws_cdk/interfaces/aws_lookoutequipment/__init__.py +168 -0
- aws_cdk/interfaces/aws_lookoutmetrics/__init__.py +251 -0
- aws_cdk/interfaces/aws_lookoutvision/__init__.py +163 -0
- aws_cdk/interfaces/aws_m2/__init__.py +352 -0
- aws_cdk/interfaces/aws_macie/__init__.py +512 -0
- aws_cdk/interfaces/aws_managedblockchain/__init__.py +381 -0
- aws_cdk/interfaces/aws_mediaconnect/__init__.py +1028 -0
- aws_cdk/interfaces/aws_mediaconvert/__init__.py +396 -0
- aws_cdk/interfaces/aws_medialive/__init__.py +1755 -0
- aws_cdk/interfaces/aws_mediapackage/__init__.py +644 -0
- aws_cdk/interfaces/aws_mediapackagev2/__init__.py +618 -0
- aws_cdk/interfaces/aws_mediastore/__init__.py +146 -0
- aws_cdk/interfaces/aws_mediatailor/__init__.py +788 -0
- aws_cdk/interfaces/aws_memorydb/__init__.py +685 -0
- aws_cdk/interfaces/aws_mpa/__init__.py +249 -0
- aws_cdk/interfaces/aws_msk/__init__.py +764 -0
- aws_cdk/interfaces/aws_mwaa/__init__.py +166 -0
- aws_cdk/interfaces/aws_neptune/__init__.py +663 -0
- aws_cdk/interfaces/aws_neptunegraph/__init__.py +265 -0
- aws_cdk/interfaces/aws_networkfirewall/__init__.py +669 -0
- aws_cdk/interfaces/aws_networkmanager/__init__.py +1832 -0
- aws_cdk/interfaces/aws_nimblestudio/__init__.py +388 -0
- aws_cdk/interfaces/aws_notifications/__init__.py +868 -0
- aws_cdk/interfaces/aws_notificationscontacts/__init__.py +148 -0
- aws_cdk/interfaces/aws_oam/__init__.py +249 -0
- aws_cdk/interfaces/aws_observabilityadmin/__init__.py +362 -0
- aws_cdk/interfaces/aws_odb/__init__.py +562 -0
- aws_cdk/interfaces/aws_omics/__init__.py +838 -0
- aws_cdk/interfaces/aws_opensearchserverless/__init__.py +859 -0
- aws_cdk/interfaces/aws_opensearchservice/__init__.py +283 -0
- aws_cdk/interfaces/aws_opsworks/__init__.py +772 -0
- aws_cdk/interfaces/aws_opsworkscm/__init__.py +146 -0
- aws_cdk/interfaces/aws_organizations/__init__.py +646 -0
- aws_cdk/interfaces/aws_osis/__init__.py +146 -0
- aws_cdk/interfaces/aws_panorama/__init__.py +420 -0
- aws_cdk/interfaces/aws_paymentcryptography/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcaconnectorad/__init__.py +608 -0
- aws_cdk/interfaces/aws_pcaconnectorscep/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcs/__init__.py +352 -0
- aws_cdk/interfaces/aws_personalize/__init__.py +455 -0
- aws_cdk/interfaces/aws_pinpoint/__init__.py +2125 -0
- aws_cdk/interfaces/aws_pinpointemail/__init__.py +467 -0
- aws_cdk/interfaces/aws_pipes/__init__.py +158 -0
- aws_cdk/interfaces/aws_proton/__init__.py +360 -0
- aws_cdk/interfaces/aws_qbusiness/__init__.py +1122 -0
- aws_cdk/interfaces/aws_qldb/__init__.py +283 -0
- aws_cdk/interfaces/aws_quicksight/__init__.py +1566 -0
- aws_cdk/interfaces/aws_ram/__init__.py +249 -0
- aws_cdk/interfaces/aws_rbin/__init__.py +146 -0
- aws_cdk/interfaces/aws_rds/__init__.py +1780 -0
- aws_cdk/interfaces/aws_redshift/__init__.py +1104 -0
- aws_cdk/interfaces/aws_redshiftserverless/__init__.py +356 -0
- aws_cdk/interfaces/aws_refactorspaces/__init__.py +605 -0
- aws_cdk/interfaces/aws_rekognition/__init__.py +406 -0
- aws_cdk/interfaces/aws_resiliencehub/__init__.py +251 -0
- aws_cdk/interfaces/aws_resourceexplorer2/__init__.py +354 -0
- aws_cdk/interfaces/aws_resourcegroups/__init__.py +261 -0
- aws_cdk/interfaces/aws_robomaker/__init__.py +673 -0
- aws_cdk/interfaces/aws_rolesanywhere/__init__.py +384 -0
- aws_cdk/interfaces/aws_route53/__init__.py +804 -0
- aws_cdk/interfaces/aws_route53profiles/__init__.py +368 -0
- aws_cdk/interfaces/aws_route53recoverycontrol/__init__.py +463 -0
- aws_cdk/interfaces/aws_route53recoveryreadiness/__init__.py +535 -0
- aws_cdk/interfaces/aws_route53resolver/__init__.py +1356 -0
- aws_cdk/interfaces/aws_rtbfabric/__init__.py +352 -0
- aws_cdk/interfaces/aws_rum/__init__.py +146 -0
- aws_cdk/interfaces/aws_s3/__init__.py +1171 -0
- aws_cdk/interfaces/aws_s3express/__init__.py +392 -0
- aws_cdk/interfaces/aws_s3objectlambda/__init__.py +271 -0
- aws_cdk/interfaces/aws_s3outposts/__init__.py +455 -0
- aws_cdk/interfaces/aws_s3tables/__init__.py +575 -0
- aws_cdk/interfaces/aws_s3vectors/__init__.py +354 -0
- aws_cdk/interfaces/aws_sagemaker/__init__.py +3797 -0
- aws_cdk/interfaces/aws_sam/__init__.py +603 -0
- aws_cdk/interfaces/aws_scheduler/__init__.py +286 -0
- aws_cdk/interfaces/aws_sdb/__init__.py +146 -0
- aws_cdk/interfaces/aws_secretsmanager/__init__.py +461 -0
- aws_cdk/interfaces/aws_securityhub/__init__.py +1499 -0
- aws_cdk/interfaces/aws_securitylake/__init__.py +474 -0
- aws_cdk/interfaces/aws_servicecatalog/__init__.py +1829 -0
- aws_cdk/interfaces/aws_servicecatalogappregistry/__init__.py +557 -0
- aws_cdk/interfaces/aws_servicediscovery/__init__.py +636 -0
- aws_cdk/interfaces/aws_ses/__init__.py +2018 -0
- aws_cdk/interfaces/aws_shield/__init__.py +455 -0
- aws_cdk/interfaces/aws_signer/__init__.py +266 -0
- aws_cdk/interfaces/aws_simspaceweaver/__init__.py +146 -0
- aws_cdk/interfaces/aws_smsvoice/__init__.py +892 -0
- aws_cdk/interfaces/aws_sns/__init__.py +455 -0
- aws_cdk/interfaces/aws_sqs/__init__.py +364 -0
- aws_cdk/interfaces/aws_ssm/__init__.py +982 -0
- aws_cdk/interfaces/aws_ssmcontacts/__init__.py +455 -0
- aws_cdk/interfaces/aws_ssmguiconnect/__init__.py +146 -0
- aws_cdk/interfaces/aws_ssmincidents/__init__.py +249 -0
- aws_cdk/interfaces/aws_ssmquicksetup/__init__.py +253 -0
- aws_cdk/interfaces/aws_sso/__init__.py +797 -0
- aws_cdk/interfaces/aws_stepfunctions/__init__.py +459 -0
- aws_cdk/interfaces/aws_supportapp/__init__.py +372 -0
- aws_cdk/interfaces/aws_synthetics/__init__.py +249 -0
- aws_cdk/interfaces/aws_systemsmanagersap/__init__.py +148 -0
- aws_cdk/interfaces/aws_timestream/__init__.py +526 -0
- aws_cdk/interfaces/aws_transfer/__init__.py +967 -0
- aws_cdk/interfaces/aws_verifiedpermissions/__init__.py +538 -0
- aws_cdk/interfaces/aws_voiceid/__init__.py +146 -0
- aws_cdk/interfaces/aws_vpclattice/__init__.py +1418 -0
- aws_cdk/interfaces/aws_waf/__init__.py +764 -0
- aws_cdk/interfaces/aws_wafregional/__init__.py +1182 -0
- aws_cdk/interfaces/aws_wafv2/__init__.py +870 -0
- aws_cdk/interfaces/aws_wisdom/__init__.py +1556 -0
- aws_cdk/interfaces/aws_workspaces/__init__.py +352 -0
- aws_cdk/interfaces/aws_workspacesinstances/__init__.py +390 -0
- aws_cdk/interfaces/aws_workspacesthinclient/__init__.py +168 -0
- aws_cdk/interfaces/aws_workspacesweb/__init__.py +1085 -0
- aws_cdk/interfaces/aws_xray/__init__.py +457 -0
- aws_cdk/pipelines/__init__.py +192 -42
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +60 -18
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/METADATA +338 -16
- aws_cdk_lib-2.224.0.dist-info/RECORD +584 -0
- aws_cdk_lib-2.200.2.dist-info/RECORD +0 -304
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/top_level.txt +0 -0
|
@@ -66,9 +66,19 @@ from .. import (
|
|
|
66
66
|
TagManager as _TagManager_0a598cb3,
|
|
67
67
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
68
68
|
)
|
|
69
|
+
from ..interfaces.aws_inspectorv2 import (
|
|
70
|
+
CisScanConfigurationReference as _CisScanConfigurationReference_a54cc7e6,
|
|
71
|
+
CodeSecurityIntegrationReference as _CodeSecurityIntegrationReference_0787ed51,
|
|
72
|
+
CodeSecurityScanConfigurationReference as _CodeSecurityScanConfigurationReference_b4a97ccc,
|
|
73
|
+
FilterReference as _FilterReference_d368c0f2,
|
|
74
|
+
ICisScanConfigurationRef as _ICisScanConfigurationRef_8f6555b3,
|
|
75
|
+
ICodeSecurityIntegrationRef as _ICodeSecurityIntegrationRef_b418c2a5,
|
|
76
|
+
ICodeSecurityScanConfigurationRef as _ICodeSecurityScanConfigurationRef_4a00a90e,
|
|
77
|
+
IFilterRef as _IFilterRef_37875571,
|
|
78
|
+
)
|
|
69
79
|
|
|
70
80
|
|
|
71
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
81
|
+
@jsii.implements(_IInspectable_c2943556, _ICisScanConfigurationRef_8f6555b3, _ITaggableV2_4e6798f8)
|
|
72
82
|
class CfnCisScanConfiguration(
|
|
73
83
|
_CfnResource_9df397a6,
|
|
74
84
|
metaclass=jsii.JSIIMeta,
|
|
@@ -139,7 +149,8 @@ class CfnCisScanConfiguration(
|
|
|
139
149
|
targets: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCisScanConfiguration.CisTargetsProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
140
150
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
141
151
|
) -> None:
|
|
142
|
-
'''
|
|
152
|
+
'''Create a new ``AWS::InspectorV2::CisScanConfiguration``.
|
|
153
|
+
|
|
143
154
|
:param scope: Scope in which this resource is defined.
|
|
144
155
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
145
156
|
:param scan_name: The name of the CIS scan configuration.
|
|
@@ -212,6 +223,12 @@ class CfnCisScanConfiguration(
|
|
|
212
223
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
213
224
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
214
225
|
|
|
226
|
+
@builtins.property
|
|
227
|
+
@jsii.member(jsii_name="cisScanConfigurationRef")
|
|
228
|
+
def cis_scan_configuration_ref(self) -> _CisScanConfigurationReference_a54cc7e6:
|
|
229
|
+
'''A reference to a CisScanConfiguration resource.'''
|
|
230
|
+
return typing.cast(_CisScanConfigurationReference_a54cc7e6, jsii.get(self, "cisScanConfigurationRef"))
|
|
231
|
+
|
|
215
232
|
@builtins.property
|
|
216
233
|
@jsii.member(jsii_name="scanName")
|
|
217
234
|
def scan_name(self) -> builtins.str:
|
|
@@ -945,16 +962,16 @@ class CfnCisScanConfigurationProps:
|
|
|
945
962
|
)
|
|
946
963
|
|
|
947
964
|
|
|
948
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
949
|
-
class
|
|
965
|
+
@jsii.implements(_IInspectable_c2943556, _ICodeSecurityIntegrationRef_b418c2a5, _ITaggableV2_4e6798f8)
|
|
966
|
+
class CfnCodeSecurityIntegration(
|
|
950
967
|
_CfnResource_9df397a6,
|
|
951
968
|
metaclass=jsii.JSIIMeta,
|
|
952
|
-
jsii_type="aws-cdk-lib.aws_inspectorv2.
|
|
969
|
+
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnCodeSecurityIntegration",
|
|
953
970
|
):
|
|
954
|
-
'''
|
|
971
|
+
'''Creates a code security integration with a source code repository provider.
|
|
955
972
|
|
|
956
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-
|
|
957
|
-
:cloudformationResource: AWS::InspectorV2::
|
|
973
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html
|
|
974
|
+
:cloudformationResource: AWS::InspectorV2::CodeSecurityIntegration
|
|
958
975
|
:exampleMetadata: fixture=_generated
|
|
959
976
|
|
|
960
977
|
Example::
|
|
@@ -963,163 +980,27 @@ class CfnFilter(
|
|
|
963
980
|
# The values are placeholders you should change.
|
|
964
981
|
from aws_cdk import aws_inspectorv2 as inspectorv2
|
|
965
982
|
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
)],
|
|
973
|
-
component_id=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
974
|
-
comparison="comparison",
|
|
975
|
-
value="value"
|
|
976
|
-
)],
|
|
977
|
-
component_type=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
978
|
-
comparison="comparison",
|
|
979
|
-
value="value"
|
|
980
|
-
)],
|
|
981
|
-
ec2_instance_image_id=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
982
|
-
comparison="comparison",
|
|
983
|
-
value="value"
|
|
984
|
-
)],
|
|
985
|
-
ec2_instance_subnet_id=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
986
|
-
comparison="comparison",
|
|
987
|
-
value="value"
|
|
988
|
-
)],
|
|
989
|
-
ec2_instance_vpc_id=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
990
|
-
comparison="comparison",
|
|
991
|
-
value="value"
|
|
992
|
-
)],
|
|
993
|
-
ecr_image_architecture=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
994
|
-
comparison="comparison",
|
|
995
|
-
value="value"
|
|
996
|
-
)],
|
|
997
|
-
ecr_image_hash=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
998
|
-
comparison="comparison",
|
|
999
|
-
value="value"
|
|
1000
|
-
)],
|
|
1001
|
-
ecr_image_pushed_at=[inspectorv2.CfnFilter.DateFilterProperty(
|
|
1002
|
-
end_inclusive=123,
|
|
1003
|
-
start_inclusive=123
|
|
1004
|
-
)],
|
|
1005
|
-
ecr_image_registry=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1006
|
-
comparison="comparison",
|
|
1007
|
-
value="value"
|
|
1008
|
-
)],
|
|
1009
|
-
ecr_image_repository_name=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1010
|
-
comparison="comparison",
|
|
1011
|
-
value="value"
|
|
1012
|
-
)],
|
|
1013
|
-
ecr_image_tags=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1014
|
-
comparison="comparison",
|
|
1015
|
-
value="value"
|
|
1016
|
-
)],
|
|
1017
|
-
finding_arn=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1018
|
-
comparison="comparison",
|
|
1019
|
-
value="value"
|
|
1020
|
-
)],
|
|
1021
|
-
finding_status=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1022
|
-
comparison="comparison",
|
|
1023
|
-
value="value"
|
|
1024
|
-
)],
|
|
1025
|
-
finding_type=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1026
|
-
comparison="comparison",
|
|
1027
|
-
value="value"
|
|
1028
|
-
)],
|
|
1029
|
-
first_observed_at=[inspectorv2.CfnFilter.DateFilterProperty(
|
|
1030
|
-
end_inclusive=123,
|
|
1031
|
-
start_inclusive=123
|
|
1032
|
-
)],
|
|
1033
|
-
inspector_score=[inspectorv2.CfnFilter.NumberFilterProperty(
|
|
1034
|
-
lower_inclusive=123,
|
|
1035
|
-
upper_inclusive=123
|
|
1036
|
-
)],
|
|
1037
|
-
last_observed_at=[inspectorv2.CfnFilter.DateFilterProperty(
|
|
1038
|
-
end_inclusive=123,
|
|
1039
|
-
start_inclusive=123
|
|
1040
|
-
)],
|
|
1041
|
-
network_protocol=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1042
|
-
comparison="comparison",
|
|
1043
|
-
value="value"
|
|
1044
|
-
)],
|
|
1045
|
-
port_range=[inspectorv2.CfnFilter.PortRangeFilterProperty(
|
|
1046
|
-
begin_inclusive=123,
|
|
1047
|
-
end_inclusive=123
|
|
1048
|
-
)],
|
|
1049
|
-
related_vulnerabilities=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1050
|
-
comparison="comparison",
|
|
1051
|
-
value="value"
|
|
1052
|
-
)],
|
|
1053
|
-
resource_id=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1054
|
-
comparison="comparison",
|
|
1055
|
-
value="value"
|
|
1056
|
-
)],
|
|
1057
|
-
resource_tags=[inspectorv2.CfnFilter.MapFilterProperty(
|
|
1058
|
-
comparison="comparison",
|
|
1059
|
-
|
|
1060
|
-
# the properties below are optional
|
|
1061
|
-
key="key",
|
|
1062
|
-
value="value"
|
|
1063
|
-
)],
|
|
1064
|
-
resource_type=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1065
|
-
comparison="comparison",
|
|
1066
|
-
value="value"
|
|
1067
|
-
)],
|
|
1068
|
-
severity=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1069
|
-
comparison="comparison",
|
|
1070
|
-
value="value"
|
|
1071
|
-
)],
|
|
1072
|
-
title=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1073
|
-
comparison="comparison",
|
|
1074
|
-
value="value"
|
|
1075
|
-
)],
|
|
1076
|
-
updated_at=[inspectorv2.CfnFilter.DateFilterProperty(
|
|
1077
|
-
end_inclusive=123,
|
|
1078
|
-
start_inclusive=123
|
|
1079
|
-
)],
|
|
1080
|
-
vendor_severity=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1081
|
-
comparison="comparison",
|
|
1082
|
-
value="value"
|
|
1083
|
-
)],
|
|
1084
|
-
vulnerability_id=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1085
|
-
comparison="comparison",
|
|
1086
|
-
value="value"
|
|
1087
|
-
)],
|
|
1088
|
-
vulnerability_source=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1089
|
-
comparison="comparison",
|
|
1090
|
-
value="value"
|
|
1091
|
-
)],
|
|
1092
|
-
vulnerable_packages=[inspectorv2.CfnFilter.PackageFilterProperty(
|
|
1093
|
-
architecture=inspectorv2.CfnFilter.StringFilterProperty(
|
|
1094
|
-
comparison="comparison",
|
|
1095
|
-
value="value"
|
|
1096
|
-
),
|
|
1097
|
-
epoch=inspectorv2.CfnFilter.NumberFilterProperty(
|
|
1098
|
-
lower_inclusive=123,
|
|
1099
|
-
upper_inclusive=123
|
|
1100
|
-
),
|
|
1101
|
-
name=inspectorv2.CfnFilter.StringFilterProperty(
|
|
1102
|
-
comparison="comparison",
|
|
1103
|
-
value="value"
|
|
1104
|
-
),
|
|
1105
|
-
release=inspectorv2.CfnFilter.StringFilterProperty(
|
|
1106
|
-
comparison="comparison",
|
|
1107
|
-
value="value"
|
|
1108
|
-
),
|
|
1109
|
-
source_layer_hash=inspectorv2.CfnFilter.StringFilterProperty(
|
|
1110
|
-
comparison="comparison",
|
|
1111
|
-
value="value"
|
|
1112
|
-
),
|
|
1113
|
-
version=inspectorv2.CfnFilter.StringFilterProperty(
|
|
1114
|
-
comparison="comparison",
|
|
1115
|
-
value="value"
|
|
1116
|
-
)
|
|
1117
|
-
)]
|
|
983
|
+
cfn_code_security_integration = inspectorv2.CfnCodeSecurityIntegration(self, "MyCfnCodeSecurityIntegration",
|
|
984
|
+
create_integration_details=inspectorv2.CfnCodeSecurityIntegration.CreateDetailsProperty(
|
|
985
|
+
gitlab_self_managed=inspectorv2.CfnCodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetailProperty(
|
|
986
|
+
access_token="accessToken",
|
|
987
|
+
instance_url="instanceUrl"
|
|
988
|
+
)
|
|
1118
989
|
),
|
|
1119
990
|
name="name",
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
991
|
+
tags={
|
|
992
|
+
"tags_key": "tags"
|
|
993
|
+
},
|
|
994
|
+
type="type",
|
|
995
|
+
update_integration_details=inspectorv2.CfnCodeSecurityIntegration.UpdateDetailsProperty(
|
|
996
|
+
github=inspectorv2.CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty(
|
|
997
|
+
code="code",
|
|
998
|
+
installation_id="installationId"
|
|
999
|
+
),
|
|
1000
|
+
gitlab_self_managed=inspectorv2.CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailProperty(
|
|
1001
|
+
auth_code="authCode"
|
|
1002
|
+
)
|
|
1003
|
+
)
|
|
1123
1004
|
)
|
|
1124
1005
|
'''
|
|
1125
1006
|
|
|
@@ -1128,28 +1009,32 @@ class CfnFilter(
|
|
|
1128
1009
|
scope: _constructs_77d1e7e8.Construct,
|
|
1129
1010
|
id: builtins.str,
|
|
1130
1011
|
*,
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1012
|
+
create_integration_details: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSecurityIntegration.CreateDetailsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1013
|
+
name: typing.Optional[builtins.str] = None,
|
|
1014
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1015
|
+
type: typing.Optional[builtins.str] = None,
|
|
1016
|
+
update_integration_details: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSecurityIntegration.UpdateDetailsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1135
1017
|
) -> None:
|
|
1136
|
-
'''
|
|
1018
|
+
'''Create a new ``AWS::InspectorV2::CodeSecurityIntegration``.
|
|
1019
|
+
|
|
1137
1020
|
:param scope: Scope in which this resource is defined.
|
|
1138
1021
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1139
|
-
:param
|
|
1140
|
-
:param
|
|
1141
|
-
:param
|
|
1142
|
-
:param
|
|
1022
|
+
:param create_integration_details: Contains details required to create a code security integration with a specific repository provider.
|
|
1023
|
+
:param name: The name of the code security integration.
|
|
1024
|
+
:param tags: The tags to apply to the code security integration.
|
|
1025
|
+
:param type: The type of repository provider for the integration.
|
|
1026
|
+
:param update_integration_details: The updated integration details specific to the repository provider type.
|
|
1143
1027
|
'''
|
|
1144
1028
|
if __debug__:
|
|
1145
|
-
type_hints = typing.get_type_hints(
|
|
1029
|
+
type_hints = typing.get_type_hints(_typecheckingstub__80799b4356912cf375014b9f868e52ed37e885f4e1f3c1ddd85598a234badc5f)
|
|
1146
1030
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1147
1031
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1148
|
-
props =
|
|
1149
|
-
|
|
1150
|
-
filter_criteria=filter_criteria,
|
|
1032
|
+
props = CfnCodeSecurityIntegrationProps(
|
|
1033
|
+
create_integration_details=create_integration_details,
|
|
1151
1034
|
name=name,
|
|
1152
|
-
|
|
1035
|
+
tags=tags,
|
|
1036
|
+
type=type,
|
|
1037
|
+
update_integration_details=update_integration_details,
|
|
1153
1038
|
)
|
|
1154
1039
|
|
|
1155
1040
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -1161,7 +1046,7 @@ class CfnFilter(
|
|
|
1161
1046
|
:param inspector: tree inspector to collect and process attributes.
|
|
1162
1047
|
'''
|
|
1163
1048
|
if __debug__:
|
|
1164
|
-
type_hints = typing.get_type_hints(
|
|
1049
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d2b41111bd2e5e5f072f8545fffa3c791a4d0e501f547576454bf1a1f74205d6)
|
|
1165
1050
|
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
1166
1051
|
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
1167
1052
|
|
|
@@ -1174,7 +1059,7 @@ class CfnFilter(
|
|
|
1174
1059
|
:param props: -
|
|
1175
1060
|
'''
|
|
1176
1061
|
if __debug__:
|
|
1177
|
-
type_hints = typing.get_type_hints(
|
|
1062
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a995b0a871c5ed338d9451bbbe7895dc95cb1d56fb43ef4d2d9d854ffdeb8a66)
|
|
1178
1063
|
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1179
1064
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1180
1065
|
|
|
@@ -1187,73 +1072,1666 @@ class CfnFilter(
|
|
|
1187
1072
|
@builtins.property
|
|
1188
1073
|
@jsii.member(jsii_name="attrArn")
|
|
1189
1074
|
def attr_arn(self) -> builtins.str:
|
|
1190
|
-
'''The Amazon Resource
|
|
1075
|
+
'''The Amazon Resource Name (ARN) of the code security integration.
|
|
1191
1076
|
|
|
1192
1077
|
:cloudformationAttribute: Arn
|
|
1193
1078
|
'''
|
|
1194
1079
|
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
1195
1080
|
|
|
1081
|
+
@builtins.property
|
|
1082
|
+
@jsii.member(jsii_name="attrAuthorizationUrl")
|
|
1083
|
+
def attr_authorization_url(self) -> builtins.str:
|
|
1084
|
+
'''The URL used to authorize the integration with the repository provider.
|
|
1085
|
+
|
|
1086
|
+
:cloudformationAttribute: AuthorizationUrl
|
|
1087
|
+
'''
|
|
1088
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAuthorizationUrl"))
|
|
1089
|
+
|
|
1090
|
+
@builtins.property
|
|
1091
|
+
@jsii.member(jsii_name="attrCreatedAt")
|
|
1092
|
+
def attr_created_at(self) -> builtins.str:
|
|
1093
|
+
'''The timestamp when the code security integration was created.
|
|
1094
|
+
|
|
1095
|
+
:cloudformationAttribute: CreatedAt
|
|
1096
|
+
'''
|
|
1097
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
|
|
1098
|
+
|
|
1099
|
+
@builtins.property
|
|
1100
|
+
@jsii.member(jsii_name="attrLastUpdatedAt")
|
|
1101
|
+
def attr_last_updated_at(self) -> builtins.str:
|
|
1102
|
+
'''The timestamp when the code security integration was last updated.
|
|
1103
|
+
|
|
1104
|
+
:cloudformationAttribute: LastUpdatedAt
|
|
1105
|
+
'''
|
|
1106
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLastUpdatedAt"))
|
|
1107
|
+
|
|
1108
|
+
@builtins.property
|
|
1109
|
+
@jsii.member(jsii_name="attrStatus")
|
|
1110
|
+
def attr_status(self) -> builtins.str:
|
|
1111
|
+
'''The current status of the integration.
|
|
1112
|
+
|
|
1113
|
+
:cloudformationAttribute: Status
|
|
1114
|
+
'''
|
|
1115
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
1116
|
+
|
|
1117
|
+
@builtins.property
|
|
1118
|
+
@jsii.member(jsii_name="attrStatusReason")
|
|
1119
|
+
def attr_status_reason(self) -> builtins.str:
|
|
1120
|
+
'''The reason for the current status of the code security integration.
|
|
1121
|
+
|
|
1122
|
+
:cloudformationAttribute: StatusReason
|
|
1123
|
+
'''
|
|
1124
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatusReason"))
|
|
1125
|
+
|
|
1126
|
+
@builtins.property
|
|
1127
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
1128
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
1129
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
1130
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
1131
|
+
|
|
1196
1132
|
@builtins.property
|
|
1197
1133
|
@jsii.member(jsii_name="cfnProperties")
|
|
1198
1134
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1199
1135
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1200
1136
|
|
|
1201
1137
|
@builtins.property
|
|
1202
|
-
@jsii.member(jsii_name="
|
|
1203
|
-
def
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
def filter_action(self, value: builtins.str) -> None:
|
|
1209
|
-
if __debug__:
|
|
1210
|
-
type_hints = typing.get_type_hints(_typecheckingstub__a72dbbaedc7eb8a3b6da0867d3f429993d1cdfe3b095a514d2cb82730c01b31d)
|
|
1211
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1212
|
-
jsii.set(self, "filterAction", value) # pyright: ignore[reportArgumentType]
|
|
1138
|
+
@jsii.member(jsii_name="codeSecurityIntegrationRef")
|
|
1139
|
+
def code_security_integration_ref(
|
|
1140
|
+
self,
|
|
1141
|
+
) -> _CodeSecurityIntegrationReference_0787ed51:
|
|
1142
|
+
'''A reference to a CodeSecurityIntegration resource.'''
|
|
1143
|
+
return typing.cast(_CodeSecurityIntegrationReference_0787ed51, jsii.get(self, "codeSecurityIntegrationRef"))
|
|
1213
1144
|
|
|
1214
1145
|
@builtins.property
|
|
1215
|
-
@jsii.member(jsii_name="
|
|
1216
|
-
def
|
|
1146
|
+
@jsii.member(jsii_name="createIntegrationDetails")
|
|
1147
|
+
def create_integration_details(
|
|
1217
1148
|
self,
|
|
1218
|
-
) -> typing.Union[_IResolvable_da3f097b, "
|
|
1219
|
-
'''
|
|
1220
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, "
|
|
1149
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.CreateDetailsProperty"]]:
|
|
1150
|
+
'''Contains details required to create a code security integration with a specific repository provider.'''
|
|
1151
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.CreateDetailsProperty"]], jsii.get(self, "createIntegrationDetails"))
|
|
1221
1152
|
|
|
1222
|
-
@
|
|
1223
|
-
def
|
|
1153
|
+
@create_integration_details.setter
|
|
1154
|
+
def create_integration_details(
|
|
1224
1155
|
self,
|
|
1225
|
-
value: typing.Union[_IResolvable_da3f097b, "
|
|
1156
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.CreateDetailsProperty"]],
|
|
1226
1157
|
) -> None:
|
|
1227
1158
|
if __debug__:
|
|
1228
|
-
type_hints = typing.get_type_hints(
|
|
1159
|
+
type_hints = typing.get_type_hints(_typecheckingstub__95bada6a0a63eed0487660762db52cf7634424d68b180f5bdde1aa127cbc6ca1)
|
|
1229
1160
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1230
|
-
jsii.set(self, "
|
|
1161
|
+
jsii.set(self, "createIntegrationDetails", value) # pyright: ignore[reportArgumentType]
|
|
1231
1162
|
|
|
1232
1163
|
@builtins.property
|
|
1233
1164
|
@jsii.member(jsii_name="name")
|
|
1234
|
-
def name(self) -> builtins.str:
|
|
1235
|
-
'''The name of the
|
|
1236
|
-
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
1165
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
1166
|
+
'''The name of the code security integration.'''
|
|
1167
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "name"))
|
|
1237
1168
|
|
|
1238
1169
|
@name.setter
|
|
1239
|
-
def name(self, value: builtins.str) -> None:
|
|
1170
|
+
def name(self, value: typing.Optional[builtins.str]) -> None:
|
|
1240
1171
|
if __debug__:
|
|
1241
|
-
type_hints = typing.get_type_hints(
|
|
1172
|
+
type_hints = typing.get_type_hints(_typecheckingstub__62c672b1420b745cd7e45b7351f3382ced028744668c9771a1148fe207c23267)
|
|
1242
1173
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1243
1174
|
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
1244
1175
|
|
|
1245
1176
|
@builtins.property
|
|
1246
|
-
@jsii.member(jsii_name="
|
|
1247
|
-
def
|
|
1248
|
-
'''
|
|
1249
|
-
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "
|
|
1177
|
+
@jsii.member(jsii_name="tags")
|
|
1178
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1179
|
+
'''The tags to apply to the code security integration.'''
|
|
1180
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
1250
1181
|
|
|
1251
|
-
@
|
|
1252
|
-
def
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1182
|
+
@tags.setter
|
|
1183
|
+
def tags(
|
|
1184
|
+
self,
|
|
1185
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
1186
|
+
) -> None:
|
|
1187
|
+
if __debug__:
|
|
1188
|
+
type_hints = typing.get_type_hints(_typecheckingstub__56217870c5b8873ef3b3750235b4baa957fcd999c408c688e231f957b297af0b)
|
|
1189
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1190
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
1191
|
+
|
|
1192
|
+
@builtins.property
|
|
1193
|
+
@jsii.member(jsii_name="type")
|
|
1194
|
+
def type(self) -> typing.Optional[builtins.str]:
|
|
1195
|
+
'''The type of repository provider for the integration.'''
|
|
1196
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "type"))
|
|
1197
|
+
|
|
1198
|
+
@type.setter
|
|
1199
|
+
def type(self, value: typing.Optional[builtins.str]) -> None:
|
|
1200
|
+
if __debug__:
|
|
1201
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e81de92c5a50f951f013bc7d558d9d09c3c119459f7f1a04ca44ba5291a994ee)
|
|
1202
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1203
|
+
jsii.set(self, "type", value) # pyright: ignore[reportArgumentType]
|
|
1204
|
+
|
|
1205
|
+
@builtins.property
|
|
1206
|
+
@jsii.member(jsii_name="updateIntegrationDetails")
|
|
1207
|
+
def update_integration_details(
|
|
1208
|
+
self,
|
|
1209
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.UpdateDetailsProperty"]]:
|
|
1210
|
+
'''The updated integration details specific to the repository provider type.'''
|
|
1211
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.UpdateDetailsProperty"]], jsii.get(self, "updateIntegrationDetails"))
|
|
1212
|
+
|
|
1213
|
+
@update_integration_details.setter
|
|
1214
|
+
def update_integration_details(
|
|
1215
|
+
self,
|
|
1216
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.UpdateDetailsProperty"]],
|
|
1217
|
+
) -> None:
|
|
1218
|
+
if __debug__:
|
|
1219
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0c450107a89d380f98e1bb112fb4f8df187acd5d7b74c42bca8a125923588adc)
|
|
1220
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1221
|
+
jsii.set(self, "updateIntegrationDetails", value) # pyright: ignore[reportArgumentType]
|
|
1222
|
+
|
|
1223
|
+
@jsii.data_type(
|
|
1224
|
+
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnCodeSecurityIntegration.CreateDetailsProperty",
|
|
1225
|
+
jsii_struct_bases=[],
|
|
1226
|
+
name_mapping={"gitlab_self_managed": "gitlabSelfManaged"},
|
|
1227
|
+
)
|
|
1228
|
+
class CreateDetailsProperty:
|
|
1229
|
+
def __init__(
|
|
1230
|
+
self,
|
|
1231
|
+
*,
|
|
1232
|
+
gitlab_self_managed: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetailProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1233
|
+
) -> None:
|
|
1234
|
+
'''Contains details required to create a code security integration with a specific repository provider.
|
|
1235
|
+
|
|
1236
|
+
:param gitlab_self_managed: Details specific to creating an integration with a self-managed GitLab instance.
|
|
1237
|
+
|
|
1238
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-createdetails.html
|
|
1239
|
+
:exampleMetadata: fixture=_generated
|
|
1240
|
+
|
|
1241
|
+
Example::
|
|
1242
|
+
|
|
1243
|
+
# The code below shows an example of how to instantiate this type.
|
|
1244
|
+
# The values are placeholders you should change.
|
|
1245
|
+
from aws_cdk import aws_inspectorv2 as inspectorv2
|
|
1246
|
+
|
|
1247
|
+
create_details_property = inspectorv2.CfnCodeSecurityIntegration.CreateDetailsProperty(
|
|
1248
|
+
gitlab_self_managed=inspectorv2.CfnCodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetailProperty(
|
|
1249
|
+
access_token="accessToken",
|
|
1250
|
+
instance_url="instanceUrl"
|
|
1251
|
+
)
|
|
1252
|
+
)
|
|
1253
|
+
'''
|
|
1254
|
+
if __debug__:
|
|
1255
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2262215d3482ab65dacec2a9b346848e87bce266386fcf679cd7607f925a41a9)
|
|
1256
|
+
check_type(argname="argument gitlab_self_managed", value=gitlab_self_managed, expected_type=type_hints["gitlab_self_managed"])
|
|
1257
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1258
|
+
"gitlab_self_managed": gitlab_self_managed,
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
@builtins.property
|
|
1262
|
+
def gitlab_self_managed(
|
|
1263
|
+
self,
|
|
1264
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetailProperty"]:
|
|
1265
|
+
'''Details specific to creating an integration with a self-managed GitLab instance.
|
|
1266
|
+
|
|
1267
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-createdetails.html#cfn-inspectorv2-codesecurityintegration-createdetails-gitlabselfmanaged
|
|
1268
|
+
'''
|
|
1269
|
+
result = self._values.get("gitlab_self_managed")
|
|
1270
|
+
assert result is not None, "Required property 'gitlab_self_managed' is missing"
|
|
1271
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetailProperty"], result)
|
|
1272
|
+
|
|
1273
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1274
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1275
|
+
|
|
1276
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1277
|
+
return not (rhs == self)
|
|
1278
|
+
|
|
1279
|
+
def __repr__(self) -> str:
|
|
1280
|
+
return "CreateDetailsProperty(%s)" % ", ".join(
|
|
1281
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1282
|
+
)
|
|
1283
|
+
|
|
1284
|
+
@jsii.data_type(
|
|
1285
|
+
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnCodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetailProperty",
|
|
1286
|
+
jsii_struct_bases=[],
|
|
1287
|
+
name_mapping={"access_token": "accessToken", "instance_url": "instanceUrl"},
|
|
1288
|
+
)
|
|
1289
|
+
class CreateGitLabSelfManagedIntegrationDetailProperty:
|
|
1290
|
+
def __init__(
|
|
1291
|
+
self,
|
|
1292
|
+
*,
|
|
1293
|
+
access_token: builtins.str,
|
|
1294
|
+
instance_url: builtins.str,
|
|
1295
|
+
) -> None:
|
|
1296
|
+
'''Contains details required to create an integration with a self-managed GitLab instance.
|
|
1297
|
+
|
|
1298
|
+
:param access_token: The personal access token used to authenticate with the self-managed GitLab instance.
|
|
1299
|
+
:param instance_url: The URL of the self-managed GitLab instance.
|
|
1300
|
+
|
|
1301
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-creategitlabselfmanagedintegrationdetail.html
|
|
1302
|
+
:exampleMetadata: fixture=_generated
|
|
1303
|
+
|
|
1304
|
+
Example::
|
|
1305
|
+
|
|
1306
|
+
# The code below shows an example of how to instantiate this type.
|
|
1307
|
+
# The values are placeholders you should change.
|
|
1308
|
+
from aws_cdk import aws_inspectorv2 as inspectorv2
|
|
1309
|
+
|
|
1310
|
+
create_git_lab_self_managed_integration_detail_property = inspectorv2.CfnCodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetailProperty(
|
|
1311
|
+
access_token="accessToken",
|
|
1312
|
+
instance_url="instanceUrl"
|
|
1313
|
+
)
|
|
1314
|
+
'''
|
|
1315
|
+
if __debug__:
|
|
1316
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0bbc1b28a8c4770b506b8b2fbbfde8238181c9ccb84cf76f6b88eefb2a36575c)
|
|
1317
|
+
check_type(argname="argument access_token", value=access_token, expected_type=type_hints["access_token"])
|
|
1318
|
+
check_type(argname="argument instance_url", value=instance_url, expected_type=type_hints["instance_url"])
|
|
1319
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1320
|
+
"access_token": access_token,
|
|
1321
|
+
"instance_url": instance_url,
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
@builtins.property
|
|
1325
|
+
def access_token(self) -> builtins.str:
|
|
1326
|
+
'''The personal access token used to authenticate with the self-managed GitLab instance.
|
|
1327
|
+
|
|
1328
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-creategitlabselfmanagedintegrationdetail.html#cfn-inspectorv2-codesecurityintegration-creategitlabselfmanagedintegrationdetail-accesstoken
|
|
1329
|
+
'''
|
|
1330
|
+
result = self._values.get("access_token")
|
|
1331
|
+
assert result is not None, "Required property 'access_token' is missing"
|
|
1332
|
+
return typing.cast(builtins.str, result)
|
|
1333
|
+
|
|
1334
|
+
@builtins.property
|
|
1335
|
+
def instance_url(self) -> builtins.str:
|
|
1336
|
+
'''The URL of the self-managed GitLab instance.
|
|
1337
|
+
|
|
1338
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-creategitlabselfmanagedintegrationdetail.html#cfn-inspectorv2-codesecurityintegration-creategitlabselfmanagedintegrationdetail-instanceurl
|
|
1339
|
+
'''
|
|
1340
|
+
result = self._values.get("instance_url")
|
|
1341
|
+
assert result is not None, "Required property 'instance_url' is missing"
|
|
1342
|
+
return typing.cast(builtins.str, result)
|
|
1343
|
+
|
|
1344
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1345
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1346
|
+
|
|
1347
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1348
|
+
return not (rhs == self)
|
|
1349
|
+
|
|
1350
|
+
def __repr__(self) -> str:
|
|
1351
|
+
return "CreateGitLabSelfManagedIntegrationDetailProperty(%s)" % ", ".join(
|
|
1352
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1353
|
+
)
|
|
1354
|
+
|
|
1355
|
+
@jsii.data_type(
|
|
1356
|
+
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnCodeSecurityIntegration.UpdateDetailsProperty",
|
|
1357
|
+
jsii_struct_bases=[],
|
|
1358
|
+
name_mapping={"github": "github", "gitlab_self_managed": "gitlabSelfManaged"},
|
|
1359
|
+
)
|
|
1360
|
+
class UpdateDetailsProperty:
|
|
1361
|
+
def __init__(
|
|
1362
|
+
self,
|
|
1363
|
+
*,
|
|
1364
|
+
github: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1365
|
+
gitlab_self_managed: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1366
|
+
) -> None:
|
|
1367
|
+
'''Contains details required to update a code security integration with a specific repository provider.
|
|
1368
|
+
|
|
1369
|
+
:param github: Details specific to updating an integration with GitHub.
|
|
1370
|
+
:param gitlab_self_managed: Details specific to updating an integration with a self-managed GitLab instance.
|
|
1371
|
+
|
|
1372
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updatedetails.html
|
|
1373
|
+
:exampleMetadata: fixture=_generated
|
|
1374
|
+
|
|
1375
|
+
Example::
|
|
1376
|
+
|
|
1377
|
+
# The code below shows an example of how to instantiate this type.
|
|
1378
|
+
# The values are placeholders you should change.
|
|
1379
|
+
from aws_cdk import aws_inspectorv2 as inspectorv2
|
|
1380
|
+
|
|
1381
|
+
update_details_property = inspectorv2.CfnCodeSecurityIntegration.UpdateDetailsProperty(
|
|
1382
|
+
github=inspectorv2.CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty(
|
|
1383
|
+
code="code",
|
|
1384
|
+
installation_id="installationId"
|
|
1385
|
+
),
|
|
1386
|
+
gitlab_self_managed=inspectorv2.CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailProperty(
|
|
1387
|
+
auth_code="authCode"
|
|
1388
|
+
)
|
|
1389
|
+
)
|
|
1390
|
+
'''
|
|
1391
|
+
if __debug__:
|
|
1392
|
+
type_hints = typing.get_type_hints(_typecheckingstub__49eb1e2e3f4009317c4c9d3bde00d5f76e2edded22c78e79a48f4596be9ae8b8)
|
|
1393
|
+
check_type(argname="argument github", value=github, expected_type=type_hints["github"])
|
|
1394
|
+
check_type(argname="argument gitlab_self_managed", value=gitlab_self_managed, expected_type=type_hints["gitlab_self_managed"])
|
|
1395
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1396
|
+
if github is not None:
|
|
1397
|
+
self._values["github"] = github
|
|
1398
|
+
if gitlab_self_managed is not None:
|
|
1399
|
+
self._values["gitlab_self_managed"] = gitlab_self_managed
|
|
1400
|
+
|
|
1401
|
+
@builtins.property
|
|
1402
|
+
def github(
|
|
1403
|
+
self,
|
|
1404
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty"]]:
|
|
1405
|
+
'''Details specific to updating an integration with GitHub.
|
|
1406
|
+
|
|
1407
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updatedetails.html#cfn-inspectorv2-codesecurityintegration-updatedetails-github
|
|
1408
|
+
'''
|
|
1409
|
+
result = self._values.get("github")
|
|
1410
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty"]], result)
|
|
1411
|
+
|
|
1412
|
+
@builtins.property
|
|
1413
|
+
def gitlab_self_managed(
|
|
1414
|
+
self,
|
|
1415
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailProperty"]]:
|
|
1416
|
+
'''Details specific to updating an integration with a self-managed GitLab instance.
|
|
1417
|
+
|
|
1418
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updatedetails.html#cfn-inspectorv2-codesecurityintegration-updatedetails-gitlabselfmanaged
|
|
1419
|
+
'''
|
|
1420
|
+
result = self._values.get("gitlab_self_managed")
|
|
1421
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailProperty"]], result)
|
|
1422
|
+
|
|
1423
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1424
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1425
|
+
|
|
1426
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1427
|
+
return not (rhs == self)
|
|
1428
|
+
|
|
1429
|
+
def __repr__(self) -> str:
|
|
1430
|
+
return "UpdateDetailsProperty(%s)" % ", ".join(
|
|
1431
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1432
|
+
)
|
|
1433
|
+
|
|
1434
|
+
@jsii.data_type(
|
|
1435
|
+
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty",
|
|
1436
|
+
jsii_struct_bases=[],
|
|
1437
|
+
name_mapping={"code": "code", "installation_id": "installationId"},
|
|
1438
|
+
)
|
|
1439
|
+
class UpdateGitHubIntegrationDetailProperty:
|
|
1440
|
+
def __init__(
|
|
1441
|
+
self,
|
|
1442
|
+
*,
|
|
1443
|
+
code: builtins.str,
|
|
1444
|
+
installation_id: builtins.str,
|
|
1445
|
+
) -> None:
|
|
1446
|
+
'''Contains details required to update an integration with GitHub.
|
|
1447
|
+
|
|
1448
|
+
:param code: The authorization code received from GitHub to update the integration.
|
|
1449
|
+
:param installation_id: The installation ID of the GitHub App associated with the integration.
|
|
1450
|
+
|
|
1451
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategithubintegrationdetail.html
|
|
1452
|
+
:exampleMetadata: fixture=_generated
|
|
1453
|
+
|
|
1454
|
+
Example::
|
|
1455
|
+
|
|
1456
|
+
# The code below shows an example of how to instantiate this type.
|
|
1457
|
+
# The values are placeholders you should change.
|
|
1458
|
+
from aws_cdk import aws_inspectorv2 as inspectorv2
|
|
1459
|
+
|
|
1460
|
+
update_git_hub_integration_detail_property = inspectorv2.CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty(
|
|
1461
|
+
code="code",
|
|
1462
|
+
installation_id="installationId"
|
|
1463
|
+
)
|
|
1464
|
+
'''
|
|
1465
|
+
if __debug__:
|
|
1466
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2b3487b0f19d852a82df38914d0b6e860cbf9001a42d8401b18e0a1768ad4cb7)
|
|
1467
|
+
check_type(argname="argument code", value=code, expected_type=type_hints["code"])
|
|
1468
|
+
check_type(argname="argument installation_id", value=installation_id, expected_type=type_hints["installation_id"])
|
|
1469
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1470
|
+
"code": code,
|
|
1471
|
+
"installation_id": installation_id,
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
@builtins.property
|
|
1475
|
+
def code(self) -> builtins.str:
|
|
1476
|
+
'''The authorization code received from GitHub to update the integration.
|
|
1477
|
+
|
|
1478
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategithubintegrationdetail.html#cfn-inspectorv2-codesecurityintegration-updategithubintegrationdetail-code
|
|
1479
|
+
'''
|
|
1480
|
+
result = self._values.get("code")
|
|
1481
|
+
assert result is not None, "Required property 'code' is missing"
|
|
1482
|
+
return typing.cast(builtins.str, result)
|
|
1483
|
+
|
|
1484
|
+
@builtins.property
|
|
1485
|
+
def installation_id(self) -> builtins.str:
|
|
1486
|
+
'''The installation ID of the GitHub App associated with the integration.
|
|
1487
|
+
|
|
1488
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategithubintegrationdetail.html#cfn-inspectorv2-codesecurityintegration-updategithubintegrationdetail-installationid
|
|
1489
|
+
'''
|
|
1490
|
+
result = self._values.get("installation_id")
|
|
1491
|
+
assert result is not None, "Required property 'installation_id' is missing"
|
|
1492
|
+
return typing.cast(builtins.str, result)
|
|
1493
|
+
|
|
1494
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1495
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1496
|
+
|
|
1497
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1498
|
+
return not (rhs == self)
|
|
1499
|
+
|
|
1500
|
+
def __repr__(self) -> str:
|
|
1501
|
+
return "UpdateGitHubIntegrationDetailProperty(%s)" % ", ".join(
|
|
1502
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1503
|
+
)
|
|
1504
|
+
|
|
1505
|
+
@jsii.data_type(
|
|
1506
|
+
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailProperty",
|
|
1507
|
+
jsii_struct_bases=[],
|
|
1508
|
+
name_mapping={"auth_code": "authCode"},
|
|
1509
|
+
)
|
|
1510
|
+
class UpdateGitLabSelfManagedIntegrationDetailProperty:
|
|
1511
|
+
def __init__(self, *, auth_code: builtins.str) -> None:
|
|
1512
|
+
'''Contains details required to update an integration with a self-managed GitLab instance.
|
|
1513
|
+
|
|
1514
|
+
:param auth_code: The authorization code received from the self-managed GitLab instance to update the integration.
|
|
1515
|
+
|
|
1516
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategitlabselfmanagedintegrationdetail.html
|
|
1517
|
+
:exampleMetadata: fixture=_generated
|
|
1518
|
+
|
|
1519
|
+
Example::
|
|
1520
|
+
|
|
1521
|
+
# The code below shows an example of how to instantiate this type.
|
|
1522
|
+
# The values are placeholders you should change.
|
|
1523
|
+
from aws_cdk import aws_inspectorv2 as inspectorv2
|
|
1524
|
+
|
|
1525
|
+
update_git_lab_self_managed_integration_detail_property = inspectorv2.CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailProperty(
|
|
1526
|
+
auth_code="authCode"
|
|
1527
|
+
)
|
|
1528
|
+
'''
|
|
1529
|
+
if __debug__:
|
|
1530
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2e29538aad68be3e1d38e6aa515bc380b1c5dbb5fcc5c4ed65df930696a81461)
|
|
1531
|
+
check_type(argname="argument auth_code", value=auth_code, expected_type=type_hints["auth_code"])
|
|
1532
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1533
|
+
"auth_code": auth_code,
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
@builtins.property
|
|
1537
|
+
def auth_code(self) -> builtins.str:
|
|
1538
|
+
'''The authorization code received from the self-managed GitLab instance to update the integration.
|
|
1539
|
+
|
|
1540
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategitlabselfmanagedintegrationdetail.html#cfn-inspectorv2-codesecurityintegration-updategitlabselfmanagedintegrationdetail-authcode
|
|
1541
|
+
'''
|
|
1542
|
+
result = self._values.get("auth_code")
|
|
1543
|
+
assert result is not None, "Required property 'auth_code' is missing"
|
|
1544
|
+
return typing.cast(builtins.str, result)
|
|
1545
|
+
|
|
1546
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1547
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1548
|
+
|
|
1549
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1550
|
+
return not (rhs == self)
|
|
1551
|
+
|
|
1552
|
+
def __repr__(self) -> str:
|
|
1553
|
+
return "UpdateGitLabSelfManagedIntegrationDetailProperty(%s)" % ", ".join(
|
|
1554
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1555
|
+
)
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
@jsii.data_type(
|
|
1559
|
+
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnCodeSecurityIntegrationProps",
|
|
1560
|
+
jsii_struct_bases=[],
|
|
1561
|
+
name_mapping={
|
|
1562
|
+
"create_integration_details": "createIntegrationDetails",
|
|
1563
|
+
"name": "name",
|
|
1564
|
+
"tags": "tags",
|
|
1565
|
+
"type": "type",
|
|
1566
|
+
"update_integration_details": "updateIntegrationDetails",
|
|
1567
|
+
},
|
|
1568
|
+
)
|
|
1569
|
+
class CfnCodeSecurityIntegrationProps:
|
|
1570
|
+
def __init__(
|
|
1571
|
+
self,
|
|
1572
|
+
*,
|
|
1573
|
+
create_integration_details: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityIntegration.CreateDetailsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1574
|
+
name: typing.Optional[builtins.str] = None,
|
|
1575
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1576
|
+
type: typing.Optional[builtins.str] = None,
|
|
1577
|
+
update_integration_details: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityIntegration.UpdateDetailsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1578
|
+
) -> None:
|
|
1579
|
+
'''Properties for defining a ``CfnCodeSecurityIntegration``.
|
|
1580
|
+
|
|
1581
|
+
:param create_integration_details: Contains details required to create a code security integration with a specific repository provider.
|
|
1582
|
+
:param name: The name of the code security integration.
|
|
1583
|
+
:param tags: The tags to apply to the code security integration.
|
|
1584
|
+
:param type: The type of repository provider for the integration.
|
|
1585
|
+
:param update_integration_details: The updated integration details specific to the repository provider type.
|
|
1586
|
+
|
|
1587
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html
|
|
1588
|
+
:exampleMetadata: fixture=_generated
|
|
1589
|
+
|
|
1590
|
+
Example::
|
|
1591
|
+
|
|
1592
|
+
# The code below shows an example of how to instantiate this type.
|
|
1593
|
+
# The values are placeholders you should change.
|
|
1594
|
+
from aws_cdk import aws_inspectorv2 as inspectorv2
|
|
1595
|
+
|
|
1596
|
+
cfn_code_security_integration_props = inspectorv2.CfnCodeSecurityIntegrationProps(
|
|
1597
|
+
create_integration_details=inspectorv2.CfnCodeSecurityIntegration.CreateDetailsProperty(
|
|
1598
|
+
gitlab_self_managed=inspectorv2.CfnCodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetailProperty(
|
|
1599
|
+
access_token="accessToken",
|
|
1600
|
+
instance_url="instanceUrl"
|
|
1601
|
+
)
|
|
1602
|
+
),
|
|
1603
|
+
name="name",
|
|
1604
|
+
tags={
|
|
1605
|
+
"tags_key": "tags"
|
|
1606
|
+
},
|
|
1607
|
+
type="type",
|
|
1608
|
+
update_integration_details=inspectorv2.CfnCodeSecurityIntegration.UpdateDetailsProperty(
|
|
1609
|
+
github=inspectorv2.CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty(
|
|
1610
|
+
code="code",
|
|
1611
|
+
installation_id="installationId"
|
|
1612
|
+
),
|
|
1613
|
+
gitlab_self_managed=inspectorv2.CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailProperty(
|
|
1614
|
+
auth_code="authCode"
|
|
1615
|
+
)
|
|
1616
|
+
)
|
|
1617
|
+
)
|
|
1618
|
+
'''
|
|
1619
|
+
if __debug__:
|
|
1620
|
+
type_hints = typing.get_type_hints(_typecheckingstub__71aafe099f5a07cc45a5a16ed7c8165fc3beaaf581b2a7075ad79583b48897ae)
|
|
1621
|
+
check_type(argname="argument create_integration_details", value=create_integration_details, expected_type=type_hints["create_integration_details"])
|
|
1622
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1623
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1624
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
1625
|
+
check_type(argname="argument update_integration_details", value=update_integration_details, expected_type=type_hints["update_integration_details"])
|
|
1626
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1627
|
+
if create_integration_details is not None:
|
|
1628
|
+
self._values["create_integration_details"] = create_integration_details
|
|
1629
|
+
if name is not None:
|
|
1630
|
+
self._values["name"] = name
|
|
1631
|
+
if tags is not None:
|
|
1632
|
+
self._values["tags"] = tags
|
|
1633
|
+
if type is not None:
|
|
1634
|
+
self._values["type"] = type
|
|
1635
|
+
if update_integration_details is not None:
|
|
1636
|
+
self._values["update_integration_details"] = update_integration_details
|
|
1637
|
+
|
|
1638
|
+
@builtins.property
|
|
1639
|
+
def create_integration_details(
|
|
1640
|
+
self,
|
|
1641
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCodeSecurityIntegration.CreateDetailsProperty]]:
|
|
1642
|
+
'''Contains details required to create a code security integration with a specific repository provider.
|
|
1643
|
+
|
|
1644
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html#cfn-inspectorv2-codesecurityintegration-createintegrationdetails
|
|
1645
|
+
'''
|
|
1646
|
+
result = self._values.get("create_integration_details")
|
|
1647
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCodeSecurityIntegration.CreateDetailsProperty]], result)
|
|
1648
|
+
|
|
1649
|
+
@builtins.property
|
|
1650
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
1651
|
+
'''The name of the code security integration.
|
|
1652
|
+
|
|
1653
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html#cfn-inspectorv2-codesecurityintegration-name
|
|
1654
|
+
'''
|
|
1655
|
+
result = self._values.get("name")
|
|
1656
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1657
|
+
|
|
1658
|
+
@builtins.property
|
|
1659
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1660
|
+
'''The tags to apply to the code security integration.
|
|
1661
|
+
|
|
1662
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html#cfn-inspectorv2-codesecurityintegration-tags
|
|
1663
|
+
'''
|
|
1664
|
+
result = self._values.get("tags")
|
|
1665
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
1666
|
+
|
|
1667
|
+
@builtins.property
|
|
1668
|
+
def type(self) -> typing.Optional[builtins.str]:
|
|
1669
|
+
'''The type of repository provider for the integration.
|
|
1670
|
+
|
|
1671
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html#cfn-inspectorv2-codesecurityintegration-type
|
|
1672
|
+
'''
|
|
1673
|
+
result = self._values.get("type")
|
|
1674
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1675
|
+
|
|
1676
|
+
@builtins.property
|
|
1677
|
+
def update_integration_details(
|
|
1678
|
+
self,
|
|
1679
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCodeSecurityIntegration.UpdateDetailsProperty]]:
|
|
1680
|
+
'''The updated integration details specific to the repository provider type.
|
|
1681
|
+
|
|
1682
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html#cfn-inspectorv2-codesecurityintegration-updateintegrationdetails
|
|
1683
|
+
'''
|
|
1684
|
+
result = self._values.get("update_integration_details")
|
|
1685
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCodeSecurityIntegration.UpdateDetailsProperty]], result)
|
|
1686
|
+
|
|
1687
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1688
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1689
|
+
|
|
1690
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1691
|
+
return not (rhs == self)
|
|
1692
|
+
|
|
1693
|
+
def __repr__(self) -> str:
|
|
1694
|
+
return "CfnCodeSecurityIntegrationProps(%s)" % ", ".join(
|
|
1695
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1696
|
+
)
|
|
1697
|
+
|
|
1698
|
+
|
|
1699
|
+
@jsii.implements(_IInspectable_c2943556, _ICodeSecurityScanConfigurationRef_4a00a90e, _ITaggableV2_4e6798f8)
|
|
1700
|
+
class CfnCodeSecurityScanConfiguration(
|
|
1701
|
+
_CfnResource_9df397a6,
|
|
1702
|
+
metaclass=jsii.JSIIMeta,
|
|
1703
|
+
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnCodeSecurityScanConfiguration",
|
|
1704
|
+
):
|
|
1705
|
+
'''Creates a scan configuration for code security scanning.
|
|
1706
|
+
|
|
1707
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html
|
|
1708
|
+
:cloudformationResource: AWS::InspectorV2::CodeSecurityScanConfiguration
|
|
1709
|
+
:exampleMetadata: fixture=_generated
|
|
1710
|
+
|
|
1711
|
+
Example::
|
|
1712
|
+
|
|
1713
|
+
# The code below shows an example of how to instantiate this type.
|
|
1714
|
+
# The values are placeholders you should change.
|
|
1715
|
+
from aws_cdk import aws_inspectorv2 as inspectorv2
|
|
1716
|
+
|
|
1717
|
+
cfn_code_security_scan_configuration = inspectorv2.CfnCodeSecurityScanConfiguration(self, "MyCfnCodeSecurityScanConfiguration",
|
|
1718
|
+
configuration=inspectorv2.CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty(
|
|
1719
|
+
rule_set_categories=["ruleSetCategories"],
|
|
1720
|
+
|
|
1721
|
+
# the properties below are optional
|
|
1722
|
+
continuous_integration_scan_configuration=inspectorv2.CfnCodeSecurityScanConfiguration.ContinuousIntegrationScanConfigurationProperty(
|
|
1723
|
+
supported_events=["supportedEvents"]
|
|
1724
|
+
),
|
|
1725
|
+
periodic_scan_configuration=inspectorv2.CfnCodeSecurityScanConfiguration.PeriodicScanConfigurationProperty(
|
|
1726
|
+
frequency="frequency",
|
|
1727
|
+
frequency_expression="frequencyExpression"
|
|
1728
|
+
)
|
|
1729
|
+
),
|
|
1730
|
+
level="level",
|
|
1731
|
+
name="name",
|
|
1732
|
+
scope_settings=inspectorv2.CfnCodeSecurityScanConfiguration.ScopeSettingsProperty(
|
|
1733
|
+
project_selection_scope="projectSelectionScope"
|
|
1734
|
+
),
|
|
1735
|
+
tags={
|
|
1736
|
+
"tags_key": "tags"
|
|
1737
|
+
}
|
|
1738
|
+
)
|
|
1739
|
+
'''
|
|
1740
|
+
|
|
1741
|
+
def __init__(
|
|
1742
|
+
self,
|
|
1743
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1744
|
+
id: builtins.str,
|
|
1745
|
+
*,
|
|
1746
|
+
configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1747
|
+
level: typing.Optional[builtins.str] = None,
|
|
1748
|
+
name: typing.Optional[builtins.str] = None,
|
|
1749
|
+
scope_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSecurityScanConfiguration.ScopeSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1750
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1751
|
+
) -> None:
|
|
1752
|
+
'''Create a new ``AWS::InspectorV2::CodeSecurityScanConfiguration``.
|
|
1753
|
+
|
|
1754
|
+
:param scope: Scope in which this resource is defined.
|
|
1755
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
1756
|
+
:param configuration: The configuration settings for the code security scan.
|
|
1757
|
+
:param level: The security level for the scan configuration.
|
|
1758
|
+
:param name: The name of the scan configuration.
|
|
1759
|
+
:param scope_settings: The scope settings that define which repositories will be scanned.
|
|
1760
|
+
:param tags: The tags to apply to the scan configuration.
|
|
1761
|
+
'''
|
|
1762
|
+
if __debug__:
|
|
1763
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1f8087fd99eb325ae09773df4a6c219dda10efe85e43341cb1f5b576a1e88cef)
|
|
1764
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1765
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1766
|
+
props = CfnCodeSecurityScanConfigurationProps(
|
|
1767
|
+
configuration=configuration,
|
|
1768
|
+
level=level,
|
|
1769
|
+
name=name,
|
|
1770
|
+
scope_settings=scope_settings,
|
|
1771
|
+
tags=tags,
|
|
1772
|
+
)
|
|
1773
|
+
|
|
1774
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
1775
|
+
|
|
1776
|
+
@jsii.member(jsii_name="inspect")
|
|
1777
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1778
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
1779
|
+
|
|
1780
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
1781
|
+
'''
|
|
1782
|
+
if __debug__:
|
|
1783
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ecb6f2f1a541e759bd4ebb9f175ef2898e08b44a5a2f74698a104ebf563f6050)
|
|
1784
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
1785
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
1786
|
+
|
|
1787
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1788
|
+
def _render_properties(
|
|
1789
|
+
self,
|
|
1790
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1791
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1792
|
+
'''
|
|
1793
|
+
:param props: -
|
|
1794
|
+
'''
|
|
1795
|
+
if __debug__:
|
|
1796
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8ba67d1221ac83994db1e0ae5a5f4d8d289116bd2bbba3ba9086ac33ff847516)
|
|
1797
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1798
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1799
|
+
|
|
1800
|
+
@jsii.python.classproperty
|
|
1801
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
1802
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1803
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
1804
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1805
|
+
|
|
1806
|
+
@builtins.property
|
|
1807
|
+
@jsii.member(jsii_name="attrArn")
|
|
1808
|
+
def attr_arn(self) -> builtins.str:
|
|
1809
|
+
'''The Amazon Resource Name (ARN) of the scan configuration.
|
|
1810
|
+
|
|
1811
|
+
:cloudformationAttribute: Arn
|
|
1812
|
+
'''
|
|
1813
|
+
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
1814
|
+
|
|
1815
|
+
@builtins.property
|
|
1816
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
1817
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
1818
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
1819
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
1820
|
+
|
|
1821
|
+
@builtins.property
|
|
1822
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
1823
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1824
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1825
|
+
|
|
1826
|
+
@builtins.property
|
|
1827
|
+
@jsii.member(jsii_name="codeSecurityScanConfigurationRef")
|
|
1828
|
+
def code_security_scan_configuration_ref(
|
|
1829
|
+
self,
|
|
1830
|
+
) -> _CodeSecurityScanConfigurationReference_b4a97ccc:
|
|
1831
|
+
'''A reference to a CodeSecurityScanConfiguration resource.'''
|
|
1832
|
+
return typing.cast(_CodeSecurityScanConfigurationReference_b4a97ccc, jsii.get(self, "codeSecurityScanConfigurationRef"))
|
|
1833
|
+
|
|
1834
|
+
@builtins.property
|
|
1835
|
+
@jsii.member(jsii_name="configuration")
|
|
1836
|
+
def configuration(
|
|
1837
|
+
self,
|
|
1838
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty"]]:
|
|
1839
|
+
'''The configuration settings for the code security scan.'''
|
|
1840
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty"]], jsii.get(self, "configuration"))
|
|
1841
|
+
|
|
1842
|
+
@configuration.setter
|
|
1843
|
+
def configuration(
|
|
1844
|
+
self,
|
|
1845
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty"]],
|
|
1846
|
+
) -> None:
|
|
1847
|
+
if __debug__:
|
|
1848
|
+
type_hints = typing.get_type_hints(_typecheckingstub__45b63b68b5efac81af01f69f6fc536a7e0c56ab5d78f7c4d82199c868ce47b16)
|
|
1849
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1850
|
+
jsii.set(self, "configuration", value) # pyright: ignore[reportArgumentType]
|
|
1851
|
+
|
|
1852
|
+
@builtins.property
|
|
1853
|
+
@jsii.member(jsii_name="level")
|
|
1854
|
+
def level(self) -> typing.Optional[builtins.str]:
|
|
1855
|
+
'''The security level for the scan configuration.'''
|
|
1856
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "level"))
|
|
1857
|
+
|
|
1858
|
+
@level.setter
|
|
1859
|
+
def level(self, value: typing.Optional[builtins.str]) -> None:
|
|
1860
|
+
if __debug__:
|
|
1861
|
+
type_hints = typing.get_type_hints(_typecheckingstub__80291f0cd7a0cb5b5f295442d46a5d028aa373ed833a3fb0e3b6091879e1a69b)
|
|
1862
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1863
|
+
jsii.set(self, "level", value) # pyright: ignore[reportArgumentType]
|
|
1864
|
+
|
|
1865
|
+
@builtins.property
|
|
1866
|
+
@jsii.member(jsii_name="name")
|
|
1867
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
1868
|
+
'''The name of the scan configuration.'''
|
|
1869
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "name"))
|
|
1870
|
+
|
|
1871
|
+
@name.setter
|
|
1872
|
+
def name(self, value: typing.Optional[builtins.str]) -> None:
|
|
1873
|
+
if __debug__:
|
|
1874
|
+
type_hints = typing.get_type_hints(_typecheckingstub__10ce312b3f34f6350a3d1ee625199c03f68c9cb605f5e399d8d24b0f3374d219)
|
|
1875
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1876
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
1877
|
+
|
|
1878
|
+
@builtins.property
|
|
1879
|
+
@jsii.member(jsii_name="scopeSettings")
|
|
1880
|
+
def scope_settings(
|
|
1881
|
+
self,
|
|
1882
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityScanConfiguration.ScopeSettingsProperty"]]:
|
|
1883
|
+
'''The scope settings that define which repositories will be scanned.'''
|
|
1884
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityScanConfiguration.ScopeSettingsProperty"]], jsii.get(self, "scopeSettings"))
|
|
1885
|
+
|
|
1886
|
+
@scope_settings.setter
|
|
1887
|
+
def scope_settings(
|
|
1888
|
+
self,
|
|
1889
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityScanConfiguration.ScopeSettingsProperty"]],
|
|
1890
|
+
) -> None:
|
|
1891
|
+
if __debug__:
|
|
1892
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2418e2e1becb18ab1d3613df2cc71f18c45d161aa5b3aa4b796643c5c109a1b8)
|
|
1893
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1894
|
+
jsii.set(self, "scopeSettings", value) # pyright: ignore[reportArgumentType]
|
|
1895
|
+
|
|
1896
|
+
@builtins.property
|
|
1897
|
+
@jsii.member(jsii_name="tags")
|
|
1898
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1899
|
+
'''The tags to apply to the scan configuration.'''
|
|
1900
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
1901
|
+
|
|
1902
|
+
@tags.setter
|
|
1903
|
+
def tags(
|
|
1904
|
+
self,
|
|
1905
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
1906
|
+
) -> None:
|
|
1907
|
+
if __debug__:
|
|
1908
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9428e2a90cc0578e6f07997b18e25682dcdf69843515552c29dd20aa94e714a3)
|
|
1909
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1910
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
1911
|
+
|
|
1912
|
+
@jsii.data_type(
|
|
1913
|
+
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty",
|
|
1914
|
+
jsii_struct_bases=[],
|
|
1915
|
+
name_mapping={
|
|
1916
|
+
"rule_set_categories": "ruleSetCategories",
|
|
1917
|
+
"continuous_integration_scan_configuration": "continuousIntegrationScanConfiguration",
|
|
1918
|
+
"periodic_scan_configuration": "periodicScanConfiguration",
|
|
1919
|
+
},
|
|
1920
|
+
)
|
|
1921
|
+
class CodeSecurityScanConfigurationProperty:
|
|
1922
|
+
def __init__(
|
|
1923
|
+
self,
|
|
1924
|
+
*,
|
|
1925
|
+
rule_set_categories: typing.Sequence[builtins.str],
|
|
1926
|
+
continuous_integration_scan_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSecurityScanConfiguration.ContinuousIntegrationScanConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1927
|
+
periodic_scan_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSecurityScanConfiguration.PeriodicScanConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1928
|
+
) -> None:
|
|
1929
|
+
'''Contains the configuration settings for code security scans.
|
|
1930
|
+
|
|
1931
|
+
:param rule_set_categories: The categories of security rules to be applied during the scan.
|
|
1932
|
+
:param continuous_integration_scan_configuration: Configuration settings for continuous integration scans that run automatically when code changes are made.
|
|
1933
|
+
:param periodic_scan_configuration: Configuration settings for periodic scans that run on a scheduled basis.
|
|
1934
|
+
|
|
1935
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration.html
|
|
1936
|
+
:exampleMetadata: fixture=_generated
|
|
1937
|
+
|
|
1938
|
+
Example::
|
|
1939
|
+
|
|
1940
|
+
# The code below shows an example of how to instantiate this type.
|
|
1941
|
+
# The values are placeholders you should change.
|
|
1942
|
+
from aws_cdk import aws_inspectorv2 as inspectorv2
|
|
1943
|
+
|
|
1944
|
+
code_security_scan_configuration_property = inspectorv2.CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty(
|
|
1945
|
+
rule_set_categories=["ruleSetCategories"],
|
|
1946
|
+
|
|
1947
|
+
# the properties below are optional
|
|
1948
|
+
continuous_integration_scan_configuration=inspectorv2.CfnCodeSecurityScanConfiguration.ContinuousIntegrationScanConfigurationProperty(
|
|
1949
|
+
supported_events=["supportedEvents"]
|
|
1950
|
+
),
|
|
1951
|
+
periodic_scan_configuration=inspectorv2.CfnCodeSecurityScanConfiguration.PeriodicScanConfigurationProperty(
|
|
1952
|
+
frequency="frequency",
|
|
1953
|
+
frequency_expression="frequencyExpression"
|
|
1954
|
+
)
|
|
1955
|
+
)
|
|
1956
|
+
'''
|
|
1957
|
+
if __debug__:
|
|
1958
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e69a31a73796f4b8caaf249f9369b948bbd3cba1089b94bed6018c89696c89cc)
|
|
1959
|
+
check_type(argname="argument rule_set_categories", value=rule_set_categories, expected_type=type_hints["rule_set_categories"])
|
|
1960
|
+
check_type(argname="argument continuous_integration_scan_configuration", value=continuous_integration_scan_configuration, expected_type=type_hints["continuous_integration_scan_configuration"])
|
|
1961
|
+
check_type(argname="argument periodic_scan_configuration", value=periodic_scan_configuration, expected_type=type_hints["periodic_scan_configuration"])
|
|
1962
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1963
|
+
"rule_set_categories": rule_set_categories,
|
|
1964
|
+
}
|
|
1965
|
+
if continuous_integration_scan_configuration is not None:
|
|
1966
|
+
self._values["continuous_integration_scan_configuration"] = continuous_integration_scan_configuration
|
|
1967
|
+
if periodic_scan_configuration is not None:
|
|
1968
|
+
self._values["periodic_scan_configuration"] = periodic_scan_configuration
|
|
1969
|
+
|
|
1970
|
+
@builtins.property
|
|
1971
|
+
def rule_set_categories(self) -> typing.List[builtins.str]:
|
|
1972
|
+
'''The categories of security rules to be applied during the scan.
|
|
1973
|
+
|
|
1974
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration-rulesetcategories
|
|
1975
|
+
'''
|
|
1976
|
+
result = self._values.get("rule_set_categories")
|
|
1977
|
+
assert result is not None, "Required property 'rule_set_categories' is missing"
|
|
1978
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
1979
|
+
|
|
1980
|
+
@builtins.property
|
|
1981
|
+
def continuous_integration_scan_configuration(
|
|
1982
|
+
self,
|
|
1983
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityScanConfiguration.ContinuousIntegrationScanConfigurationProperty"]]:
|
|
1984
|
+
'''Configuration settings for continuous integration scans that run automatically when code changes are made.
|
|
1985
|
+
|
|
1986
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration-continuousintegrationscanconfiguration
|
|
1987
|
+
'''
|
|
1988
|
+
result = self._values.get("continuous_integration_scan_configuration")
|
|
1989
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityScanConfiguration.ContinuousIntegrationScanConfigurationProperty"]], result)
|
|
1990
|
+
|
|
1991
|
+
@builtins.property
|
|
1992
|
+
def periodic_scan_configuration(
|
|
1993
|
+
self,
|
|
1994
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityScanConfiguration.PeriodicScanConfigurationProperty"]]:
|
|
1995
|
+
'''Configuration settings for periodic scans that run on a scheduled basis.
|
|
1996
|
+
|
|
1997
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration-periodicscanconfiguration
|
|
1998
|
+
'''
|
|
1999
|
+
result = self._values.get("periodic_scan_configuration")
|
|
2000
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCodeSecurityScanConfiguration.PeriodicScanConfigurationProperty"]], result)
|
|
2001
|
+
|
|
2002
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2003
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2004
|
+
|
|
2005
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2006
|
+
return not (rhs == self)
|
|
2007
|
+
|
|
2008
|
+
def __repr__(self) -> str:
|
|
2009
|
+
return "CodeSecurityScanConfigurationProperty(%s)" % ", ".join(
|
|
2010
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2011
|
+
)
|
|
2012
|
+
|
|
2013
|
+
@jsii.data_type(
|
|
2014
|
+
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnCodeSecurityScanConfiguration.ContinuousIntegrationScanConfigurationProperty",
|
|
2015
|
+
jsii_struct_bases=[],
|
|
2016
|
+
name_mapping={"supported_events": "supportedEvents"},
|
|
2017
|
+
)
|
|
2018
|
+
class ContinuousIntegrationScanConfigurationProperty:
|
|
2019
|
+
def __init__(self, *, supported_events: typing.Sequence[builtins.str]) -> None:
|
|
2020
|
+
'''Configuration settings for continuous integration scans that run automatically when code changes are made.
|
|
2021
|
+
|
|
2022
|
+
:param supported_events: The repository events that trigger continuous integration scans, such as pull requests or commits.
|
|
2023
|
+
|
|
2024
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-continuousintegrationscanconfiguration.html
|
|
2025
|
+
:exampleMetadata: fixture=_generated
|
|
2026
|
+
|
|
2027
|
+
Example::
|
|
2028
|
+
|
|
2029
|
+
# The code below shows an example of how to instantiate this type.
|
|
2030
|
+
# The values are placeholders you should change.
|
|
2031
|
+
from aws_cdk import aws_inspectorv2 as inspectorv2
|
|
2032
|
+
|
|
2033
|
+
continuous_integration_scan_configuration_property = inspectorv2.CfnCodeSecurityScanConfiguration.ContinuousIntegrationScanConfigurationProperty(
|
|
2034
|
+
supported_events=["supportedEvents"]
|
|
2035
|
+
)
|
|
2036
|
+
'''
|
|
2037
|
+
if __debug__:
|
|
2038
|
+
type_hints = typing.get_type_hints(_typecheckingstub__04bdb61b43cbfbc6d92a4c02a47e71f63015162a7acf1e60ef409eebcd21a9f2)
|
|
2039
|
+
check_type(argname="argument supported_events", value=supported_events, expected_type=type_hints["supported_events"])
|
|
2040
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2041
|
+
"supported_events": supported_events,
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
@builtins.property
|
|
2045
|
+
def supported_events(self) -> typing.List[builtins.str]:
|
|
2046
|
+
'''The repository events that trigger continuous integration scans, such as pull requests or commits.
|
|
2047
|
+
|
|
2048
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-continuousintegrationscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-continuousintegrationscanconfiguration-supportedevents
|
|
2049
|
+
'''
|
|
2050
|
+
result = self._values.get("supported_events")
|
|
2051
|
+
assert result is not None, "Required property 'supported_events' is missing"
|
|
2052
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
2053
|
+
|
|
2054
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2055
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2056
|
+
|
|
2057
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2058
|
+
return not (rhs == self)
|
|
2059
|
+
|
|
2060
|
+
def __repr__(self) -> str:
|
|
2061
|
+
return "ContinuousIntegrationScanConfigurationProperty(%s)" % ", ".join(
|
|
2062
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2063
|
+
)
|
|
2064
|
+
|
|
2065
|
+
@jsii.data_type(
|
|
2066
|
+
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnCodeSecurityScanConfiguration.PeriodicScanConfigurationProperty",
|
|
2067
|
+
jsii_struct_bases=[],
|
|
2068
|
+
name_mapping={
|
|
2069
|
+
"frequency": "frequency",
|
|
2070
|
+
"frequency_expression": "frequencyExpression",
|
|
2071
|
+
},
|
|
2072
|
+
)
|
|
2073
|
+
class PeriodicScanConfigurationProperty:
|
|
2074
|
+
def __init__(
|
|
2075
|
+
self,
|
|
2076
|
+
*,
|
|
2077
|
+
frequency: typing.Optional[builtins.str] = None,
|
|
2078
|
+
frequency_expression: typing.Optional[builtins.str] = None,
|
|
2079
|
+
) -> None:
|
|
2080
|
+
'''Configuration settings for periodic scans that run on a scheduled basis.
|
|
2081
|
+
|
|
2082
|
+
: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`` .
|
|
2083
|
+
:param frequency_expression: The schedule expression for periodic scans, in cron format.
|
|
2084
|
+
|
|
2085
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-periodicscanconfiguration.html
|
|
2086
|
+
:exampleMetadata: fixture=_generated
|
|
2087
|
+
|
|
2088
|
+
Example::
|
|
2089
|
+
|
|
2090
|
+
# The code below shows an example of how to instantiate this type.
|
|
2091
|
+
# The values are placeholders you should change.
|
|
2092
|
+
from aws_cdk import aws_inspectorv2 as inspectorv2
|
|
2093
|
+
|
|
2094
|
+
periodic_scan_configuration_property = inspectorv2.CfnCodeSecurityScanConfiguration.PeriodicScanConfigurationProperty(
|
|
2095
|
+
frequency="frequency",
|
|
2096
|
+
frequency_expression="frequencyExpression"
|
|
2097
|
+
)
|
|
2098
|
+
'''
|
|
2099
|
+
if __debug__:
|
|
2100
|
+
type_hints = typing.get_type_hints(_typecheckingstub__901beb5d14c9e234fd835b4523197f824e50f091ed2dcfbca59aef2f1f023dde)
|
|
2101
|
+
check_type(argname="argument frequency", value=frequency, expected_type=type_hints["frequency"])
|
|
2102
|
+
check_type(argname="argument frequency_expression", value=frequency_expression, expected_type=type_hints["frequency_expression"])
|
|
2103
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2104
|
+
if frequency is not None:
|
|
2105
|
+
self._values["frequency"] = frequency
|
|
2106
|
+
if frequency_expression is not None:
|
|
2107
|
+
self._values["frequency_expression"] = frequency_expression
|
|
2108
|
+
|
|
2109
|
+
@builtins.property
|
|
2110
|
+
def frequency(self) -> typing.Optional[builtins.str]:
|
|
2111
|
+
'''The frequency at which periodic scans are performed (such as weekly or monthly).
|
|
2112
|
+
|
|
2113
|
+
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`` .
|
|
2114
|
+
|
|
2115
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-periodicscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-periodicscanconfiguration-frequency
|
|
2116
|
+
'''
|
|
2117
|
+
result = self._values.get("frequency")
|
|
2118
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2119
|
+
|
|
2120
|
+
@builtins.property
|
|
2121
|
+
def frequency_expression(self) -> typing.Optional[builtins.str]:
|
|
2122
|
+
'''The schedule expression for periodic scans, in cron format.
|
|
2123
|
+
|
|
2124
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-periodicscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-periodicscanconfiguration-frequencyexpression
|
|
2125
|
+
'''
|
|
2126
|
+
result = self._values.get("frequency_expression")
|
|
2127
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2128
|
+
|
|
2129
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2130
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2131
|
+
|
|
2132
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2133
|
+
return not (rhs == self)
|
|
2134
|
+
|
|
2135
|
+
def __repr__(self) -> str:
|
|
2136
|
+
return "PeriodicScanConfigurationProperty(%s)" % ", ".join(
|
|
2137
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2138
|
+
)
|
|
2139
|
+
|
|
2140
|
+
@jsii.data_type(
|
|
2141
|
+
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnCodeSecurityScanConfiguration.ScopeSettingsProperty",
|
|
2142
|
+
jsii_struct_bases=[],
|
|
2143
|
+
name_mapping={"project_selection_scope": "projectSelectionScope"},
|
|
2144
|
+
)
|
|
2145
|
+
class ScopeSettingsProperty:
|
|
2146
|
+
def __init__(
|
|
2147
|
+
self,
|
|
2148
|
+
*,
|
|
2149
|
+
project_selection_scope: typing.Optional[builtins.str] = None,
|
|
2150
|
+
) -> None:
|
|
2151
|
+
'''The scope settings that define which repositories will be scanned.
|
|
2152
|
+
|
|
2153
|
+
If the ``ScopeSetting`` parameter is ``ALL`` the scan configuration applies to all existing and future projects imported into Amazon Inspector .
|
|
2154
|
+
|
|
2155
|
+
:param project_selection_scope: The scope of projects to be selected for scanning within the integrated repositories.
|
|
2156
|
+
|
|
2157
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-scopesettings.html
|
|
2158
|
+
:exampleMetadata: fixture=_generated
|
|
2159
|
+
|
|
2160
|
+
Example::
|
|
2161
|
+
|
|
2162
|
+
# The code below shows an example of how to instantiate this type.
|
|
2163
|
+
# The values are placeholders you should change.
|
|
2164
|
+
from aws_cdk import aws_inspectorv2 as inspectorv2
|
|
2165
|
+
|
|
2166
|
+
scope_settings_property = inspectorv2.CfnCodeSecurityScanConfiguration.ScopeSettingsProperty(
|
|
2167
|
+
project_selection_scope="projectSelectionScope"
|
|
2168
|
+
)
|
|
2169
|
+
'''
|
|
2170
|
+
if __debug__:
|
|
2171
|
+
type_hints = typing.get_type_hints(_typecheckingstub__911607f762372da4ac39dfe813875203be92e9a87447c67741aae32d569743dc)
|
|
2172
|
+
check_type(argname="argument project_selection_scope", value=project_selection_scope, expected_type=type_hints["project_selection_scope"])
|
|
2173
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2174
|
+
if project_selection_scope is not None:
|
|
2175
|
+
self._values["project_selection_scope"] = project_selection_scope
|
|
2176
|
+
|
|
2177
|
+
@builtins.property
|
|
2178
|
+
def project_selection_scope(self) -> typing.Optional[builtins.str]:
|
|
2179
|
+
'''The scope of projects to be selected for scanning within the integrated repositories.
|
|
2180
|
+
|
|
2181
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-scopesettings.html#cfn-inspectorv2-codesecurityscanconfiguration-scopesettings-projectselectionscope
|
|
2182
|
+
'''
|
|
2183
|
+
result = self._values.get("project_selection_scope")
|
|
2184
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2185
|
+
|
|
2186
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2187
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2188
|
+
|
|
2189
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2190
|
+
return not (rhs == self)
|
|
2191
|
+
|
|
2192
|
+
def __repr__(self) -> str:
|
|
2193
|
+
return "ScopeSettingsProperty(%s)" % ", ".join(
|
|
2194
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2195
|
+
)
|
|
2196
|
+
|
|
2197
|
+
|
|
2198
|
+
@jsii.data_type(
|
|
2199
|
+
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnCodeSecurityScanConfigurationProps",
|
|
2200
|
+
jsii_struct_bases=[],
|
|
2201
|
+
name_mapping={
|
|
2202
|
+
"configuration": "configuration",
|
|
2203
|
+
"level": "level",
|
|
2204
|
+
"name": "name",
|
|
2205
|
+
"scope_settings": "scopeSettings",
|
|
2206
|
+
"tags": "tags",
|
|
2207
|
+
},
|
|
2208
|
+
)
|
|
2209
|
+
class CfnCodeSecurityScanConfigurationProps:
|
|
2210
|
+
def __init__(
|
|
2211
|
+
self,
|
|
2212
|
+
*,
|
|
2213
|
+
configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2214
|
+
level: typing.Optional[builtins.str] = None,
|
|
2215
|
+
name: typing.Optional[builtins.str] = None,
|
|
2216
|
+
scope_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityScanConfiguration.ScopeSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2217
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2218
|
+
) -> None:
|
|
2219
|
+
'''Properties for defining a ``CfnCodeSecurityScanConfiguration``.
|
|
2220
|
+
|
|
2221
|
+
:param configuration: The configuration settings for the code security scan.
|
|
2222
|
+
:param level: The security level for the scan configuration.
|
|
2223
|
+
:param name: The name of the scan configuration.
|
|
2224
|
+
:param scope_settings: The scope settings that define which repositories will be scanned.
|
|
2225
|
+
:param tags: The tags to apply to the scan configuration.
|
|
2226
|
+
|
|
2227
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html
|
|
2228
|
+
:exampleMetadata: fixture=_generated
|
|
2229
|
+
|
|
2230
|
+
Example::
|
|
2231
|
+
|
|
2232
|
+
# The code below shows an example of how to instantiate this type.
|
|
2233
|
+
# The values are placeholders you should change.
|
|
2234
|
+
from aws_cdk import aws_inspectorv2 as inspectorv2
|
|
2235
|
+
|
|
2236
|
+
cfn_code_security_scan_configuration_props = inspectorv2.CfnCodeSecurityScanConfigurationProps(
|
|
2237
|
+
configuration=inspectorv2.CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty(
|
|
2238
|
+
rule_set_categories=["ruleSetCategories"],
|
|
2239
|
+
|
|
2240
|
+
# the properties below are optional
|
|
2241
|
+
continuous_integration_scan_configuration=inspectorv2.CfnCodeSecurityScanConfiguration.ContinuousIntegrationScanConfigurationProperty(
|
|
2242
|
+
supported_events=["supportedEvents"]
|
|
2243
|
+
),
|
|
2244
|
+
periodic_scan_configuration=inspectorv2.CfnCodeSecurityScanConfiguration.PeriodicScanConfigurationProperty(
|
|
2245
|
+
frequency="frequency",
|
|
2246
|
+
frequency_expression="frequencyExpression"
|
|
2247
|
+
)
|
|
2248
|
+
),
|
|
2249
|
+
level="level",
|
|
2250
|
+
name="name",
|
|
2251
|
+
scope_settings=inspectorv2.CfnCodeSecurityScanConfiguration.ScopeSettingsProperty(
|
|
2252
|
+
project_selection_scope="projectSelectionScope"
|
|
2253
|
+
),
|
|
2254
|
+
tags={
|
|
2255
|
+
"tags_key": "tags"
|
|
2256
|
+
}
|
|
2257
|
+
)
|
|
2258
|
+
'''
|
|
2259
|
+
if __debug__:
|
|
2260
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6ea2faaa39ad7a4370f1a43aa967ae3ded5ad2ac9c212905e92dd56f603ec204)
|
|
2261
|
+
check_type(argname="argument configuration", value=configuration, expected_type=type_hints["configuration"])
|
|
2262
|
+
check_type(argname="argument level", value=level, expected_type=type_hints["level"])
|
|
2263
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
2264
|
+
check_type(argname="argument scope_settings", value=scope_settings, expected_type=type_hints["scope_settings"])
|
|
2265
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
2266
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2267
|
+
if configuration is not None:
|
|
2268
|
+
self._values["configuration"] = configuration
|
|
2269
|
+
if level is not None:
|
|
2270
|
+
self._values["level"] = level
|
|
2271
|
+
if name is not None:
|
|
2272
|
+
self._values["name"] = name
|
|
2273
|
+
if scope_settings is not None:
|
|
2274
|
+
self._values["scope_settings"] = scope_settings
|
|
2275
|
+
if tags is not None:
|
|
2276
|
+
self._values["tags"] = tags
|
|
2277
|
+
|
|
2278
|
+
@builtins.property
|
|
2279
|
+
def configuration(
|
|
2280
|
+
self,
|
|
2281
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty]]:
|
|
2282
|
+
'''The configuration settings for the code security scan.
|
|
2283
|
+
|
|
2284
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-configuration
|
|
2285
|
+
'''
|
|
2286
|
+
result = self._values.get("configuration")
|
|
2287
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty]], result)
|
|
2288
|
+
|
|
2289
|
+
@builtins.property
|
|
2290
|
+
def level(self) -> typing.Optional[builtins.str]:
|
|
2291
|
+
'''The security level for the scan configuration.
|
|
2292
|
+
|
|
2293
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-level
|
|
2294
|
+
'''
|
|
2295
|
+
result = self._values.get("level")
|
|
2296
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2297
|
+
|
|
2298
|
+
@builtins.property
|
|
2299
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
2300
|
+
'''The name of the scan configuration.
|
|
2301
|
+
|
|
2302
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-name
|
|
2303
|
+
'''
|
|
2304
|
+
result = self._values.get("name")
|
|
2305
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2306
|
+
|
|
2307
|
+
@builtins.property
|
|
2308
|
+
def scope_settings(
|
|
2309
|
+
self,
|
|
2310
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCodeSecurityScanConfiguration.ScopeSettingsProperty]]:
|
|
2311
|
+
'''The scope settings that define which repositories will be scanned.
|
|
2312
|
+
|
|
2313
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-scopesettings
|
|
2314
|
+
'''
|
|
2315
|
+
result = self._values.get("scope_settings")
|
|
2316
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCodeSecurityScanConfiguration.ScopeSettingsProperty]], result)
|
|
2317
|
+
|
|
2318
|
+
@builtins.property
|
|
2319
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
2320
|
+
'''The tags to apply to the scan configuration.
|
|
2321
|
+
|
|
2322
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html#cfn-inspectorv2-codesecurityscanconfiguration-tags
|
|
2323
|
+
'''
|
|
2324
|
+
result = self._values.get("tags")
|
|
2325
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
2326
|
+
|
|
2327
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2328
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2329
|
+
|
|
2330
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2331
|
+
return not (rhs == self)
|
|
2332
|
+
|
|
2333
|
+
def __repr__(self) -> str:
|
|
2334
|
+
return "CfnCodeSecurityScanConfigurationProps(%s)" % ", ".join(
|
|
2335
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2336
|
+
)
|
|
2337
|
+
|
|
2338
|
+
|
|
2339
|
+
@jsii.implements(_IInspectable_c2943556, _IFilterRef_37875571, _ITaggableV2_4e6798f8)
|
|
2340
|
+
class CfnFilter(
|
|
2341
|
+
_CfnResource_9df397a6,
|
|
2342
|
+
metaclass=jsii.JSIIMeta,
|
|
2343
|
+
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnFilter",
|
|
2344
|
+
):
|
|
2345
|
+
'''Details about a filter.
|
|
2346
|
+
|
|
2347
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-filter.html
|
|
2348
|
+
:cloudformationResource: AWS::InspectorV2::Filter
|
|
2349
|
+
:exampleMetadata: fixture=_generated
|
|
2350
|
+
|
|
2351
|
+
Example::
|
|
2352
|
+
|
|
2353
|
+
# The code below shows an example of how to instantiate this type.
|
|
2354
|
+
# The values are placeholders you should change.
|
|
2355
|
+
from aws_cdk import aws_inspectorv2 as inspectorv2
|
|
2356
|
+
|
|
2357
|
+
cfn_filter = inspectorv2.CfnFilter(self, "MyCfnFilter",
|
|
2358
|
+
filter_action="filterAction",
|
|
2359
|
+
filter_criteria=inspectorv2.CfnFilter.FilterCriteriaProperty(
|
|
2360
|
+
aws_account_id=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2361
|
+
comparison="comparison",
|
|
2362
|
+
value="value"
|
|
2363
|
+
)],
|
|
2364
|
+
code_vulnerability_detector_name=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2365
|
+
comparison="comparison",
|
|
2366
|
+
value="value"
|
|
2367
|
+
)],
|
|
2368
|
+
code_vulnerability_detector_tags=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2369
|
+
comparison="comparison",
|
|
2370
|
+
value="value"
|
|
2371
|
+
)],
|
|
2372
|
+
code_vulnerability_file_path=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2373
|
+
comparison="comparison",
|
|
2374
|
+
value="value"
|
|
2375
|
+
)],
|
|
2376
|
+
component_id=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2377
|
+
comparison="comparison",
|
|
2378
|
+
value="value"
|
|
2379
|
+
)],
|
|
2380
|
+
component_type=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2381
|
+
comparison="comparison",
|
|
2382
|
+
value="value"
|
|
2383
|
+
)],
|
|
2384
|
+
ec2_instance_image_id=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2385
|
+
comparison="comparison",
|
|
2386
|
+
value="value"
|
|
2387
|
+
)],
|
|
2388
|
+
ec2_instance_subnet_id=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2389
|
+
comparison="comparison",
|
|
2390
|
+
value="value"
|
|
2391
|
+
)],
|
|
2392
|
+
ec2_instance_vpc_id=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2393
|
+
comparison="comparison",
|
|
2394
|
+
value="value"
|
|
2395
|
+
)],
|
|
2396
|
+
ecr_image_architecture=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2397
|
+
comparison="comparison",
|
|
2398
|
+
value="value"
|
|
2399
|
+
)],
|
|
2400
|
+
ecr_image_hash=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2401
|
+
comparison="comparison",
|
|
2402
|
+
value="value"
|
|
2403
|
+
)],
|
|
2404
|
+
ecr_image_pushed_at=[inspectorv2.CfnFilter.DateFilterProperty(
|
|
2405
|
+
end_inclusive=123,
|
|
2406
|
+
start_inclusive=123
|
|
2407
|
+
)],
|
|
2408
|
+
ecr_image_registry=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2409
|
+
comparison="comparison",
|
|
2410
|
+
value="value"
|
|
2411
|
+
)],
|
|
2412
|
+
ecr_image_repository_name=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2413
|
+
comparison="comparison",
|
|
2414
|
+
value="value"
|
|
2415
|
+
)],
|
|
2416
|
+
ecr_image_tags=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2417
|
+
comparison="comparison",
|
|
2418
|
+
value="value"
|
|
2419
|
+
)],
|
|
2420
|
+
epss_score=[inspectorv2.CfnFilter.NumberFilterProperty(
|
|
2421
|
+
lower_inclusive=123,
|
|
2422
|
+
upper_inclusive=123
|
|
2423
|
+
)],
|
|
2424
|
+
exploit_available=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2425
|
+
comparison="comparison",
|
|
2426
|
+
value="value"
|
|
2427
|
+
)],
|
|
2428
|
+
finding_arn=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2429
|
+
comparison="comparison",
|
|
2430
|
+
value="value"
|
|
2431
|
+
)],
|
|
2432
|
+
finding_status=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2433
|
+
comparison="comparison",
|
|
2434
|
+
value="value"
|
|
2435
|
+
)],
|
|
2436
|
+
finding_type=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2437
|
+
comparison="comparison",
|
|
2438
|
+
value="value"
|
|
2439
|
+
)],
|
|
2440
|
+
first_observed_at=[inspectorv2.CfnFilter.DateFilterProperty(
|
|
2441
|
+
end_inclusive=123,
|
|
2442
|
+
start_inclusive=123
|
|
2443
|
+
)],
|
|
2444
|
+
fix_available=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2445
|
+
comparison="comparison",
|
|
2446
|
+
value="value"
|
|
2447
|
+
)],
|
|
2448
|
+
inspector_score=[inspectorv2.CfnFilter.NumberFilterProperty(
|
|
2449
|
+
lower_inclusive=123,
|
|
2450
|
+
upper_inclusive=123
|
|
2451
|
+
)],
|
|
2452
|
+
lambda_function_execution_role_arn=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2453
|
+
comparison="comparison",
|
|
2454
|
+
value="value"
|
|
2455
|
+
)],
|
|
2456
|
+
lambda_function_last_modified_at=[inspectorv2.CfnFilter.DateFilterProperty(
|
|
2457
|
+
end_inclusive=123,
|
|
2458
|
+
start_inclusive=123
|
|
2459
|
+
)],
|
|
2460
|
+
lambda_function_layers=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2461
|
+
comparison="comparison",
|
|
2462
|
+
value="value"
|
|
2463
|
+
)],
|
|
2464
|
+
lambda_function_name=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2465
|
+
comparison="comparison",
|
|
2466
|
+
value="value"
|
|
2467
|
+
)],
|
|
2468
|
+
lambda_function_runtime=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2469
|
+
comparison="comparison",
|
|
2470
|
+
value="value"
|
|
2471
|
+
)],
|
|
2472
|
+
last_observed_at=[inspectorv2.CfnFilter.DateFilterProperty(
|
|
2473
|
+
end_inclusive=123,
|
|
2474
|
+
start_inclusive=123
|
|
2475
|
+
)],
|
|
2476
|
+
network_protocol=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2477
|
+
comparison="comparison",
|
|
2478
|
+
value="value"
|
|
2479
|
+
)],
|
|
2480
|
+
port_range=[inspectorv2.CfnFilter.PortRangeFilterProperty(
|
|
2481
|
+
begin_inclusive=123,
|
|
2482
|
+
end_inclusive=123
|
|
2483
|
+
)],
|
|
2484
|
+
related_vulnerabilities=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2485
|
+
comparison="comparison",
|
|
2486
|
+
value="value"
|
|
2487
|
+
)],
|
|
2488
|
+
resource_id=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2489
|
+
comparison="comparison",
|
|
2490
|
+
value="value"
|
|
2491
|
+
)],
|
|
2492
|
+
resource_tags=[inspectorv2.CfnFilter.MapFilterProperty(
|
|
2493
|
+
comparison="comparison",
|
|
2494
|
+
|
|
2495
|
+
# the properties below are optional
|
|
2496
|
+
key="key",
|
|
2497
|
+
value="value"
|
|
2498
|
+
)],
|
|
2499
|
+
resource_type=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2500
|
+
comparison="comparison",
|
|
2501
|
+
value="value"
|
|
2502
|
+
)],
|
|
2503
|
+
severity=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2504
|
+
comparison="comparison",
|
|
2505
|
+
value="value"
|
|
2506
|
+
)],
|
|
2507
|
+
title=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2508
|
+
comparison="comparison",
|
|
2509
|
+
value="value"
|
|
2510
|
+
)],
|
|
2511
|
+
updated_at=[inspectorv2.CfnFilter.DateFilterProperty(
|
|
2512
|
+
end_inclusive=123,
|
|
2513
|
+
start_inclusive=123
|
|
2514
|
+
)],
|
|
2515
|
+
vendor_severity=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2516
|
+
comparison="comparison",
|
|
2517
|
+
value="value"
|
|
2518
|
+
)],
|
|
2519
|
+
vulnerability_id=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2520
|
+
comparison="comparison",
|
|
2521
|
+
value="value"
|
|
2522
|
+
)],
|
|
2523
|
+
vulnerability_source=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2524
|
+
comparison="comparison",
|
|
2525
|
+
value="value"
|
|
2526
|
+
)],
|
|
2527
|
+
vulnerable_packages=[inspectorv2.CfnFilter.PackageFilterProperty(
|
|
2528
|
+
architecture=inspectorv2.CfnFilter.StringFilterProperty(
|
|
2529
|
+
comparison="comparison",
|
|
2530
|
+
value="value"
|
|
2531
|
+
),
|
|
2532
|
+
epoch=inspectorv2.CfnFilter.NumberFilterProperty(
|
|
2533
|
+
lower_inclusive=123,
|
|
2534
|
+
upper_inclusive=123
|
|
2535
|
+
),
|
|
2536
|
+
file_path=inspectorv2.CfnFilter.StringFilterProperty(
|
|
2537
|
+
comparison="comparison",
|
|
2538
|
+
value="value"
|
|
2539
|
+
),
|
|
2540
|
+
name=inspectorv2.CfnFilter.StringFilterProperty(
|
|
2541
|
+
comparison="comparison",
|
|
2542
|
+
value="value"
|
|
2543
|
+
),
|
|
2544
|
+
release=inspectorv2.CfnFilter.StringFilterProperty(
|
|
2545
|
+
comparison="comparison",
|
|
2546
|
+
value="value"
|
|
2547
|
+
),
|
|
2548
|
+
source_lambda_layer_arn=inspectorv2.CfnFilter.StringFilterProperty(
|
|
2549
|
+
comparison="comparison",
|
|
2550
|
+
value="value"
|
|
2551
|
+
),
|
|
2552
|
+
source_layer_hash=inspectorv2.CfnFilter.StringFilterProperty(
|
|
2553
|
+
comparison="comparison",
|
|
2554
|
+
value="value"
|
|
2555
|
+
),
|
|
2556
|
+
version=inspectorv2.CfnFilter.StringFilterProperty(
|
|
2557
|
+
comparison="comparison",
|
|
2558
|
+
value="value"
|
|
2559
|
+
)
|
|
2560
|
+
)]
|
|
2561
|
+
),
|
|
2562
|
+
name="name",
|
|
2563
|
+
|
|
2564
|
+
# the properties below are optional
|
|
2565
|
+
description="description",
|
|
2566
|
+
tags={
|
|
2567
|
+
"tags_key": "tags"
|
|
2568
|
+
}
|
|
2569
|
+
)
|
|
2570
|
+
'''
|
|
2571
|
+
|
|
2572
|
+
def __init__(
|
|
2573
|
+
self,
|
|
2574
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2575
|
+
id: builtins.str,
|
|
2576
|
+
*,
|
|
2577
|
+
filter_action: builtins.str,
|
|
2578
|
+
filter_criteria: typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.FilterCriteriaProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2579
|
+
name: builtins.str,
|
|
2580
|
+
description: typing.Optional[builtins.str] = None,
|
|
2581
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2582
|
+
) -> None:
|
|
2583
|
+
'''Create a new ``AWS::InspectorV2::Filter``.
|
|
2584
|
+
|
|
2585
|
+
:param scope: Scope in which this resource is defined.
|
|
2586
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
2587
|
+
:param filter_action: The action that is to be applied to the findings that match the filter.
|
|
2588
|
+
:param filter_criteria: Details on the filter criteria associated with this filter.
|
|
2589
|
+
:param name: The name of the filter.
|
|
2590
|
+
:param description: A description of the filter.
|
|
2591
|
+
:param tags: The tags attached to the filter.
|
|
2592
|
+
'''
|
|
2593
|
+
if __debug__:
|
|
2594
|
+
type_hints = typing.get_type_hints(_typecheckingstub__76aaac8f8d755716225a5dd2d4902f3e7ec007381fa82a2d163553362c975c9d)
|
|
2595
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2596
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2597
|
+
props = CfnFilterProps(
|
|
2598
|
+
filter_action=filter_action,
|
|
2599
|
+
filter_criteria=filter_criteria,
|
|
2600
|
+
name=name,
|
|
2601
|
+
description=description,
|
|
2602
|
+
tags=tags,
|
|
2603
|
+
)
|
|
2604
|
+
|
|
2605
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
2606
|
+
|
|
2607
|
+
@jsii.member(jsii_name="inspect")
|
|
2608
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
2609
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
2610
|
+
|
|
2611
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
2612
|
+
'''
|
|
2613
|
+
if __debug__:
|
|
2614
|
+
type_hints = typing.get_type_hints(_typecheckingstub__daeca541bed43f62727b37c4048db034533d9b1614725f3cf4c361b77df5323e)
|
|
2615
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
2616
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
2617
|
+
|
|
2618
|
+
@jsii.member(jsii_name="renderProperties")
|
|
2619
|
+
def _render_properties(
|
|
2620
|
+
self,
|
|
2621
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2622
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2623
|
+
'''
|
|
2624
|
+
:param props: -
|
|
2625
|
+
'''
|
|
2626
|
+
if __debug__:
|
|
2627
|
+
type_hints = typing.get_type_hints(_typecheckingstub__02055b54b230012a61c4a22e04d2fc0ffa08a47a06385a880a1db32a3f55f237)
|
|
2628
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
2629
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
2630
|
+
|
|
2631
|
+
@jsii.python.classproperty
|
|
2632
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
2633
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
2634
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
2635
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
2636
|
+
|
|
2637
|
+
@builtins.property
|
|
2638
|
+
@jsii.member(jsii_name="attrArn")
|
|
2639
|
+
def attr_arn(self) -> builtins.str:
|
|
2640
|
+
'''The Amazon Resource Number (ARN) associated with this filter.
|
|
2641
|
+
|
|
2642
|
+
:cloudformationAttribute: Arn
|
|
2643
|
+
'''
|
|
2644
|
+
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
2645
|
+
|
|
2646
|
+
@builtins.property
|
|
2647
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
2648
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
2649
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
2650
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
2651
|
+
|
|
2652
|
+
@builtins.property
|
|
2653
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
2654
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2655
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
2656
|
+
|
|
2657
|
+
@builtins.property
|
|
2658
|
+
@jsii.member(jsii_name="filterRef")
|
|
2659
|
+
def filter_ref(self) -> _FilterReference_d368c0f2:
|
|
2660
|
+
'''A reference to a Filter resource.'''
|
|
2661
|
+
return typing.cast(_FilterReference_d368c0f2, jsii.get(self, "filterRef"))
|
|
2662
|
+
|
|
2663
|
+
@builtins.property
|
|
2664
|
+
@jsii.member(jsii_name="filterAction")
|
|
2665
|
+
def filter_action(self) -> builtins.str:
|
|
2666
|
+
'''The action that is to be applied to the findings that match the filter.'''
|
|
2667
|
+
return typing.cast(builtins.str, jsii.get(self, "filterAction"))
|
|
2668
|
+
|
|
2669
|
+
@filter_action.setter
|
|
2670
|
+
def filter_action(self, value: builtins.str) -> None:
|
|
2671
|
+
if __debug__:
|
|
2672
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a72dbbaedc7eb8a3b6da0867d3f429993d1cdfe3b095a514d2cb82730c01b31d)
|
|
2673
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2674
|
+
jsii.set(self, "filterAction", value) # pyright: ignore[reportArgumentType]
|
|
2675
|
+
|
|
2676
|
+
@builtins.property
|
|
2677
|
+
@jsii.member(jsii_name="filterCriteria")
|
|
2678
|
+
def filter_criteria(
|
|
2679
|
+
self,
|
|
2680
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnFilter.FilterCriteriaProperty"]:
|
|
2681
|
+
'''Details on the filter criteria associated with this filter.'''
|
|
2682
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnFilter.FilterCriteriaProperty"], jsii.get(self, "filterCriteria"))
|
|
2683
|
+
|
|
2684
|
+
@filter_criteria.setter
|
|
2685
|
+
def filter_criteria(
|
|
2686
|
+
self,
|
|
2687
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnFilter.FilterCriteriaProperty"],
|
|
2688
|
+
) -> None:
|
|
2689
|
+
if __debug__:
|
|
2690
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b566081cfe458076187f61e1afab9cbbb5fb2cdd114aad2fa6e38280867325e5)
|
|
2691
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2692
|
+
jsii.set(self, "filterCriteria", value) # pyright: ignore[reportArgumentType]
|
|
2693
|
+
|
|
2694
|
+
@builtins.property
|
|
2695
|
+
@jsii.member(jsii_name="name")
|
|
2696
|
+
def name(self) -> builtins.str:
|
|
2697
|
+
'''The name of the filter.'''
|
|
2698
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
2699
|
+
|
|
2700
|
+
@name.setter
|
|
2701
|
+
def name(self, value: builtins.str) -> None:
|
|
2702
|
+
if __debug__:
|
|
2703
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1b0548c4926be9ebf2a0675883b51af78c4f6a9c034f4d0fb7a9ebfd7ad038ee)
|
|
2704
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2705
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
2706
|
+
|
|
2707
|
+
@builtins.property
|
|
2708
|
+
@jsii.member(jsii_name="description")
|
|
2709
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
2710
|
+
'''A description of the filter.'''
|
|
2711
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
2712
|
+
|
|
2713
|
+
@description.setter
|
|
2714
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
2715
|
+
if __debug__:
|
|
2716
|
+
type_hints = typing.get_type_hints(_typecheckingstub__29a0d69128962a2d8d478ff9197ec92d930e2284a9cbff6337d95fb1932925d0)
|
|
2717
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2718
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
2719
|
+
|
|
2720
|
+
@builtins.property
|
|
2721
|
+
@jsii.member(jsii_name="tags")
|
|
2722
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
2723
|
+
'''The tags attached to the filter.'''
|
|
2724
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
2725
|
+
|
|
2726
|
+
@tags.setter
|
|
2727
|
+
def tags(
|
|
2728
|
+
self,
|
|
2729
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
2730
|
+
) -> None:
|
|
2731
|
+
if __debug__:
|
|
2732
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2d85ec3c1992f35abc960573e86c94eb9d5f4d6c6fd9f47728ef03d5078212f1)
|
|
2733
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2734
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
1257
2735
|
|
|
1258
2736
|
@jsii.data_type(
|
|
1259
2737
|
jsii_type="aws-cdk-lib.aws_inspectorv2.CfnFilter.DateFilterProperty",
|
|
@@ -1333,6 +2811,9 @@ class CfnFilter(
|
|
|
1333
2811
|
jsii_struct_bases=[],
|
|
1334
2812
|
name_mapping={
|
|
1335
2813
|
"aws_account_id": "awsAccountId",
|
|
2814
|
+
"code_vulnerability_detector_name": "codeVulnerabilityDetectorName",
|
|
2815
|
+
"code_vulnerability_detector_tags": "codeVulnerabilityDetectorTags",
|
|
2816
|
+
"code_vulnerability_file_path": "codeVulnerabilityFilePath",
|
|
1336
2817
|
"component_id": "componentId",
|
|
1337
2818
|
"component_type": "componentType",
|
|
1338
2819
|
"ec2_instance_image_id": "ec2InstanceImageId",
|
|
@@ -1344,11 +2825,19 @@ class CfnFilter(
|
|
|
1344
2825
|
"ecr_image_registry": "ecrImageRegistry",
|
|
1345
2826
|
"ecr_image_repository_name": "ecrImageRepositoryName",
|
|
1346
2827
|
"ecr_image_tags": "ecrImageTags",
|
|
2828
|
+
"epss_score": "epssScore",
|
|
2829
|
+
"exploit_available": "exploitAvailable",
|
|
1347
2830
|
"finding_arn": "findingArn",
|
|
1348
2831
|
"finding_status": "findingStatus",
|
|
1349
2832
|
"finding_type": "findingType",
|
|
1350
2833
|
"first_observed_at": "firstObservedAt",
|
|
2834
|
+
"fix_available": "fixAvailable",
|
|
1351
2835
|
"inspector_score": "inspectorScore",
|
|
2836
|
+
"lambda_function_execution_role_arn": "lambdaFunctionExecutionRoleArn",
|
|
2837
|
+
"lambda_function_last_modified_at": "lambdaFunctionLastModifiedAt",
|
|
2838
|
+
"lambda_function_layers": "lambdaFunctionLayers",
|
|
2839
|
+
"lambda_function_name": "lambdaFunctionName",
|
|
2840
|
+
"lambda_function_runtime": "lambdaFunctionRuntime",
|
|
1352
2841
|
"last_observed_at": "lastObservedAt",
|
|
1353
2842
|
"network_protocol": "networkProtocol",
|
|
1354
2843
|
"port_range": "portRange",
|
|
@@ -1370,6 +2859,9 @@ class CfnFilter(
|
|
|
1370
2859
|
self,
|
|
1371
2860
|
*,
|
|
1372
2861
|
aws_account_id: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2862
|
+
code_vulnerability_detector_name: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2863
|
+
code_vulnerability_detector_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2864
|
+
code_vulnerability_file_path: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1373
2865
|
component_id: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1374
2866
|
component_type: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1375
2867
|
ec2_instance_image_id: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -1381,11 +2873,19 @@ class CfnFilter(
|
|
|
1381
2873
|
ecr_image_registry: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1382
2874
|
ecr_image_repository_name: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1383
2875
|
ecr_image_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2876
|
+
epss_score: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.NumberFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2877
|
+
exploit_available: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1384
2878
|
finding_arn: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1385
2879
|
finding_status: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1386
2880
|
finding_type: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1387
2881
|
first_observed_at: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.DateFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2882
|
+
fix_available: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1388
2883
|
inspector_score: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.NumberFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2884
|
+
lambda_function_execution_role_arn: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2885
|
+
lambda_function_last_modified_at: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.DateFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2886
|
+
lambda_function_layers: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2887
|
+
lambda_function_name: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2888
|
+
lambda_function_runtime: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1389
2889
|
last_observed_at: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.DateFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1390
2890
|
network_protocol: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1391
2891
|
port_range: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.PortRangeFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -1404,6 +2904,9 @@ class CfnFilter(
|
|
|
1404
2904
|
'''Details on the criteria used to define the filter.
|
|
1405
2905
|
|
|
1406
2906
|
:param aws_account_id: Details of the AWS account IDs used to filter findings.
|
|
2907
|
+
:param code_vulnerability_detector_name:
|
|
2908
|
+
:param code_vulnerability_detector_tags:
|
|
2909
|
+
:param code_vulnerability_file_path:
|
|
1407
2910
|
:param component_id: Details of the component IDs used to filter findings.
|
|
1408
2911
|
:param component_type: Details of the component types used to filter findings.
|
|
1409
2912
|
:param ec2_instance_image_id: Details of the Amazon EC2 instance image IDs used to filter findings.
|
|
@@ -1415,11 +2918,19 @@ class CfnFilter(
|
|
|
1415
2918
|
:param ecr_image_registry: Details on the Amazon ECR registry used to filter findings.
|
|
1416
2919
|
:param ecr_image_repository_name: Details on the name of the Amazon ECR repository used to filter findings.
|
|
1417
2920
|
:param ecr_image_tags: The tags attached to the Amazon ECR container image.
|
|
2921
|
+
:param epss_score:
|
|
2922
|
+
:param exploit_available:
|
|
1418
2923
|
:param finding_arn: Details on the finding ARNs used to filter findings.
|
|
1419
2924
|
:param finding_status: Details on the finding status types used to filter findings.
|
|
1420
2925
|
:param finding_type: Details on the finding types used to filter findings.
|
|
1421
2926
|
:param first_observed_at: Details on the date and time a finding was first seen used to filter findings.
|
|
2927
|
+
:param fix_available:
|
|
1422
2928
|
:param inspector_score: The Amazon Inspector score to filter on.
|
|
2929
|
+
:param lambda_function_execution_role_arn:
|
|
2930
|
+
:param lambda_function_last_modified_at:
|
|
2931
|
+
:param lambda_function_layers:
|
|
2932
|
+
:param lambda_function_name:
|
|
2933
|
+
:param lambda_function_runtime:
|
|
1423
2934
|
:param last_observed_at: Details on the date and time a finding was last seen used to filter findings.
|
|
1424
2935
|
:param network_protocol: Details on network protocol used to filter findings.
|
|
1425
2936
|
:param port_range: Details on the port ranges used to filter findings.
|
|
@@ -1449,6 +2960,18 @@ class CfnFilter(
|
|
|
1449
2960
|
comparison="comparison",
|
|
1450
2961
|
value="value"
|
|
1451
2962
|
)],
|
|
2963
|
+
code_vulnerability_detector_name=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2964
|
+
comparison="comparison",
|
|
2965
|
+
value="value"
|
|
2966
|
+
)],
|
|
2967
|
+
code_vulnerability_detector_tags=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2968
|
+
comparison="comparison",
|
|
2969
|
+
value="value"
|
|
2970
|
+
)],
|
|
2971
|
+
code_vulnerability_file_path=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2972
|
+
comparison="comparison",
|
|
2973
|
+
value="value"
|
|
2974
|
+
)],
|
|
1452
2975
|
component_id=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1453
2976
|
comparison="comparison",
|
|
1454
2977
|
value="value"
|
|
@@ -1493,6 +3016,14 @@ class CfnFilter(
|
|
|
1493
3016
|
comparison="comparison",
|
|
1494
3017
|
value="value"
|
|
1495
3018
|
)],
|
|
3019
|
+
epss_score=[inspectorv2.CfnFilter.NumberFilterProperty(
|
|
3020
|
+
lower_inclusive=123,
|
|
3021
|
+
upper_inclusive=123
|
|
3022
|
+
)],
|
|
3023
|
+
exploit_available=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
3024
|
+
comparison="comparison",
|
|
3025
|
+
value="value"
|
|
3026
|
+
)],
|
|
1496
3027
|
finding_arn=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
1497
3028
|
comparison="comparison",
|
|
1498
3029
|
value="value"
|
|
@@ -1509,10 +3040,34 @@ class CfnFilter(
|
|
|
1509
3040
|
end_inclusive=123,
|
|
1510
3041
|
start_inclusive=123
|
|
1511
3042
|
)],
|
|
3043
|
+
fix_available=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
3044
|
+
comparison="comparison",
|
|
3045
|
+
value="value"
|
|
3046
|
+
)],
|
|
1512
3047
|
inspector_score=[inspectorv2.CfnFilter.NumberFilterProperty(
|
|
1513
3048
|
lower_inclusive=123,
|
|
1514
3049
|
upper_inclusive=123
|
|
1515
3050
|
)],
|
|
3051
|
+
lambda_function_execution_role_arn=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
3052
|
+
comparison="comparison",
|
|
3053
|
+
value="value"
|
|
3054
|
+
)],
|
|
3055
|
+
lambda_function_last_modified_at=[inspectorv2.CfnFilter.DateFilterProperty(
|
|
3056
|
+
end_inclusive=123,
|
|
3057
|
+
start_inclusive=123
|
|
3058
|
+
)],
|
|
3059
|
+
lambda_function_layers=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
3060
|
+
comparison="comparison",
|
|
3061
|
+
value="value"
|
|
3062
|
+
)],
|
|
3063
|
+
lambda_function_name=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
3064
|
+
comparison="comparison",
|
|
3065
|
+
value="value"
|
|
3066
|
+
)],
|
|
3067
|
+
lambda_function_runtime=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
3068
|
+
comparison="comparison",
|
|
3069
|
+
value="value"
|
|
3070
|
+
)],
|
|
1516
3071
|
last_observed_at=[inspectorv2.CfnFilter.DateFilterProperty(
|
|
1517
3072
|
end_inclusive=123,
|
|
1518
3073
|
start_inclusive=123
|
|
@@ -1577,6 +3132,10 @@ class CfnFilter(
|
|
|
1577
3132
|
lower_inclusive=123,
|
|
1578
3133
|
upper_inclusive=123
|
|
1579
3134
|
),
|
|
3135
|
+
file_path=inspectorv2.CfnFilter.StringFilterProperty(
|
|
3136
|
+
comparison="comparison",
|
|
3137
|
+
value="value"
|
|
3138
|
+
),
|
|
1580
3139
|
name=inspectorv2.CfnFilter.StringFilterProperty(
|
|
1581
3140
|
comparison="comparison",
|
|
1582
3141
|
value="value"
|
|
@@ -1585,6 +3144,10 @@ class CfnFilter(
|
|
|
1585
3144
|
comparison="comparison",
|
|
1586
3145
|
value="value"
|
|
1587
3146
|
),
|
|
3147
|
+
source_lambda_layer_arn=inspectorv2.CfnFilter.StringFilterProperty(
|
|
3148
|
+
comparison="comparison",
|
|
3149
|
+
value="value"
|
|
3150
|
+
),
|
|
1588
3151
|
source_layer_hash=inspectorv2.CfnFilter.StringFilterProperty(
|
|
1589
3152
|
comparison="comparison",
|
|
1590
3153
|
value="value"
|
|
@@ -1599,6 +3162,9 @@ class CfnFilter(
|
|
|
1599
3162
|
if __debug__:
|
|
1600
3163
|
type_hints = typing.get_type_hints(_typecheckingstub__8bf898b4c669bfc838bf91c83d3735a9d69065b37baef35430be61dc52e3c81a)
|
|
1601
3164
|
check_type(argname="argument aws_account_id", value=aws_account_id, expected_type=type_hints["aws_account_id"])
|
|
3165
|
+
check_type(argname="argument code_vulnerability_detector_name", value=code_vulnerability_detector_name, expected_type=type_hints["code_vulnerability_detector_name"])
|
|
3166
|
+
check_type(argname="argument code_vulnerability_detector_tags", value=code_vulnerability_detector_tags, expected_type=type_hints["code_vulnerability_detector_tags"])
|
|
3167
|
+
check_type(argname="argument code_vulnerability_file_path", value=code_vulnerability_file_path, expected_type=type_hints["code_vulnerability_file_path"])
|
|
1602
3168
|
check_type(argname="argument component_id", value=component_id, expected_type=type_hints["component_id"])
|
|
1603
3169
|
check_type(argname="argument component_type", value=component_type, expected_type=type_hints["component_type"])
|
|
1604
3170
|
check_type(argname="argument ec2_instance_image_id", value=ec2_instance_image_id, expected_type=type_hints["ec2_instance_image_id"])
|
|
@@ -1610,11 +3176,19 @@ class CfnFilter(
|
|
|
1610
3176
|
check_type(argname="argument ecr_image_registry", value=ecr_image_registry, expected_type=type_hints["ecr_image_registry"])
|
|
1611
3177
|
check_type(argname="argument ecr_image_repository_name", value=ecr_image_repository_name, expected_type=type_hints["ecr_image_repository_name"])
|
|
1612
3178
|
check_type(argname="argument ecr_image_tags", value=ecr_image_tags, expected_type=type_hints["ecr_image_tags"])
|
|
3179
|
+
check_type(argname="argument epss_score", value=epss_score, expected_type=type_hints["epss_score"])
|
|
3180
|
+
check_type(argname="argument exploit_available", value=exploit_available, expected_type=type_hints["exploit_available"])
|
|
1613
3181
|
check_type(argname="argument finding_arn", value=finding_arn, expected_type=type_hints["finding_arn"])
|
|
1614
3182
|
check_type(argname="argument finding_status", value=finding_status, expected_type=type_hints["finding_status"])
|
|
1615
3183
|
check_type(argname="argument finding_type", value=finding_type, expected_type=type_hints["finding_type"])
|
|
1616
3184
|
check_type(argname="argument first_observed_at", value=first_observed_at, expected_type=type_hints["first_observed_at"])
|
|
3185
|
+
check_type(argname="argument fix_available", value=fix_available, expected_type=type_hints["fix_available"])
|
|
1617
3186
|
check_type(argname="argument inspector_score", value=inspector_score, expected_type=type_hints["inspector_score"])
|
|
3187
|
+
check_type(argname="argument lambda_function_execution_role_arn", value=lambda_function_execution_role_arn, expected_type=type_hints["lambda_function_execution_role_arn"])
|
|
3188
|
+
check_type(argname="argument lambda_function_last_modified_at", value=lambda_function_last_modified_at, expected_type=type_hints["lambda_function_last_modified_at"])
|
|
3189
|
+
check_type(argname="argument lambda_function_layers", value=lambda_function_layers, expected_type=type_hints["lambda_function_layers"])
|
|
3190
|
+
check_type(argname="argument lambda_function_name", value=lambda_function_name, expected_type=type_hints["lambda_function_name"])
|
|
3191
|
+
check_type(argname="argument lambda_function_runtime", value=lambda_function_runtime, expected_type=type_hints["lambda_function_runtime"])
|
|
1618
3192
|
check_type(argname="argument last_observed_at", value=last_observed_at, expected_type=type_hints["last_observed_at"])
|
|
1619
3193
|
check_type(argname="argument network_protocol", value=network_protocol, expected_type=type_hints["network_protocol"])
|
|
1620
3194
|
check_type(argname="argument port_range", value=port_range, expected_type=type_hints["port_range"])
|
|
@@ -1632,6 +3206,12 @@ class CfnFilter(
|
|
|
1632
3206
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1633
3207
|
if aws_account_id is not None:
|
|
1634
3208
|
self._values["aws_account_id"] = aws_account_id
|
|
3209
|
+
if code_vulnerability_detector_name is not None:
|
|
3210
|
+
self._values["code_vulnerability_detector_name"] = code_vulnerability_detector_name
|
|
3211
|
+
if code_vulnerability_detector_tags is not None:
|
|
3212
|
+
self._values["code_vulnerability_detector_tags"] = code_vulnerability_detector_tags
|
|
3213
|
+
if code_vulnerability_file_path is not None:
|
|
3214
|
+
self._values["code_vulnerability_file_path"] = code_vulnerability_file_path
|
|
1635
3215
|
if component_id is not None:
|
|
1636
3216
|
self._values["component_id"] = component_id
|
|
1637
3217
|
if component_type is not None:
|
|
@@ -1654,6 +3234,10 @@ class CfnFilter(
|
|
|
1654
3234
|
self._values["ecr_image_repository_name"] = ecr_image_repository_name
|
|
1655
3235
|
if ecr_image_tags is not None:
|
|
1656
3236
|
self._values["ecr_image_tags"] = ecr_image_tags
|
|
3237
|
+
if epss_score is not None:
|
|
3238
|
+
self._values["epss_score"] = epss_score
|
|
3239
|
+
if exploit_available is not None:
|
|
3240
|
+
self._values["exploit_available"] = exploit_available
|
|
1657
3241
|
if finding_arn is not None:
|
|
1658
3242
|
self._values["finding_arn"] = finding_arn
|
|
1659
3243
|
if finding_status is not None:
|
|
@@ -1662,8 +3246,20 @@ class CfnFilter(
|
|
|
1662
3246
|
self._values["finding_type"] = finding_type
|
|
1663
3247
|
if first_observed_at is not None:
|
|
1664
3248
|
self._values["first_observed_at"] = first_observed_at
|
|
3249
|
+
if fix_available is not None:
|
|
3250
|
+
self._values["fix_available"] = fix_available
|
|
1665
3251
|
if inspector_score is not None:
|
|
1666
3252
|
self._values["inspector_score"] = inspector_score
|
|
3253
|
+
if lambda_function_execution_role_arn is not None:
|
|
3254
|
+
self._values["lambda_function_execution_role_arn"] = lambda_function_execution_role_arn
|
|
3255
|
+
if lambda_function_last_modified_at is not None:
|
|
3256
|
+
self._values["lambda_function_last_modified_at"] = lambda_function_last_modified_at
|
|
3257
|
+
if lambda_function_layers is not None:
|
|
3258
|
+
self._values["lambda_function_layers"] = lambda_function_layers
|
|
3259
|
+
if lambda_function_name is not None:
|
|
3260
|
+
self._values["lambda_function_name"] = lambda_function_name
|
|
3261
|
+
if lambda_function_runtime is not None:
|
|
3262
|
+
self._values["lambda_function_runtime"] = lambda_function_runtime
|
|
1667
3263
|
if last_observed_at is not None:
|
|
1668
3264
|
self._values["last_observed_at"] = last_observed_at
|
|
1669
3265
|
if network_protocol is not None:
|
|
@@ -1704,6 +3300,36 @@ class CfnFilter(
|
|
|
1704
3300
|
result = self._values.get("aws_account_id")
|
|
1705
3301
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]], result)
|
|
1706
3302
|
|
|
3303
|
+
@builtins.property
|
|
3304
|
+
def code_vulnerability_detector_name(
|
|
3305
|
+
self,
|
|
3306
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]]:
|
|
3307
|
+
'''
|
|
3308
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-codevulnerabilitydetectorname
|
|
3309
|
+
'''
|
|
3310
|
+
result = self._values.get("code_vulnerability_detector_name")
|
|
3311
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]], result)
|
|
3312
|
+
|
|
3313
|
+
@builtins.property
|
|
3314
|
+
def code_vulnerability_detector_tags(
|
|
3315
|
+
self,
|
|
3316
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]]:
|
|
3317
|
+
'''
|
|
3318
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-codevulnerabilitydetectortags
|
|
3319
|
+
'''
|
|
3320
|
+
result = self._values.get("code_vulnerability_detector_tags")
|
|
3321
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]], result)
|
|
3322
|
+
|
|
3323
|
+
@builtins.property
|
|
3324
|
+
def code_vulnerability_file_path(
|
|
3325
|
+
self,
|
|
3326
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]]:
|
|
3327
|
+
'''
|
|
3328
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-codevulnerabilityfilepath
|
|
3329
|
+
'''
|
|
3330
|
+
result = self._values.get("code_vulnerability_file_path")
|
|
3331
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]], result)
|
|
3332
|
+
|
|
1707
3333
|
@builtins.property
|
|
1708
3334
|
def component_id(
|
|
1709
3335
|
self,
|
|
@@ -1825,6 +3451,26 @@ class CfnFilter(
|
|
|
1825
3451
|
result = self._values.get("ecr_image_tags")
|
|
1826
3452
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]], result)
|
|
1827
3453
|
|
|
3454
|
+
@builtins.property
|
|
3455
|
+
def epss_score(
|
|
3456
|
+
self,
|
|
3457
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.NumberFilterProperty"]]]]:
|
|
3458
|
+
'''
|
|
3459
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-epssscore
|
|
3460
|
+
'''
|
|
3461
|
+
result = self._values.get("epss_score")
|
|
3462
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.NumberFilterProperty"]]]], result)
|
|
3463
|
+
|
|
3464
|
+
@builtins.property
|
|
3465
|
+
def exploit_available(
|
|
3466
|
+
self,
|
|
3467
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]]:
|
|
3468
|
+
'''
|
|
3469
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-exploitavailable
|
|
3470
|
+
'''
|
|
3471
|
+
result = self._values.get("exploit_available")
|
|
3472
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]], result)
|
|
3473
|
+
|
|
1828
3474
|
@builtins.property
|
|
1829
3475
|
def finding_arn(
|
|
1830
3476
|
self,
|
|
@@ -1837,48 +3483,108 @@ class CfnFilter(
|
|
|
1837
3483
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]], result)
|
|
1838
3484
|
|
|
1839
3485
|
@builtins.property
|
|
1840
|
-
def finding_status(
|
|
3486
|
+
def finding_status(
|
|
3487
|
+
self,
|
|
3488
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]]:
|
|
3489
|
+
'''Details on the finding status types used to filter findings.
|
|
3490
|
+
|
|
3491
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-findingstatus
|
|
3492
|
+
'''
|
|
3493
|
+
result = self._values.get("finding_status")
|
|
3494
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]], result)
|
|
3495
|
+
|
|
3496
|
+
@builtins.property
|
|
3497
|
+
def finding_type(
|
|
3498
|
+
self,
|
|
3499
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]]:
|
|
3500
|
+
'''Details on the finding types used to filter findings.
|
|
3501
|
+
|
|
3502
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-findingtype
|
|
3503
|
+
'''
|
|
3504
|
+
result = self._values.get("finding_type")
|
|
3505
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]], result)
|
|
3506
|
+
|
|
3507
|
+
@builtins.property
|
|
3508
|
+
def first_observed_at(
|
|
3509
|
+
self,
|
|
3510
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.DateFilterProperty"]]]]:
|
|
3511
|
+
'''Details on the date and time a finding was first seen used to filter findings.
|
|
3512
|
+
|
|
3513
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-firstobservedat
|
|
3514
|
+
'''
|
|
3515
|
+
result = self._values.get("first_observed_at")
|
|
3516
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.DateFilterProperty"]]]], result)
|
|
3517
|
+
|
|
3518
|
+
@builtins.property
|
|
3519
|
+
def fix_available(
|
|
3520
|
+
self,
|
|
3521
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]]:
|
|
3522
|
+
'''
|
|
3523
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-fixavailable
|
|
3524
|
+
'''
|
|
3525
|
+
result = self._values.get("fix_available")
|
|
3526
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]], result)
|
|
3527
|
+
|
|
3528
|
+
@builtins.property
|
|
3529
|
+
def inspector_score(
|
|
3530
|
+
self,
|
|
3531
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.NumberFilterProperty"]]]]:
|
|
3532
|
+
'''The Amazon Inspector score to filter on.
|
|
3533
|
+
|
|
3534
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-inspectorscore
|
|
3535
|
+
'''
|
|
3536
|
+
result = self._values.get("inspector_score")
|
|
3537
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.NumberFilterProperty"]]]], result)
|
|
3538
|
+
|
|
3539
|
+
@builtins.property
|
|
3540
|
+
def lambda_function_execution_role_arn(
|
|
3541
|
+
self,
|
|
3542
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]]:
|
|
3543
|
+
'''
|
|
3544
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-lambdafunctionexecutionrolearn
|
|
3545
|
+
'''
|
|
3546
|
+
result = self._values.get("lambda_function_execution_role_arn")
|
|
3547
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]], result)
|
|
3548
|
+
|
|
3549
|
+
@builtins.property
|
|
3550
|
+
def lambda_function_last_modified_at(
|
|
1841
3551
|
self,
|
|
1842
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.
|
|
1843
|
-
'''Details on the finding status types used to filter findings.
|
|
1844
|
-
|
|
1845
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-findingstatus
|
|
3552
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.DateFilterProperty"]]]]:
|
|
1846
3553
|
'''
|
|
1847
|
-
|
|
1848
|
-
|
|
3554
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-lambdafunctionlastmodifiedat
|
|
3555
|
+
'''
|
|
3556
|
+
result = self._values.get("lambda_function_last_modified_at")
|
|
3557
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.DateFilterProperty"]]]], result)
|
|
1849
3558
|
|
|
1850
3559
|
@builtins.property
|
|
1851
|
-
def
|
|
3560
|
+
def lambda_function_layers(
|
|
1852
3561
|
self,
|
|
1853
3562
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]]:
|
|
1854
|
-
'''Details on the finding types used to filter findings.
|
|
1855
|
-
|
|
1856
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-findingtype
|
|
1857
3563
|
'''
|
|
1858
|
-
|
|
3564
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-lambdafunctionlayers
|
|
3565
|
+
'''
|
|
3566
|
+
result = self._values.get("lambda_function_layers")
|
|
1859
3567
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]], result)
|
|
1860
3568
|
|
|
1861
3569
|
@builtins.property
|
|
1862
|
-
def
|
|
3570
|
+
def lambda_function_name(
|
|
1863
3571
|
self,
|
|
1864
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.
|
|
1865
|
-
'''Details on the date and time a finding was first seen used to filter findings.
|
|
1866
|
-
|
|
1867
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-firstobservedat
|
|
3572
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]]:
|
|
1868
3573
|
'''
|
|
1869
|
-
|
|
1870
|
-
|
|
3574
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-lambdafunctionname
|
|
3575
|
+
'''
|
|
3576
|
+
result = self._values.get("lambda_function_name")
|
|
3577
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]], result)
|
|
1871
3578
|
|
|
1872
3579
|
@builtins.property
|
|
1873
|
-
def
|
|
3580
|
+
def lambda_function_runtime(
|
|
1874
3581
|
self,
|
|
1875
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.
|
|
1876
|
-
'''The Amazon Inspector score to filter on.
|
|
1877
|
-
|
|
1878
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-inspectorscore
|
|
3582
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]]:
|
|
1879
3583
|
'''
|
|
1880
|
-
|
|
1881
|
-
|
|
3584
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-filtercriteria.html#cfn-inspectorv2-filter-filtercriteria-lambdafunctionruntime
|
|
3585
|
+
'''
|
|
3586
|
+
result = self._values.get("lambda_function_runtime")
|
|
3587
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]]], result)
|
|
1882
3588
|
|
|
1883
3589
|
@builtins.property
|
|
1884
3590
|
def last_observed_at(
|
|
@@ -2212,8 +3918,10 @@ class CfnFilter(
|
|
|
2212
3918
|
name_mapping={
|
|
2213
3919
|
"architecture": "architecture",
|
|
2214
3920
|
"epoch": "epoch",
|
|
3921
|
+
"file_path": "filePath",
|
|
2215
3922
|
"name": "name",
|
|
2216
3923
|
"release": "release",
|
|
3924
|
+
"source_lambda_layer_arn": "sourceLambdaLayerArn",
|
|
2217
3925
|
"source_layer_hash": "sourceLayerHash",
|
|
2218
3926
|
"version": "version",
|
|
2219
3927
|
},
|
|
@@ -2224,8 +3932,10 @@ class CfnFilter(
|
|
|
2224
3932
|
*,
|
|
2225
3933
|
architecture: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2226
3934
|
epoch: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.NumberFilterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3935
|
+
file_path: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2227
3936
|
name: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2228
3937
|
release: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3938
|
+
source_lambda_layer_arn: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2229
3939
|
source_layer_hash: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2230
3940
|
version: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.StringFilterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2231
3941
|
) -> None:
|
|
@@ -2233,8 +3943,10 @@ class CfnFilter(
|
|
|
2233
3943
|
|
|
2234
3944
|
:param architecture: An object that contains details on the package architecture type to filter on.
|
|
2235
3945
|
:param epoch: An object that contains details on the package epoch to filter on.
|
|
3946
|
+
:param file_path:
|
|
2236
3947
|
:param name: An object that contains details on the name of the package to filter on.
|
|
2237
3948
|
:param release: An object that contains details on the package release to filter on.
|
|
3949
|
+
:param source_lambda_layer_arn:
|
|
2238
3950
|
:param source_layer_hash: An object that contains details on the source layer hash to filter on.
|
|
2239
3951
|
:param version: The package version to filter on.
|
|
2240
3952
|
|
|
@@ -2256,6 +3968,10 @@ class CfnFilter(
|
|
|
2256
3968
|
lower_inclusive=123,
|
|
2257
3969
|
upper_inclusive=123
|
|
2258
3970
|
),
|
|
3971
|
+
file_path=inspectorv2.CfnFilter.StringFilterProperty(
|
|
3972
|
+
comparison="comparison",
|
|
3973
|
+
value="value"
|
|
3974
|
+
),
|
|
2259
3975
|
name=inspectorv2.CfnFilter.StringFilterProperty(
|
|
2260
3976
|
comparison="comparison",
|
|
2261
3977
|
value="value"
|
|
@@ -2264,6 +3980,10 @@ class CfnFilter(
|
|
|
2264
3980
|
comparison="comparison",
|
|
2265
3981
|
value="value"
|
|
2266
3982
|
),
|
|
3983
|
+
source_lambda_layer_arn=inspectorv2.CfnFilter.StringFilterProperty(
|
|
3984
|
+
comparison="comparison",
|
|
3985
|
+
value="value"
|
|
3986
|
+
),
|
|
2267
3987
|
source_layer_hash=inspectorv2.CfnFilter.StringFilterProperty(
|
|
2268
3988
|
comparison="comparison",
|
|
2269
3989
|
value="value"
|
|
@@ -2278,8 +3998,10 @@ class CfnFilter(
|
|
|
2278
3998
|
type_hints = typing.get_type_hints(_typecheckingstub__1bffc1f427079a7381e5366b9fd38ff4f23a9a2d0463f6c7f0250a60e1c3aa65)
|
|
2279
3999
|
check_type(argname="argument architecture", value=architecture, expected_type=type_hints["architecture"])
|
|
2280
4000
|
check_type(argname="argument epoch", value=epoch, expected_type=type_hints["epoch"])
|
|
4001
|
+
check_type(argname="argument file_path", value=file_path, expected_type=type_hints["file_path"])
|
|
2281
4002
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
2282
4003
|
check_type(argname="argument release", value=release, expected_type=type_hints["release"])
|
|
4004
|
+
check_type(argname="argument source_lambda_layer_arn", value=source_lambda_layer_arn, expected_type=type_hints["source_lambda_layer_arn"])
|
|
2283
4005
|
check_type(argname="argument source_layer_hash", value=source_layer_hash, expected_type=type_hints["source_layer_hash"])
|
|
2284
4006
|
check_type(argname="argument version", value=version, expected_type=type_hints["version"])
|
|
2285
4007
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -2287,10 +4009,14 @@ class CfnFilter(
|
|
|
2287
4009
|
self._values["architecture"] = architecture
|
|
2288
4010
|
if epoch is not None:
|
|
2289
4011
|
self._values["epoch"] = epoch
|
|
4012
|
+
if file_path is not None:
|
|
4013
|
+
self._values["file_path"] = file_path
|
|
2290
4014
|
if name is not None:
|
|
2291
4015
|
self._values["name"] = name
|
|
2292
4016
|
if release is not None:
|
|
2293
4017
|
self._values["release"] = release
|
|
4018
|
+
if source_lambda_layer_arn is not None:
|
|
4019
|
+
self._values["source_lambda_layer_arn"] = source_lambda_layer_arn
|
|
2294
4020
|
if source_layer_hash is not None:
|
|
2295
4021
|
self._values["source_layer_hash"] = source_layer_hash
|
|
2296
4022
|
if version is not None:
|
|
@@ -2318,6 +4044,16 @@ class CfnFilter(
|
|
|
2318
4044
|
result = self._values.get("epoch")
|
|
2319
4045
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFilter.NumberFilterProperty"]], result)
|
|
2320
4046
|
|
|
4047
|
+
@builtins.property
|
|
4048
|
+
def file_path(
|
|
4049
|
+
self,
|
|
4050
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]:
|
|
4051
|
+
'''
|
|
4052
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-packagefilter.html#cfn-inspectorv2-filter-packagefilter-filepath
|
|
4053
|
+
'''
|
|
4054
|
+
result = self._values.get("file_path")
|
|
4055
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]], result)
|
|
4056
|
+
|
|
2321
4057
|
@builtins.property
|
|
2322
4058
|
def name(
|
|
2323
4059
|
self,
|
|
@@ -2340,6 +4076,16 @@ class CfnFilter(
|
|
|
2340
4076
|
result = self._values.get("release")
|
|
2341
4077
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]], result)
|
|
2342
4078
|
|
|
4079
|
+
@builtins.property
|
|
4080
|
+
def source_lambda_layer_arn(
|
|
4081
|
+
self,
|
|
4082
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]]:
|
|
4083
|
+
'''
|
|
4084
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-filter-packagefilter.html#cfn-inspectorv2-filter-packagefilter-sourcelambdalayerarn
|
|
4085
|
+
'''
|
|
4086
|
+
result = self._values.get("source_lambda_layer_arn")
|
|
4087
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFilter.StringFilterProperty"]], result)
|
|
4088
|
+
|
|
2343
4089
|
@builtins.property
|
|
2344
4090
|
def source_layer_hash(
|
|
2345
4091
|
self,
|
|
@@ -2521,6 +4267,7 @@ class CfnFilter(
|
|
|
2521
4267
|
"filter_criteria": "filterCriteria",
|
|
2522
4268
|
"name": "name",
|
|
2523
4269
|
"description": "description",
|
|
4270
|
+
"tags": "tags",
|
|
2524
4271
|
},
|
|
2525
4272
|
)
|
|
2526
4273
|
class CfnFilterProps:
|
|
@@ -2531,6 +4278,7 @@ class CfnFilterProps:
|
|
|
2531
4278
|
filter_criteria: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.FilterCriteriaProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2532
4279
|
name: builtins.str,
|
|
2533
4280
|
description: typing.Optional[builtins.str] = None,
|
|
4281
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2534
4282
|
) -> None:
|
|
2535
4283
|
'''Properties for defining a ``CfnFilter``.
|
|
2536
4284
|
|
|
@@ -2538,6 +4286,7 @@ class CfnFilterProps:
|
|
|
2538
4286
|
:param filter_criteria: Details on the filter criteria associated with this filter.
|
|
2539
4287
|
:param name: The name of the filter.
|
|
2540
4288
|
:param description: A description of the filter.
|
|
4289
|
+
:param tags: The tags attached to the filter.
|
|
2541
4290
|
|
|
2542
4291
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-filter.html
|
|
2543
4292
|
:exampleMetadata: fixture=_generated
|
|
@@ -2555,6 +4304,18 @@ class CfnFilterProps:
|
|
|
2555
4304
|
comparison="comparison",
|
|
2556
4305
|
value="value"
|
|
2557
4306
|
)],
|
|
4307
|
+
code_vulnerability_detector_name=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
4308
|
+
comparison="comparison",
|
|
4309
|
+
value="value"
|
|
4310
|
+
)],
|
|
4311
|
+
code_vulnerability_detector_tags=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
4312
|
+
comparison="comparison",
|
|
4313
|
+
value="value"
|
|
4314
|
+
)],
|
|
4315
|
+
code_vulnerability_file_path=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
4316
|
+
comparison="comparison",
|
|
4317
|
+
value="value"
|
|
4318
|
+
)],
|
|
2558
4319
|
component_id=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2559
4320
|
comparison="comparison",
|
|
2560
4321
|
value="value"
|
|
@@ -2599,6 +4360,14 @@ class CfnFilterProps:
|
|
|
2599
4360
|
comparison="comparison",
|
|
2600
4361
|
value="value"
|
|
2601
4362
|
)],
|
|
4363
|
+
epss_score=[inspectorv2.CfnFilter.NumberFilterProperty(
|
|
4364
|
+
lower_inclusive=123,
|
|
4365
|
+
upper_inclusive=123
|
|
4366
|
+
)],
|
|
4367
|
+
exploit_available=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
4368
|
+
comparison="comparison",
|
|
4369
|
+
value="value"
|
|
4370
|
+
)],
|
|
2602
4371
|
finding_arn=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
2603
4372
|
comparison="comparison",
|
|
2604
4373
|
value="value"
|
|
@@ -2615,10 +4384,34 @@ class CfnFilterProps:
|
|
|
2615
4384
|
end_inclusive=123,
|
|
2616
4385
|
start_inclusive=123
|
|
2617
4386
|
)],
|
|
4387
|
+
fix_available=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
4388
|
+
comparison="comparison",
|
|
4389
|
+
value="value"
|
|
4390
|
+
)],
|
|
2618
4391
|
inspector_score=[inspectorv2.CfnFilter.NumberFilterProperty(
|
|
2619
4392
|
lower_inclusive=123,
|
|
2620
4393
|
upper_inclusive=123
|
|
2621
4394
|
)],
|
|
4395
|
+
lambda_function_execution_role_arn=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
4396
|
+
comparison="comparison",
|
|
4397
|
+
value="value"
|
|
4398
|
+
)],
|
|
4399
|
+
lambda_function_last_modified_at=[inspectorv2.CfnFilter.DateFilterProperty(
|
|
4400
|
+
end_inclusive=123,
|
|
4401
|
+
start_inclusive=123
|
|
4402
|
+
)],
|
|
4403
|
+
lambda_function_layers=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
4404
|
+
comparison="comparison",
|
|
4405
|
+
value="value"
|
|
4406
|
+
)],
|
|
4407
|
+
lambda_function_name=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
4408
|
+
comparison="comparison",
|
|
4409
|
+
value="value"
|
|
4410
|
+
)],
|
|
4411
|
+
lambda_function_runtime=[inspectorv2.CfnFilter.StringFilterProperty(
|
|
4412
|
+
comparison="comparison",
|
|
4413
|
+
value="value"
|
|
4414
|
+
)],
|
|
2622
4415
|
last_observed_at=[inspectorv2.CfnFilter.DateFilterProperty(
|
|
2623
4416
|
end_inclusive=123,
|
|
2624
4417
|
start_inclusive=123
|
|
@@ -2683,6 +4476,10 @@ class CfnFilterProps:
|
|
|
2683
4476
|
lower_inclusive=123,
|
|
2684
4477
|
upper_inclusive=123
|
|
2685
4478
|
),
|
|
4479
|
+
file_path=inspectorv2.CfnFilter.StringFilterProperty(
|
|
4480
|
+
comparison="comparison",
|
|
4481
|
+
value="value"
|
|
4482
|
+
),
|
|
2686
4483
|
name=inspectorv2.CfnFilter.StringFilterProperty(
|
|
2687
4484
|
comparison="comparison",
|
|
2688
4485
|
value="value"
|
|
@@ -2691,6 +4488,10 @@ class CfnFilterProps:
|
|
|
2691
4488
|
comparison="comparison",
|
|
2692
4489
|
value="value"
|
|
2693
4490
|
),
|
|
4491
|
+
source_lambda_layer_arn=inspectorv2.CfnFilter.StringFilterProperty(
|
|
4492
|
+
comparison="comparison",
|
|
4493
|
+
value="value"
|
|
4494
|
+
),
|
|
2694
4495
|
source_layer_hash=inspectorv2.CfnFilter.StringFilterProperty(
|
|
2695
4496
|
comparison="comparison",
|
|
2696
4497
|
value="value"
|
|
@@ -2704,7 +4505,10 @@ class CfnFilterProps:
|
|
|
2704
4505
|
name="name",
|
|
2705
4506
|
|
|
2706
4507
|
# the properties below are optional
|
|
2707
|
-
description="description"
|
|
4508
|
+
description="description",
|
|
4509
|
+
tags={
|
|
4510
|
+
"tags_key": "tags"
|
|
4511
|
+
}
|
|
2708
4512
|
)
|
|
2709
4513
|
'''
|
|
2710
4514
|
if __debug__:
|
|
@@ -2713,6 +4517,7 @@ class CfnFilterProps:
|
|
|
2713
4517
|
check_type(argname="argument filter_criteria", value=filter_criteria, expected_type=type_hints["filter_criteria"])
|
|
2714
4518
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
2715
4519
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
4520
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
2716
4521
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2717
4522
|
"filter_action": filter_action,
|
|
2718
4523
|
"filter_criteria": filter_criteria,
|
|
@@ -2720,6 +4525,8 @@ class CfnFilterProps:
|
|
|
2720
4525
|
}
|
|
2721
4526
|
if description is not None:
|
|
2722
4527
|
self._values["description"] = description
|
|
4528
|
+
if tags is not None:
|
|
4529
|
+
self._values["tags"] = tags
|
|
2723
4530
|
|
|
2724
4531
|
@builtins.property
|
|
2725
4532
|
def filter_action(self) -> builtins.str:
|
|
@@ -2762,6 +4569,15 @@ class CfnFilterProps:
|
|
|
2762
4569
|
result = self._values.get("description")
|
|
2763
4570
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2764
4571
|
|
|
4572
|
+
@builtins.property
|
|
4573
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
4574
|
+
'''The tags attached to the filter.
|
|
4575
|
+
|
|
4576
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-filter.html#cfn-inspectorv2-filter-tags
|
|
4577
|
+
'''
|
|
4578
|
+
result = self._values.get("tags")
|
|
4579
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
4580
|
+
|
|
2765
4581
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2766
4582
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2767
4583
|
|
|
@@ -2777,6 +4593,10 @@ class CfnFilterProps:
|
|
|
2777
4593
|
__all__ = [
|
|
2778
4594
|
"CfnCisScanConfiguration",
|
|
2779
4595
|
"CfnCisScanConfigurationProps",
|
|
4596
|
+
"CfnCodeSecurityIntegration",
|
|
4597
|
+
"CfnCodeSecurityIntegrationProps",
|
|
4598
|
+
"CfnCodeSecurityScanConfiguration",
|
|
4599
|
+
"CfnCodeSecurityScanConfigurationProps",
|
|
2780
4600
|
"CfnFilter",
|
|
2781
4601
|
"CfnFilterProps",
|
|
2782
4602
|
]
|
|
@@ -2898,6 +4718,207 @@ def _typecheckingstub__e3f0430cb9cf97c73c0c85526ac298bc695a6c9d3bf5e578a6d9b5c85
|
|
|
2898
4718
|
"""Type checking stubs"""
|
|
2899
4719
|
pass
|
|
2900
4720
|
|
|
4721
|
+
def _typecheckingstub__80799b4356912cf375014b9f868e52ed37e885f4e1f3c1ddd85598a234badc5f(
|
|
4722
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4723
|
+
id: builtins.str,
|
|
4724
|
+
*,
|
|
4725
|
+
create_integration_details: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityIntegration.CreateDetailsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4726
|
+
name: typing.Optional[builtins.str] = None,
|
|
4727
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4728
|
+
type: typing.Optional[builtins.str] = None,
|
|
4729
|
+
update_integration_details: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityIntegration.UpdateDetailsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4730
|
+
) -> None:
|
|
4731
|
+
"""Type checking stubs"""
|
|
4732
|
+
pass
|
|
4733
|
+
|
|
4734
|
+
def _typecheckingstub__d2b41111bd2e5e5f072f8545fffa3c791a4d0e501f547576454bf1a1f74205d6(
|
|
4735
|
+
inspector: _TreeInspector_488e0dd5,
|
|
4736
|
+
) -> None:
|
|
4737
|
+
"""Type checking stubs"""
|
|
4738
|
+
pass
|
|
4739
|
+
|
|
4740
|
+
def _typecheckingstub__a995b0a871c5ed338d9451bbbe7895dc95cb1d56fb43ef4d2d9d854ffdeb8a66(
|
|
4741
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
4742
|
+
) -> None:
|
|
4743
|
+
"""Type checking stubs"""
|
|
4744
|
+
pass
|
|
4745
|
+
|
|
4746
|
+
def _typecheckingstub__95bada6a0a63eed0487660762db52cf7634424d68b180f5bdde1aa127cbc6ca1(
|
|
4747
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCodeSecurityIntegration.CreateDetailsProperty]],
|
|
4748
|
+
) -> None:
|
|
4749
|
+
"""Type checking stubs"""
|
|
4750
|
+
pass
|
|
4751
|
+
|
|
4752
|
+
def _typecheckingstub__62c672b1420b745cd7e45b7351f3382ced028744668c9771a1148fe207c23267(
|
|
4753
|
+
value: typing.Optional[builtins.str],
|
|
4754
|
+
) -> None:
|
|
4755
|
+
"""Type checking stubs"""
|
|
4756
|
+
pass
|
|
4757
|
+
|
|
4758
|
+
def _typecheckingstub__56217870c5b8873ef3b3750235b4baa957fcd999c408c688e231f957b297af0b(
|
|
4759
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
4760
|
+
) -> None:
|
|
4761
|
+
"""Type checking stubs"""
|
|
4762
|
+
pass
|
|
4763
|
+
|
|
4764
|
+
def _typecheckingstub__e81de92c5a50f951f013bc7d558d9d09c3c119459f7f1a04ca44ba5291a994ee(
|
|
4765
|
+
value: typing.Optional[builtins.str],
|
|
4766
|
+
) -> None:
|
|
4767
|
+
"""Type checking stubs"""
|
|
4768
|
+
pass
|
|
4769
|
+
|
|
4770
|
+
def _typecheckingstub__0c450107a89d380f98e1bb112fb4f8df187acd5d7b74c42bca8a125923588adc(
|
|
4771
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCodeSecurityIntegration.UpdateDetailsProperty]],
|
|
4772
|
+
) -> None:
|
|
4773
|
+
"""Type checking stubs"""
|
|
4774
|
+
pass
|
|
4775
|
+
|
|
4776
|
+
def _typecheckingstub__2262215d3482ab65dacec2a9b346848e87bce266386fcf679cd7607f925a41a9(
|
|
4777
|
+
*,
|
|
4778
|
+
gitlab_self_managed: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetailProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
4779
|
+
) -> None:
|
|
4780
|
+
"""Type checking stubs"""
|
|
4781
|
+
pass
|
|
4782
|
+
|
|
4783
|
+
def _typecheckingstub__0bbc1b28a8c4770b506b8b2fbbfde8238181c9ccb84cf76f6b88eefb2a36575c(
|
|
4784
|
+
*,
|
|
4785
|
+
access_token: builtins.str,
|
|
4786
|
+
instance_url: builtins.str,
|
|
4787
|
+
) -> None:
|
|
4788
|
+
"""Type checking stubs"""
|
|
4789
|
+
pass
|
|
4790
|
+
|
|
4791
|
+
def _typecheckingstub__49eb1e2e3f4009317c4c9d3bde00d5f76e2edded22c78e79a48f4596be9ae8b8(
|
|
4792
|
+
*,
|
|
4793
|
+
github: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityIntegration.UpdateGitHubIntegrationDetailProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4794
|
+
gitlab_self_managed: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetailProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4795
|
+
) -> None:
|
|
4796
|
+
"""Type checking stubs"""
|
|
4797
|
+
pass
|
|
4798
|
+
|
|
4799
|
+
def _typecheckingstub__2b3487b0f19d852a82df38914d0b6e860cbf9001a42d8401b18e0a1768ad4cb7(
|
|
4800
|
+
*,
|
|
4801
|
+
code: builtins.str,
|
|
4802
|
+
installation_id: builtins.str,
|
|
4803
|
+
) -> None:
|
|
4804
|
+
"""Type checking stubs"""
|
|
4805
|
+
pass
|
|
4806
|
+
|
|
4807
|
+
def _typecheckingstub__2e29538aad68be3e1d38e6aa515bc380b1c5dbb5fcc5c4ed65df930696a81461(
|
|
4808
|
+
*,
|
|
4809
|
+
auth_code: builtins.str,
|
|
4810
|
+
) -> None:
|
|
4811
|
+
"""Type checking stubs"""
|
|
4812
|
+
pass
|
|
4813
|
+
|
|
4814
|
+
def _typecheckingstub__71aafe099f5a07cc45a5a16ed7c8165fc3beaaf581b2a7075ad79583b48897ae(
|
|
4815
|
+
*,
|
|
4816
|
+
create_integration_details: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityIntegration.CreateDetailsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4817
|
+
name: typing.Optional[builtins.str] = None,
|
|
4818
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4819
|
+
type: typing.Optional[builtins.str] = None,
|
|
4820
|
+
update_integration_details: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityIntegration.UpdateDetailsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4821
|
+
) -> None:
|
|
4822
|
+
"""Type checking stubs"""
|
|
4823
|
+
pass
|
|
4824
|
+
|
|
4825
|
+
def _typecheckingstub__1f8087fd99eb325ae09773df4a6c219dda10efe85e43341cb1f5b576a1e88cef(
|
|
4826
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4827
|
+
id: builtins.str,
|
|
4828
|
+
*,
|
|
4829
|
+
configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4830
|
+
level: typing.Optional[builtins.str] = None,
|
|
4831
|
+
name: typing.Optional[builtins.str] = None,
|
|
4832
|
+
scope_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityScanConfiguration.ScopeSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4833
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4834
|
+
) -> None:
|
|
4835
|
+
"""Type checking stubs"""
|
|
4836
|
+
pass
|
|
4837
|
+
|
|
4838
|
+
def _typecheckingstub__ecb6f2f1a541e759bd4ebb9f175ef2898e08b44a5a2f74698a104ebf563f6050(
|
|
4839
|
+
inspector: _TreeInspector_488e0dd5,
|
|
4840
|
+
) -> None:
|
|
4841
|
+
"""Type checking stubs"""
|
|
4842
|
+
pass
|
|
4843
|
+
|
|
4844
|
+
def _typecheckingstub__8ba67d1221ac83994db1e0ae5a5f4d8d289116bd2bbba3ba9086ac33ff847516(
|
|
4845
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
4846
|
+
) -> None:
|
|
4847
|
+
"""Type checking stubs"""
|
|
4848
|
+
pass
|
|
4849
|
+
|
|
4850
|
+
def _typecheckingstub__45b63b68b5efac81af01f69f6fc536a7e0c56ab5d78f7c4d82199c868ce47b16(
|
|
4851
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty]],
|
|
4852
|
+
) -> None:
|
|
4853
|
+
"""Type checking stubs"""
|
|
4854
|
+
pass
|
|
4855
|
+
|
|
4856
|
+
def _typecheckingstub__80291f0cd7a0cb5b5f295442d46a5d028aa373ed833a3fb0e3b6091879e1a69b(
|
|
4857
|
+
value: typing.Optional[builtins.str],
|
|
4858
|
+
) -> None:
|
|
4859
|
+
"""Type checking stubs"""
|
|
4860
|
+
pass
|
|
4861
|
+
|
|
4862
|
+
def _typecheckingstub__10ce312b3f34f6350a3d1ee625199c03f68c9cb605f5e399d8d24b0f3374d219(
|
|
4863
|
+
value: typing.Optional[builtins.str],
|
|
4864
|
+
) -> None:
|
|
4865
|
+
"""Type checking stubs"""
|
|
4866
|
+
pass
|
|
4867
|
+
|
|
4868
|
+
def _typecheckingstub__2418e2e1becb18ab1d3613df2cc71f18c45d161aa5b3aa4b796643c5c109a1b8(
|
|
4869
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCodeSecurityScanConfiguration.ScopeSettingsProperty]],
|
|
4870
|
+
) -> None:
|
|
4871
|
+
"""Type checking stubs"""
|
|
4872
|
+
pass
|
|
4873
|
+
|
|
4874
|
+
def _typecheckingstub__9428e2a90cc0578e6f07997b18e25682dcdf69843515552c29dd20aa94e714a3(
|
|
4875
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
4876
|
+
) -> None:
|
|
4877
|
+
"""Type checking stubs"""
|
|
4878
|
+
pass
|
|
4879
|
+
|
|
4880
|
+
def _typecheckingstub__e69a31a73796f4b8caaf249f9369b948bbd3cba1089b94bed6018c89696c89cc(
|
|
4881
|
+
*,
|
|
4882
|
+
rule_set_categories: typing.Sequence[builtins.str],
|
|
4883
|
+
continuous_integration_scan_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityScanConfiguration.ContinuousIntegrationScanConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4884
|
+
periodic_scan_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityScanConfiguration.PeriodicScanConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4885
|
+
) -> None:
|
|
4886
|
+
"""Type checking stubs"""
|
|
4887
|
+
pass
|
|
4888
|
+
|
|
4889
|
+
def _typecheckingstub__04bdb61b43cbfbc6d92a4c02a47e71f63015162a7acf1e60ef409eebcd21a9f2(
|
|
4890
|
+
*,
|
|
4891
|
+
supported_events: typing.Sequence[builtins.str],
|
|
4892
|
+
) -> None:
|
|
4893
|
+
"""Type checking stubs"""
|
|
4894
|
+
pass
|
|
4895
|
+
|
|
4896
|
+
def _typecheckingstub__901beb5d14c9e234fd835b4523197f824e50f091ed2dcfbca59aef2f1f023dde(
|
|
4897
|
+
*,
|
|
4898
|
+
frequency: typing.Optional[builtins.str] = None,
|
|
4899
|
+
frequency_expression: typing.Optional[builtins.str] = None,
|
|
4900
|
+
) -> None:
|
|
4901
|
+
"""Type checking stubs"""
|
|
4902
|
+
pass
|
|
4903
|
+
|
|
4904
|
+
def _typecheckingstub__911607f762372da4ac39dfe813875203be92e9a87447c67741aae32d569743dc(
|
|
4905
|
+
*,
|
|
4906
|
+
project_selection_scope: typing.Optional[builtins.str] = None,
|
|
4907
|
+
) -> None:
|
|
4908
|
+
"""Type checking stubs"""
|
|
4909
|
+
pass
|
|
4910
|
+
|
|
4911
|
+
def _typecheckingstub__6ea2faaa39ad7a4370f1a43aa967ae3ded5ad2ac9c212905e92dd56f603ec204(
|
|
4912
|
+
*,
|
|
4913
|
+
configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4914
|
+
level: typing.Optional[builtins.str] = None,
|
|
4915
|
+
name: typing.Optional[builtins.str] = None,
|
|
4916
|
+
scope_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSecurityScanConfiguration.ScopeSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4917
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4918
|
+
) -> None:
|
|
4919
|
+
"""Type checking stubs"""
|
|
4920
|
+
pass
|
|
4921
|
+
|
|
2901
4922
|
def _typecheckingstub__76aaac8f8d755716225a5dd2d4902f3e7ec007381fa82a2d163553362c975c9d(
|
|
2902
4923
|
scope: _constructs_77d1e7e8.Construct,
|
|
2903
4924
|
id: builtins.str,
|
|
@@ -2906,6 +4927,7 @@ def _typecheckingstub__76aaac8f8d755716225a5dd2d4902f3e7ec007381fa82a2d163553362
|
|
|
2906
4927
|
filter_criteria: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.FilterCriteriaProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2907
4928
|
name: builtins.str,
|
|
2908
4929
|
description: typing.Optional[builtins.str] = None,
|
|
4930
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2909
4931
|
) -> None:
|
|
2910
4932
|
"""Type checking stubs"""
|
|
2911
4933
|
pass
|
|
@@ -2946,6 +4968,12 @@ def _typecheckingstub__29a0d69128962a2d8d478ff9197ec92d930e2284a9cbff6337d95fb19
|
|
|
2946
4968
|
"""Type checking stubs"""
|
|
2947
4969
|
pass
|
|
2948
4970
|
|
|
4971
|
+
def _typecheckingstub__2d85ec3c1992f35abc960573e86c94eb9d5f4d6c6fd9f47728ef03d5078212f1(
|
|
4972
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
4973
|
+
) -> None:
|
|
4974
|
+
"""Type checking stubs"""
|
|
4975
|
+
pass
|
|
4976
|
+
|
|
2949
4977
|
def _typecheckingstub__412cca739fbade26efa876445772a168ea693eb111b9385ae83d92127bd547b5(
|
|
2950
4978
|
*,
|
|
2951
4979
|
end_inclusive: typing.Optional[jsii.Number] = None,
|
|
@@ -2957,6 +4985,9 @@ def _typecheckingstub__412cca739fbade26efa876445772a168ea693eb111b9385ae83d92127
|
|
|
2957
4985
|
def _typecheckingstub__8bf898b4c669bfc838bf91c83d3735a9d69065b37baef35430be61dc52e3c81a(
|
|
2958
4986
|
*,
|
|
2959
4987
|
aws_account_id: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4988
|
+
code_vulnerability_detector_name: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4989
|
+
code_vulnerability_detector_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4990
|
+
code_vulnerability_file_path: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2960
4991
|
component_id: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2961
4992
|
component_type: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2962
4993
|
ec2_instance_image_id: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -2968,11 +4999,19 @@ def _typecheckingstub__8bf898b4c669bfc838bf91c83d3735a9d69065b37baef35430be61dc5
|
|
|
2968
4999
|
ecr_image_registry: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2969
5000
|
ecr_image_repository_name: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2970
5001
|
ecr_image_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5002
|
+
epss_score: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.NumberFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5003
|
+
exploit_available: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2971
5004
|
finding_arn: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2972
5005
|
finding_status: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2973
5006
|
finding_type: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2974
5007
|
first_observed_at: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.DateFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5008
|
+
fix_available: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2975
5009
|
inspector_score: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.NumberFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5010
|
+
lambda_function_execution_role_arn: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5011
|
+
lambda_function_last_modified_at: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.DateFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5012
|
+
lambda_function_layers: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5013
|
+
lambda_function_name: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5014
|
+
lambda_function_runtime: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2976
5015
|
last_observed_at: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.DateFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2977
5016
|
network_protocol: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2978
5017
|
port_range: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.PortRangeFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -3012,8 +5051,10 @@ def _typecheckingstub__1bffc1f427079a7381e5366b9fd38ff4f23a9a2d0463f6c7f0250a60e
|
|
|
3012
5051
|
*,
|
|
3013
5052
|
architecture: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3014
5053
|
epoch: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.NumberFilterProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5054
|
+
file_path: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3015
5055
|
name: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3016
5056
|
release: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5057
|
+
source_lambda_layer_arn: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3017
5058
|
source_layer_hash: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3018
5059
|
version: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.StringFilterProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3019
5060
|
) -> None:
|
|
@@ -3042,6 +5083,7 @@ def _typecheckingstub__701269c3a3c8675419393e41eacb02f94675d9b8c43500c7ae0bd7ea7
|
|
|
3042
5083
|
filter_criteria: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.FilterCriteriaProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3043
5084
|
name: builtins.str,
|
|
3044
5085
|
description: typing.Optional[builtins.str] = None,
|
|
5086
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3045
5087
|
) -> None:
|
|
3046
5088
|
"""Type checking stubs"""
|
|
3047
5089
|
pass
|