All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.ssm.outputs.MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** 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.ssm.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig {
    /**
     * @return The name of the CloudWatch log group where you want to send command output. If you don't specify a group name, Systems Manager automatically creates a log group for you. The log group uses the following naming format: aws/ssm/SystemsManagerDocumentName.
     * 
     */
    private @Nullable String cloudwatchLogGroupName;
    /**
     * @return Enables Systems Manager to send command output to CloudWatch Logs.
     * 
     */
    private @Nullable Boolean cloudwatchOutputEnabled;

    private MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig() {}
    /**
     * @return The name of the CloudWatch log group where you want to send command output. If you don't specify a group name, Systems Manager automatically creates a log group for you. The log group uses the following naming format: aws/ssm/SystemsManagerDocumentName.
     * 
     */
    public Optional cloudwatchLogGroupName() {
        return Optional.ofNullable(this.cloudwatchLogGroupName);
    }
    /**
     * @return Enables Systems Manager to send command output to CloudWatch Logs.
     * 
     */
    public Optional cloudwatchOutputEnabled() {
        return Optional.ofNullable(this.cloudwatchOutputEnabled);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String cloudwatchLogGroupName;
        private @Nullable Boolean cloudwatchOutputEnabled;
        public Builder() {}
        public Builder(MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cloudwatchLogGroupName = defaults.cloudwatchLogGroupName;
    	      this.cloudwatchOutputEnabled = defaults.cloudwatchOutputEnabled;
        }

        @CustomType.Setter
        public Builder cloudwatchLogGroupName(@Nullable String cloudwatchLogGroupName) {

            this.cloudwatchLogGroupName = cloudwatchLogGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder cloudwatchOutputEnabled(@Nullable Boolean cloudwatchOutputEnabled) {

            this.cloudwatchOutputEnabled = cloudwatchOutputEnabled;
            return this;
        }
        public MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig build() {
            final var _resultValue = new MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig();
            _resultValue.cloudwatchLogGroupName = cloudwatchLogGroupName;
            _resultValue.cloudwatchOutputEnabled = cloudwatchOutputEnabled;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy