Creates a CodeBuild environment for automatically deploying a static website.
Name of the bucket hosting the static website resources.
- Type: String
Source code location. For GitHub, the GitHub repository's clone URL.
- Type: String
Name of the build environment variable that exposes the SiteBucket value.
- Type: String
- Default: SITE_BUCKET
Branch of the git source to pull from.
- Type: String
- Default: main
- Type: String
- Default: GITHUB
- AllowedValues:
- GITHUB
- GITHUB_ENTERPRISE
Name of the buildspec file.
- Type: String
- Default: buildspec.yml
- Type: String
- Default: LINUX_CONTAINER
- AllowedValues:
- ARM_CONTAINER
- LINUX_CONTAINER
- LINUX_GPU_CONTAINER
- WINDOWS_CONTAINER
- WINDOWS_SERVER_2019_CONTAINER
- Type: String
- Default: aws/codebuild/standard:5.0
- Type: String
- Default: BUILD_GENERAL1_SMALL
- AllowedValues:
- BUILD_GENERAL1_SMALL
- BUILD_GENERAL1_MEDIUM
- BUILD_GENERAL1_LARGE
Whether to upload the generated files using build artifacts, or manually.
- Type: String
- Default: true
- AllowedValues:
- true
- false
List of Parameter ARNs that the buildspec will reference.
- Type: CommaDelimitedList
- Default: ""
List of Secret ARNs that the buildspec will reference.
- Type: CommaDelimitedList
- Default: ""
- Type: String
- Default: NO_CACHE
- AllowedValues:
- NO_CACHE
- S3
- LOCAL
The number of days after which the cache objects will expire. Only applies to S3 CacheTypes. Set to 0 to keep cache objects indefinitely.
- Type: Number
- Default: 0
Personal Access Token, or ARN of CodeBuild Source Credential.
- Type: String
- Default: ""
Email address to receive notifications when the build fails.
- Type: String
- Default: ""
Phone number to receive notifications when the build fails.
- Type: String
- Default: ""
Human-readable display name for the alarm subscription topic.
- Type: String
- Default: ""
- Type: AWS::CodeBuild::Project
- Type: AWS::S3::Bucket
- Condition: S3Cache
- Type: AWS::Logs::LogGroup
- Type: AWS::IAM::Role
- Type: AWS::CloudWatch::Alarm
- Condition: CreateAlarm
- Type: AWS::SNS::Topic
- Condition: CreateAlarm