Class CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssm.CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty>
- Enclosing interface:
- CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty
@Stability(Stable)
public static final class CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty>
A builder for
CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudWatchLogGroupName
(String cloudWatchLogGroupName) cloudWatchOutputEnabled
(Boolean cloudWatchOutputEnabled) cloudWatchOutputEnabled
(IResolvable cloudWatchOutputEnabled)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogGroupName
@Stability(Stable) public CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty.Builder cloudWatchLogGroupName(String cloudWatchLogGroupName) Sets the value ofCfnMaintenanceWindowTask.CloudWatchOutputConfigProperty.getCloudWatchLogGroupName()
- Parameters:
cloudWatchLogGroupName
- The name of the CloudWatch Logs log group where you want to send command output. If you don't specify a group name, AWS Systems Manager automatically creates a log group for you. The log group uses the following naming format:aws/ssm/ *SystemsManagerDocumentName*
- Returns:
this
-
cloudWatchOutputEnabled
@Stability(Stable) public CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty.Builder cloudWatchOutputEnabled(Boolean cloudWatchOutputEnabled) Sets the value ofCfnMaintenanceWindowTask.CloudWatchOutputConfigProperty.getCloudWatchOutputEnabled()
- Parameters:
cloudWatchOutputEnabled
- Enables Systems Manager to send command output to CloudWatch Logs.- Returns:
this
-
cloudWatchOutputEnabled
@Stability(Stable) public CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty.Builder cloudWatchOutputEnabled(IResolvable cloudWatchOutputEnabled) Sets the value ofCfnMaintenanceWindowTask.CloudWatchOutputConfigProperty.getCloudWatchOutputEnabled()
- Parameters:
cloudWatchOutputEnabled
- Enables Systems Manager to send command output to CloudWatch Logs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty>
- Returns:
- a new instance of
CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-