CfnProjectProps

class aws_cdk.aws_codebuild.CfnProjectProps(*, artifacts, environment, service_role, source, badge_enabled=None, cache=None, description=None, encryption_key=None, file_system_locations=None, logs_config=None, name=None, queued_timeout_in_minutes=None, secondary_artifacts=None, secondary_sources=None, secondary_source_versions=None, source_version=None, tags=None, timeout_in_minutes=None, triggers=None, vpc_config=None)

Bases: object

__init__(*, artifacts, environment, service_role, source, badge_enabled=None, cache=None, description=None, encryption_key=None, file_system_locations=None, logs_config=None, name=None, queued_timeout_in_minutes=None, secondary_artifacts=None, secondary_sources=None, secondary_source_versions=None, source_version=None, tags=None, timeout_in_minutes=None, triggers=None, vpc_config=None)

Properties for defining a AWS::CodeBuild::Project.

Parameters
  • artifacts (Union[ArtifactsProperty, IResolvable]) – AWS::CodeBuild::Project.Artifacts.

  • environment (Union[IResolvable, EnvironmentProperty]) – AWS::CodeBuild::Project.Environment.

  • service_role (str) – AWS::CodeBuild::Project.ServiceRole.

  • source (Union[SourceProperty, IResolvable]) – AWS::CodeBuild::Project.Source.

  • badge_enabled (Union[bool, IResolvable, None]) – AWS::CodeBuild::Project.BadgeEnabled.

  • cache (Union[IResolvable, ProjectCacheProperty, None]) – AWS::CodeBuild::Project.Cache.

  • description (Optional[str]) – AWS::CodeBuild::Project.Description.

  • encryption_key (Optional[str]) – AWS::CodeBuild::Project.EncryptionKey.

  • file_system_locations (Union[IResolvable, List[Union[ProjectFileSystemLocationProperty, IResolvable]], None]) – AWS::CodeBuild::Project.FileSystemLocations.

  • logs_config (Union[IResolvable, LogsConfigProperty, None]) – AWS::CodeBuild::Project.LogsConfig.

  • name (Optional[str]) – AWS::CodeBuild::Project.Name.

  • queued_timeout_in_minutes (Union[int, float, None]) – AWS::CodeBuild::Project.QueuedTimeoutInMinutes.

  • secondary_artifacts (Union[IResolvable, List[Union[ArtifactsProperty, IResolvable]], None]) – AWS::CodeBuild::Project.SecondaryArtifacts.

  • secondary_sources (Union[IResolvable, List[Union[SourceProperty, IResolvable]], None]) – AWS::CodeBuild::Project.SecondarySources.

  • secondary_source_versions (Union[IResolvable, List[Union[IResolvable, ProjectSourceVersionProperty]], None]) – AWS::CodeBuild::Project.SecondarySourceVersions.

  • source_version (Optional[str]) – AWS::CodeBuild::Project.SourceVersion.

  • tags (Optional[List[CfnTag]]) – AWS::CodeBuild::Project.Tags.

  • timeout_in_minutes (Union[int, float, None]) – AWS::CodeBuild::Project.TimeoutInMinutes.

  • triggers (Union[IResolvable, ProjectTriggersProperty, None]) – AWS::CodeBuild::Project.Triggers.

  • vpc_config (Union[IResolvable, VpcConfigProperty, None]) – AWS::CodeBuild::Project.VpcConfig.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html

Return type

None

Attributes

artifacts

AWS::CodeBuild::Project.Artifacts.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-artifacts

Return type

Union[ArtifactsProperty, IResolvable]

badge_enabled

AWS::CodeBuild::Project.BadgeEnabled.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-badgeenabled

Return type

Union[bool, IResolvable, None]

cache

AWS::CodeBuild::Project.Cache.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-cache

Return type

Union[IResolvable, ProjectCacheProperty, None]

description

AWS::CodeBuild::Project.Description.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-description

Return type

Optional[str]

encryption_key

AWS::CodeBuild::Project.EncryptionKey.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-encryptionkey

Return type

Optional[str]

environment

AWS::CodeBuild::Project.Environment.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-environment

Return type

Union[IResolvable, EnvironmentProperty]

file_system_locations

AWS::CodeBuild::Project.FileSystemLocations.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-filesystemlocations

Return type

Union[IResolvable, List[Union[ProjectFileSystemLocationProperty, IResolvable]], None]

logs_config

AWS::CodeBuild::Project.LogsConfig.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-logsconfig

Return type

Union[IResolvable, LogsConfigProperty, None]

name

AWS::CodeBuild::Project.Name.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-name

Return type

Optional[str]

queued_timeout_in_minutes

AWS::CodeBuild::Project.QueuedTimeoutInMinutes.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-queuedtimeoutinminutes

Return type

Union[int, float, None]

secondary_artifacts

AWS::CodeBuild::Project.SecondaryArtifacts.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondaryartifacts

Return type

Union[IResolvable, List[Union[ArtifactsProperty, IResolvable]], None]

secondary_source_versions

AWS::CodeBuild::Project.SecondarySourceVersions.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondarysourceversions

Return type

Union[IResolvable, List[Union[IResolvable, ProjectSourceVersionProperty]], None]

secondary_sources

AWS::CodeBuild::Project.SecondarySources.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondarysources

Return type

Union[IResolvable, List[Union[SourceProperty, IResolvable]], None]

service_role

AWS::CodeBuild::Project.ServiceRole.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-servicerole

Return type

str

source

AWS::CodeBuild::Project.Source.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-source

Return type

Union[SourceProperty, IResolvable]

source_version

AWS::CodeBuild::Project.SourceVersion.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-sourceversion

Return type

Optional[str]

tags

AWS::CodeBuild::Project.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-tags

Return type

Optional[List[CfnTag]]

timeout_in_minutes

AWS::CodeBuild::Project.TimeoutInMinutes.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-timeoutinminutes

Return type

Union[int, float, None]

triggers

AWS::CodeBuild::Project.Triggers.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-triggers

Return type

Union[IResolvable, ProjectTriggersProperty, None]

vpc_config

AWS::CodeBuild::Project.VpcConfig.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-vpcconfig

Return type

Union[IResolvable, VpcConfigProperty, None]