Class LogAccountPolicyState


  • public final class LogAccountPolicyState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • policyDocument

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> policyDocument()
        Returns:
        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.
      • policyName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> policyName()
        Returns:
        Name of the account policy.
      • policyType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> policyType()
        Returns:
        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.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • scope

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> scope()
        Returns:
        Currently defaults to and only accepts the value: `ALL`.
      • selectionCriteria

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> selectionCriteria()
        Returns:
        Criteria for applying a subscription filter policy to a selection of log groups. The only allowable criteria selector is `LogGroupName NOT IN []`.