We recommend new projects start with resources from the AWS provider.
aws-native.guardduty.Detector
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::GuardDuty::Detector
Create Detector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Detector(name: string, args: DetectorArgs, opts?: CustomResourceOptions);
@overload
def Detector(resource_name: str,
args: DetectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Detector(resource_name: str,
opts: Optional[ResourceOptions] = None,
enable: Optional[bool] = None,
data_sources: Optional[DetectorCfnDataSourceConfigurationsArgs] = None,
features: Optional[Sequence[DetectorCfnFeatureConfigurationArgs]] = None,
finding_publishing_frequency: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewDetector(ctx *Context, name string, args DetectorArgs, opts ...ResourceOption) (*Detector, error)
public Detector(string name, DetectorArgs args, CustomResourceOptions? opts = null)
public Detector(String name, DetectorArgs args)
public Detector(String name, DetectorArgs args, CustomResourceOptions options)
type: aws-native:guardduty:Detector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DetectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DetectorArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DetectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DetectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DetectorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Detector Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Detector resource accepts the following input properties:
- Enable bool
- Specifies whether the detector is to be enabled on creation.
- Data
Sources Pulumi.Aws Native. Guard Duty. Inputs. Detector Cfn Data Source Configurations - Describes which data sources will be enabled for the detector.
- Features
List<Pulumi.
Aws Native. Guard Duty. Inputs. Detector Cfn Feature Configuration> - A list of features that will be configured for the detector.
- Finding
Publishing stringFrequency - Specifies how frequently updated findings are exported.
- List<Pulumi.
Aws Native. Inputs. Tag> 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 .
- Enable bool
- Specifies whether the detector is to be enabled on creation.
- Data
Sources DetectorCfn Data Source Configurations Args - Describes which data sources will be enabled for the detector.
- Features
[]Detector
Cfn Feature Configuration Args - A list of features that will be configured for the detector.
- Finding
Publishing stringFrequency - Specifies how frequently updated findings are exported.
- Tag
Args 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 .
- enable Boolean
- Specifies whether the detector is to be enabled on creation.
- data
Sources DetectorCfn Data Source Configurations - Describes which data sources will be enabled for the detector.
- features
List<Detector
Cfn Feature Configuration> - A list of features that will be configured for the detector.
- finding
Publishing StringFrequency - Specifies how frequently updated findings are exported.
- List<Tag>
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 .
- enable boolean
- Specifies whether the detector is to be enabled on creation.
- data
Sources DetectorCfn Data Source Configurations - Describes which data sources will be enabled for the detector.
- features
Detector
Cfn Feature Configuration[] - A list of features that will be configured for the detector.
- finding
Publishing stringFrequency - Specifies how frequently updated findings are exported.
- Tag[]
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 .
- enable bool
- Specifies whether the detector is to be enabled on creation.
- data_
sources DetectorCfn Data Source Configurations Args - Describes which data sources will be enabled for the detector.
- features
Sequence[Detector
Cfn Feature Configuration Args] - A list of features that will be configured for the detector.
- finding_
publishing_ strfrequency - Specifies how frequently updated findings are exported.
- Sequence[Tag
Args] 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 .
- enable Boolean
- Specifies whether the detector is to be enabled on creation.
- data
Sources Property Map - Describes which data sources will be enabled for the detector.
- features List<Property Map>
- A list of features that will be configured for the detector.
- finding
Publishing StringFrequency - Specifies how frequently updated findings are exported.
- List<Property Map>
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 .
Outputs
All input properties are implicitly available as output properties. Additionally, the Detector resource produces the following output properties:
Supporting Types
DetectorCfnDataSourceConfigurations, DetectorCfnDataSourceConfigurationsArgs
- Kubernetes
Pulumi.
Aws Native. Guard Duty. Inputs. Detector Cfn Kubernetes Configuration - Describes which Kubernetes data sources are enabled for a detector.
- Malware
Protection Pulumi.Aws Native. Guard Duty. Inputs. Detector Cfn Malware Protection Configuration - Describes whether Malware Protection will be enabled as a data source.
- S3Logs
Pulumi.
Aws Native. Guard Duty. Inputs. Detector Cfns3Logs Configuration - Describes whether S3 data event logs are enabled as a data source.
- Kubernetes
Detector
Cfn Kubernetes Configuration - Describes which Kubernetes data sources are enabled for a detector.
- Malware
Protection DetectorCfn Malware Protection Configuration - Describes whether Malware Protection will be enabled as a data source.
- S3Logs
Detector
Cfns3Logs Configuration - Describes whether S3 data event logs are enabled as a data source.
- kubernetes
Detector
Cfn Kubernetes Configuration - Describes which Kubernetes data sources are enabled for a detector.
- malware
Protection DetectorCfn Malware Protection Configuration - Describes whether Malware Protection will be enabled as a data source.
- s3Logs
Detector
Cfns3Logs Configuration - Describes whether S3 data event logs are enabled as a data source.
- kubernetes
Detector
Cfn Kubernetes Configuration - Describes which Kubernetes data sources are enabled for a detector.
- malware
Protection DetectorCfn Malware Protection Configuration - Describes whether Malware Protection will be enabled as a data source.
- s3Logs
Detector
Cfns3Logs Configuration - Describes whether S3 data event logs are enabled as a data source.
- kubernetes
Detector
Cfn Kubernetes Configuration - Describes which Kubernetes data sources are enabled for a detector.
- malware_
protection DetectorCfn Malware Protection Configuration - Describes whether Malware Protection will be enabled as a data source.
- s3_
logs DetectorCfns3Logs Configuration - Describes whether S3 data event logs are enabled as a data source.
- kubernetes Property Map
- Describes which Kubernetes data sources are enabled for a detector.
- malware
Protection Property Map - Describes whether Malware Protection will be enabled as a data source.
- s3Logs Property Map
- Describes whether S3 data event logs are enabled as a data source.
DetectorCfnFeatureAdditionalConfiguration, DetectorCfnFeatureAdditionalConfigurationArgs
DetectorCfnFeatureConfiguration, DetectorCfnFeatureConfigurationArgs
- Name string
- Name of the feature. For a list of allowed values, see DetectorFeatureConfiguration in the GuardDuty API Reference .
- Status
Pulumi.
Aws Native. Guard Duty. Detector Cfn Feature Configuration Status - Status of the feature configuration.
- Additional
Configuration List<Pulumi.Aws Native. Guard Duty. Inputs. Detector Cfn Feature Additional Configuration> - Information about the additional configuration of a feature in your account.
- Name string
- Name of the feature. For a list of allowed values, see DetectorFeatureConfiguration in the GuardDuty API Reference .
- Status
Detector
Cfn Feature Configuration Status - Status of the feature configuration.
- Additional
Configuration []DetectorCfn Feature Additional Configuration - Information about the additional configuration of a feature in your account.
- name String
- Name of the feature. For a list of allowed values, see DetectorFeatureConfiguration in the GuardDuty API Reference .
- status
Detector
Cfn Feature Configuration Status - Status of the feature configuration.
- additional
Configuration List<DetectorCfn Feature Additional Configuration> - Information about the additional configuration of a feature in your account.
- name string
- Name of the feature. For a list of allowed values, see DetectorFeatureConfiguration in the GuardDuty API Reference .
- status
Detector
Cfn Feature Configuration Status - Status of the feature configuration.
- additional
Configuration DetectorCfn Feature Additional Configuration[] - Information about the additional configuration of a feature in your account.
- name str
- Name of the feature. For a list of allowed values, see DetectorFeatureConfiguration in the GuardDuty API Reference .
- status
Detector
Cfn Feature Configuration Status - Status of the feature configuration.
- additional_
configuration Sequence[DetectorCfn Feature Additional Configuration] - Information about the additional configuration of a feature in your account.
- name String
- Name of the feature. For a list of allowed values, see DetectorFeatureConfiguration in the GuardDuty API Reference .
- status "ENABLED" | "DISABLED"
- Status of the feature configuration.
- additional
Configuration List<Property Map> - Information about the additional configuration of a feature in your account.
DetectorCfnFeatureConfigurationStatus, DetectorCfnFeatureConfigurationStatusArgs
- Enabled
- ENABLED
- Disabled
- DISABLED
- Detector
Cfn Feature Configuration Status Enabled - ENABLED
- Detector
Cfn Feature Configuration Status Disabled - DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- ENABLED
- ENABLED
- DISABLED
- DISABLED
- "ENABLED"
- ENABLED
- "DISABLED"
- DISABLED
DetectorCfnKubernetesAuditLogsConfiguration, DetectorCfnKubernetesAuditLogsConfigurationArgs
- Enable bool
- Describes whether Kubernetes audit logs are enabled as a data source for the detector.
- Enable bool
- Describes whether Kubernetes audit logs are enabled as a data source for the detector.
- enable Boolean
- Describes whether Kubernetes audit logs are enabled as a data source for the detector.
- enable boolean
- Describes whether Kubernetes audit logs are enabled as a data source for the detector.
- enable bool
- Describes whether Kubernetes audit logs are enabled as a data source for the detector.
- enable Boolean
- Describes whether Kubernetes audit logs are enabled as a data source for the detector.
DetectorCfnKubernetesConfiguration, DetectorCfnKubernetesConfigurationArgs
- Audit
Logs Pulumi.Aws Native. Guard Duty. Inputs. Detector Cfn Kubernetes Audit Logs Configuration - Describes whether Kubernetes audit logs are enabled as a data source for the detector.
- Audit
Logs DetectorCfn Kubernetes Audit Logs Configuration - Describes whether Kubernetes audit logs are enabled as a data source for the detector.
- audit
Logs DetectorCfn Kubernetes Audit Logs Configuration - Describes whether Kubernetes audit logs are enabled as a data source for the detector.
- audit
Logs DetectorCfn Kubernetes Audit Logs Configuration - Describes whether Kubernetes audit logs are enabled as a data source for the detector.
- audit_
logs DetectorCfn Kubernetes Audit Logs Configuration - Describes whether Kubernetes audit logs are enabled as a data source for the detector.
- audit
Logs Property Map - Describes whether Kubernetes audit logs are enabled as a data source for the detector.
DetectorCfnMalwareProtectionConfiguration, DetectorCfnMalwareProtectionConfigurationArgs
- Scan
Ec2Instance Pulumi.With Findings Aws Native. Guard Duty. Inputs. Detector Cfn Scan Ec2Instance With Findings Configuration - Describes the configuration of Malware Protection for EC2 instances with findings.
- Scan
Ec2Instance DetectorWith Findings Cfn Scan Ec2Instance With Findings Configuration - Describes the configuration of Malware Protection for EC2 instances with findings.
- scan
Ec2Instance DetectorWith Findings Cfn Scan Ec2Instance With Findings Configuration - Describes the configuration of Malware Protection for EC2 instances with findings.
- scan
Ec2Instance DetectorWith Findings Cfn Scan Ec2Instance With Findings Configuration - Describes the configuration of Malware Protection for EC2 instances with findings.
- scan_
ec2_ Detectorinstance_ with_ findings Cfn Scan Ec2Instance With Findings Configuration - Describes the configuration of Malware Protection for EC2 instances with findings.
- scan
Ec2Instance Property MapWith Findings - Describes the configuration of Malware Protection for EC2 instances with findings.
DetectorCfnScanEc2InstanceWithFindingsConfiguration, DetectorCfnScanEc2InstanceWithFindingsConfigurationArgs
- Ebs
Volumes bool - Describes the configuration for scanning EBS volumes as data source.
- Ebs
Volumes bool - Describes the configuration for scanning EBS volumes as data source.
- ebs
Volumes Boolean - Describes the configuration for scanning EBS volumes as data source.
- ebs
Volumes boolean - Describes the configuration for scanning EBS volumes as data source.
- ebs_
volumes bool - Describes the configuration for scanning EBS volumes as data source.
- ebs
Volumes Boolean - Describes the configuration for scanning EBS volumes as data source.
DetectorCfns3LogsConfiguration, DetectorCfns3LogsConfigurationArgs
- Enable bool
- The status of S3 data event logs as a data source.
- Enable bool
- The status of S3 data event logs as a data source.
- enable Boolean
- The status of S3 data event logs as a data source.
- enable boolean
- The status of S3 data event logs as a data source.
- enable bool
- The status of S3 data event logs as a data source.
- enable Boolean
- The status of S3 data event logs as a data source.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.