com.pulumi.aws.guardduty.inputs.OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs 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 OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs extends com.pulumi.resources.ResourceArgs {
public static final OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs Empty = new OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs();
/**
* 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 OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs() {}
private OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs(OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs $) {
this.enable = $.enable;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs $;
public Builder() {
$ = new OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs();
}
public Builder(OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs defaults) {
$ = new OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs(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 OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs build() {
if ($.enable == null) {
throw new MissingRequiredPropertyException("OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs", "enable");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy