CfnDetectorMixinProps

class aws_cdk.mixins_preview.aws_guardduty.mixins.CfnDetectorMixinProps(*, data_sources=None, enable=None, features=None, finding_publishing_frequency=None, tags=None)

Bases: object

Properties for CfnDetectorPropsMixin.

Parameters:
  • data_sources (Union[IResolvable, CFNDataSourceConfigurationsProperty, Dict[str, Any], None]) – Describes which data sources will be enabled for the detector.

  • enable (Union[bool, IResolvable, None]) – Specifies whether the detector is to be enabled on creation.

  • features (Union[IResolvable, Sequence[Union[IResolvable, CFNFeatureConfigurationProperty, Dict[str, Any]]], None]) – A list of features that will be configured for the detector.

  • finding_publishing_frequency (Optional[str]) – Specifies how frequently updated findings are exported.

  • tags (Optional[Sequence[Union[TagItemProperty, Dict[str, Any]]]]) – Specifies tags added to a new detector resource. Each tag consists of a key and an optional value, both of which you define. Currently, support is available only for creating and deleting a tag. No support exists for updating the tags. For more information, see Tag .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_guardduty import mixins as guardduty_mixins

cfn_detector_mixin_props = guardduty_mixins.CfnDetectorMixinProps(
    data_sources=guardduty_mixins.CfnDetectorPropsMixin.CFNDataSourceConfigurationsProperty(
        kubernetes=guardduty_mixins.CfnDetectorPropsMixin.CFNKubernetesConfigurationProperty(
            audit_logs=guardduty_mixins.CfnDetectorPropsMixin.CFNKubernetesAuditLogsConfigurationProperty(
                enable=False
            )
        ),
        malware_protection=guardduty_mixins.CfnDetectorPropsMixin.CFNMalwareProtectionConfigurationProperty(
            scan_ec2_instance_with_findings=guardduty_mixins.CfnDetectorPropsMixin.CFNScanEc2InstanceWithFindingsConfigurationProperty(
                ebs_volumes=False
            )
        ),
        s3_logs=guardduty_mixins.CfnDetectorPropsMixin.CFNS3LogsConfigurationProperty(
            enable=False
        )
    ),
    enable=False,
    features=[guardduty_mixins.CfnDetectorPropsMixin.CFNFeatureConfigurationProperty(
        additional_configuration=[guardduty_mixins.CfnDetectorPropsMixin.CFNFeatureAdditionalConfigurationProperty(
            name="name",
            status="status"
        )],
        name="name",
        status="status"
    )],
    finding_publishing_frequency="findingPublishingFrequency",
    tags=[guardduty_mixins.CfnDetectorPropsMixin.TagItemProperty(
        key="key",
        value="value"
    )]
)

Attributes

data_sources

Describes which data sources will be enabled for the detector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html#cfn-guardduty-detector-datasources

enable

Specifies whether the detector is to be enabled on creation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html#cfn-guardduty-detector-enable

features

A list of features that will be configured for the detector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html#cfn-guardduty-detector-features

finding_publishing_frequency

Specifies how frequently updated findings are exported.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html#cfn-guardduty-detector-findingpublishingfrequency

tags

Specifies tags added to a new detector resource.

Each tag consists of a key and an optional value, both of which you define.

Currently, support is available only for creating and deleting a tag. No support exists for updating the tags.

For more information, see Tag .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html#cfn-guardduty-detector-tags