We recommend new projects start with resources from the AWS provider.
aws-native.guardduty.getDetector
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::GuardDuty::Detector
Using getDetector
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDetector(args: GetDetectorArgs, opts?: InvokeOptions): Promise<GetDetectorResult>
function getDetectorOutput(args: GetDetectorOutputArgs, opts?: InvokeOptions): Output<GetDetectorResult>
def get_detector(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDetectorResult
def get_detector_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDetectorResult]
func LookupDetector(ctx *Context, args *LookupDetectorArgs, opts ...InvokeOption) (*LookupDetectorResult, error)
func LookupDetectorOutput(ctx *Context, args *LookupDetectorOutputArgs, opts ...InvokeOption) LookupDetectorResultOutput
> Note: This function is named LookupDetector
in the Go SDK.
public static class GetDetector
{
public static Task<GetDetectorResult> InvokeAsync(GetDetectorArgs args, InvokeOptions? opts = null)
public static Output<GetDetectorResult> Invoke(GetDetectorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDetectorResult> getDetector(GetDetectorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:guardduty:getDetector
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The unique ID of the detector.
- Id string
- The unique ID of the detector.
- id String
- The unique ID of the detector.
- id string
- The unique ID of the detector.
- id str
- The unique ID of the detector.
- id String
- The unique ID of the detector.
getDetector Result
The following output properties are available:
- Data
Sources Pulumi.Aws Native. Guard Duty. Outputs. Detector Cfn Data Source Configurations - Describes which data sources will be enabled for the detector.
- Enable bool
- Specifies whether the detector is to be enabled on creation.
- Features
List<Pulumi.
Aws Native. Guard Duty. Outputs. 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.
- Id string
- The unique ID of the detector.
- List<Pulumi.
Aws Native. Outputs. 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 .
- Data
Sources DetectorCfn Data Source Configurations - Describes which data sources will be enabled for the detector.
- Enable bool
- Specifies whether the detector is to be enabled on creation.
- 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.
- Id string
- The unique ID of the detector.
- 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 .
- data
Sources DetectorCfn Data Source Configurations - Describes which data sources will be enabled for the detector.
- enable Boolean
- Specifies whether the detector is to be enabled on creation.
- 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.
- id String
- The unique ID of the detector.
- 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 .
- data
Sources DetectorCfn Data Source Configurations - Describes which data sources will be enabled for the detector.
- enable boolean
- Specifies whether the detector is to be enabled on creation.
- 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.
- id string
- The unique ID of the detector.
- 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 .
- data_
sources DetectorCfn Data Source Configurations - Describes which data sources will be enabled for the detector.
- enable bool
- Specifies whether the detector is to be enabled on creation.
- features
Sequence[Detector
Cfn Feature Configuration] - A list of features that will be configured for the detector.
- finding_
publishing_ strfrequency - Specifies how frequently updated findings are exported.
- id str
- The unique ID of the detector.
- Sequence[root_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 .
- data
Sources Property Map - Describes which data sources will be enabled for the detector.
- enable Boolean
- Specifies whether the detector is to be enabled on creation.
- 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.
- id String
- The unique ID of the detector.
- 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 .
Supporting Types
DetectorCfnDataSourceConfigurations
- 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
DetectorCfnFeatureConfiguration
- 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
DetectorCfnKubernetesAuditLogsConfiguration
- 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
- 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
- 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
- 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
- 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.