interface LoggingInfoProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SSM.Mixins.CfnMaintenanceWindowTaskPropsMixin.LoggingInfoProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsssm/mixins#CfnMaintenanceWindowTaskPropsMixin_LoggingInfoProperty |
Java | software.amazon.awscdk.mixins.preview.services.ssm.mixins.CfnMaintenanceWindowTaskPropsMixin.LoggingInfoProperty |
Python | aws_cdk.mixins_preview.aws_ssm.mixins.CfnMaintenanceWindowTaskPropsMixin.LoggingInfoProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ssm » mixins » CfnMaintenanceWindowTaskPropsMixin » LoggingInfoProperty |
LoggingInfohas been deprecated.
To specify an Amazon S3 bucket to contain logs, instead use the OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see AWS ::SSM::MaintenanceWindowTask MaintenanceWindowRunCommandParameters .
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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ssm_mixins } from '@aws-cdk/mixins-preview/aws-ssm';
const loggingInfoProperty: ssm_mixins.CfnMaintenanceWindowTaskPropsMixin.LoggingInfoProperty = {
region: 'region',
s3Bucket: 's3Bucket',
s3Prefix: 's3Prefix',
};
Properties
| Name | Type | Description |
|---|---|---|
| region? | string | The AWS Region where the S3 bucket is located. |
| s3 | string | The name of an S3 bucket where execution logs are stored. |
| s3 | string | The Amazon S3 bucket subfolder. |
region?
Type:
string
(optional)
The AWS Region where the S3 bucket is located.
s3Bucket?
Type:
string
(optional)
The name of an S3 bucket where execution logs are stored.
s3Prefix?
Type:
string
(optional)
The Amazon S3 bucket subfolder.

.NET
Go
Java
Python
TypeScript