com.pulumi.aws.guardduty.outputs.OrganizationConfigurationDatasourcesMalwareProtection 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.outputs;
import com.pulumi.aws.guardduty.outputs.OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindings;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
@CustomType
public final class OrganizationConfigurationDatasourcesMalwareProtection {
/**
* @return Configure whether [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) for EC2 instances with findings should be auto-enabled for new members joining the organization.
* See Scan EC2 instance with findings below for more details.
*
*/
private OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindings scanEc2InstanceWithFindings;
private OrganizationConfigurationDatasourcesMalwareProtection() {}
/**
* @return Configure whether [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) for EC2 instances with findings should be auto-enabled for new members joining the organization.
* See Scan EC2 instance with findings below for more details.
*
*/
public OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindings scanEc2InstanceWithFindings() {
return this.scanEc2InstanceWithFindings;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OrganizationConfigurationDatasourcesMalwareProtection defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindings scanEc2InstanceWithFindings;
public Builder() {}
public Builder(OrganizationConfigurationDatasourcesMalwareProtection defaults) {
Objects.requireNonNull(defaults);
this.scanEc2InstanceWithFindings = defaults.scanEc2InstanceWithFindings;
}
@CustomType.Setter
public Builder scanEc2InstanceWithFindings(OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindings scanEc2InstanceWithFindings) {
if (scanEc2InstanceWithFindings == null) {
throw new MissingRequiredPropertyException("OrganizationConfigurationDatasourcesMalwareProtection", "scanEc2InstanceWithFindings");
}
this.scanEc2InstanceWithFindings = scanEc2InstanceWithFindings;
return this;
}
public OrganizationConfigurationDatasourcesMalwareProtection build() {
final var _resultValue = new OrganizationConfigurationDatasourcesMalwareProtection();
_resultValue.scanEc2InstanceWithFindings = scanEc2InstanceWithFindings;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy