Class LogDataProtectionPolicyArgs.Builder

    • Method Detail

      • logGroupName

        public LogDataProtectionPolicyArgs.Builder logGroupName​(com.pulumi.core.Output<java.lang.String> logGroupName)
        Parameters:
        logGroupName - The name of the log group under which the log stream is to be created.
        Returns:
        builder
      • logGroupName

        public LogDataProtectionPolicyArgs.Builder logGroupName​(java.lang.String logGroupName)
        Parameters:
        logGroupName - The name of the log group under which the log stream is to be created.
        Returns:
        builder
      • policyDocument

        public LogDataProtectionPolicyArgs.Builder policyDocument​(com.pulumi.core.Output<java.lang.String> policyDocument)
        Parameters:
        policyDocument - Specifies the data protection policy in JSON. Read more at [Data protection policy syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data-start.html#mask-sensitive-log-data-policysyntax).
        Returns:
        builder
      • policyDocument

        public LogDataProtectionPolicyArgs.Builder policyDocument​(java.lang.String policyDocument)
        Parameters:
        policyDocument - Specifies the data protection policy in JSON. Read more at [Data protection policy syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data-start.html#mask-sensitive-log-data-policysyntax).
        Returns:
        builder
      • region

        public LogDataProtectionPolicyArgs.Builder region​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - 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.
        Returns:
        builder
      • region

        public LogDataProtectionPolicyArgs.Builder region​(java.lang.String region)
        Parameters:
        region - 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.
        Returns:
        builder