AWS::CodeBuild::Project S3LogsConfig
S3Logs
是 AWS CodeBuild Project LogsConfig 属性类型的属性,用于为 S3 存储桶中由 AWS CodeBuild 构建生成的日志指定设置。
语法
要在 AWS CloudFormation 模板中声明此实体,请使用以下语法:
JSON
{ "EncryptionDisabled" :
Boolean
, "Location" :String
, "Status" :String
}
YAML
EncryptionDisabled:
Boolean
Location:String
Status:String
属性
EncryptionDisabled
-
如果您不希望加密 S3 构建日志输出,请设置为 true。默认情况下,S3 构建日志将会加密。
必需:否
类型:布尔值
Update requires: No interruption
Location
-
S3 日志的 S3 存储桶 ARN 和路径前缀。如果 Amazon S3 存储桶名称为
my-bucket
,路径前缀为build-log
,则可接受的格式为my-bucket/build-log
或arn:aws:s3:::my-bucket/build-log
。必需:否
类型:字符串
Update requires: No interruption
Status
-
S3 构建日志的当前状态。有效值为:
-
ENABLED
:为该构建项目启用 S3 生成日志。 -
DISABLED
:不为该构建项目启用 S3 构建日志。
必需:是
类型:字符串
允许的值:
DISABLED | ENABLED
Update requires: No interruption
-
另请参阅
-
AWS CodeBuild API 参考 中的 S3LogsConfig