aws-cdk-lib 2.147.3__py3-none-any.whl → 2.148.1__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 +7 -5
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.147.3.jsii.tgz → aws-cdk-lib@2.148.1.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +1 -1
- aws_cdk/assertions/__init__.py +1 -1
- aws_cdk/aws_accessanalyzer/__init__.py +1 -1
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +1 -1
- aws_cdk/aws_amplify/__init__.py +1 -1
- aws_cdk/aws_amplifyuibuilder/__init__.py +1 -1
- aws_cdk/aws_apigateway/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +1 -1
- aws_cdk/aws_appconfig/__init__.py +1 -1
- aws_cdk/aws_appflow/__init__.py +1 -1
- aws_cdk/aws_appintegrations/__init__.py +1 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +1 -1
- aws_cdk/aws_applicationinsights/__init__.py +1 -1
- aws_cdk/aws_applicationsignals/__init__.py +143 -87
- aws_cdk/aws_appmesh/__init__.py +1 -1
- aws_cdk/aws_apprunner/__init__.py +1 -1
- aws_cdk/aws_appstream/__init__.py +1 -1
- aws_cdk/aws_appsync/__init__.py +1 -1
- aws_cdk/aws_apptest/__init__.py +3042 -0
- aws_cdk/aws_aps/__init__.py +1 -1
- aws_cdk/aws_arczonalshift/__init__.py +1 -1
- aws_cdk/aws_athena/__init__.py +1 -1
- aws_cdk/aws_auditmanager/__init__.py +1 -1
- aws_cdk/aws_autoscaling/__init__.py +1 -1
- aws_cdk/aws_autoscaling_common/__init__.py +1 -1
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +1 -1
- aws_cdk/aws_autoscalingplans/__init__.py +1 -1
- aws_cdk/aws_b2bi/__init__.py +1 -1
- aws_cdk/aws_backup/__init__.py +4 -6
- aws_cdk/aws_backupgateway/__init__.py +1 -1
- aws_cdk/aws_batch/__init__.py +1 -216
- aws_cdk/aws_bcmdataexports/__init__.py +1 -1
- aws_cdk/aws_bedrock/__init__.py +178 -1
- aws_cdk/aws_billingconductor/__init__.py +1 -1
- aws_cdk/aws_budgets/__init__.py +1 -1
- aws_cdk/aws_cassandra/__init__.py +1 -1
- aws_cdk/aws_ce/__init__.py +1 -1
- aws_cdk/aws_certificatemanager/__init__.py +1 -1
- aws_cdk/aws_chatbot/__init__.py +1 -1
- aws_cdk/aws_cleanrooms/__init__.py +1 -1
- aws_cdk/aws_cleanroomsml/__init__.py +1 -1
- aws_cdk/aws_cloud9/__init__.py +1 -1
- aws_cdk/aws_cloudformation/__init__.py +1 -1
- aws_cdk/aws_cloudfront/__init__.py +1 -1
- aws_cdk/aws_cloudfront/experimental/__init__.py +44 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +1 -1
- aws_cdk/aws_cloudtrail/__init__.py +20 -12
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_cloudwatch_actions/__init__.py +1 -1
- aws_cdk/aws_codeartifact/__init__.py +11 -9
- aws_cdk/aws_codebuild/__init__.py +193 -6
- aws_cdk/aws_codecommit/__init__.py +1 -1
- aws_cdk/aws_codeconnections/__init__.py +1 -1
- aws_cdk/aws_codedeploy/__init__.py +35 -4
- aws_cdk/aws_codeguruprofiler/__init__.py +1 -1
- aws_cdk/aws_codegurureviewer/__init__.py +1 -1
- aws_cdk/aws_codepipeline/__init__.py +1 -1
- aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
- aws_cdk/aws_codestar/__init__.py +1 -1
- aws_cdk/aws_codestarconnections/__init__.py +1 -1
- aws_cdk/aws_codestarnotifications/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +56 -18
- aws_cdk/aws_comprehend/__init__.py +1 -1
- aws_cdk/aws_config/__init__.py +1 -1
- aws_cdk/aws_connect/__init__.py +1 -1
- aws_cdk/aws_connectcampaigns/__init__.py +1 -1
- aws_cdk/aws_controltower/__init__.py +1 -1
- aws_cdk/aws_cur/__init__.py +1 -1
- aws_cdk/aws_customerprofiles/__init__.py +1 -1
- aws_cdk/aws_databrew/__init__.py +1 -1
- aws_cdk/aws_datapipeline/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +12 -12
- aws_cdk/aws_datazone/__init__.py +1 -1
- aws_cdk/aws_dax/__init__.py +1 -1
- aws_cdk/aws_deadline/__init__.py +3 -2
- aws_cdk/aws_detective/__init__.py +1 -1
- aws_cdk/aws_devicefarm/__init__.py +1 -1
- aws_cdk/aws_devopsguru/__init__.py +1 -1
- aws_cdk/aws_directoryservice/__init__.py +1 -1
- aws_cdk/aws_dlm/__init__.py +1 -1
- aws_cdk/aws_dms/__init__.py +2 -2
- aws_cdk/aws_docdb/__init__.py +1 -1
- aws_cdk/aws_docdbelastic/__init__.py +1 -1
- aws_cdk/aws_dynamodb/__init__.py +1 -1
- aws_cdk/aws_ec2/__init__.py +24 -26
- aws_cdk/aws_ecr/__init__.py +1 -1
- aws_cdk/aws_ecr_assets/__init__.py +1 -1
- aws_cdk/aws_ecs/__init__.py +29 -25
- aws_cdk/aws_ecs_patterns/__init__.py +1 -1
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +619 -31
- aws_cdk/aws_elasticache/__init__.py +29 -18
- aws_cdk/aws_elasticbeanstalk/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancing/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -4
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +1 -1
- aws_cdk/aws_elasticsearch/__init__.py +1 -1
- aws_cdk/aws_emr/__init__.py +1 -1
- aws_cdk/aws_emrcontainers/__init__.py +1 -1
- aws_cdk/aws_emrserverless/__init__.py +34 -7
- aws_cdk/aws_entityresolution/__init__.py +1 -1
- aws_cdk/aws_events/__init__.py +1 -1
- aws_cdk/aws_events_targets/__init__.py +1 -1
- aws_cdk/aws_eventschemas/__init__.py +1 -1
- aws_cdk/aws_evidently/__init__.py +1 -1
- aws_cdk/aws_finspace/__init__.py +1 -1
- aws_cdk/aws_fis/__init__.py +1 -1
- aws_cdk/aws_fms/__init__.py +1 -1
- aws_cdk/aws_forecast/__init__.py +1 -1
- aws_cdk/aws_frauddetector/__init__.py +1 -1
- aws_cdk/aws_fsx/__init__.py +186 -2
- aws_cdk/aws_gamelift/__init__.py +10 -6
- aws_cdk/aws_globalaccelerator/__init__.py +1 -1
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +1 -1
- aws_cdk/aws_glue/__init__.py +18 -14
- aws_cdk/aws_grafana/__init__.py +9 -5
- aws_cdk/aws_greengrass/__init__.py +1 -1
- aws_cdk/aws_greengrassv2/__init__.py +1 -1
- aws_cdk/aws_groundstation/__init__.py +1 -1
- aws_cdk/aws_guardduty/__init__.py +171 -132
- aws_cdk/aws_healthimaging/__init__.py +1 -1
- aws_cdk/aws_healthlake/__init__.py +1 -1
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_identitystore/__init__.py +1 -1
- aws_cdk/aws_imagebuilder/__init__.py +1 -1
- aws_cdk/aws_inspector/__init__.py +1 -1
- aws_cdk/aws_inspectorv2/__init__.py +1 -1
- aws_cdk/aws_internetmonitor/__init__.py +1 -1
- aws_cdk/aws_iot/__init__.py +1 -1
- aws_cdk/aws_iot1click/__init__.py +1 -1
- aws_cdk/aws_iotanalytics/__init__.py +1 -1
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +1 -1
- aws_cdk/aws_iotevents/__init__.py +1 -1
- aws_cdk/aws_iotfleethub/__init__.py +1 -1
- aws_cdk/aws_iotfleetwise/__init__.py +1 -1
- aws_cdk/aws_iotsitewise/__init__.py +1 -1
- aws_cdk/aws_iotthingsgraph/__init__.py +1 -1
- aws_cdk/aws_iottwinmaker/__init__.py +1 -1
- aws_cdk/aws_iotwireless/__init__.py +1 -1
- aws_cdk/aws_ivs/__init__.py +1 -1
- aws_cdk/aws_ivschat/__init__.py +1 -1
- aws_cdk/aws_kafkaconnect/__init__.py +1 -1
- aws_cdk/aws_kendra/__init__.py +1 -1
- aws_cdk/aws_kendraranking/__init__.py +1 -1
- aws_cdk/aws_kinesis/__init__.py +1 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +93 -1
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +93 -1
- aws_cdk/aws_kinesisfirehose/__init__.py +301 -94
- aws_cdk/aws_kinesisvideo/__init__.py +1 -1
- aws_cdk/aws_kms/__init__.py +16 -15
- aws_cdk/aws_lakeformation/__init__.py +1 -1
- aws_cdk/aws_lambda/__init__.py +160 -1
- aws_cdk/aws_lambda_destinations/__init__.py +1 -1
- aws_cdk/aws_lambda_event_sources/__init__.py +1 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +1 -1
- aws_cdk/aws_lex/__init__.py +1 -1
- aws_cdk/aws_licensemanager/__init__.py +1 -1
- aws_cdk/aws_lightsail/__init__.py +1 -1
- aws_cdk/aws_location/__init__.py +1 -1
- aws_cdk/aws_logs/__init__.py +1 -1
- aws_cdk/aws_logs_destinations/__init__.py +1 -1
- aws_cdk/aws_lookoutequipment/__init__.py +1 -1
- aws_cdk/aws_lookoutmetrics/__init__.py +1 -1
- aws_cdk/aws_lookoutvision/__init__.py +1 -1
- aws_cdk/aws_m2/__init__.py +1 -1
- aws_cdk/aws_macie/__init__.py +1 -1
- aws_cdk/aws_managedblockchain/__init__.py +1 -1
- aws_cdk/aws_mediaconnect/__init__.py +1 -1
- aws_cdk/aws_mediaconvert/__init__.py +1 -1
- aws_cdk/aws_medialive/__init__.py +1 -1
- aws_cdk/aws_mediapackage/__init__.py +1 -1
- aws_cdk/aws_mediapackagev2/__init__.py +33 -1
- aws_cdk/aws_mediastore/__init__.py +1 -1
- aws_cdk/aws_mediatailor/__init__.py +1 -1
- aws_cdk/aws_memorydb/__init__.py +1 -1
- aws_cdk/aws_msk/__init__.py +1 -1
- aws_cdk/aws_mwaa/__init__.py +1 -1
- aws_cdk/aws_neptune/__init__.py +1 -1
- aws_cdk/aws_neptunegraph/__init__.py +1 -1
- aws_cdk/aws_networkfirewall/__init__.py +1 -1
- aws_cdk/aws_networkmanager/__init__.py +10 -10
- aws_cdk/aws_nimblestudio/__init__.py +1 -1
- aws_cdk/aws_oam/__init__.py +1 -1
- aws_cdk/aws_omics/__init__.py +2 -2
- aws_cdk/aws_opensearchserverless/__init__.py +1 -1
- aws_cdk/aws_opensearchservice/__init__.py +1 -1
- aws_cdk/aws_opsworks/__init__.py +1 -1
- aws_cdk/aws_opsworkscm/__init__.py +8 -4
- aws_cdk/aws_organizations/__init__.py +1 -1
- aws_cdk/aws_osis/__init__.py +1 -1
- aws_cdk/aws_panorama/__init__.py +1 -1
- aws_cdk/aws_paymentcryptography/__init__.py +1 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +1 -1
- aws_cdk/aws_personalize/__init__.py +1 -1
- aws_cdk/aws_pinpoint/__init__.py +1 -1
- aws_cdk/aws_pinpointemail/__init__.py +1 -1
- aws_cdk/aws_pipes/__init__.py +1 -1
- aws_cdk/aws_proton/__init__.py +1 -1
- aws_cdk/aws_qbusiness/__init__.py +1 -1
- aws_cdk/aws_qldb/__init__.py +1 -1
- aws_cdk/aws_quicksight/__init__.py +1 -1
- aws_cdk/aws_ram/__init__.py +1 -1
- aws_cdk/aws_rds/__init__.py +515 -34
- aws_cdk/aws_redshift/__init__.py +10 -10
- aws_cdk/aws_redshiftserverless/__init__.py +1 -1
- aws_cdk/aws_refactorspaces/__init__.py +1 -1
- aws_cdk/aws_rekognition/__init__.py +1 -1
- aws_cdk/aws_resiliencehub/__init__.py +1 -1
- aws_cdk/aws_resourceexplorer2/__init__.py +1 -1
- aws_cdk/aws_resourcegroups/__init__.py +1 -1
- aws_cdk/aws_robomaker/__init__.py +1 -1
- aws_cdk/aws_rolesanywhere/__init__.py +1 -1
- aws_cdk/aws_route53/__init__.py +1 -1
- aws_cdk/aws_route53_patterns/__init__.py +1 -1
- aws_cdk/aws_route53_targets/__init__.py +1 -1
- aws_cdk/aws_route53profiles/__init__.py +1 -1
- aws_cdk/aws_route53recoverycontrol/__init__.py +1 -1
- aws_cdk/aws_route53recoveryreadiness/__init__.py +1 -1
- aws_cdk/aws_route53resolver/__init__.py +1 -1
- aws_cdk/aws_rum/__init__.py +1 -1
- aws_cdk/aws_s3/__init__.py +30 -6
- aws_cdk/aws_s3_assets/__init__.py +1 -1
- aws_cdk/aws_s3_deployment/__init__.py +1 -1
- aws_cdk/aws_s3_notifications/__init__.py +1 -1
- aws_cdk/aws_s3express/__init__.py +1 -1
- aws_cdk/aws_s3objectlambda/__init__.py +1 -1
- aws_cdk/aws_s3outposts/__init__.py +1 -1
- aws_cdk/aws_sagemaker/__init__.py +1 -1
- aws_cdk/aws_sam/__init__.py +1 -1
- aws_cdk/aws_scheduler/__init__.py +1 -1
- aws_cdk/aws_sdb/__init__.py +1 -1
- aws_cdk/aws_secretsmanager/__init__.py +1 -1
- aws_cdk/aws_securityhub/__init__.py +1 -1
- aws_cdk/aws_securitylake/__init__.py +1 -1
- aws_cdk/aws_servicecatalog/__init__.py +1 -1
- aws_cdk/aws_servicecatalogappregistry/__init__.py +1 -1
- aws_cdk/aws_servicediscovery/__init__.py +21 -4
- aws_cdk/aws_ses/__init__.py +86 -1
- aws_cdk/aws_ses_actions/__init__.py +1 -1
- aws_cdk/aws_shield/__init__.py +1 -1
- aws_cdk/aws_signer/__init__.py +42 -1
- aws_cdk/aws_simspaceweaver/__init__.py +1 -1
- aws_cdk/aws_sns/__init__.py +1 -1
- aws_cdk/aws_sns_subscriptions/__init__.py +1 -1
- aws_cdk/aws_sqs/__init__.py +7 -9
- aws_cdk/aws_ssm/__init__.py +106 -37
- aws_cdk/aws_ssmcontacts/__init__.py +1 -1
- aws_cdk/aws_ssmincidents/__init__.py +1 -1
- aws_cdk/aws_sso/__init__.py +1 -1
- aws_cdk/aws_stepfunctions/__init__.py +1 -1
- aws_cdk/aws_stepfunctions_tasks/__init__.py +793 -152
- aws_cdk/aws_supportapp/__init__.py +1 -1
- aws_cdk/aws_synthetics/__init__.py +1 -1
- aws_cdk/aws_systemsmanagersap/__init__.py +1 -1
- aws_cdk/aws_timestream/__init__.py +1 -1
- aws_cdk/aws_transfer/__init__.py +1 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +602 -9
- aws_cdk/aws_voiceid/__init__.py +1 -1
- aws_cdk/aws_vpclattice/__init__.py +1 -1
- aws_cdk/aws_waf/__init__.py +1 -1
- aws_cdk/aws_wafregional/__init__.py +1 -1
- aws_cdk/aws_wafv2/__init__.py +1 -1
- aws_cdk/aws_wisdom/__init__.py +1 -1
- aws_cdk/aws_workspaces/__init__.py +774 -1
- aws_cdk/aws_workspacesthinclient/__init__.py +1 -1
- aws_cdk/aws_workspacesweb/__init__.py +5 -5
- aws_cdk/aws_xray/__init__.py +1 -1
- aws_cdk/cloud_assembly_schema/__init__.py +1 -1
- aws_cdk/cloudformation_include/__init__.py +1 -1
- aws_cdk/custom_resources/__init__.py +1 -1
- aws_cdk/cx_api/__init__.py +19 -1
- aws_cdk/lambda_layer_awscli/__init__.py +1 -1
- aws_cdk/lambda_layer_kubectl/__init__.py +1 -1
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +1 -1
- aws_cdk/pipelines/__init__.py +2 -2
- aws_cdk/region_info/__init__.py +1 -1
- aws_cdk/triggers/__init__.py +1 -1
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.148.1.dist-info/RECORD +291 -0
- aws_cdk_lib-2.147.3.dist-info/RECORD +0 -290
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# Amazon GuardDuty Construct Library
|
|
3
3
|
|
|
4
4
|
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
@@ -181,7 +181,8 @@ class CfnDetector(
|
|
|
181
181
|
@builtins.property
|
|
182
182
|
@jsii.member(jsii_name="attrId")
|
|
183
183
|
def attr_id(self) -> builtins.str:
|
|
184
|
-
'''
|
|
184
|
+
'''The unique ID of the detector.
|
|
185
|
+
|
|
185
186
|
:cloudformationAttribute: Id
|
|
186
187
|
'''
|
|
187
188
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
@@ -472,7 +473,7 @@ class CfnDetector(
|
|
|
472
473
|
) -> None:
|
|
473
474
|
'''Information about the configuration of a feature in your account.
|
|
474
475
|
|
|
475
|
-
:param name: Name of the feature.
|
|
476
|
+
:param name: Name of the feature. For a list of allowed values, see `DetectorFeatureConfiguration <https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorFeatureConfiguration.html#guardduty-Type-DetectorFeatureConfiguration-name>`_ in the *GuardDuty API Reference* .
|
|
476
477
|
:param status: Status of the feature configuration.
|
|
477
478
|
:param additional_configuration: Information about the additional configuration of a feature in your account.
|
|
478
479
|
|
|
@@ -512,6 +513,8 @@ class CfnDetector(
|
|
|
512
513
|
def name(self) -> builtins.str:
|
|
513
514
|
'''Name of the feature.
|
|
514
515
|
|
|
516
|
+
For a list of allowed values, see `DetectorFeatureConfiguration <https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorFeatureConfiguration.html#guardduty-Type-DetectorFeatureConfiguration-name>`_ in the *GuardDuty API Reference* .
|
|
517
|
+
|
|
515
518
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-detector-cfnfeatureconfiguration.html#cfn-guardduty-detector-cfnfeatureconfiguration-name
|
|
516
519
|
'''
|
|
517
520
|
result = self._values.get("name")
|
|
@@ -849,8 +852,8 @@ class CfnDetector(
|
|
|
849
852
|
def __init__(self, *, key: builtins.str, value: builtins.str) -> None:
|
|
850
853
|
'''Describes a tag.
|
|
851
854
|
|
|
852
|
-
:param key: The tag
|
|
853
|
-
:param value: The tag
|
|
855
|
+
:param key: The tag key.
|
|
856
|
+
:param value: The tag value.
|
|
854
857
|
|
|
855
858
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-detector-tagitem.html
|
|
856
859
|
:exampleMetadata: fixture=_generated
|
|
@@ -877,7 +880,7 @@ class CfnDetector(
|
|
|
877
880
|
|
|
878
881
|
@builtins.property
|
|
879
882
|
def key(self) -> builtins.str:
|
|
880
|
-
'''The tag
|
|
883
|
+
'''The tag key.
|
|
881
884
|
|
|
882
885
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-detector-tagitem.html#cfn-guardduty-detector-tagitem-key
|
|
883
886
|
'''
|
|
@@ -887,7 +890,7 @@ class CfnDetector(
|
|
|
887
890
|
|
|
888
891
|
@builtins.property
|
|
889
892
|
def value(self) -> builtins.str:
|
|
890
|
-
'''The tag
|
|
893
|
+
'''The tag value.
|
|
891
894
|
|
|
892
895
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-detector-tagitem.html#cfn-guardduty-detector-tagitem-value
|
|
893
896
|
'''
|
|
@@ -1089,6 +1092,7 @@ class CfnFilter(
|
|
|
1089
1092
|
# criterion: Any
|
|
1090
1093
|
|
|
1091
1094
|
cfn_filter = guardduty.CfnFilter(self, "MyCfnFilter",
|
|
1095
|
+
detector_id="detectorId",
|
|
1092
1096
|
finding_criteria=guardduty.CfnFilter.FindingCriteriaProperty(
|
|
1093
1097
|
criterion=criterion,
|
|
1094
1098
|
item_type=guardduty.CfnFilter.ConditionProperty(
|
|
@@ -1106,12 +1110,11 @@ class CfnFilter(
|
|
|
1106
1110
|
not_equals=["notEquals"]
|
|
1107
1111
|
)
|
|
1108
1112
|
),
|
|
1113
|
+
name="name",
|
|
1109
1114
|
|
|
1110
1115
|
# the properties below are optional
|
|
1111
1116
|
action="action",
|
|
1112
1117
|
description="description",
|
|
1113
|
-
detector_id="detectorId",
|
|
1114
|
-
name="name",
|
|
1115
1118
|
rank=123,
|
|
1116
1119
|
tags=[CfnTag(
|
|
1117
1120
|
key="key",
|
|
@@ -1125,22 +1128,22 @@ class CfnFilter(
|
|
|
1125
1128
|
scope: _constructs_77d1e7e8.Construct,
|
|
1126
1129
|
id: builtins.str,
|
|
1127
1130
|
*,
|
|
1131
|
+
detector_id: builtins.str,
|
|
1128
1132
|
finding_criteria: typing.Union[_IResolvable_da3f097b, typing.Union["CfnFilter.FindingCriteriaProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1133
|
+
name: builtins.str,
|
|
1129
1134
|
action: typing.Optional[builtins.str] = None,
|
|
1130
1135
|
description: typing.Optional[builtins.str] = None,
|
|
1131
|
-
detector_id: typing.Optional[builtins.str] = None,
|
|
1132
|
-
name: typing.Optional[builtins.str] = None,
|
|
1133
1136
|
rank: typing.Optional[jsii.Number] = None,
|
|
1134
1137
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1135
1138
|
) -> None:
|
|
1136
1139
|
'''
|
|
1137
1140
|
:param scope: Scope in which this resource is defined.
|
|
1138
1141
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1142
|
+
:param detector_id: The ID of the detector belonging to the GuardDuty account that you want to create a filter for.
|
|
1139
1143
|
:param finding_criteria: Represents the criteria to be used in the filter for querying findings.
|
|
1144
|
+
:param name: The name of the filter. Valid characters include period (.), underscore (_), dash (-), and alphanumeric characters. A whitespace is considered to be an invalid character.
|
|
1140
1145
|
:param action: Specifies the action that is to be applied to the findings that match the filter.
|
|
1141
1146
|
:param description: The description of the filter. Valid characters include alphanumeric characters, and special characters such as hyphen, period, colon, underscore, parentheses ( ``{ }`` , ``[ ]`` , and ``( )`` ), forward slash, horizontal tab, vertical tab, newline, form feed, return, and whitespace.
|
|
1142
|
-
:param detector_id: The ID of the detector belonging to the GuardDuty account that you want to create a filter for.
|
|
1143
|
-
:param name: The name of the filter. Valid characters include period (.), underscore (_), dash (-), and alphanumeric characters. A whitespace is considered to be an invalid character.
|
|
1144
1147
|
:param rank: Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings. The minimum value for this property is 1 and the maximum is 100. By default, filters may not be created in the same order as they are ranked. To ensure that the filters are created in the expected order, you can use an optional attribute, `DependsOn <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html>`_ , with the following syntax: ``"DependsOn":[ "ObjectName" ]`` .
|
|
1145
1148
|
:param tags: The tags to be added to a new filter resource. Each tag consists of a key and an optional value, both of which you define. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
|
|
1146
1149
|
'''
|
|
@@ -1149,11 +1152,11 @@ class CfnFilter(
|
|
|
1149
1152
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1150
1153
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1151
1154
|
props = CfnFilterProps(
|
|
1155
|
+
detector_id=detector_id,
|
|
1152
1156
|
finding_criteria=finding_criteria,
|
|
1157
|
+
name=name,
|
|
1153
1158
|
action=action,
|
|
1154
1159
|
description=description,
|
|
1155
|
-
detector_id=detector_id,
|
|
1156
|
-
name=name,
|
|
1157
1160
|
rank=rank,
|
|
1158
1161
|
tags=tags,
|
|
1159
1162
|
)
|
|
@@ -1201,6 +1204,19 @@ class CfnFilter(
|
|
|
1201
1204
|
'''Tag Manager which manages the tags for this resource.'''
|
|
1202
1205
|
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
|
|
1203
1206
|
|
|
1207
|
+
@builtins.property
|
|
1208
|
+
@jsii.member(jsii_name="detectorId")
|
|
1209
|
+
def detector_id(self) -> builtins.str:
|
|
1210
|
+
'''The ID of the detector belonging to the GuardDuty account that you want to create a filter for.'''
|
|
1211
|
+
return typing.cast(builtins.str, jsii.get(self, "detectorId"))
|
|
1212
|
+
|
|
1213
|
+
@detector_id.setter
|
|
1214
|
+
def detector_id(self, value: builtins.str) -> None:
|
|
1215
|
+
if __debug__:
|
|
1216
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2a940342f0dba5155f5628025cb840051cc96e969cc988dd60f36269d57e2ccd)
|
|
1217
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1218
|
+
jsii.set(self, "detectorId", value)
|
|
1219
|
+
|
|
1204
1220
|
@builtins.property
|
|
1205
1221
|
@jsii.member(jsii_name="findingCriteria")
|
|
1206
1222
|
def finding_criteria(
|
|
@@ -1219,6 +1235,19 @@ class CfnFilter(
|
|
|
1219
1235
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1220
1236
|
jsii.set(self, "findingCriteria", value)
|
|
1221
1237
|
|
|
1238
|
+
@builtins.property
|
|
1239
|
+
@jsii.member(jsii_name="name")
|
|
1240
|
+
def name(self) -> builtins.str:
|
|
1241
|
+
'''The name of the filter.'''
|
|
1242
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
1243
|
+
|
|
1244
|
+
@name.setter
|
|
1245
|
+
def name(self, value: builtins.str) -> None:
|
|
1246
|
+
if __debug__:
|
|
1247
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a919e4dbcd673724e15009ab41b3a97b27ecfabae06ad4b152e2793162be4ddc)
|
|
1248
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1249
|
+
jsii.set(self, "name", value)
|
|
1250
|
+
|
|
1222
1251
|
@builtins.property
|
|
1223
1252
|
@jsii.member(jsii_name="action")
|
|
1224
1253
|
def action(self) -> typing.Optional[builtins.str]:
|
|
@@ -1245,32 +1274,6 @@ class CfnFilter(
|
|
|
1245
1274
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1246
1275
|
jsii.set(self, "description", value)
|
|
1247
1276
|
|
|
1248
|
-
@builtins.property
|
|
1249
|
-
@jsii.member(jsii_name="detectorId")
|
|
1250
|
-
def detector_id(self) -> typing.Optional[builtins.str]:
|
|
1251
|
-
'''The ID of the detector belonging to the GuardDuty account that you want to create a filter for.'''
|
|
1252
|
-
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "detectorId"))
|
|
1253
|
-
|
|
1254
|
-
@detector_id.setter
|
|
1255
|
-
def detector_id(self, value: typing.Optional[builtins.str]) -> None:
|
|
1256
|
-
if __debug__:
|
|
1257
|
-
type_hints = typing.get_type_hints(_typecheckingstub__2a940342f0dba5155f5628025cb840051cc96e969cc988dd60f36269d57e2ccd)
|
|
1258
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1259
|
-
jsii.set(self, "detectorId", value)
|
|
1260
|
-
|
|
1261
|
-
@builtins.property
|
|
1262
|
-
@jsii.member(jsii_name="name")
|
|
1263
|
-
def name(self) -> typing.Optional[builtins.str]:
|
|
1264
|
-
'''The name of the filter.'''
|
|
1265
|
-
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "name"))
|
|
1266
|
-
|
|
1267
|
-
@name.setter
|
|
1268
|
-
def name(self, value: typing.Optional[builtins.str]) -> None:
|
|
1269
|
-
if __debug__:
|
|
1270
|
-
type_hints = typing.get_type_hints(_typecheckingstub__a919e4dbcd673724e15009ab41b3a97b27ecfabae06ad4b152e2793162be4ddc)
|
|
1271
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1272
|
-
jsii.set(self, "name", value)
|
|
1273
|
-
|
|
1274
1277
|
@builtins.property
|
|
1275
1278
|
@jsii.member(jsii_name="rank")
|
|
1276
1279
|
def rank(self) -> typing.Optional[jsii.Number]:
|
|
@@ -1544,7 +1547,7 @@ class CfnFilter(
|
|
|
1544
1547
|
) -> None:
|
|
1545
1548
|
'''Represents a map of finding properties that match specified conditions and values when querying findings.
|
|
1546
1549
|
|
|
1547
|
-
:param criterion: Represents a map of finding properties that match specified conditions and values when querying findings. For information about JSON criterion mapping to their console equivalent, see `Finding criteria <https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_filter-findings.html#filter_criteria>`_ . The following are the available criterion: - accountId - id - region - severity To filter on the basis of severity, API and
|
|
1550
|
+
:param criterion: Represents a map of finding properties that match specified conditions and values when querying findings. For information about JSON criterion mapping to their console equivalent, see `Finding criteria <https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_filter-findings.html#filter_criteria>`_ . The following are the available criterion: - accountId - id - region - severity To filter on the basis of severity, the API and AWS CLI use the following input list for the ``FindingCriteria`` condition: - *Low* : ``["1", "2", "3"]`` - *Medium* : ``["4", "5", "6"]`` - *High* : ``["7", "8", "9"]`` For more information, see `Severity levels for GuardDuty findings <https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings.html#guardduty_findings-severity>`_ in the *Amazon GuardDuty User Guide* . - type - updatedAt Type: ISO 8601 string format: ``YYYY-MM-DDTHH:MM:SS.SSSZ`` or ``YYYY-MM-DDTHH:MM:SSZ`` depending on whether the value contains milliseconds. - resource.accessKeyDetails.accessKeyId - resource.accessKeyDetails.principalId - resource.accessKeyDetails.userName - resource.accessKeyDetails.userType - resource.instanceDetails.iamInstanceProfile.id - resource.instanceDetails.imageId - resource.instanceDetails.instanceId - resource.instanceDetails.tags.key - resource.instanceDetails.tags.value - resource.instanceDetails.networkInterfaces.ipv6Addresses - resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress - resource.instanceDetails.networkInterfaces.publicDnsName - resource.instanceDetails.networkInterfaces.publicIp - resource.instanceDetails.networkInterfaces.securityGroups.groupId - resource.instanceDetails.networkInterfaces.securityGroups.groupName - resource.instanceDetails.networkInterfaces.subnetId - resource.instanceDetails.networkInterfaces.vpcId - resource.instanceDetails.outpostArn - resource.resourceType - resource.s3BucketDetails.publicAccess.effectivePermissions - resource.s3BucketDetails.name - resource.s3BucketDetails.tags.key - resource.s3BucketDetails.tags.value - resource.s3BucketDetails.type - service.action.actionType - service.action.awsApiCallAction.api - service.action.awsApiCallAction.callerType - service.action.awsApiCallAction.errorCode - service.action.awsApiCallAction.remoteIpDetails.city.cityName - service.action.awsApiCallAction.remoteIpDetails.country.countryName - service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 - service.action.awsApiCallAction.remoteIpDetails.ipAddressV6 - service.action.awsApiCallAction.remoteIpDetails.organization.asn - service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg - service.action.awsApiCallAction.serviceName - service.action.dnsRequestAction.domain - service.action.dnsRequestAction.domainWithSuffix - service.action.networkConnectionAction.blocked - service.action.networkConnectionAction.connectionDirection - service.action.networkConnectionAction.localPortDetails.port - service.action.networkConnectionAction.protocol - service.action.networkConnectionAction.remoteIpDetails.city.cityName - service.action.networkConnectionAction.remoteIpDetails.country.countryName - service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 - service.action.networkConnectionAction.remoteIpDetails.ipAddressV6 - service.action.networkConnectionAction.remoteIpDetails.organization.asn - service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg - service.action.networkConnectionAction.remotePortDetails.port - service.action.awsApiCallAction.remoteAccountDetails.affiliated - service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV4 - service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV6 - service.action.kubernetesApiCallAction.namespace - service.action.kubernetesApiCallAction.remoteIpDetails.organization.asn - service.action.kubernetesApiCallAction.requestUri - service.action.kubernetesApiCallAction.statusCode - service.action.networkConnectionAction.localIpDetails.ipAddressV4 - service.action.networkConnectionAction.localIpDetails.ipAddressV6 - service.action.networkConnectionAction.protocol - service.action.awsApiCallAction.serviceName - service.action.awsApiCallAction.remoteAccountDetails.accountId - service.additionalInfo.threatListName - service.resourceRole - resource.eksClusterDetails.name - resource.kubernetesDetails.kubernetesWorkloadDetails.name - resource.kubernetesDetails.kubernetesWorkloadDetails.namespace - resource.kubernetesDetails.kubernetesUserDetails.username - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.image - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.imagePrefix - service.ebsVolumeScanDetails.scanId - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.name - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.severity - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.hash - service.malwareScanDetails.threats.name - resource.ecsClusterDetails.name - resource.ecsClusterDetails.taskDetails.containers.image - resource.ecsClusterDetails.taskDetails.definitionArn - resource.containerDetails.image - resource.rdsDbInstanceDetails.dbInstanceIdentifier - resource.rdsDbInstanceDetails.dbClusterIdentifier - resource.rdsDbInstanceDetails.engine - resource.rdsDbUserDetails.user - resource.rdsDbInstanceDetails.tags.key - resource.rdsDbInstanceDetails.tags.value - service.runtimeDetails.process.executableSha256 - service.runtimeDetails.process.name - service.runtimeDetails.process.name - resource.lambdaDetails.functionName - resource.lambdaDetails.functionArn - resource.lambdaDetails.tags.key - resource.lambdaDetails.tags.value
|
|
1548
1551
|
:param item_type:
|
|
1549
1552
|
|
|
1550
1553
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-filter-findingcriteria.html
|
|
@@ -1597,18 +1600,18 @@ class CfnFilter(
|
|
|
1597
1600
|
- region
|
|
1598
1601
|
- severity
|
|
1599
1602
|
|
|
1600
|
-
To filter on the basis of severity, API and
|
|
1603
|
+
To filter on the basis of severity, the API and AWS CLI use the following input list for the ``FindingCriteria`` condition:
|
|
1601
1604
|
|
|
1602
1605
|
- *Low* : ``["1", "2", "3"]``
|
|
1603
1606
|
- *Medium* : ``["4", "5", "6"]``
|
|
1604
1607
|
- *High* : ``["7", "8", "9"]``
|
|
1605
1608
|
|
|
1606
|
-
For more information, see `Severity levels for GuardDuty findings <https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings.html#guardduty_findings-severity>`_ .
|
|
1609
|
+
For more information, see `Severity levels for GuardDuty findings <https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings.html#guardduty_findings-severity>`_ in the *Amazon GuardDuty User Guide* .
|
|
1607
1610
|
|
|
1608
1611
|
- type
|
|
1609
1612
|
- updatedAt
|
|
1610
1613
|
|
|
1611
|
-
Type: ISO 8601 string format: YYYY-MM-DDTHH:MM:SS.SSSZ or YYYY-MM-DDTHH:MM:SSZ depending on whether the value contains milliseconds.
|
|
1614
|
+
Type: ISO 8601 string format: ``YYYY-MM-DDTHH:MM:SS.SSSZ`` or ``YYYY-MM-DDTHH:MM:SSZ`` depending on whether the value contains milliseconds.
|
|
1612
1615
|
|
|
1613
1616
|
- resource.accessKeyDetails.accessKeyId
|
|
1614
1617
|
- resource.accessKeyDetails.principalId
|
|
@@ -1641,10 +1644,12 @@ class CfnFilter(
|
|
|
1641
1644
|
- service.action.awsApiCallAction.remoteIpDetails.city.cityName
|
|
1642
1645
|
- service.action.awsApiCallAction.remoteIpDetails.country.countryName
|
|
1643
1646
|
- service.action.awsApiCallAction.remoteIpDetails.ipAddressV4
|
|
1647
|
+
- service.action.awsApiCallAction.remoteIpDetails.ipAddressV6
|
|
1644
1648
|
- service.action.awsApiCallAction.remoteIpDetails.organization.asn
|
|
1645
1649
|
- service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg
|
|
1646
1650
|
- service.action.awsApiCallAction.serviceName
|
|
1647
1651
|
- service.action.dnsRequestAction.domain
|
|
1652
|
+
- service.action.dnsRequestAction.domainWithSuffix
|
|
1648
1653
|
- service.action.networkConnectionAction.blocked
|
|
1649
1654
|
- service.action.networkConnectionAction.connectionDirection
|
|
1650
1655
|
- service.action.networkConnectionAction.localPortDetails.port
|
|
@@ -1652,13 +1657,19 @@ class CfnFilter(
|
|
|
1652
1657
|
- service.action.networkConnectionAction.remoteIpDetails.city.cityName
|
|
1653
1658
|
- service.action.networkConnectionAction.remoteIpDetails.country.countryName
|
|
1654
1659
|
- service.action.networkConnectionAction.remoteIpDetails.ipAddressV4
|
|
1660
|
+
- service.action.networkConnectionAction.remoteIpDetails.ipAddressV6
|
|
1655
1661
|
- service.action.networkConnectionAction.remoteIpDetails.organization.asn
|
|
1656
1662
|
- service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg
|
|
1657
1663
|
- service.action.networkConnectionAction.remotePortDetails.port
|
|
1658
1664
|
- service.action.awsApiCallAction.remoteAccountDetails.affiliated
|
|
1659
1665
|
- service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV4
|
|
1666
|
+
- service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV6
|
|
1667
|
+
- service.action.kubernetesApiCallAction.namespace
|
|
1668
|
+
- service.action.kubernetesApiCallAction.remoteIpDetails.organization.asn
|
|
1660
1669
|
- service.action.kubernetesApiCallAction.requestUri
|
|
1670
|
+
- service.action.kubernetesApiCallAction.statusCode
|
|
1661
1671
|
- service.action.networkConnectionAction.localIpDetails.ipAddressV4
|
|
1672
|
+
- service.action.networkConnectionAction.localIpDetails.ipAddressV6
|
|
1662
1673
|
- service.action.networkConnectionAction.protocol
|
|
1663
1674
|
- service.action.awsApiCallAction.serviceName
|
|
1664
1675
|
- service.action.awsApiCallAction.remoteAccountDetails.accountId
|
|
@@ -1674,6 +1685,7 @@ class CfnFilter(
|
|
|
1674
1685
|
- service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.name
|
|
1675
1686
|
- service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.severity
|
|
1676
1687
|
- service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.hash
|
|
1688
|
+
- service.malwareScanDetails.threats.name
|
|
1677
1689
|
- resource.ecsClusterDetails.name
|
|
1678
1690
|
- resource.ecsClusterDetails.taskDetails.containers.image
|
|
1679
1691
|
- resource.ecsClusterDetails.taskDetails.definitionArn
|
|
@@ -1723,11 +1735,11 @@ class CfnFilter(
|
|
|
1723
1735
|
jsii_type="aws-cdk-lib.aws_guardduty.CfnFilterProps",
|
|
1724
1736
|
jsii_struct_bases=[],
|
|
1725
1737
|
name_mapping={
|
|
1738
|
+
"detector_id": "detectorId",
|
|
1726
1739
|
"finding_criteria": "findingCriteria",
|
|
1740
|
+
"name": "name",
|
|
1727
1741
|
"action": "action",
|
|
1728
1742
|
"description": "description",
|
|
1729
|
-
"detector_id": "detectorId",
|
|
1730
|
-
"name": "name",
|
|
1731
1743
|
"rank": "rank",
|
|
1732
1744
|
"tags": "tags",
|
|
1733
1745
|
},
|
|
@@ -1736,21 +1748,21 @@ class CfnFilterProps:
|
|
|
1736
1748
|
def __init__(
|
|
1737
1749
|
self,
|
|
1738
1750
|
*,
|
|
1751
|
+
detector_id: builtins.str,
|
|
1739
1752
|
finding_criteria: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.FindingCriteriaProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1753
|
+
name: builtins.str,
|
|
1740
1754
|
action: typing.Optional[builtins.str] = None,
|
|
1741
1755
|
description: typing.Optional[builtins.str] = None,
|
|
1742
|
-
detector_id: typing.Optional[builtins.str] = None,
|
|
1743
|
-
name: typing.Optional[builtins.str] = None,
|
|
1744
1756
|
rank: typing.Optional[jsii.Number] = None,
|
|
1745
1757
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1746
1758
|
) -> None:
|
|
1747
1759
|
'''Properties for defining a ``CfnFilter``.
|
|
1748
1760
|
|
|
1761
|
+
:param detector_id: The ID of the detector belonging to the GuardDuty account that you want to create a filter for.
|
|
1749
1762
|
:param finding_criteria: Represents the criteria to be used in the filter for querying findings.
|
|
1763
|
+
:param name: The name of the filter. Valid characters include period (.), underscore (_), dash (-), and alphanumeric characters. A whitespace is considered to be an invalid character.
|
|
1750
1764
|
:param action: Specifies the action that is to be applied to the findings that match the filter.
|
|
1751
1765
|
:param description: The description of the filter. Valid characters include alphanumeric characters, and special characters such as hyphen, period, colon, underscore, parentheses ( ``{ }`` , ``[ ]`` , and ``( )`` ), forward slash, horizontal tab, vertical tab, newline, form feed, return, and whitespace.
|
|
1752
|
-
:param detector_id: The ID of the detector belonging to the GuardDuty account that you want to create a filter for.
|
|
1753
|
-
:param name: The name of the filter. Valid characters include period (.), underscore (_), dash (-), and alphanumeric characters. A whitespace is considered to be an invalid character.
|
|
1754
1766
|
:param rank: Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings. The minimum value for this property is 1 and the maximum is 100. By default, filters may not be created in the same order as they are ranked. To ensure that the filters are created in the expected order, you can use an optional attribute, `DependsOn <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html>`_ , with the following syntax: ``"DependsOn":[ "ObjectName" ]`` .
|
|
1755
1767
|
:param tags: The tags to be added to a new filter resource. Each tag consists of a key and an optional value, both of which you define. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
|
|
1756
1768
|
|
|
@@ -1766,6 +1778,7 @@ class CfnFilterProps:
|
|
|
1766
1778
|
# criterion: Any
|
|
1767
1779
|
|
|
1768
1780
|
cfn_filter_props = guardduty.CfnFilterProps(
|
|
1781
|
+
detector_id="detectorId",
|
|
1769
1782
|
finding_criteria=guardduty.CfnFilter.FindingCriteriaProperty(
|
|
1770
1783
|
criterion=criterion,
|
|
1771
1784
|
item_type=guardduty.CfnFilter.ConditionProperty(
|
|
@@ -1783,12 +1796,11 @@ class CfnFilterProps:
|
|
|
1783
1796
|
not_equals=["notEquals"]
|
|
1784
1797
|
)
|
|
1785
1798
|
),
|
|
1799
|
+
name="name",
|
|
1786
1800
|
|
|
1787
1801
|
# the properties below are optional
|
|
1788
1802
|
action="action",
|
|
1789
1803
|
description="description",
|
|
1790
|
-
detector_id="detectorId",
|
|
1791
|
-
name="name",
|
|
1792
1804
|
rank=123,
|
|
1793
1805
|
tags=[CfnTag(
|
|
1794
1806
|
key="key",
|
|
@@ -1798,29 +1810,37 @@ class CfnFilterProps:
|
|
|
1798
1810
|
'''
|
|
1799
1811
|
if __debug__:
|
|
1800
1812
|
type_hints = typing.get_type_hints(_typecheckingstub__6f44ad794e7dbae18bc70d670d096dac3d980dc5e20e5c9703013ddb79dd0e03)
|
|
1813
|
+
check_type(argname="argument detector_id", value=detector_id, expected_type=type_hints["detector_id"])
|
|
1801
1814
|
check_type(argname="argument finding_criteria", value=finding_criteria, expected_type=type_hints["finding_criteria"])
|
|
1815
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1802
1816
|
check_type(argname="argument action", value=action, expected_type=type_hints["action"])
|
|
1803
1817
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
1804
|
-
check_type(argname="argument detector_id", value=detector_id, expected_type=type_hints["detector_id"])
|
|
1805
|
-
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1806
1818
|
check_type(argname="argument rank", value=rank, expected_type=type_hints["rank"])
|
|
1807
1819
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1808
1820
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1821
|
+
"detector_id": detector_id,
|
|
1809
1822
|
"finding_criteria": finding_criteria,
|
|
1823
|
+
"name": name,
|
|
1810
1824
|
}
|
|
1811
1825
|
if action is not None:
|
|
1812
1826
|
self._values["action"] = action
|
|
1813
1827
|
if description is not None:
|
|
1814
1828
|
self._values["description"] = description
|
|
1815
|
-
if detector_id is not None:
|
|
1816
|
-
self._values["detector_id"] = detector_id
|
|
1817
|
-
if name is not None:
|
|
1818
|
-
self._values["name"] = name
|
|
1819
1829
|
if rank is not None:
|
|
1820
1830
|
self._values["rank"] = rank
|
|
1821
1831
|
if tags is not None:
|
|
1822
1832
|
self._values["tags"] = tags
|
|
1823
1833
|
|
|
1834
|
+
@builtins.property
|
|
1835
|
+
def detector_id(self) -> builtins.str:
|
|
1836
|
+
'''The ID of the detector belonging to the GuardDuty account that you want to create a filter for.
|
|
1837
|
+
|
|
1838
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-filter.html#cfn-guardduty-filter-detectorid
|
|
1839
|
+
'''
|
|
1840
|
+
result = self._values.get("detector_id")
|
|
1841
|
+
assert result is not None, "Required property 'detector_id' is missing"
|
|
1842
|
+
return typing.cast(builtins.str, result)
|
|
1843
|
+
|
|
1824
1844
|
@builtins.property
|
|
1825
1845
|
def finding_criteria(
|
|
1826
1846
|
self,
|
|
@@ -1833,6 +1853,18 @@ class CfnFilterProps:
|
|
|
1833
1853
|
assert result is not None, "Required property 'finding_criteria' is missing"
|
|
1834
1854
|
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnFilter.FindingCriteriaProperty], result)
|
|
1835
1855
|
|
|
1856
|
+
@builtins.property
|
|
1857
|
+
def name(self) -> builtins.str:
|
|
1858
|
+
'''The name of the filter.
|
|
1859
|
+
|
|
1860
|
+
Valid characters include period (.), underscore (_), dash (-), and alphanumeric characters. A whitespace is considered to be an invalid character.
|
|
1861
|
+
|
|
1862
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-filter.html#cfn-guardduty-filter-name
|
|
1863
|
+
'''
|
|
1864
|
+
result = self._values.get("name")
|
|
1865
|
+
assert result is not None, "Required property 'name' is missing"
|
|
1866
|
+
return typing.cast(builtins.str, result)
|
|
1867
|
+
|
|
1836
1868
|
@builtins.property
|
|
1837
1869
|
def action(self) -> typing.Optional[builtins.str]:
|
|
1838
1870
|
'''Specifies the action that is to be applied to the findings that match the filter.
|
|
@@ -1853,26 +1885,6 @@ class CfnFilterProps:
|
|
|
1853
1885
|
result = self._values.get("description")
|
|
1854
1886
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1855
1887
|
|
|
1856
|
-
@builtins.property
|
|
1857
|
-
def detector_id(self) -> typing.Optional[builtins.str]:
|
|
1858
|
-
'''The ID of the detector belonging to the GuardDuty account that you want to create a filter for.
|
|
1859
|
-
|
|
1860
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-filter.html#cfn-guardduty-filter-detectorid
|
|
1861
|
-
'''
|
|
1862
|
-
result = self._values.get("detector_id")
|
|
1863
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
1864
|
-
|
|
1865
|
-
@builtins.property
|
|
1866
|
-
def name(self) -> typing.Optional[builtins.str]:
|
|
1867
|
-
'''The name of the filter.
|
|
1868
|
-
|
|
1869
|
-
Valid characters include period (.), underscore (_), dash (-), and alphanumeric characters. A whitespace is considered to be an invalid character.
|
|
1870
|
-
|
|
1871
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-filter.html#cfn-guardduty-filter-name
|
|
1872
|
-
'''
|
|
1873
|
-
result = self._values.get("name")
|
|
1874
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
1875
|
-
|
|
1876
1888
|
@builtins.property
|
|
1877
1889
|
def rank(self) -> typing.Optional[jsii.Number]:
|
|
1878
1890
|
'''Specifies the position of the filter in the list of current filters.
|
|
@@ -2274,7 +2286,9 @@ class CfnMalwareProtectionPlan(
|
|
|
2274
2286
|
metaclass=jsii.JSIIMeta,
|
|
2275
2287
|
jsii_type="aws-cdk-lib.aws_guardduty.CfnMalwareProtectionPlan",
|
|
2276
2288
|
):
|
|
2277
|
-
'''
|
|
2289
|
+
'''Creates a new Malware Protection plan for the protected resource.
|
|
2290
|
+
|
|
2291
|
+
When you create a Malware Protection plan, the `AWS service terms for GuardDuty Malware Protection <https://docs.aws.amazon.com/service-terms/#87._Amazon_GuardDuty>`_ will apply.
|
|
2278
2292
|
|
|
2279
2293
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html
|
|
2280
2294
|
:cloudformationResource: AWS::GuardDuty::MalwareProtectionPlan
|
|
@@ -2321,10 +2335,10 @@ class CfnMalwareProtectionPlan(
|
|
|
2321
2335
|
'''
|
|
2322
2336
|
:param scope: Scope in which this resource is defined.
|
|
2323
2337
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2324
|
-
:param protected_resource:
|
|
2325
|
-
:param role: IAM role that includes the permissions required to scan and add tags to the associated protected resource.
|
|
2326
|
-
:param actions:
|
|
2327
|
-
:param tags:
|
|
2338
|
+
:param protected_resource: Information about the protected resource. Presently, ``S3Bucket`` is the only supported protected resource.
|
|
2339
|
+
:param role: IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.
|
|
2340
|
+
:param actions: Specifies the action that is to be applied to the Malware Protection plan resource.
|
|
2341
|
+
:param tags: The tags to be added to the created Malware Protection plan resource. Each tag consists of a key and an optional value, both of which you need to specify.
|
|
2328
2342
|
'''
|
|
2329
2343
|
if __debug__:
|
|
2330
2344
|
type_hints = typing.get_type_hints(_typecheckingstub__00ef930fce1d868abb00d70b721805e86a6ec1fb82c9df9f9974877a5ec00349)
|
|
@@ -2372,7 +2386,7 @@ class CfnMalwareProtectionPlan(
|
|
|
2372
2386
|
@builtins.property
|
|
2373
2387
|
@jsii.member(jsii_name="attrArn")
|
|
2374
2388
|
def attr_arn(self) -> builtins.str:
|
|
2375
|
-
'''Amazon Resource Name (ARN)
|
|
2389
|
+
'''Amazon Resource Name (ARN) associated with this Malware Protection plan.
|
|
2376
2390
|
|
|
2377
2391
|
:cloudformationAttribute: Arn
|
|
2378
2392
|
'''
|
|
@@ -2390,7 +2404,7 @@ class CfnMalwareProtectionPlan(
|
|
|
2390
2404
|
@builtins.property
|
|
2391
2405
|
@jsii.member(jsii_name="attrMalwareProtectionPlanId")
|
|
2392
2406
|
def attr_malware_protection_plan_id(self) -> builtins.str:
|
|
2393
|
-
'''A unique identifier associated with Malware Protection plan
|
|
2407
|
+
'''A unique identifier associated with Malware Protection plan.
|
|
2394
2408
|
|
|
2395
2409
|
:cloudformationAttribute: MalwareProtectionPlanId
|
|
2396
2410
|
'''
|
|
@@ -2399,7 +2413,7 @@ class CfnMalwareProtectionPlan(
|
|
|
2399
2413
|
@builtins.property
|
|
2400
2414
|
@jsii.member(jsii_name="attrStatus")
|
|
2401
2415
|
def attr_status(self) -> builtins.str:
|
|
2402
|
-
'''Malware Protection plan
|
|
2416
|
+
'''Status of the Malware Protection plan resource.
|
|
2403
2417
|
|
|
2404
2418
|
:cloudformationAttribute: Status
|
|
2405
2419
|
'''
|
|
@@ -2408,7 +2422,7 @@ class CfnMalwareProtectionPlan(
|
|
|
2408
2422
|
@builtins.property
|
|
2409
2423
|
@jsii.member(jsii_name="attrStatusReasons")
|
|
2410
2424
|
def attr_status_reasons(self) -> _IResolvable_da3f097b:
|
|
2411
|
-
'''
|
|
2425
|
+
'''Status details associated with the Malware Protection plan resource status.
|
|
2412
2426
|
|
|
2413
2427
|
:cloudformationAttribute: StatusReasons
|
|
2414
2428
|
'''
|
|
@@ -2430,6 +2444,7 @@ class CfnMalwareProtectionPlan(
|
|
|
2430
2444
|
def protected_resource(
|
|
2431
2445
|
self,
|
|
2432
2446
|
) -> typing.Union[_IResolvable_da3f097b, "CfnMalwareProtectionPlan.CFNProtectedResourceProperty"]:
|
|
2447
|
+
'''Information about the protected resource.'''
|
|
2433
2448
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnMalwareProtectionPlan.CFNProtectedResourceProperty"], jsii.get(self, "protectedResource"))
|
|
2434
2449
|
|
|
2435
2450
|
@protected_resource.setter
|
|
@@ -2445,7 +2460,7 @@ class CfnMalwareProtectionPlan(
|
|
|
2445
2460
|
@builtins.property
|
|
2446
2461
|
@jsii.member(jsii_name="role")
|
|
2447
2462
|
def role(self) -> builtins.str:
|
|
2448
|
-
'''IAM role that includes the permissions required to scan and add tags to the associated protected resource.'''
|
|
2463
|
+
'''IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.'''
|
|
2449
2464
|
return typing.cast(builtins.str, jsii.get(self, "role"))
|
|
2450
2465
|
|
|
2451
2466
|
@role.setter
|
|
@@ -2460,6 +2475,7 @@ class CfnMalwareProtectionPlan(
|
|
|
2460
2475
|
def actions(
|
|
2461
2476
|
self,
|
|
2462
2477
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMalwareProtectionPlan.CFNActionsProperty"]]:
|
|
2478
|
+
'''Specifies the action that is to be applied to the Malware Protection plan resource.'''
|
|
2463
2479
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMalwareProtectionPlan.CFNActionsProperty"]], jsii.get(self, "actions"))
|
|
2464
2480
|
|
|
2465
2481
|
@actions.setter
|
|
@@ -2477,6 +2493,7 @@ class CfnMalwareProtectionPlan(
|
|
|
2477
2493
|
def tags(
|
|
2478
2494
|
self,
|
|
2479
2495
|
) -> typing.Optional[typing.List["CfnMalwareProtectionPlan.TagItemProperty"]]:
|
|
2496
|
+
'''The tags to be added to the created Malware Protection plan resource.'''
|
|
2480
2497
|
return typing.cast(typing.Optional[typing.List["CfnMalwareProtectionPlan.TagItemProperty"]], jsii.get(self, "tags"))
|
|
2481
2498
|
|
|
2482
2499
|
@tags.setter
|
|
@@ -2500,8 +2517,9 @@ class CfnMalwareProtectionPlan(
|
|
|
2500
2517
|
*,
|
|
2501
2518
|
tagging: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMalwareProtectionPlan.CFNTaggingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2502
2519
|
) -> None:
|
|
2503
|
-
'''
|
|
2504
|
-
|
|
2520
|
+
'''Specifies the action that is to be applied to the Malware Protection plan resource.
|
|
2521
|
+
|
|
2522
|
+
:param tagging: Contains information about tagging status of the Malware Protection plan resource.
|
|
2505
2523
|
|
|
2506
2524
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-malwareprotectionplan-cfnactions.html
|
|
2507
2525
|
:exampleMetadata: fixture=_generated
|
|
@@ -2529,7 +2547,8 @@ class CfnMalwareProtectionPlan(
|
|
|
2529
2547
|
def tagging(
|
|
2530
2548
|
self,
|
|
2531
2549
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMalwareProtectionPlan.CFNTaggingProperty"]]:
|
|
2532
|
-
'''
|
|
2550
|
+
'''Contains information about tagging status of the Malware Protection plan resource.
|
|
2551
|
+
|
|
2533
2552
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-malwareprotectionplan-cfnactions.html#cfn-guardduty-malwareprotectionplan-cfnactions-tagging
|
|
2534
2553
|
'''
|
|
2535
2554
|
result = self._values.get("tagging")
|
|
@@ -2557,7 +2576,10 @@ class CfnMalwareProtectionPlan(
|
|
|
2557
2576
|
*,
|
|
2558
2577
|
s3_bucket: typing.Union[_IResolvable_da3f097b, typing.Union["CfnMalwareProtectionPlan.S3BucketProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2559
2578
|
) -> None:
|
|
2560
|
-
'''
|
|
2579
|
+
'''Information about the protected resource.
|
|
2580
|
+
|
|
2581
|
+
Presently, ``S3Bucket`` is the only supported protected resource.
|
|
2582
|
+
|
|
2561
2583
|
:param s3_bucket: Information about the protected S3 bucket resource.
|
|
2562
2584
|
|
|
2563
2585
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-malwareprotectionplan-cfnprotectedresource.html
|
|
@@ -2618,9 +2640,10 @@ class CfnMalwareProtectionPlan(
|
|
|
2618
2640
|
code: typing.Optional[builtins.str] = None,
|
|
2619
2641
|
message: typing.Optional[builtins.str] = None,
|
|
2620
2642
|
) -> None:
|
|
2621
|
-
'''
|
|
2622
|
-
|
|
2623
|
-
:param
|
|
2643
|
+
'''Information about the status code and status details associated with the status of the Malware Protection plan.
|
|
2644
|
+
|
|
2645
|
+
:param code: The status code of the Malware Protection plan. For more information, see `Malware Protection plan resource status <https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection-s3-bucket-status-gdu.html>`_ in the *GuardDuty User Guide* .
|
|
2646
|
+
:param message: Issue message that specifies the reason. For information about potential troubleshooting steps, see `Troubleshooting Malware Protection for S3 status issues <https://docs.aws.amazon.com/guardduty/latest/ug/troubleshoot-s3-malware-protection-status-errors.html>`_ in the *GuardDuty User Guide* .
|
|
2624
2647
|
|
|
2625
2648
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-malwareprotectionplan-cfnstatusreasons.html
|
|
2626
2649
|
:exampleMetadata: fixture=_generated
|
|
@@ -2648,7 +2671,9 @@ class CfnMalwareProtectionPlan(
|
|
|
2648
2671
|
|
|
2649
2672
|
@builtins.property
|
|
2650
2673
|
def code(self) -> typing.Optional[builtins.str]:
|
|
2651
|
-
'''
|
|
2674
|
+
'''The status code of the Malware Protection plan.
|
|
2675
|
+
|
|
2676
|
+
For more information, see `Malware Protection plan resource status <https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection-s3-bucket-status-gdu.html>`_ in the *GuardDuty User Guide* .
|
|
2652
2677
|
|
|
2653
2678
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-malwareprotectionplan-cfnstatusreasons.html#cfn-guardduty-malwareprotectionplan-cfnstatusreasons-code
|
|
2654
2679
|
'''
|
|
@@ -2659,6 +2684,8 @@ class CfnMalwareProtectionPlan(
|
|
|
2659
2684
|
def message(self) -> typing.Optional[builtins.str]:
|
|
2660
2685
|
'''Issue message that specifies the reason.
|
|
2661
2686
|
|
|
2687
|
+
For information about potential troubleshooting steps, see `Troubleshooting Malware Protection for S3 status issues <https://docs.aws.amazon.com/guardduty/latest/ug/troubleshoot-s3-malware-protection-status-errors.html>`_ in the *GuardDuty User Guide* .
|
|
2688
|
+
|
|
2662
2689
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-malwareprotectionplan-cfnstatusreasons.html#cfn-guardduty-malwareprotectionplan-cfnstatusreasons-message
|
|
2663
2690
|
'''
|
|
2664
2691
|
result = self._values.get("message")
|
|
@@ -2682,8 +2709,9 @@ class CfnMalwareProtectionPlan(
|
|
|
2682
2709
|
)
|
|
2683
2710
|
class CFNTaggingProperty:
|
|
2684
2711
|
def __init__(self, *, status: typing.Optional[builtins.str] = None) -> None:
|
|
2685
|
-
'''
|
|
2686
|
-
|
|
2712
|
+
'''Contains information about tagging status of the Malware Protection plan resource.
|
|
2713
|
+
|
|
2714
|
+
:param status: Indicates whether or not you chose GuardDuty to add a predefined tag to the scanned S3 object.
|
|
2687
2715
|
|
|
2688
2716
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-malwareprotectionplan-cfntagging.html
|
|
2689
2717
|
:exampleMetadata: fixture=_generated
|
|
@@ -2707,7 +2735,7 @@ class CfnMalwareProtectionPlan(
|
|
|
2707
2735
|
|
|
2708
2736
|
@builtins.property
|
|
2709
2737
|
def status(self) -> typing.Optional[builtins.str]:
|
|
2710
|
-
'''Indicates whether or not the
|
|
2738
|
+
'''Indicates whether or not you chose GuardDuty to add a predefined tag to the scanned S3 object.
|
|
2711
2739
|
|
|
2712
2740
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-malwareprotectionplan-cfntagging.html#cfn-guardduty-malwareprotectionplan-cfntagging-status
|
|
2713
2741
|
'''
|
|
@@ -2743,7 +2771,7 @@ class CfnMalwareProtectionPlan(
|
|
|
2743
2771
|
'''Information about the protected S3 bucket resource.
|
|
2744
2772
|
|
|
2745
2773
|
:param bucket_name: Name of the S3 bucket.
|
|
2746
|
-
:param object_prefixes: Information about the specified object prefixes.
|
|
2774
|
+
:param object_prefixes: Information about the specified object prefixes. An S3 object will be scanned only if it belongs to any of the specified object prefixes.
|
|
2747
2775
|
|
|
2748
2776
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-malwareprotectionplan-s3bucket.html
|
|
2749
2777
|
:exampleMetadata: fixture=_generated
|
|
@@ -2782,7 +2810,7 @@ class CfnMalwareProtectionPlan(
|
|
|
2782
2810
|
def object_prefixes(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2783
2811
|
'''Information about the specified object prefixes.
|
|
2784
2812
|
|
|
2785
|
-
|
|
2813
|
+
An S3 object will be scanned only if it belongs to any of the specified object prefixes.
|
|
2786
2814
|
|
|
2787
2815
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-malwareprotectionplan-s3bucket.html#cfn-guardduty-malwareprotectionplan-s3bucket-objectprefixes
|
|
2788
2816
|
'''
|
|
@@ -2807,9 +2835,10 @@ class CfnMalwareProtectionPlan(
|
|
|
2807
2835
|
)
|
|
2808
2836
|
class TagItemProperty:
|
|
2809
2837
|
def __init__(self, *, key: builtins.str, value: builtins.str) -> None:
|
|
2810
|
-
'''
|
|
2811
|
-
|
|
2812
|
-
:param
|
|
2838
|
+
'''Contains information about a tag.
|
|
2839
|
+
|
|
2840
|
+
:param key: The tag key.
|
|
2841
|
+
:param value: The tag value.
|
|
2813
2842
|
|
|
2814
2843
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-malwareprotectionplan-tagitem.html
|
|
2815
2844
|
:exampleMetadata: fixture=_generated
|
|
@@ -2836,7 +2865,8 @@ class CfnMalwareProtectionPlan(
|
|
|
2836
2865
|
|
|
2837
2866
|
@builtins.property
|
|
2838
2867
|
def key(self) -> builtins.str:
|
|
2839
|
-
'''
|
|
2868
|
+
'''The tag key.
|
|
2869
|
+
|
|
2840
2870
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-malwareprotectionplan-tagitem.html#cfn-guardduty-malwareprotectionplan-tagitem-key
|
|
2841
2871
|
'''
|
|
2842
2872
|
result = self._values.get("key")
|
|
@@ -2845,7 +2875,8 @@ class CfnMalwareProtectionPlan(
|
|
|
2845
2875
|
|
|
2846
2876
|
@builtins.property
|
|
2847
2877
|
def value(self) -> builtins.str:
|
|
2848
|
-
'''
|
|
2878
|
+
'''The tag value.
|
|
2879
|
+
|
|
2849
2880
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-malwareprotectionplan-tagitem.html#cfn-guardduty-malwareprotectionplan-tagitem-value
|
|
2850
2881
|
'''
|
|
2851
2882
|
result = self._values.get("value")
|
|
@@ -2885,10 +2916,10 @@ class CfnMalwareProtectionPlanProps:
|
|
|
2885
2916
|
) -> None:
|
|
2886
2917
|
'''Properties for defining a ``CfnMalwareProtectionPlan``.
|
|
2887
2918
|
|
|
2888
|
-
:param protected_resource:
|
|
2889
|
-
:param role: IAM role that includes the permissions required to scan and add tags to the associated protected resource.
|
|
2890
|
-
:param actions:
|
|
2891
|
-
:param tags:
|
|
2919
|
+
:param protected_resource: Information about the protected resource. Presently, ``S3Bucket`` is the only supported protected resource.
|
|
2920
|
+
:param role: IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.
|
|
2921
|
+
:param actions: Specifies the action that is to be applied to the Malware Protection plan resource.
|
|
2922
|
+
:param tags: The tags to be added to the created Malware Protection plan resource. Each tag consists of a key and an optional value, both of which you need to specify.
|
|
2892
2923
|
|
|
2893
2924
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html
|
|
2894
2925
|
:exampleMetadata: fixture=_generated
|
|
@@ -2939,7 +2970,10 @@ class CfnMalwareProtectionPlanProps:
|
|
|
2939
2970
|
def protected_resource(
|
|
2940
2971
|
self,
|
|
2941
2972
|
) -> typing.Union[_IResolvable_da3f097b, CfnMalwareProtectionPlan.CFNProtectedResourceProperty]:
|
|
2942
|
-
'''
|
|
2973
|
+
'''Information about the protected resource.
|
|
2974
|
+
|
|
2975
|
+
Presently, ``S3Bucket`` is the only supported protected resource.
|
|
2976
|
+
|
|
2943
2977
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html#cfn-guardduty-malwareprotectionplan-protectedresource
|
|
2944
2978
|
'''
|
|
2945
2979
|
result = self._values.get("protected_resource")
|
|
@@ -2948,7 +2982,7 @@ class CfnMalwareProtectionPlanProps:
|
|
|
2948
2982
|
|
|
2949
2983
|
@builtins.property
|
|
2950
2984
|
def role(self) -> builtins.str:
|
|
2951
|
-
'''IAM role that includes the permissions required to scan and add tags to the associated protected resource.
|
|
2985
|
+
'''IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.
|
|
2952
2986
|
|
|
2953
2987
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html#cfn-guardduty-malwareprotectionplan-role
|
|
2954
2988
|
'''
|
|
@@ -2960,7 +2994,8 @@ class CfnMalwareProtectionPlanProps:
|
|
|
2960
2994
|
def actions(
|
|
2961
2995
|
self,
|
|
2962
2996
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnMalwareProtectionPlan.CFNActionsProperty]]:
|
|
2963
|
-
'''
|
|
2997
|
+
'''Specifies the action that is to be applied to the Malware Protection plan resource.
|
|
2998
|
+
|
|
2964
2999
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html#cfn-guardduty-malwareprotectionplan-actions
|
|
2965
3000
|
'''
|
|
2966
3001
|
result = self._values.get("actions")
|
|
@@ -2970,7 +3005,10 @@ class CfnMalwareProtectionPlanProps:
|
|
|
2970
3005
|
def tags(
|
|
2971
3006
|
self,
|
|
2972
3007
|
) -> typing.Optional[typing.List[CfnMalwareProtectionPlan.TagItemProperty]]:
|
|
2973
|
-
'''
|
|
3008
|
+
'''The tags to be added to the created Malware Protection plan resource.
|
|
3009
|
+
|
|
3010
|
+
Each tag consists of a key and an optional value, both of which you need to specify.
|
|
3011
|
+
|
|
2974
3012
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html#cfn-guardduty-malwareprotectionplan-tags
|
|
2975
3013
|
'''
|
|
2976
3014
|
result = self._values.get("tags")
|
|
@@ -3031,7 +3069,7 @@ class CfnMaster(
|
|
|
3031
3069
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3032
3070
|
:param detector_id: The unique ID of the detector of the GuardDuty member account.
|
|
3033
3071
|
:param master_id: The AWS account ID of the account designated as the GuardDuty administrator account.
|
|
3034
|
-
:param invitation_id: The ID of the invitation that is sent to the account designated as a member account. You can find the invitation ID by
|
|
3072
|
+
:param invitation_id: The ID of the invitation that is sent to the account designated as a member account. You can find the invitation ID by running the `ListInvitations <https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListInvitations.html>`_ in the *GuardDuty API Reference* .
|
|
3035
3073
|
'''
|
|
3036
3074
|
if __debug__:
|
|
3037
3075
|
type_hints = typing.get_type_hints(_typecheckingstub__d5d03095d03ec71c014c1cfc8e78531e9220fec576d321a24de280815b0d72c0)
|
|
@@ -3139,7 +3177,7 @@ class CfnMasterProps:
|
|
|
3139
3177
|
|
|
3140
3178
|
:param detector_id: The unique ID of the detector of the GuardDuty member account.
|
|
3141
3179
|
:param master_id: The AWS account ID of the account designated as the GuardDuty administrator account.
|
|
3142
|
-
:param invitation_id: The ID of the invitation that is sent to the account designated as a member account. You can find the invitation ID by
|
|
3180
|
+
:param invitation_id: The ID of the invitation that is sent to the account designated as a member account. You can find the invitation ID by running the `ListInvitations <https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListInvitations.html>`_ in the *GuardDuty API Reference* .
|
|
3143
3181
|
|
|
3144
3182
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html
|
|
3145
3183
|
:exampleMetadata: fixture=_generated
|
|
@@ -3194,7 +3232,7 @@ class CfnMasterProps:
|
|
|
3194
3232
|
def invitation_id(self) -> typing.Optional[builtins.str]:
|
|
3195
3233
|
'''The ID of the invitation that is sent to the account designated as a member account.
|
|
3196
3234
|
|
|
3197
|
-
You can find the invitation ID by
|
|
3235
|
+
You can find the invitation ID by running the `ListInvitations <https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListInvitations.html>`_ in the *GuardDuty API Reference* .
|
|
3198
3236
|
|
|
3199
3237
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html#cfn-guardduty-master-invitationid
|
|
3200
3238
|
'''
|
|
@@ -3554,7 +3592,7 @@ class CfnThreatIntelSet(
|
|
|
3554
3592
|
):
|
|
3555
3593
|
'''The ``AWS::GuardDuty::ThreatIntelSet`` resource specifies a new ``ThreatIntelSet`` .
|
|
3556
3594
|
|
|
3557
|
-
A ``ThreatIntelSet`` consists of known malicious IP addresses. GuardDuty generates findings based on the ``ThreatIntelSet``
|
|
3595
|
+
A ``ThreatIntelSet`` consists of known malicious IP addresses. GuardDuty generates findings based on the ``ThreatIntelSet`` after it is activated.
|
|
3558
3596
|
|
|
3559
3597
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-threatintelset.html
|
|
3560
3598
|
:cloudformationResource: AWS::GuardDuty::ThreatIntelSet
|
|
@@ -3651,7 +3689,8 @@ class CfnThreatIntelSet(
|
|
|
3651
3689
|
@builtins.property
|
|
3652
3690
|
@jsii.member(jsii_name="attrId")
|
|
3653
3691
|
def attr_id(self) -> builtins.str:
|
|
3654
|
-
'''
|
|
3692
|
+
'''The unique ID of the ``threatIntelSet`` .
|
|
3693
|
+
|
|
3655
3694
|
:cloudformationAttribute: Id
|
|
3656
3695
|
'''
|
|
3657
3696
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
@@ -4059,11 +4098,11 @@ def _typecheckingstub__067e85819bdb865e6337a26c378c0472fa2b9e72f47dfccf0bca60992
|
|
|
4059
4098
|
scope: _constructs_77d1e7e8.Construct,
|
|
4060
4099
|
id: builtins.str,
|
|
4061
4100
|
*,
|
|
4101
|
+
detector_id: builtins.str,
|
|
4062
4102
|
finding_criteria: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.FindingCriteriaProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
4103
|
+
name: builtins.str,
|
|
4063
4104
|
action: typing.Optional[builtins.str] = None,
|
|
4064
4105
|
description: typing.Optional[builtins.str] = None,
|
|
4065
|
-
detector_id: typing.Optional[builtins.str] = None,
|
|
4066
|
-
name: typing.Optional[builtins.str] = None,
|
|
4067
4106
|
rank: typing.Optional[jsii.Number] = None,
|
|
4068
4107
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4069
4108
|
) -> None:
|
|
@@ -4082,31 +4121,31 @@ def _typecheckingstub__d00911f9ef1cc2770fa371850c170d11fa5dae6c49195efa6eedf0ecc
|
|
|
4082
4121
|
"""Type checking stubs"""
|
|
4083
4122
|
pass
|
|
4084
4123
|
|
|
4085
|
-
def
|
|
4086
|
-
value:
|
|
4124
|
+
def _typecheckingstub__2a940342f0dba5155f5628025cb840051cc96e969cc988dd60f36269d57e2ccd(
|
|
4125
|
+
value: builtins.str,
|
|
4087
4126
|
) -> None:
|
|
4088
4127
|
"""Type checking stubs"""
|
|
4089
4128
|
pass
|
|
4090
4129
|
|
|
4091
|
-
def
|
|
4092
|
-
value: typing.
|
|
4130
|
+
def _typecheckingstub__8fbed2e2e1c4e36b77bef70f5730cf33088965585e081220ea8782f1bc6ec58e(
|
|
4131
|
+
value: typing.Union[_IResolvable_da3f097b, CfnFilter.FindingCriteriaProperty],
|
|
4093
4132
|
) -> None:
|
|
4094
4133
|
"""Type checking stubs"""
|
|
4095
4134
|
pass
|
|
4096
4135
|
|
|
4097
|
-
def
|
|
4098
|
-
value:
|
|
4136
|
+
def _typecheckingstub__a919e4dbcd673724e15009ab41b3a97b27ecfabae06ad4b152e2793162be4ddc(
|
|
4137
|
+
value: builtins.str,
|
|
4099
4138
|
) -> None:
|
|
4100
4139
|
"""Type checking stubs"""
|
|
4101
4140
|
pass
|
|
4102
4141
|
|
|
4103
|
-
def
|
|
4142
|
+
def _typecheckingstub__48a346a5915bdb2f2af2271886d8088c817fdc4bbf7e9f976a58166a6d451959(
|
|
4104
4143
|
value: typing.Optional[builtins.str],
|
|
4105
4144
|
) -> None:
|
|
4106
4145
|
"""Type checking stubs"""
|
|
4107
4146
|
pass
|
|
4108
4147
|
|
|
4109
|
-
def
|
|
4148
|
+
def _typecheckingstub__d76609fcbed2d16e8e3d770136dd8f1d34ef69ecf949487325d62e1df3feba8f(
|
|
4110
4149
|
value: typing.Optional[builtins.str],
|
|
4111
4150
|
) -> None:
|
|
4112
4151
|
"""Type checking stubs"""
|
|
@@ -4152,11 +4191,11 @@ def _typecheckingstub__4f4804a72c05070a8a25405f065b49dd3914286fabb20ae070705b9bd
|
|
|
4152
4191
|
|
|
4153
4192
|
def _typecheckingstub__6f44ad794e7dbae18bc70d670d096dac3d980dc5e20e5c9703013ddb79dd0e03(
|
|
4154
4193
|
*,
|
|
4194
|
+
detector_id: builtins.str,
|
|
4155
4195
|
finding_criteria: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFilter.FindingCriteriaProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
4196
|
+
name: builtins.str,
|
|
4156
4197
|
action: typing.Optional[builtins.str] = None,
|
|
4157
4198
|
description: typing.Optional[builtins.str] = None,
|
|
4158
|
-
detector_id: typing.Optional[builtins.str] = None,
|
|
4159
|
-
name: typing.Optional[builtins.str] = None,
|
|
4160
4199
|
rank: typing.Optional[jsii.Number] = None,
|
|
4161
4200
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4162
4201
|
) -> None:
|