interface S3LogsConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeBuild.Mixins.CfnProjectPropsMixin.S3LogsConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodebuild/mixins#CfnProjectPropsMixin_S3LogsConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.codebuild.mixins.CfnProjectPropsMixin.S3LogsConfigProperty |
Python | aws_cdk.mixins_preview.aws_codebuild.mixins.CfnProjectPropsMixin.S3LogsConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_codebuild » mixins » CfnProjectPropsMixin » S3LogsConfigProperty |
S3Logs is a property of the AWS CodeBuild Project LogsConfig property type that specifies settings for logs generated by an AWS CodeBuild build in an S3 bucket.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as codebuild_mixins } from '@aws-cdk/mixins-preview/aws-codebuild';
const s3LogsConfigProperty: codebuild_mixins.CfnProjectPropsMixin.S3LogsConfigProperty = {
encryptionDisabled: false,
location: 'location',
status: 'status',
};
Properties
| Name | Type | Description |
|---|---|---|
| encryption | boolean | IResolvable | Set to true if you do not want your S3 build log output encrypted. |
| location? | string | The ARN of an S3 bucket and the path prefix for S3 logs. |
| status? | string | The current status of the S3 build logs. Valid values are:. |
encryptionDisabled?
Type:
boolean | IResolvable
(optional)
Set to true if you do not want your S3 build log output encrypted.
By default S3 build logs are encrypted.
location?
Type:
string
(optional)
The ARN of an S3 bucket and the path prefix for S3 logs.
If your Amazon S3 bucket name is my-bucket , and your path prefix is build-log , then acceptable formats are my-bucket/build-log or arn:aws:s3:::my-bucket/build-log .
status?
Type:
string
(optional)
The current status of the S3 build logs. Valid values are:.
ENABLED: S3 build logs are enabled for this build project.DISABLED: S3 build logs are not enabled for this build project.

.NET
Go
Java
Python
TypeScript