@Stability(value=Stable)
public static interface CfnMaintenanceWindowTask.LoggingInfoProperty
extends software.amazon.jsii.JsiiSerializable
LoggingInfo is a property of the AWS::SSM::MaintenanceWindowTask resource.
LoggingInfohas been deprecated. To specify an Amazon S3 bucket to contain logs, instead use theOutputS3BucketNameandOutputS3KeyPrefixoptions in theTaskInvocationParametersstructure. For information about how Systems Manager handles these options for the supported maintenance window task types, see AWS ::SSM::MaintenanceWindowTask MaintenanceWindowRunCommandParameters .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ssm.*;
LoggingInfoProperty loggingInfoProperty = LoggingInfoProperty.builder()
.region("region")
.s3Bucket("s3Bucket")
// the properties below are optional
.s3Prefix("s3Prefix")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnMaintenanceWindowTask.LoggingInfoProperty.Builder
A builder for
CfnMaintenanceWindowTask.LoggingInfoProperty |
static class |
CfnMaintenanceWindowTask.LoggingInfoProperty.Jsii$Proxy
An implementation for
CfnMaintenanceWindowTask.LoggingInfoProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnMaintenanceWindowTask.LoggingInfoProperty.Builder |
builder() |
String |
getRegion()
The AWS Region where the S3 bucket is located.
|
String |
getS3Bucket()
The name of an S3 bucket where execution logs are stored.
|
default String |
getS3Prefix()
The Amazon S3 bucket subfolder.
|
@Stability(value=Stable) @NotNull String getRegion()
@Stability(value=Stable) @NotNull String getS3Bucket()
@Stability(value=Stable) @Nullable default String getS3Prefix()
@Stability(value=Stable) static CfnMaintenanceWindowTask.LoggingInfoProperty.Builder builder()
Copyright © 2023. All rights reserved.