
com.pulumi.aws.cloudwatch.LogAccountPolicyArgs 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.cloudwatch;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class LogAccountPolicyArgs extends com.pulumi.resources.ResourceArgs {
public static final LogAccountPolicyArgs Empty = new LogAccountPolicyArgs();
/**
* Text of the account policy. Refer to the [AWS docs](https://docs.aws.amazon.com/cli/latest/reference/logs/put-account-policy.html) for more information.
*
*/
@Import(name="policyDocument", required=true)
private Output policyDocument;
/**
* @return Text of the account policy. Refer to the [AWS docs](https://docs.aws.amazon.com/cli/latest/reference/logs/put-account-policy.html) for more information.
*
*/
public Output policyDocument() {
return this.policyDocument;
}
/**
* Name of the account policy.
*
*/
@Import(name="policyName", required=true)
private Output policyName;
/**
* @return Name of the account policy.
*
*/
public Output policyName() {
return this.policyName;
}
/**
* Type of account policy. One of `DATA_PROTECTION_POLICY`, `SUBSCRIPTION_FILTER_POLICY`, `FIELD_INDEX_POLICY` or `TRANSFORMER_POLICY`. You can have one account policy per type in an account.
*
*/
@Import(name="policyType", required=true)
private Output policyType;
/**
* @return Type of account policy. One of `DATA_PROTECTION_POLICY`, `SUBSCRIPTION_FILTER_POLICY`, `FIELD_INDEX_POLICY` or `TRANSFORMER_POLICY`. You can have one account policy per type in an account.
*
*/
public Output policyType() {
return this.policyType;
}
/**
* Currently defaults to and only accepts the value: `ALL`.
*
*/
@Import(name="scope")
private @Nullable Output scope;
/**
* @return Currently defaults to and only accepts the value: `ALL`.
*
*/
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy