@aws-cdk_aws-apprunner-alpha.CodeRepositoryProps

interface CodeRepositoryProps ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.AppRunner.Alpha.CodeRepositoryProps
Gogithub.com/aws/aws-cdk-go/awscdkapprunneralpha/v2#CodeRepositoryProps
Javasoftware.amazon.awscdk.services.apprunner.alpha.CodeRepositoryProps
Pythonaws_cdk.aws_apprunner_alpha.CodeRepositoryProps
TypeScript (source)@aws-cdk/aws-apprunner-alpha ยป CodeRepositoryProps

Properties of the CodeRepository.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apprunner_alpha from '@aws-cdk/aws-apprunner-alpha';

declare const gitHubConnection: apprunner_alpha.GitHubConnection;
declare const runtime: apprunner_alpha.Runtime;
declare const secret: apprunner_alpha.Secret;
const codeRepositoryProps: apprunner_alpha.CodeRepositoryProps = {
  codeConfiguration: {
    configurationSource: apprunner_alpha.ConfigurationSourceType.REPOSITORY,

    // the properties below are optional
    configurationValues: {
      runtime: runtime,

      // the properties below are optional
      buildCommand: 'buildCommand',
      environment: {
        environmentKey: 'environment',
      },
      environmentSecrets: {
        environmentSecretsKey: secret,
      },
      environmentVariables: {
        environmentVariablesKey: 'environmentVariables',
      },
      port: 'port',
      startCommand: 'startCommand',
    },
  },
  connection: gitHubConnection,
  repositoryUrl: 'repositoryUrl',
  sourceCodeVersion: {
    type: 'type',
    value: 'value',
  },
};

Properties

NameTypeDescription
codeConfiguration๐Ÿ”นCodeConfigurationConfiguration for building and running the service from a source code repository.
connection๐Ÿ”นGitHubConnectionThe App Runner connection for GitHub.
repositoryUrl๐Ÿ”นstringThe location of the repository that contains the source code.
sourceCodeVersion๐Ÿ”นSourceCodeVersionThe version that should be used within the source code repository.

codeConfiguration๐Ÿ”น

Type: CodeConfiguration

Configuration for building and running the service from a source code repository.


connection๐Ÿ”น

Type: GitHubConnection

The App Runner connection for GitHub.


repositoryUrl๐Ÿ”น

Type: string

The location of the repository that contains the source code.


sourceCodeVersion๐Ÿ”น

Type: SourceCodeVersion

The version that should be used within the source code repository.