com.pulumi.aws.guardduty.inputs.DetectorDatasourcesKubernetesAuditLogsArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.guardduty.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.util.Objects;
public final class DetectorDatasourcesKubernetesAuditLogsArgs extends com.pulumi.resources.ResourceArgs {
public static final DetectorDatasourcesKubernetesAuditLogsArgs Empty = new DetectorDatasourcesKubernetesAuditLogsArgs();
/**
* If true, enables Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
* Defaults to `true`.
*
*/
@Import(name="enable", required=true)
private Output enable;
/**
* @return If true, enables Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
* Defaults to `true`.
*
*/
public Output enable() {
return this.enable;
}
private DetectorDatasourcesKubernetesAuditLogsArgs() {}
private DetectorDatasourcesKubernetesAuditLogsArgs(DetectorDatasourcesKubernetesAuditLogsArgs $) {
this.enable = $.enable;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DetectorDatasourcesKubernetesAuditLogsArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private DetectorDatasourcesKubernetesAuditLogsArgs $;
public Builder() {
$ = new DetectorDatasourcesKubernetesAuditLogsArgs();
}
public Builder(DetectorDatasourcesKubernetesAuditLogsArgs defaults) {
$ = new DetectorDatasourcesKubernetesAuditLogsArgs(Objects.requireNonNull(defaults));
}
/**
* @param enable If true, enables Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
* Defaults to `true`.
*
* @return builder
*
*/
public Builder enable(Output enable) {
$.enable = enable;
return this;
}
/**
* @param enable If true, enables Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
* Defaults to `true`.
*
* @return builder
*
*/
public Builder enable(Boolean enable) {
return enable(Output.of(enable));
}
public DetectorDatasourcesKubernetesAuditLogsArgs build() {
if ($.enable == null) {
throw new MissingRequiredPropertyException("DetectorDatasourcesKubernetesAuditLogsArgs", "enable");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy