Interface CfnMaintenanceWindowTask.LoggingInfoProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMaintenanceWindowTask.LoggingInfoProperty.Jsii$Proxy
- Enclosing class:
CfnMaintenanceWindowTask
@Stability(Stable)
public static interface CfnMaintenanceWindowTask.LoggingInfoProperty
extends software.amazon.jsii.JsiiSerializable
The
LoggingInfo
property type specifies information about the Amazon S3 bucket to write instance-level logs to.
LoggingInfo
is a property of the AWS::SSM::MaintenanceWindowTask resource.
LoggingInfo
has been deprecated. To specify an Amazon S3 bucket to contain logs, instead use theOutputS3BucketName
andOutputS3KeyPrefix
options in theTaskInvocationParameters
structure. 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnMaintenanceWindowTask.LoggingInfoProperty
static final class
An implementation forCfnMaintenanceWindowTask.LoggingInfoProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRegion
The AWS Region where the S3 bucket is located.- See Also:
-
getS3Bucket
The name of an S3 bucket where execution logs are stored.- See Also:
-
getS3Prefix
The Amazon S3 bucket subfolder.- See Also:
-
builder
-