Documentation
¶
Overview ¶
The CDK Construct Library for AWS::AppRunner
Index ¶
- func AutoScalingConfiguration_IsConstruct(x interface{}) *bool
- func AutoScalingConfiguration_IsOwnedResource(construct constructs.IConstruct) *bool
- func AutoScalingConfiguration_IsResource(construct constructs.IConstruct) *bool
- func NewAssetSource_Override(a AssetSource, props *AssetProps)
- func NewAutoScalingConfiguration_Override(a AutoScalingConfiguration, scope constructs.Construct, id *string, ...)
- func NewEcrPublicSource_Override(e EcrPublicSource, props *EcrPublicProps)
- func NewEcrSource_Override(e EcrSource, props *EcrProps)
- func NewGitHubConnection_Override(g GitHubConnection, arn *string)
- func NewGithubSource_Override(g GithubSource, props *GithubRepositoryProps)
- func NewObservabilityConfiguration_Override(o ObservabilityConfiguration, scope constructs.Construct, id *string, ...)
- func NewSecret_Override(s Secret)
- func NewService_Override(s Service, scope constructs.Construct, id *string, props *ServiceProps)
- func NewSource_Override(s Source)
- func NewVpcConnector_Override(v VpcConnector, scope constructs.Construct, id *string, ...)
- func NewVpcIngressConnection_Override(v VpcIngressConnection, scope constructs.Construct, id *string, ...)
- func ObservabilityConfiguration_IsConstruct(x interface{}) *bool
- func ObservabilityConfiguration_IsOwnedResource(construct constructs.IConstruct) *bool
- func ObservabilityConfiguration_IsResource(construct constructs.IConstruct) *bool
- func Service_IsConstruct(x interface{}) *bool
- func Service_IsOwnedResource(construct constructs.IConstruct) *bool
- func Service_IsResource(construct constructs.IConstruct) *bool
- func VpcConnector_IsConstruct(x interface{}) *bool
- func VpcConnector_IsOwnedResource(construct constructs.IConstruct) *bool
- func VpcConnector_IsResource(construct constructs.IConstruct) *bool
- func VpcIngressConnection_IsConstruct(x interface{}) *bool
- func VpcIngressConnection_IsOwnedResource(construct constructs.IConstruct) *bool
- func VpcIngressConnection_IsResource(construct constructs.IConstruct) *bool
- type AssetProps
- type AssetSource
- func AssetSource_FromAsset(props *AssetProps) AssetSource
- func EcrPublicSource_FromAsset(props *AssetProps) AssetSource
- func EcrSource_FromAsset(props *AssetProps) AssetSource
- func GithubSource_FromAsset(props *AssetProps) AssetSource
- func NewAssetSource(props *AssetProps) AssetSource
- func Source_FromAsset(props *AssetProps) AssetSource
- type AutoScalingConfiguration
- type AutoScalingConfigurationAttributes
- type AutoScalingConfigurationProps
- type CodeConfiguration
- type CodeConfigurationValues
- type CodeRepositoryProps
- type ConfigurationSourceType
- type Cpu
- type EcrProps
- type EcrPublicProps
- type EcrPublicSource
- func AssetSource_FromEcrPublic(props *EcrPublicProps) EcrPublicSource
- func EcrPublicSource_FromEcrPublic(props *EcrPublicProps) EcrPublicSource
- func EcrSource_FromEcrPublic(props *EcrPublicProps) EcrPublicSource
- func GithubSource_FromEcrPublic(props *EcrPublicProps) EcrPublicSource
- func NewEcrPublicSource(props *EcrPublicProps) EcrPublicSource
- func Source_FromEcrPublic(props *EcrPublicProps) EcrPublicSource
- type EcrSource
- func AssetSource_FromEcr(props *EcrProps) EcrSource
- func EcrPublicSource_FromEcr(props *EcrProps) EcrSource
- func EcrSource_FromEcr(props *EcrProps) EcrSource
- func GithubSource_FromEcr(props *EcrProps) EcrSource
- func NewEcrSource(props *EcrProps) EcrSource
- func Source_FromEcr(props *EcrProps) EcrSource
- type GitHubConnection
- type GithubRepositoryProps
- type GithubSource
- func AssetSource_FromGitHub(props *GithubRepositoryProps) GithubSource
- func EcrPublicSource_FromGitHub(props *GithubRepositoryProps) GithubSource
- func EcrSource_FromGitHub(props *GithubRepositoryProps) GithubSource
- func GithubSource_FromGitHub(props *GithubRepositoryProps) GithubSource
- func NewGithubSource(props *GithubRepositoryProps) GithubSource
- func Source_FromGitHub(props *GithubRepositoryProps) GithubSource
- type HealthCheck
- type HealthCheckProtocolType
- type HttpHealthCheckOptions
- type IAutoScalingConfiguration
- type IObservabilityConfiguration
- type IService
- type IVpcConnector
- type IVpcIngressConnection
- type ImageConfiguration
- type ImageRepository
- type ImageRepositoryType
- type IpAddressType
- type Memory
- type ObservabilityConfiguration
- type ObservabilityConfigurationAttributes
- type ObservabilityConfigurationProps
- type Runtime
- func Runtime_CORRETTO_11() Runtime
- func Runtime_CORRETTO_8() Runtime
- func Runtime_DOTNET_6() Runtime
- func Runtime_GO_1() Runtime
- func Runtime_NODEJS_12() Runtime
- func Runtime_NODEJS_14() Runtime
- func Runtime_NODEJS_16() Runtime
- func Runtime_NODEJS_18() Runtime
- func Runtime_Of(name *string) Runtime
- func Runtime_PHP_81() Runtime
- func Runtime_PYTHON_3() Runtime
- func Runtime_PYTHON_311() Runtime
- func Runtime_RUBY_31() Runtime
- type Secret
- type SecretVersionInfo
- type Service
- type ServiceAttributes
- type ServiceProps
- type Source
- type SourceCodeVersion
- type SourceConfig
- type TcpHealthCheckOptions
- type TraceConfigurationVendor
- type VpcConnector
- type VpcConnectorAttributes
- type VpcConnectorProps
- type VpcIngressConnection
- type VpcIngressConnectionAttributes
- type VpcIngressConnectionProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoScalingConfiguration_IsConstruct ¶
func AutoScalingConfiguration_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`. Experimental.
func AutoScalingConfiguration_IsOwnedResource ¶
func AutoScalingConfiguration_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise. Experimental.
func AutoScalingConfiguration_IsResource ¶
func AutoScalingConfiguration_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func NewAssetSource_Override ¶
func NewAssetSource_Override(a AssetSource, props *AssetProps)
Experimental.
func NewAutoScalingConfiguration_Override ¶
func NewAutoScalingConfiguration_Override(a AutoScalingConfiguration, scope constructs.Construct, id *string, props *AutoScalingConfigurationProps)
Experimental.
func NewEcrPublicSource_Override ¶
func NewEcrPublicSource_Override(e EcrPublicSource, props *EcrPublicProps)
Experimental.
func NewGitHubConnection_Override ¶
func NewGitHubConnection_Override(g GitHubConnection, arn *string)
Experimental.
func NewGithubSource_Override ¶
func NewGithubSource_Override(g GithubSource, props *GithubRepositoryProps)
Experimental.
func NewObservabilityConfiguration_Override ¶
func NewObservabilityConfiguration_Override(o ObservabilityConfiguration, scope constructs.Construct, id *string, props *ObservabilityConfigurationProps)
Experimental.
func NewService_Override ¶
func NewService_Override(s Service, scope constructs.Construct, id *string, props *ServiceProps)
Experimental.
func NewVpcConnector_Override ¶
func NewVpcConnector_Override(v VpcConnector, scope constructs.Construct, id *string, props *VpcConnectorProps)
Experimental.
func NewVpcIngressConnection_Override ¶
func NewVpcIngressConnection_Override(v VpcIngressConnection, scope constructs.Construct, id *string, props *VpcIngressConnectionProps)
Experimental.
func ObservabilityConfiguration_IsConstruct ¶
func ObservabilityConfiguration_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`. Experimental.
func ObservabilityConfiguration_IsOwnedResource ¶
func ObservabilityConfiguration_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise. Experimental.
func ObservabilityConfiguration_IsResource ¶
func ObservabilityConfiguration_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func Service_IsConstruct ¶
func Service_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`. Experimental.
func Service_IsOwnedResource ¶
func Service_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise. Experimental.
func Service_IsResource ¶
func Service_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func VpcConnector_IsConstruct ¶
func VpcConnector_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`. Experimental.
func VpcConnector_IsOwnedResource ¶
func VpcConnector_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise. Experimental.
func VpcConnector_IsResource ¶
func VpcConnector_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func VpcIngressConnection_IsConstruct ¶
func VpcIngressConnection_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`. Experimental.
func VpcIngressConnection_IsOwnedResource ¶
func VpcIngressConnection_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise. Experimental.
func VpcIngressConnection_IsResource ¶
func VpcIngressConnection_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
Types ¶
type AssetProps ¶
type AssetProps struct { // Represents the docker image asset. // Experimental. Asset awsecrassets.DockerImageAsset `field:"required" json:"asset" yaml:"asset"` // The image configuration for the image built from the asset. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imageconfiguration.html#cfn-apprunner-service-imageconfiguration-port // // Default: - no image configuration will be passed. The default `port` will be 8080. // // Experimental. ImageConfiguration *ImageConfiguration `field:"optional" json:"imageConfiguration" yaml:"imageConfiguration"` }
Properties of the image repository for `Source.fromAsset()`.
Example:
import assets "github.com/aws/aws-cdk-go/awscdk" imageAsset := assets.NewDockerImageAsset(this, jsii.String("ImageAssets"), &DockerImageAssetProps{ Directory: path.join(__dirname, jsii.String("docker.assets")), }) apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromAsset(&AssetProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, Asset: imageAsset, }), AutoDeploymentsEnabled: jsii.Boolean(true), })
Experimental.
type AssetSource ¶
type AssetSource interface { Source // Called when the Job is initialized to allow this object to bind. // Experimental. Bind(_scope constructs.Construct) *SourceConfig }
Represents the source from local assets.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha" import "github.com/aws/aws-cdk-go/awscdk" var dockerImageAsset dockerImageAsset var secret secret assetSource := apprunner_alpha.NewAssetSource(&AssetProps{ Asset: dockerImageAsset, // the properties below are optional ImageConfiguration: &ImageConfiguration{ Environment: map[string]*string{ "environmentKey": jsii.String("environment"), }, EnvironmentSecrets: map[string]*secret{ "environmentSecretsKey": secret, }, EnvironmentVariables: map[string]*string{ "environmentVariablesKey": jsii.String("environmentVariables"), }, Port: jsii.Number(123), StartCommand: jsii.String("startCommand"), }, })
Experimental.
func AssetSource_FromAsset ¶
func AssetSource_FromAsset(props *AssetProps) AssetSource
Source from local assets. Experimental.
func EcrPublicSource_FromAsset ¶
func EcrPublicSource_FromAsset(props *AssetProps) AssetSource
Source from local assets. Experimental.
func EcrSource_FromAsset ¶
func EcrSource_FromAsset(props *AssetProps) AssetSource
Source from local assets. Experimental.
func GithubSource_FromAsset ¶
func GithubSource_FromAsset(props *AssetProps) AssetSource
Source from local assets. Experimental.
func Source_FromAsset ¶
func Source_FromAsset(props *AssetProps) AssetSource
Source from local assets. Experimental.
type AutoScalingConfiguration ¶
type AutoScalingConfiguration interface { awscdk.Resource IAutoScalingConfiguration // The ARN of the Auto Scaling Configuration. // Experimental. AutoScalingConfigurationArn() *string // The name of the Auto Scaling Configuration. // Experimental. AutoScalingConfigurationName() *string // The revision of the Auto Scaling Configuration. // Experimental. AutoScalingConfigurationRevision() *float64 // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. // Experimental. Env() *awscdk.ResourceEnvironment // The tree node. // Experimental. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string // The stack in which this resource is defined. // Experimental. Stack() awscdk.Stack // Apply the given removal policy to this resource. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). // Experimental. ApplyRemovalPolicy(policy awscdk.RemovalPolicy) // Experimental. GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. // Experimental. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. // Experimental. GetResourceNameAttribute(nameAttr *string) *string // Returns a string representation of this construct. // Experimental. ToString() *string }
The App Runner Auto Scaling Configuration.
Example:
autoScalingConfiguration := apprunner.NewAutoScalingConfiguration(this, jsii.String("AutoScalingConfiguration"), &AutoScalingConfigurationProps{ AutoScalingConfigurationName: jsii.String("MyAutoScalingConfiguration"), MaxConcurrency: jsii.Number(150), MaxSize: jsii.Number(20), MinSize: jsii.Number(5), }) apprunner.NewService(this, jsii.String("DemoService"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), AutoScalingConfiguration: AutoScalingConfiguration, })
Experimental.
func NewAutoScalingConfiguration ¶
func NewAutoScalingConfiguration(scope constructs.Construct, id *string, props *AutoScalingConfigurationProps) AutoScalingConfiguration
Experimental.
type AutoScalingConfigurationAttributes ¶
type AutoScalingConfigurationAttributes struct { // The name of the Auto Scaling Configuration. // Experimental. AutoScalingConfigurationName *string `field:"required" json:"autoScalingConfigurationName" yaml:"autoScalingConfigurationName"` // The revision of the Auto Scaling Configuration. // Experimental. AutoScalingConfigurationRevision *float64 `field:"required" json:"autoScalingConfigurationRevision" yaml:"autoScalingConfigurationRevision"` }
Attributes for the App Runner Auto Scaling Configuration.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha" autoScalingConfigurationAttributes := &AutoScalingConfigurationAttributes{ AutoScalingConfigurationName: jsii.String("autoScalingConfigurationName"), AutoScalingConfigurationRevision: jsii.Number(123), }
Experimental.
type AutoScalingConfigurationProps ¶
type AutoScalingConfigurationProps struct { // The name for the Auto Scaling Configuration. // Default: - a name generated by CloudFormation. // // Experimental. AutoScalingConfigurationName *string `field:"optional" json:"autoScalingConfigurationName" yaml:"autoScalingConfigurationName"` // The maximum number of concurrent requests that an instance processes. // // If the number of concurrent requests exceeds this limit, App Runner scales the service up. // // Must be between 1 and 200. // Default: 100. // // Experimental. MaxConcurrency *float64 `field:"optional" json:"maxConcurrency" yaml:"maxConcurrency"` // The maximum number of instances that a service scales up to. // // At most maxSize instances actively serve traffic for your service. // // Must be between 1 and 25. // Default: 25. // // Experimental. MaxSize *float64 `field:"optional" json:"maxSize" yaml:"maxSize"` // The minimum number of instances that App Runner provisions for a service. // // The service always has at least minSize provisioned instances. // // // Must be between 1 and 25. // Default: 1. // // Experimental. MinSize *float64 `field:"optional" json:"minSize" yaml:"minSize"` }
Properties of the App Runner Auto Scaling Configuration.
Example:
autoScalingConfiguration := apprunner.NewAutoScalingConfiguration(this, jsii.String("AutoScalingConfiguration"), &AutoScalingConfigurationProps{ AutoScalingConfigurationName: jsii.String("MyAutoScalingConfiguration"), MaxConcurrency: jsii.Number(150), MaxSize: jsii.Number(20), MinSize: jsii.Number(5), }) apprunner.NewService(this, jsii.String("DemoService"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), AutoScalingConfiguration: AutoScalingConfiguration, })
Experimental.
type CodeConfiguration ¶
type CodeConfiguration struct { // The source of the App Runner configuration. // Experimental. ConfigurationSource ConfigurationSourceType `field:"required" json:"configurationSource" yaml:"configurationSource"` // The basic configuration for building and running the App Runner service. // // Use it to quickly launch an App Runner service without providing a apprunner.yaml file in the // source code repository (or ignoring the file if it exists). // Default: - not specified. Use `apprunner.yaml` instead. // // Experimental. ConfigurationValues *CodeConfigurationValues `field:"optional" json:"configurationValues" yaml:"configurationValues"` }
Describes the configuration that AWS App Runner uses to build and run an App Runner service from a source code repository.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha" var runtime runtime var secret secret codeConfiguration := &CodeConfiguration{ ConfigurationSource: apprunner_alpha.ConfigurationSourceType_REPOSITORY, // the properties below are optional ConfigurationValues: &CodeConfigurationValues{ Runtime: runtime, // the properties below are optional BuildCommand: jsii.String("buildCommand"), Environment: map[string]*string{ "environmentKey": jsii.String("environment"), }, EnvironmentSecrets: map[string]*secret{ "environmentSecretsKey": secret, }, EnvironmentVariables: map[string]*string{ "environmentVariablesKey": jsii.String("environmentVariables"), }, Port: jsii.String("port"), StartCommand: jsii.String("startCommand"), }, }
Experimental.
type CodeConfigurationValues ¶
type CodeConfigurationValues struct { // A runtime environment type for building and running an App Runner service. // // It represents // a programming language runtime. // Experimental. Runtime Runtime `field:"required" json:"runtime" yaml:"runtime"` // The command App Runner runs to build your application. // Default: - no build command. // // Experimental. BuildCommand *string `field:"optional" json:"buildCommand" yaml:"buildCommand"` // The environment variables that are available to your running App Runner service. // Default: - no environment variables. // // Deprecated: use environmentVariables. Environment *map[string]*string `field:"optional" json:"environment" yaml:"environment"` // The environment secrets that are available to your running App Runner service. // Default: - no environment secrets. // // Experimental. EnvironmentSecrets *map[string]Secret `field:"optional" json:"environmentSecrets" yaml:"environmentSecrets"` // The environment variables that are available to your running App Runner service. // Default: - no environment variables. // // Experimental. EnvironmentVariables *map[string]*string `field:"optional" json:"environmentVariables" yaml:"environmentVariables"` // The port that your application listens to in the container. // Default: 8080. // // Experimental. Port *string `field:"optional" json:"port" yaml:"port"` // The command App Runner runs to start your application. // Default: - no start command. // // Experimental. StartCommand *string `field:"optional" json:"startCommand" yaml:"startCommand"` }
Describes the basic configuration needed for building and running an AWS App Runner service.
This type doesn't support the full set of possible configuration options. Fur full configuration capabilities, use a `apprunner.yaml` file in the source code repository.
Example:
apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromGitHub(&GithubRepositoryProps{ RepositoryUrl: jsii.String("https://github.com/aws-containers/hello-app-runner"), Branch: jsii.String("main"), ConfigurationSource: apprunner.ConfigurationSourceType_API, CodeConfigurationValues: &CodeConfigurationValues{ Runtime: apprunner.Runtime_PYTHON_3(), Port: jsii.String("8000"), StartCommand: jsii.String("python app.py"), BuildCommand: jsii.String("yum install -y pycairo && pip install -r requirements.txt"), }, Connection: apprunner.GitHubConnection_FromConnectionArn(jsii.String("CONNECTION_ARN")), }), })
Experimental.
type CodeRepositoryProps ¶
type CodeRepositoryProps struct { // Configuration for building and running the service from a source code repository. // Experimental. CodeConfiguration *CodeConfiguration `field:"required" json:"codeConfiguration" yaml:"codeConfiguration"` // The App Runner connection for GitHub. // Experimental. Connection GitHubConnection `field:"required" json:"connection" yaml:"connection"` // The location of the repository that contains the source code. // Experimental. RepositoryUrl *string `field:"required" json:"repositoryUrl" yaml:"repositoryUrl"` // The version that should be used within the source code repository. // Experimental. SourceCodeVersion *SourceCodeVersion `field:"required" json:"sourceCodeVersion" yaml:"sourceCodeVersion"` }
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 apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha" var gitHubConnection gitHubConnection var runtime runtime var secret secret codeRepositoryProps := &CodeRepositoryProps{ CodeConfiguration: &CodeConfiguration{ ConfigurationSource: apprunner_alpha.ConfigurationSourceType_REPOSITORY, // the properties below are optional ConfigurationValues: &CodeConfigurationValues{ Runtime: runtime, // the properties below are optional BuildCommand: jsii.String("buildCommand"), Environment: map[string]*string{ "environmentKey": jsii.String("environment"), }, EnvironmentSecrets: map[string]*secret{ "environmentSecretsKey": secret, }, EnvironmentVariables: map[string]*string{ "environmentVariablesKey": jsii.String("environmentVariables"), }, Port: jsii.String("port"), StartCommand: jsii.String("startCommand"), }, }, Connection: gitHubConnection, RepositoryUrl: jsii.String("repositoryUrl"), SourceCodeVersion: &SourceCodeVersion{ Type: jsii.String("type"), Value: jsii.String("value"), }, }
Experimental.
type ConfigurationSourceType ¶
type ConfigurationSourceType string
The source of the App Runner configuration.
Example:
apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromGitHub(&GithubRepositoryProps{ RepositoryUrl: jsii.String("https://github.com/aws-containers/hello-app-runner"), Branch: jsii.String("main"), ConfigurationSource: apprunner.ConfigurationSourceType_REPOSITORY, Connection: apprunner.GitHubConnection_FromConnectionArn(jsii.String("CONNECTION_ARN")), }), })
Experimental.
const ( // App Runner reads configuration values from `the apprunner.yaml` file in the source code repository and ignores `configurationValues`. // Experimental. ConfigurationSourceType_REPOSITORY ConfigurationSourceType = "REPOSITORY" // App Runner uses configuration values provided in `configurationValues` and ignores the `apprunner.yaml` file in the source code repository. // Experimental. ConfigurationSourceType_API ConfigurationSourceType = "API" )
type Cpu ¶
type Cpu interface { // The unit of CPU. // Experimental. Unit() *string }
The number of CPU units reserved for each instance of your App Runner service.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha" cpu := apprunner_alpha.Cpu_FOUR_VCPU()
Experimental.
func Cpu_FOUR_VCPU ¶
func Cpu_FOUR_VCPU() Cpu
func Cpu_HALF_VCPU ¶
func Cpu_HALF_VCPU() Cpu
func Cpu_ONE_VCPU ¶
func Cpu_ONE_VCPU() Cpu
func Cpu_Of ¶
Custom CPU unit. See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-instanceconfiguration.html#cfn-apprunner-service-instanceconfiguration-cpu
Experimental.
func Cpu_QUARTER_VCPU ¶
func Cpu_QUARTER_VCPU() Cpu
func Cpu_TWO_VCPU ¶
func Cpu_TWO_VCPU() Cpu
type EcrProps ¶
type EcrProps struct { // Represents the ECR repository. // Experimental. Repository awsecr.IRepository `field:"required" json:"repository" yaml:"repository"` // The image configuration for the image from ECR. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imageconfiguration.html#cfn-apprunner-service-imageconfiguration-port // // Default: - no image configuration will be passed. The default `port` will be 8080. // // Experimental. ImageConfiguration *ImageConfiguration `field:"optional" json:"imageConfiguration" yaml:"imageConfiguration"` // Image tag. // Default: - 'latest'. // // Deprecated: use `tagOrDigest`. Tag *string `field:"optional" json:"tag" yaml:"tag"` // Image tag or digest (digests must start with `sha256:`). // Default: - 'latest'. // // Experimental. TagOrDigest *string `field:"optional" json:"tagOrDigest" yaml:"tagOrDigest"` }
Properties of the image repository for `Source.fromEcr()`.
Example:
import ecr "github.com/aws/aws-cdk-go/awscdk" apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromEcr(&EcrProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(80), }, Repository: ecr.Repository_FromRepositoryName(this, jsii.String("NginxRepository"), jsii.String("nginx")), TagOrDigest: jsii.String("latest"), }), })
Experimental.
type EcrPublicProps ¶
type EcrPublicProps struct { // The ECR Public image URI. // Experimental. ImageIdentifier *string `field:"required" json:"imageIdentifier" yaml:"imageIdentifier"` // The image configuration for the image from ECR Public. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imageconfiguration.html#cfn-apprunner-service-imageconfiguration-port // // Default: - no image configuration will be passed. The default `port` will be 8080. // // Experimental. ImageConfiguration *ImageConfiguration `field:"optional" json:"imageConfiguration" yaml:"imageConfiguration"` }
Properties of the image repository for `Source.fromEcrPublic()`.
Example:
import "github.com/aws/aws-cdk-go/awscdk" service := apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), }) service.AddToRolePolicy(iam.NewPolicyStatement(&PolicyStatementProps{ Effect: iam.Effect_ALLOW, Actions: []*string{ jsii.String("s3:GetObject"), }, Resources: []*string{ jsii.String("*"), }, }))
Experimental.
type EcrPublicSource ¶
type EcrPublicSource interface { Source // Called when the Job is initialized to allow this object to bind. // Experimental. Bind(_scope constructs.Construct) *SourceConfig }
Represents the service source from ECR Public.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha" var secret secret ecrPublicSource := apprunner_alpha.NewEcrPublicSource(&EcrPublicProps{ ImageIdentifier: jsii.String("imageIdentifier"), // the properties below are optional ImageConfiguration: &ImageConfiguration{ Environment: map[string]*string{ "environmentKey": jsii.String("environment"), }, EnvironmentSecrets: map[string]*secret{ "environmentSecretsKey": secret, }, EnvironmentVariables: map[string]*string{ "environmentVariablesKey": jsii.String("environmentVariables"), }, Port: jsii.Number(123), StartCommand: jsii.String("startCommand"), }, })
Experimental.
func AssetSource_FromEcrPublic ¶
func AssetSource_FromEcrPublic(props *EcrPublicProps) EcrPublicSource
Source from the ECR Public repository. Experimental.
func EcrPublicSource_FromEcrPublic ¶
func EcrPublicSource_FromEcrPublic(props *EcrPublicProps) EcrPublicSource
Source from the ECR Public repository. Experimental.
func EcrSource_FromEcrPublic ¶
func EcrSource_FromEcrPublic(props *EcrPublicProps) EcrPublicSource
Source from the ECR Public repository. Experimental.
func GithubSource_FromEcrPublic ¶
func GithubSource_FromEcrPublic(props *EcrPublicProps) EcrPublicSource
Source from the ECR Public repository. Experimental.
func NewEcrPublicSource ¶
func NewEcrPublicSource(props *EcrPublicProps) EcrPublicSource
Experimental.
func Source_FromEcrPublic ¶
func Source_FromEcrPublic(props *EcrPublicProps) EcrPublicSource
Source from the ECR Public repository. Experimental.
type EcrSource ¶
type EcrSource interface { Source // Called when the Job is initialized to allow this object to bind. // Experimental. Bind(_scope constructs.Construct) *SourceConfig }
Represents the service source from ECR.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha" import "github.com/aws/aws-cdk-go/awscdk" var repository repository var secret secret ecrSource := apprunner_alpha.NewEcrSource(&EcrProps{ Repository: repository, // the properties below are optional ImageConfiguration: &ImageConfiguration{ Environment: map[string]*string{ "environmentKey": jsii.String("environment"), }, EnvironmentSecrets: map[string]*secret{ "environmentSecretsKey": secret, }, EnvironmentVariables: map[string]*string{ "environmentVariablesKey": jsii.String("environmentVariables"), }, Port: jsii.Number(123), StartCommand: jsii.String("startCommand"), }, Tag: jsii.String("tag"), TagOrDigest: jsii.String("tagOrDigest"), })
Experimental.
func AssetSource_FromEcr ¶
Source from the ECR repository. Experimental.
func EcrPublicSource_FromEcr ¶
Source from the ECR repository. Experimental.
func EcrSource_FromEcr ¶
Source from the ECR repository. Experimental.
func GithubSource_FromEcr ¶
Source from the ECR repository. Experimental.
func Source_FromEcr ¶
Source from the ECR repository. Experimental.
type GitHubConnection ¶
type GitHubConnection interface { // The ARN of the Connection for App Runner service to connect to the repository. // Experimental. ConnectionArn() *string }
Represents the App Runner connection that enables the App Runner service to connect to a source repository.
It's required for GitHub code repositories.
Example:
apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromGitHub(&GithubRepositoryProps{ RepositoryUrl: jsii.String("https://github.com/aws-containers/hello-app-runner"), Branch: jsii.String("main"), ConfigurationSource: apprunner.ConfigurationSourceType_REPOSITORY, Connection: apprunner.GitHubConnection_FromConnectionArn(jsii.String("CONNECTION_ARN")), }), })
Experimental.
func GitHubConnection_FromConnectionArn ¶
func GitHubConnection_FromConnectionArn(arn *string) GitHubConnection
Using existing App Runner connection by specifying the connection ARN.
Returns: Connection. Experimental.
type GithubRepositoryProps ¶
type GithubRepositoryProps struct { // The source of the App Runner configuration. // Experimental. ConfigurationSource ConfigurationSourceType `field:"required" json:"configurationSource" yaml:"configurationSource"` // ARN of the connection to Github. // // Only required for Github source. // Experimental. Connection GitHubConnection `field:"required" json:"connection" yaml:"connection"` // The location of the repository that contains the source code. // Experimental. RepositoryUrl *string `field:"required" json:"repositoryUrl" yaml:"repositoryUrl"` // The branch name that represents a specific version for the repository. // Default: main. // // Experimental. Branch *string `field:"optional" json:"branch" yaml:"branch"` // The code configuration values. // // Will be ignored if configurationSource is `REPOSITORY`. // Default: - no values will be passed. The `apprunner.yaml` from the github reopsitory will be used instead. // // Experimental. CodeConfigurationValues *CodeConfigurationValues `field:"optional" json:"codeConfigurationValues" yaml:"codeConfigurationValues"` }
Properties of the Github repository for `Source.fromGitHub()`.
Example:
apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromGitHub(&GithubRepositoryProps{ RepositoryUrl: jsii.String("https://github.com/aws-containers/hello-app-runner"), Branch: jsii.String("main"), ConfigurationSource: apprunner.ConfigurationSourceType_REPOSITORY, Connection: apprunner.GitHubConnection_FromConnectionArn(jsii.String("CONNECTION_ARN")), }), })
Experimental.
type GithubSource ¶
type GithubSource interface { Source // Called when the Job is initialized to allow this object to bind. // Experimental. Bind(_scope constructs.Construct) *SourceConfig }
Represents the service source from a Github repository.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdkapprunneralpha" var gitHubConnection gitHubConnection var runtime runtime var secret secret githubSource := apprunner_alpha.NewGithubSource(&GithubRepositoryProps{ ConfigurationSource: apprunner_alpha.ConfigurationSourceType_REPOSITORY, Connection: gitHubConnection, RepositoryUrl: jsii.String("repositoryUrl"), // the properties below are optional Branch: jsii.String("branch"), CodeConfigurationValues: &CodeConfigurationValues{ Runtime: runtime, // the properties below are optional BuildCommand: jsii.String("buildCommand"), Environment: map[string]*string{ "environmentKey": jsii.String("environment"), }, EnvironmentSecrets: map[string]*secret{ "environmentSecretsKey": secret, }, EnvironmentVariables: map[string]*string{ "environmentVariablesKey": jsii.String("environmentVariables"), }, Port: jsii.String("port"), StartCommand: jsii.String("startCommand"), }, })
Experimental.
func AssetSource_FromGitHub ¶
func AssetSource_FromGitHub(props *GithubRepositoryProps) GithubSource
Source from the GitHub repository. Experimental.
func EcrPublicSource_FromGitHub ¶
func EcrPublicSource_FromGitHub(props *GithubRepositoryProps) GithubSource
Source from the GitHub repository. Experimental.
func EcrSource_FromGitHub ¶
func EcrSource_FromGitHub(props *GithubRepositoryProps) GithubSource
Source from the GitHub repository. Experimental.
func GithubSource_FromGitHub ¶
func GithubSource_FromGitHub(props *GithubRepositoryProps) GithubSource
Source from the GitHub repository. Experimental.
func NewGithubSource ¶
func NewGithubSource(props *GithubRepositoryProps) GithubSource
Experimental.
func Source_FromGitHub ¶
func Source_FromGitHub(props *GithubRepositoryProps) GithubSource
Source from the GitHub repository. Experimental.
type HealthCheck ¶
type HealthCheck interface { // Experimental. HealthCheckProtocolType() HealthCheckProtocolType // Experimental. HealthyThreshold() *float64 // Experimental. Interval() awscdk.Duration // Experimental. Path() *string // Experimental. Timeout() awscdk.Duration // Experimental. UnhealthyThreshold() *float64 // Experimental. Bind() *awsapprunner.CfnService_HealthCheckConfigurationProperty }
Contains static factory methods for creating health checks for different protocols.
Example:
apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), HealthCheck: apprunner.HealthCheck_Http(&HttpHealthCheckOptions{ HealthyThreshold: jsii.Number(5), Interval: awscdk.Duration_Seconds(jsii.Number(10)), Path: jsii.String("/"), Timeout: awscdk.Duration_*Seconds(jsii.Number(10)), UnhealthyThreshold: jsii.Number(10), }), })
Experimental.
func HealthCheck_Http ¶
func HealthCheck_Http(options *HttpHealthCheckOptions) HealthCheck
Construct a HTTP health check. Experimental.
func HealthCheck_Tcp ¶
func HealthCheck_Tcp(options *TcpHealthCheckOptions) HealthCheck
Construct a TCP health check. Experimental.
type HealthCheckProtocolType ¶
type HealthCheckProtocolType string
The health check protocol type. Experimental.
const ( // HTTP protocol. // Experimental. HealthCheckProtocolType_HTTP HealthCheckProtocolType = "HTTP" // TCP protocol. // Experimental. HealthCheckProtocolType_TCP HealthCheckProtocolType = "TCP" )
type HttpHealthCheckOptions ¶
type HttpHealthCheckOptions struct { // The number of consecutive checks that must succeed before App Runner decides that the service is healthy. // Default: 1. // // Experimental. HealthyThreshold *float64 `field:"optional" json:"healthyThreshold" yaml:"healthyThreshold"` // The time interval, in seconds, between health checks. // Default: Duration.seconds(5) // // Experimental. Interval awscdk.Duration `field:"optional" json:"interval" yaml:"interval"` // The URL that health check requests are sent to. // Default: /. // // Experimental. Path *string `field:"optional" json:"path" yaml:"path"` // The time, in seconds, to wait for a health check response before deciding it failed. // Default: Duration.seconds(2) // // Experimental. Timeout awscdk.Duration `field:"optional" json:"timeout" yaml:"timeout"` // The number of consecutive checks that must fail before App Runner decides that the service is unhealthy. // Default: 5. // // Experimental. UnhealthyThreshold *float64 `field:"optional" json:"unhealthyThreshold" yaml:"unhealthyThreshold"` }
Properties used to define HTTP Based healthchecks.
Example:
apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), HealthCheck: apprunner.HealthCheck_Http(&HttpHealthCheckOptions{ HealthyThreshold: jsii.Number(5), Interval: awscdk.Duration_Seconds(jsii.Number(10)), Path: jsii.String("/"), Timeout: awscdk.Duration_*Seconds(jsii.Number(10)), UnhealthyThreshold: jsii.Number(10), }), })
Experimental.
type IAutoScalingConfiguration ¶
type IAutoScalingConfiguration interface { awscdk.IResource // The ARN of the Auto Scaling Configuration. // Experimental. AutoScalingConfigurationArn() *string // The Name of the Auto Scaling Configuration. // Experimental. AutoScalingConfigurationName() *string // The revision of the Auto Scaling Configuration. // Experimental. AutoScalingConfigurationRevision() *float64 }
Represents the App Runner Auto Scaling Configuration. Experimental.
func AutoScalingConfiguration_FromArn ¶
func AutoScalingConfiguration_FromArn(scope constructs.Construct, id *string, autoScalingConfigurationArn *string) IAutoScalingConfiguration
Imports an App Runner Auto Scaling Configuration from its ARN. Experimental.
func AutoScalingConfiguration_FromAutoScalingConfigurationAttributes ¶
func AutoScalingConfiguration_FromAutoScalingConfigurationAttributes(scope constructs.Construct, id *string, attrs *AutoScalingConfigurationAttributes) IAutoScalingConfiguration
Imports an App Runner Auto Scaling Configuration from attributes. Experimental.
type IObservabilityConfiguration ¶
type IObservabilityConfiguration interface { awscdk.IResource // The ARN of the Observability configuration. // Experimental. ObservabilityConfigurationArn() *string // The Name of the Observability configuration. // Experimental. ObservabilityConfigurationName() *string // The revision of the Observability configuration. // Experimental. ObservabilityConfigurationRevision() *float64 }
Represents the App Runner Observability configuration. Experimental.
func ObservabilityConfiguration_FromArn ¶
func ObservabilityConfiguration_FromArn(scope constructs.Construct, id *string, observabilityConfigurationArn *string) IObservabilityConfiguration
Imports an App Runner Observability Configuration from its ARN. Experimental.
func ObservabilityConfiguration_FromObservabilityConfigurationAttributes ¶
func ObservabilityConfiguration_FromObservabilityConfigurationAttributes(scope constructs.Construct, id *string, attrs *ObservabilityConfigurationAttributes) IObservabilityConfiguration
Imports an App Runner Observability Configuration from attributes. Experimental.
type IService ¶
type IService interface { awscdk.IResource // The ARN of the service. // Experimental. ServiceArn() *string // The Name of the service. // Experimental. ServiceName() *string }
Represents the App Runner Service. Experimental.
func Service_FromServiceAttributes ¶
func Service_FromServiceAttributes(scope constructs.Construct, id *string, attrs *ServiceAttributes) IService
Import from service attributes. Experimental.
func Service_FromServiceName ¶
Import from service name. Experimental.
type IVpcConnector ¶
type IVpcConnector interface { awsec2.IConnectable awscdk.IResource // The ARN of the VPC connector. // Experimental. VpcConnectorArn() *string // The Name of the VPC connector. // Experimental. VpcConnectorName() *string // The revision of the VPC connector. // Experimental. VpcConnectorRevision() *float64 }
Represents the App Runner VPC Connector. Experimental.
func VpcConnector_FromVpcConnectorAttributes ¶
func VpcConnector_FromVpcConnectorAttributes(scope constructs.Construct, id *string, attrs *VpcConnectorAttributes) IVpcConnector
Import from VPC connector attributes. Experimental.
type IVpcIngressConnection ¶
type IVpcIngressConnection interface { awscdk.IResource // The Amazon Resource Name (ARN) of the VPC Ingress Connection. // Experimental. VpcIngressConnectionArn() *string // The name of the VPC Ingress Connection. // Experimental. VpcIngressConnectionName() *string }
Represents the App Runner VPC Ingress Connection. Experimental.
func VpcIngressConnection_FromArn ¶
func VpcIngressConnection_FromArn(scope constructs.Construct, id *string, vpcIngressConnectionArn *string) IVpcIngressConnection
Imports an App Runner VPC Ingress Connection from its ARN. Experimental.
func VpcIngressConnection_FromVpcIngressConnectionAttributes ¶
func VpcIngressConnection_FromVpcIngressConnectionAttributes(scope constructs.Construct, id *string, attrs *VpcIngressConnectionAttributes) IVpcIngressConnection
Import from VPC Ingress Connection from attributes. Experimental.
type ImageConfiguration ¶
type ImageConfiguration struct { // Environment variables that are available to your running App Runner service. // Default: - no environment variables. // // Deprecated: use environmentVariables. Environment *map[string]*string `field:"optional" json:"environment" yaml:"environment"` // Environment secrets that are available to your running App Runner service. // Default: - no environment secrets. // // Experimental. EnvironmentSecrets *map[string]Secret `field:"optional" json:"environmentSecrets" yaml:"environmentSecrets"` // Environment variables that are available to your running App Runner service. // Default: - no environment variables. // // Experimental. EnvironmentVariables *map[string]*string `field:"optional" json:"environmentVariables" yaml:"environmentVariables"` // The port that your application listens to in the container. // Default: 8080. // // Experimental. Port *float64 `field:"optional" json:"port" yaml:"port"` // An optional command that App Runner runs to start the application in the source image. // // If specified, this command overrides the Docker image’s default start command. // Default: - no start command. // // Experimental. StartCommand *string `field:"optional" json:"startCommand" yaml:"startCommand"` }
Describes the configuration that AWS App Runner uses to run an App Runner service using an image pulled from a source image repository.
Example:
import "github.com/aws/aws-cdk-go/awscdk" service := apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), }) service.AddToRolePolicy(iam.NewPolicyStatement(&PolicyStatementProps{ Effect: iam.Effect_ALLOW, Actions: []*string{ jsii.String("s3:GetObject"), }, Resources: []*string{ jsii.String("*"), }, }))
Experimental.
type ImageRepository ¶
type ImageRepository struct { // The identifier of the image. // // For `ECR_PUBLIC` imageRepositoryType, the identifier domain should // always be `public.ecr.aws`. For `ECR`, the pattern should be // `([0-9]{12}.dkr.ecr.[a-z\-]+-[0-9]{1}.amazonaws.com\/.*)`. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imagerepository.html // // Experimental. ImageIdentifier *string `field:"required" json:"imageIdentifier" yaml:"imageIdentifier"` // The type of the image repository. // // This reflects the repository provider and whether // the repository is private or public. // Experimental. ImageRepositoryType ImageRepositoryType `field:"required" json:"imageRepositoryType" yaml:"imageRepositoryType"` // Configuration for running the identified image. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imageconfiguration.html#cfn-apprunner-service-imageconfiguration-port // // Default: - no image configuration will be passed. The default `port` will be 8080. // // Experimental. ImageConfiguration *ImageConfiguration `field:"optional" json:"imageConfiguration" yaml:"imageConfiguration"` }
Describes a source image repository.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha" var secret secret imageRepository := &ImageRepository{ ImageIdentifier: jsii.String("imageIdentifier"), ImageRepositoryType: apprunner_alpha.ImageRepositoryType_ECR_PUBLIC, // the properties below are optional ImageConfiguration: &ImageConfiguration{ Environment: map[string]*string{ "environmentKey": jsii.String("environment"), }, EnvironmentSecrets: map[string]*secret{ "environmentSecretsKey": secret, }, EnvironmentVariables: map[string]*string{ "environmentVariablesKey": jsii.String("environmentVariables"), }, Port: jsii.Number(123), StartCommand: jsii.String("startCommand"), }, }
Experimental.
type ImageRepositoryType ¶
type ImageRepositoryType string
The image repository types. Experimental.
const ( // Amazon ECR Public. // Experimental. ImageRepositoryType_ECR_PUBLIC ImageRepositoryType = "ECR_PUBLIC" // Amazon ECR. // Experimental. ImageRepositoryType_ECR ImageRepositoryType = "ECR" )
type IpAddressType ¶
type IpAddressType string
The IP address type for your incoming public network configuration.
Example:
apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), IpAddressType: apprunner.IpAddressType_DUAL_STACK, })
Experimental.
const ( // IPV4. // Experimental. IpAddressType_IPV4 IpAddressType = "IPV4" // DUAL_STACK. // Experimental. IpAddressType_DUAL_STACK IpAddressType = "DUAL_STACK" )
type Memory ¶
type Memory interface { // The unit of memory. // Experimental. Unit() *string }
The amount of memory reserved for each instance of your App Runner service.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha" memory := apprunner_alpha.Memory_EIGHT_GB()
Experimental.
func Memory_EIGHT_GB ¶
func Memory_EIGHT_GB() Memory
func Memory_FOUR_GB ¶
func Memory_FOUR_GB() Memory
func Memory_HALF_GB ¶
func Memory_HALF_GB() Memory
func Memory_ONE_GB ¶
func Memory_ONE_GB() Memory
func Memory_Of ¶
Custom Memory unit. See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-instanceconfiguration.html#cfn-apprunner-service-instanceconfiguration-memory
Experimental.
func Memory_SIX_GB ¶
func Memory_SIX_GB() Memory
func Memory_TEN_GB ¶
func Memory_TEN_GB() Memory
func Memory_THREE_GB ¶
func Memory_THREE_GB() Memory
func Memory_TWELVE_GB ¶
func Memory_TWELVE_GB() Memory
func Memory_TWO_GB ¶
func Memory_TWO_GB() Memory
type ObservabilityConfiguration ¶
type ObservabilityConfiguration interface { awscdk.Resource IObservabilityConfiguration // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. // Experimental. Env() *awscdk.ResourceEnvironment // The tree node. // Experimental. Node() constructs.Node // The ARN of the Observability configuration. // Experimental. ObservabilityConfigurationArn() *string // The name of the Observability configuration. // Experimental. ObservabilityConfigurationName() *string // The revision of the Observability configuration. // Experimental. ObservabilityConfigurationRevision() *float64 // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string // The stack in which this resource is defined. // Experimental. Stack() awscdk.Stack // Apply the given removal policy to this resource. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). // Experimental. ApplyRemovalPolicy(policy awscdk.RemovalPolicy) // Experimental. GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. // Experimental. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. // Experimental. GetResourceNameAttribute(nameAttr *string) *string // Returns a string representation of this construct. // Experimental. ToString() *string }
The App Runner Observability configuration.
Example:
observabilityConfiguration := apprunner.NewObservabilityConfiguration(this, jsii.String("ObservabilityConfiguration"), &ObservabilityConfigurationProps{ ObservabilityConfigurationName: jsii.String("MyObservabilityConfiguration"), TraceConfigurationVendor: apprunner.TraceConfigurationVendor_AWSXRAY, }) apprunner.NewService(this, jsii.String("DemoService"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), ObservabilityConfiguration: ObservabilityConfiguration, })
Experimental.
func NewObservabilityConfiguration ¶
func NewObservabilityConfiguration(scope constructs.Construct, id *string, props *ObservabilityConfigurationProps) ObservabilityConfiguration
Experimental.
type ObservabilityConfigurationAttributes ¶
type ObservabilityConfigurationAttributes struct { // The name of the Observability configuration. // Experimental. ObservabilityConfigurationName *string `field:"required" json:"observabilityConfigurationName" yaml:"observabilityConfigurationName"` // The revision of the Observability configuration. // Experimental. ObservabilityConfigurationRevision *float64 `field:"required" json:"observabilityConfigurationRevision" yaml:"observabilityConfigurationRevision"` }
Attributes for the App Runner Observability configuration.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha" observabilityConfigurationAttributes := &ObservabilityConfigurationAttributes{ ObservabilityConfigurationName: jsii.String("observabilityConfigurationName"), ObservabilityConfigurationRevision: jsii.Number(123), }
Experimental.
type ObservabilityConfigurationProps ¶
type ObservabilityConfigurationProps struct { // The implementation provider chosen for tracing App Runner services. // Experimental. TraceConfigurationVendor TraceConfigurationVendor `field:"required" json:"traceConfigurationVendor" yaml:"traceConfigurationVendor"` // The name for the ObservabilityConfiguration. // Default: - a name generated by CloudFormation. // // Experimental. ObservabilityConfigurationName *string `field:"optional" json:"observabilityConfigurationName" yaml:"observabilityConfigurationName"` }
Properties of the AppRunner Observability configuration.
Example:
observabilityConfiguration := apprunner.NewObservabilityConfiguration(this, jsii.String("ObservabilityConfiguration"), &ObservabilityConfigurationProps{ ObservabilityConfigurationName: jsii.String("MyObservabilityConfiguration"), TraceConfigurationVendor: apprunner.TraceConfigurationVendor_AWSXRAY, }) apprunner.NewService(this, jsii.String("DemoService"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), ObservabilityConfiguration: ObservabilityConfiguration, })
Experimental.
type Runtime ¶
type Runtime interface { // The runtime name. // Experimental. Name() *string }
The code runtimes.
Example:
apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromGitHub(&GithubRepositoryProps{ RepositoryUrl: jsii.String("https://github.com/aws-containers/hello-app-runner"), Branch: jsii.String("main"), ConfigurationSource: apprunner.ConfigurationSourceType_API, CodeConfigurationValues: &CodeConfigurationValues{ Runtime: apprunner.Runtime_PYTHON_3(), Port: jsii.String("8000"), StartCommand: jsii.String("python app.py"), BuildCommand: jsii.String("yum install -y pycairo && pip install -r requirements.txt"), }, Connection: apprunner.GitHubConnection_FromConnectionArn(jsii.String("CONNECTION_ARN")), }), })
Experimental.
func Runtime_CORRETTO_11 ¶
func Runtime_CORRETTO_11() Runtime
func Runtime_CORRETTO_8 ¶
func Runtime_CORRETTO_8() Runtime
func Runtime_DOTNET_6 ¶
func Runtime_DOTNET_6() Runtime
func Runtime_GO_1 ¶
func Runtime_GO_1() Runtime
func Runtime_NODEJS_12 ¶
func Runtime_NODEJS_12() Runtime
func Runtime_NODEJS_14 ¶
func Runtime_NODEJS_14() Runtime
func Runtime_NODEJS_16 ¶
func Runtime_NODEJS_16() Runtime
func Runtime_NODEJS_18 ¶
func Runtime_NODEJS_18() Runtime
func Runtime_Of ¶
Other runtimes. See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html#cfn-apprunner-service-codeconfigurationvalues-runtime for all available runtimes.
Experimental.
func Runtime_PHP_81 ¶
func Runtime_PHP_81() Runtime
func Runtime_PYTHON_3 ¶
func Runtime_PYTHON_3() Runtime
func Runtime_PYTHON_311 ¶
func Runtime_PYTHON_311() Runtime
func Runtime_RUBY_31 ¶
func Runtime_RUBY_31() Runtime
type Secret ¶
type Secret interface { // The ARN of the secret. // Experimental. Arn() *string // Whether this secret uses a specific JSON field. // Experimental. HasField() *bool // Grants reading the secret to a principal. // Experimental. GrantRead(grantee awsiam.IGrantable) awsiam.Grant }
A secret environment variable.
Example:
import secretsmanager "github.com/aws/aws-cdk-go/awscdk" import ssm "github.com/aws/aws-cdk-go/awscdk" var stack stack secret := secretsmanager.NewSecret(stack, jsii.String("Secret")) parameter := ssm.StringParameter_FromSecureStringParameterAttributes(stack, jsii.String("Parameter"), &SecureStringParameterAttributes{ ParameterName: jsii.String("/name"), Version: jsii.Number(1), }) service := apprunner.NewService(stack, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), EnvironmentSecrets: map[string]secret{ "SECRET": apprunner.*secret_fromSecretsManager(secret), "PARAMETER": apprunner.*secret_fromSsmParameter(parameter), "SECRET_ID": apprunner.*secret_fromSecretsManagerVersion(secret, &SecretVersionInfo{ "versionId": jsii.String("version-id"), }), "SECRET_STAGE": apprunner.*secret_fromSecretsManagerVersion(secret, &SecretVersionInfo{ "versionStage": jsii.String("version-stage"), }), }, }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), }) service.AddSecret(jsii.String("LATER_SECRET"), apprunner.secret_FromSecretsManager(secret, jsii.String("field")))
Experimental.
func Secret_FromSecretsManager ¶
func Secret_FromSecretsManager(secret awssecretsmanager.ISecret, field *string) Secret
Creates a environment variable value from a secret stored in AWS Secrets Manager. Experimental.
func Secret_FromSecretsManagerVersion ¶
func Secret_FromSecretsManagerVersion(secret awssecretsmanager.ISecret, versionInfo *SecretVersionInfo, field *string) Secret
Creates a environment variable value from a secret stored in AWS Secrets Manager. Experimental.
func Secret_FromSsmParameter ¶
func Secret_FromSsmParameter(parameter awsssm.IParameter) Secret
Creates an environment variable value from a parameter stored in AWS Systems Manager Parameter Store. Experimental.
type SecretVersionInfo ¶
type SecretVersionInfo struct { // version id of the secret. // Default: - use default version id. // // Experimental. VersionId *string `field:"optional" json:"versionId" yaml:"versionId"` // version stage of the secret. // Default: - use default version stage. // // Experimental. VersionStage *string `field:"optional" json:"versionStage" yaml:"versionStage"` }
Specify the secret's version id or version stage.
Example:
import secretsmanager "github.com/aws/aws-cdk-go/awscdk" import ssm "github.com/aws/aws-cdk-go/awscdk" var stack stack secret := secretsmanager.NewSecret(stack, jsii.String("Secret")) parameter := ssm.StringParameter_FromSecureStringParameterAttributes(stack, jsii.String("Parameter"), &SecureStringParameterAttributes{ ParameterName: jsii.String("/name"), Version: jsii.Number(1), }) service := apprunner.NewService(stack, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), EnvironmentSecrets: map[string]secret{ "SECRET": apprunner.*secret_fromSecretsManager(secret), "PARAMETER": apprunner.*secret_fromSsmParameter(parameter), "SECRET_ID": apprunner.*secret_fromSecretsManagerVersion(secret, &SecretVersionInfo{ "versionId": jsii.String("version-id"), }), "SECRET_STAGE": apprunner.*secret_fromSecretsManagerVersion(secret, &SecretVersionInfo{ "versionStage": jsii.String("version-stage"), }), }, }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), }) service.AddSecret(jsii.String("LATER_SECRET"), apprunner.secret_FromSecretsManager(secret, jsii.String("field")))
Experimental.
type Service ¶
type Service interface { awscdk.Resource IService awsiam.IGrantable // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. // Experimental. Env() *awscdk.ResourceEnvironment // Environment variables for this service. // Deprecated: use environmentVariables. Environment() *map[string]*string // The principal to grant permissions to. // Experimental. GrantPrincipal() awsiam.IPrincipal // The tree node. // Experimental. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string // The ARN of the Service. // Experimental. ServiceArn() *string // The ID of the Service. // Experimental. ServiceId() *string // The name of the service. // Experimental. ServiceName() *string // The status of the Service. // Experimental. ServiceStatus() *string // The URL of the Service. // Experimental. ServiceUrl() *string // The stack in which this resource is defined. // Experimental. Stack() awscdk.Stack // This method adds an environment variable to the App Runner service. // Experimental. AddEnvironmentVariable(name *string, value *string) // This method adds a secret as environment variable to the App Runner service. // Experimental. AddSecret(name *string, secret Secret) // Adds a statement to the instance role. // Experimental. AddToRolePolicy(statement awsiam.PolicyStatement) // Apply the given removal policy to this resource. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). // Experimental. ApplyRemovalPolicy(policy awscdk.RemovalPolicy) // Experimental. GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. // Experimental. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. // Experimental. GetResourceNameAttribute(nameAttr *string) *string // Returns a string representation of this construct. // Experimental. ToString() *string }
The App Runner Service.
Example:
import "github.com/aws/aws-cdk-go/awscdk" service := apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), }) service.AddToRolePolicy(iam.NewPolicyStatement(&PolicyStatementProps{ Effect: iam.Effect_ALLOW, Actions: []*string{ jsii.String("s3:GetObject"), }, Resources: []*string{ jsii.String("*"), }, }))
Experimental.
func NewService ¶
func NewService(scope constructs.Construct, id *string, props *ServiceProps) Service
Experimental.
type ServiceAttributes ¶
type ServiceAttributes struct { // The ARN of the service. // Experimental. ServiceArn *string `field:"required" json:"serviceArn" yaml:"serviceArn"` // The name of the service. // Experimental. ServiceName *string `field:"required" json:"serviceName" yaml:"serviceName"` // The status of the service. // Experimental. ServiceStatus *string `field:"required" json:"serviceStatus" yaml:"serviceStatus"` // The URL of the service. // Experimental. ServiceUrl *string `field:"required" json:"serviceUrl" yaml:"serviceUrl"` }
Attributes for the App Runner Service.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha" serviceAttributes := &ServiceAttributes{ ServiceArn: jsii.String("serviceArn"), ServiceName: jsii.String("serviceName"), ServiceStatus: jsii.String("serviceStatus"), ServiceUrl: jsii.String("serviceUrl"), }
Experimental.
type ServiceProps ¶
type ServiceProps struct { // The source of the repository for the service. // Experimental. Source Source `field:"required" json:"source" yaml:"source"` // The IAM role that grants the App Runner service access to a source repository. // // It's required for ECR image repositories (but not for ECR Public repositories). // // The role must be assumable by the 'build.apprunner.amazonaws.com' service principal. // See: https://docs.aws.amazon.com/apprunner/latest/dg/security_iam_service-with-iam.html#security_iam_service-with-iam-roles-service.access // // Default: - generate a new access role. // // Experimental. AccessRole awsiam.IRole `field:"optional" json:"accessRole" yaml:"accessRole"` // Specifies whether to enable continuous integration from the source repository. // // If true, continuous integration from the source repository is enabled for the App Runner service. // Each repository change (including any source code commit or new image version) starts a deployment. // By default, App Runner sets to false for a source image that uses an ECR Public repository or an ECR repository that's in an AWS account other than the one that the service is in. // App Runner sets to true in all other cases (which currently include a source code repository or a source image using a same-account ECR repository). // Default: - no value will be passed. // // Experimental. AutoDeploymentsEnabled *bool `field:"optional" json:"autoDeploymentsEnabled" yaml:"autoDeploymentsEnabled"` // Specifies an App Runner Auto Scaling Configuration. // // A default configuration is either the AWS recommended configuration, // or the configuration you set as the default. // See: https://docs.aws.amazon.com/apprunner/latest/dg/manage-autoscaling.html // // Default: - the latest revision of a default auto scaling configuration is used. // // Experimental. AutoScalingConfiguration IAutoScalingConfiguration `field:"optional" json:"autoScalingConfiguration" yaml:"autoScalingConfiguration"` // The number of CPU units reserved for each instance of your App Runner service. // Default: Cpu.ONE_VCPU // // Experimental. Cpu Cpu `field:"optional" json:"cpu" yaml:"cpu"` // Settings for the health check that AWS App Runner performs to monitor the health of a service. // // You can specify it by static methods `HealthCheck.http` or `HealthCheck.tcp`. // Default: - no health check configuration. // // Experimental. HealthCheck HealthCheck `field:"optional" json:"healthCheck" yaml:"healthCheck"` // The IAM role that provides permissions to your App Runner service. // // These are permissions that your code needs when it calls any AWS APIs. // // The role must be assumable by the 'tasks.apprunner.amazonaws.com' service principal. // See: https://docs.aws.amazon.com/apprunner/latest/dg/security_iam_service-with-iam.html#security_iam_service-with-iam-roles-service.instance // // Default: - generate a new instance role. // // Experimental. InstanceRole awsiam.IRole `field:"optional" json:"instanceRole" yaml:"instanceRole"` // The IP address type for your incoming public network configuration. // Default: - IpAddressType.IPV4 // // Experimental. IpAddressType IpAddressType `field:"optional" json:"ipAddressType" yaml:"ipAddressType"` // Specifies whether your App Runner service is publicly accessible. // // If you use `VpcIngressConnection`, you must set this property to `false`. // Default: true. // // Experimental. IsPubliclyAccessible *bool `field:"optional" json:"isPubliclyAccessible" yaml:"isPubliclyAccessible"` // The customer managed key that AWS App Runner uses to encrypt copies of the source repository and service logs. // Default: - Use an AWS managed key. // // Experimental. KmsKey awskms.IKey `field:"optional" json:"kmsKey" yaml:"kmsKey"` // The amount of memory reserved for each instance of your App Runner service. // Default: Memory.TWO_GB // // Experimental. Memory Memory `field:"optional" json:"memory" yaml:"memory"` // Settings for an App Runner observability configuration. // Default: - no observability configuration resource is associated with the service. // // Experimental. ObservabilityConfiguration IObservabilityConfiguration `field:"optional" json:"observabilityConfiguration" yaml:"observabilityConfiguration"` // Name of the service. // Default: - auto-generated if undefined. // // Experimental. ServiceName *string `field:"optional" json:"serviceName" yaml:"serviceName"` // Settings for an App Runner VPC connector to associate with the service. // Default: - no VPC connector, uses the DEFAULT egress type instead. // // Experimental. VpcConnector IVpcConnector `field:"optional" json:"vpcConnector" yaml:"vpcConnector"` }
Properties of the AppRunner Service.
Example:
import "github.com/aws/aws-cdk-go/awscdk" service := apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), }) service.AddToRolePolicy(iam.NewPolicyStatement(&PolicyStatementProps{ Effect: iam.Effect_ALLOW, Actions: []*string{ jsii.String("s3:GetObject"), }, Resources: []*string{ jsii.String("*"), }, }))
Experimental.
type Source ¶
type Source interface { // Called when the Job is initialized to allow this object to bind. // Experimental. Bind(scope constructs.Construct) *SourceConfig }
Represents the App Runner service source.
Example:
import "github.com/aws/aws-cdk-go/awscdk" service := apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), }) service.AddToRolePolicy(iam.NewPolicyStatement(&PolicyStatementProps{ Effect: iam.Effect_ALLOW, Actions: []*string{ jsii.String("s3:GetObject"), }, Resources: []*string{ jsii.String("*"), }, }))
Experimental.
type SourceCodeVersion ¶
type SourceCodeVersion struct { // The type of version identifier. // Experimental. Type *string `field:"required" json:"type" yaml:"type"` // A source code version. // Experimental. Value *string `field:"required" json:"value" yaml:"value"` }
Identifies a version of code that AWS App Runner refers to within a source code repository.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha" sourceCodeVersion := &SourceCodeVersion{ Type: jsii.String("type"), Value: jsii.String("value"), }
Experimental.
type SourceConfig ¶
type SourceConfig struct { // The code repository configuration (mutually exclusive with `imageRepository`). // Default: - no code repository. // // Experimental. CodeRepository *CodeRepositoryProps `field:"optional" json:"codeRepository" yaml:"codeRepository"` // The ECR repository (required to grant the pull privileges for the iam role). // Default: - no ECR repository. // // Experimental. EcrRepository awsecr.IRepository `field:"optional" json:"ecrRepository" yaml:"ecrRepository"` // The image repository configuration (mutually exclusive with `codeRepository`). // Default: - no image repository. // // Experimental. ImageRepository *ImageRepository `field:"optional" json:"imageRepository" yaml:"imageRepository"` }
Result of binding `Source` into a `Service`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdkapprunneralpha" import "github.com/aws/aws-cdk-go/awscdk" var gitHubConnection gitHubConnection var repository repository var runtime runtime var secret secret sourceConfig := &SourceConfig{ CodeRepository: &CodeRepositoryProps{ CodeConfiguration: &CodeConfiguration{ ConfigurationSource: apprunner_alpha.ConfigurationSourceType_REPOSITORY, // the properties below are optional ConfigurationValues: &CodeConfigurationValues{ Runtime: runtime, // the properties below are optional BuildCommand: jsii.String("buildCommand"), Environment: map[string]*string{ "environmentKey": jsii.String("environment"), }, EnvironmentSecrets: map[string]*secret{ "environmentSecretsKey": secret, }, EnvironmentVariables: map[string]*string{ "environmentVariablesKey": jsii.String("environmentVariables"), }, Port: jsii.String("port"), StartCommand: jsii.String("startCommand"), }, }, Connection: gitHubConnection, RepositoryUrl: jsii.String("repositoryUrl"), SourceCodeVersion: &SourceCodeVersion{ Type: jsii.String("type"), Value: jsii.String("value"), }, }, EcrRepository: repository, ImageRepository: &ImageRepository{ ImageIdentifier: jsii.String("imageIdentifier"), ImageRepositoryType: apprunner_alpha.ImageRepositoryType_ECR_PUBLIC, // the properties below are optional ImageConfiguration: &ImageConfiguration{ Environment: map[string]*string{ "environmentKey": jsii.String("environment"), }, EnvironmentSecrets: map[string]*secret{ "environmentSecretsKey": secret, }, EnvironmentVariables: map[string]*string{ "environmentVariablesKey": jsii.String("environmentVariables"), }, Port: jsii.Number(123), StartCommand: jsii.String("startCommand"), }, }, }
Experimental.
type TcpHealthCheckOptions ¶
type TcpHealthCheckOptions struct { // The number of consecutive checks that must succeed before App Runner decides that the service is healthy. // Default: 1. // // Experimental. HealthyThreshold *float64 `field:"optional" json:"healthyThreshold" yaml:"healthyThreshold"` // The time interval, in seconds, between health checks. // Default: Duration.seconds(5) // // Experimental. Interval awscdk.Duration `field:"optional" json:"interval" yaml:"interval"` // The time, in seconds, to wait for a health check response before deciding it failed. // Default: Duration.seconds(2) // // Experimental. Timeout awscdk.Duration `field:"optional" json:"timeout" yaml:"timeout"` // The number of consecutive checks that must fail before App Runner decides that the service is unhealthy. // Default: 5. // // Experimental. UnhealthyThreshold *float64 `field:"optional" json:"unhealthyThreshold" yaml:"unhealthyThreshold"` }
Properties used to define TCP Based healthchecks.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha" import "github.com/aws/aws-cdk-go/awscdk" tcpHealthCheckOptions := &TcpHealthCheckOptions{ HealthyThreshold: jsii.Number(123), Interval: cdk.Duration_Minutes(jsii.Number(30)), Timeout: cdk.Duration_*Minutes(jsii.Number(30)), UnhealthyThreshold: jsii.Number(123), }
Experimental.
type TraceConfigurationVendor ¶
type TraceConfigurationVendor string
The implementation provider chosen for tracing App Runner services.
Example:
observabilityConfiguration := apprunner.NewObservabilityConfiguration(this, jsii.String("ObservabilityConfiguration"), &ObservabilityConfigurationProps{ ObservabilityConfigurationName: jsii.String("MyObservabilityConfiguration"), TraceConfigurationVendor: apprunner.TraceConfigurationVendor_AWSXRAY, }) apprunner.NewService(this, jsii.String("DemoService"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), ObservabilityConfiguration: ObservabilityConfiguration, })
See: https://docs.aws.amazon.com/apprunner/latest/dg/monitor.html
Experimental.
const ( // Tracing (X-Ray). // Experimental. TraceConfigurationVendor_AWSXRAY TraceConfigurationVendor = "AWSXRAY" )
type VpcConnector ¶
type VpcConnector interface { awscdk.Resource IVpcConnector // Allows specifying security group connections for the VPC connector. // Experimental. Connections() awsec2.Connections // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. // Experimental. Env() *awscdk.ResourceEnvironment // The tree node. // Experimental. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string // The stack in which this resource is defined. // Experimental. Stack() awscdk.Stack // The ARN of the VPC connector. // Experimental. VpcConnectorArn() *string // The name of the VPC connector. // Experimental. VpcConnectorName() *string // The revision of the VPC connector. // Experimental. VpcConnectorRevision() *float64 // Apply the given removal policy to this resource. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). // Experimental. ApplyRemovalPolicy(policy awscdk.RemovalPolicy) // Experimental. GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. // Experimental. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. // Experimental. GetResourceNameAttribute(nameAttr *string) *string // Returns a string representation of this construct. // Experimental. ToString() *string }
The App Runner VPC Connector.
Example:
import "github.com/aws/aws-cdk-go/awscdk" vpc := ec2.NewVpc(this, jsii.String("Vpc"), &VpcProps{ IpAddresses: ec2.IpAddresses_Cidr(jsii.String("10.0.0.0/16")), }) vpcConnector := apprunner.NewVpcConnector(this, jsii.String("VpcConnector"), &VpcConnectorProps{ Vpc: Vpc, VpcSubnets: vpc.selectSubnets(&SubnetSelection{ SubnetType: ec2.SubnetType_PUBLIC, }), VpcConnectorName: jsii.String("MyVpcConnector"), }) apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), VpcConnector: VpcConnector, })
Experimental.
func NewVpcConnector ¶
func NewVpcConnector(scope constructs.Construct, id *string, props *VpcConnectorProps) VpcConnector
Experimental.
type VpcConnectorAttributes ¶
type VpcConnectorAttributes struct { // The security groups associated with the VPC connector. // Experimental. SecurityGroups *[]awsec2.ISecurityGroup `field:"required" json:"securityGroups" yaml:"securityGroups"` // The ARN of the VPC connector. // Experimental. VpcConnectorArn *string `field:"required" json:"vpcConnectorArn" yaml:"vpcConnectorArn"` // The name of the VPC connector. // Experimental. VpcConnectorName *string `field:"required" json:"vpcConnectorName" yaml:"vpcConnectorName"` // The revision of the VPC connector. // Experimental. VpcConnectorRevision *float64 `field:"required" json:"vpcConnectorRevision" yaml:"vpcConnectorRevision"` }
Attributes for the App Runner VPC Connector.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha" import "github.com/aws/aws-cdk-go/awscdk" var securityGroup securityGroup vpcConnectorAttributes := &VpcConnectorAttributes{ SecurityGroups: []iSecurityGroup{ securityGroup, }, VpcConnectorArn: jsii.String("vpcConnectorArn"), VpcConnectorName: jsii.String("vpcConnectorName"), VpcConnectorRevision: jsii.Number(123), }
Experimental.
type VpcConnectorProps ¶
type VpcConnectorProps struct { // The VPC for the VPC Connector. // Experimental. Vpc awsec2.IVpc `field:"required" json:"vpc" yaml:"vpc"` // A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. // Default: - a new security group will be created in the specified VPC. // // Experimental. SecurityGroups *[]awsec2.ISecurityGroup `field:"optional" json:"securityGroups" yaml:"securityGroups"` // The name for the VpcConnector. // Default: - a name generated by CloudFormation. // // Experimental. VpcConnectorName *string `field:"optional" json:"vpcConnectorName" yaml:"vpcConnectorName"` // Where to place the VPC Connector within the VPC. // Default: - Private subnets. // // Experimental. VpcSubnets *awsec2.SubnetSelection `field:"optional" json:"vpcSubnets" yaml:"vpcSubnets"` }
Properties of the AppRunner VPC Connector.
Example:
import "github.com/aws/aws-cdk-go/awscdk" vpc := ec2.NewVpc(this, jsii.String("Vpc"), &VpcProps{ IpAddresses: ec2.IpAddresses_Cidr(jsii.String("10.0.0.0/16")), }) vpcConnector := apprunner.NewVpcConnector(this, jsii.String("VpcConnector"), &VpcConnectorProps{ Vpc: Vpc, VpcSubnets: vpc.selectSubnets(&SubnetSelection{ SubnetType: ec2.SubnetType_PUBLIC, }), VpcConnectorName: jsii.String("MyVpcConnector"), }) apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), VpcConnector: VpcConnector, })
Experimental.
type VpcIngressConnection ¶
type VpcIngressConnection interface { awscdk.Resource IVpcIngressConnection // The domain name associated with the VPC Ingress Connection resource. // Experimental. DomainName() *string // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. // Experimental. Env() *awscdk.ResourceEnvironment // The tree node. // Experimental. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Experimental. PhysicalName() *string // The stack in which this resource is defined. // Experimental. Stack() awscdk.Stack // The current status of the VPC Ingress Connection. // Experimental. Status() *string // The ARN of the VPC Ingress Connection. // Experimental. VpcIngressConnectionArn() *string // The name of the VPC Ingress Connection. // Experimental. VpcIngressConnectionName() *string // Apply the given removal policy to this resource. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). // Experimental. ApplyRemovalPolicy(policy awscdk.RemovalPolicy) // Experimental. GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. // Experimental. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. // Experimental. GetResourceNameAttribute(nameAttr *string) *string // Returns a string representation of this construct. // Experimental. ToString() *string }
The App Runner VPC Ingress Connection.
Example:
import "github.com/aws/aws-cdk-go/awscdk" var vpc vpc interfaceVpcEndpoint := ec2.NewInterfaceVpcEndpoint(this, jsii.String("MyVpcEndpoint"), &InterfaceVpcEndpointProps{ Vpc: Vpc, Service: ec2.InterfaceVpcEndpointAwsService_APP_RUNNER_REQUESTS(), PrivateDnsEnabled: jsii.Boolean(false), }) service := apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), IsPubliclyAccessible: jsii.Boolean(false), }) apprunner.NewVpcIngressConnection(this, jsii.String("VpcIngressConnection"), &VpcIngressConnectionProps{ Vpc: Vpc, InterfaceVpcEndpoint: InterfaceVpcEndpoint, Service: Service, })
Experimental.
func NewVpcIngressConnection ¶
func NewVpcIngressConnection(scope constructs.Construct, id *string, props *VpcIngressConnectionProps) VpcIngressConnection
Experimental.
type VpcIngressConnectionAttributes ¶
type VpcIngressConnectionAttributes struct { // The domain name associated with the VPC Ingress Connection resource. // Experimental. DomainName *string `field:"required" json:"domainName" yaml:"domainName"` // The current status of the VPC Ingress Connection. // Experimental. Status *string `field:"required" json:"status" yaml:"status"` // The Amazon Resource Name (ARN) of the VPC Ingress Connection. // Experimental. VpcIngressConnectionArn *string `field:"required" json:"vpcIngressConnectionArn" yaml:"vpcIngressConnectionArn"` // The name of the VPC Ingress Connection. // Experimental. VpcIngressConnectionName *string `field:"required" json:"vpcIngressConnectionName" yaml:"vpcIngressConnectionName"` }
Attributes for the App Runner VPC Ingress Connection.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha" vpcIngressConnectionAttributes := &VpcIngressConnectionAttributes{ DomainName: jsii.String("domainName"), Status: jsii.String("status"), VpcIngressConnectionArn: jsii.String("vpcIngressConnectionArn"), VpcIngressConnectionName: jsii.String("vpcIngressConnectionName"), }
Experimental.
type VpcIngressConnectionProps ¶
type VpcIngressConnectionProps struct { // The VPC Interface Endpoint for the VPC Ingress Connection. // Experimental. InterfaceVpcEndpoint awsec2.IInterfaceVpcEndpoint `field:"required" json:"interfaceVpcEndpoint" yaml:"interfaceVpcEndpoint"` // The service to connect. // Experimental. Service IService `field:"required" json:"service" yaml:"service"` // The VPC for the VPC Ingress Connection. // Experimental. Vpc awsec2.IVpc `field:"required" json:"vpc" yaml:"vpc"` // The name for the VPC Ingress Connection. // Default: - a name generated by CloudFormation. // // Experimental. VpcIngressConnectionName *string `field:"optional" json:"vpcIngressConnectionName" yaml:"vpcIngressConnectionName"` }
Properties of the AppRunner VPC Ingress Connection.
Example:
import "github.com/aws/aws-cdk-go/awscdk" var vpc vpc interfaceVpcEndpoint := ec2.NewInterfaceVpcEndpoint(this, jsii.String("MyVpcEndpoint"), &InterfaceVpcEndpointProps{ Vpc: Vpc, Service: ec2.InterfaceVpcEndpointAwsService_APP_RUNNER_REQUESTS(), PrivateDnsEnabled: jsii.Boolean(false), }) service := apprunner.NewService(this, jsii.String("Service"), &ServiceProps{ Source: apprunner.Source_FromEcrPublic(&EcrPublicProps{ ImageConfiguration: &ImageConfiguration{ Port: jsii.Number(8000), }, ImageIdentifier: jsii.String("public.ecr.aws/aws-containers/hello-app-runner:latest"), }), IsPubliclyAccessible: jsii.Boolean(false), }) apprunner.NewVpcIngressConnection(this, jsii.String("VpcIngressConnection"), &VpcIngressConnectionProps{ Vpc: Vpc, InterfaceVpcEndpoint: InterfaceVpcEndpoint, Service: Service, })
Experimental.
Source Files
¶
- AssetProps.go
- AssetSource.go
- AssetSource__checks.go
- AutoScalingConfiguration.go
- AutoScalingConfigurationAttributes.go
- AutoScalingConfigurationProps.go
- AutoScalingConfiguration__checks.go
- CodeConfiguration.go
- CodeConfigurationValues.go
- CodeRepositoryProps.go
- ConfigurationSourceType.go
- Cpu.go
- Cpu__checks.go
- EcrProps.go
- EcrPublicProps.go
- EcrPublicSource.go
- EcrPublicSource__checks.go
- EcrSource.go
- EcrSource__checks.go
- GitHubConnection.go
- GitHubConnection__checks.go
- GithubRepositoryProps.go
- GithubSource.go
- GithubSource__checks.go
- HealthCheck.go
- HealthCheckProtocolType.go
- HealthCheck__checks.go
- HttpHealthCheckOptions.go
- IAutoScalingConfiguration.go
- IObservabilityConfiguration.go
- IService.go
- IVpcConnector.go
- IVpcConnector__checks.go
- IVpcIngressConnection.go
- ImageConfiguration.go
- ImageRepository.go
- ImageRepositoryType.go
- IpAddressType.go
- Memory.go
- Memory__checks.go
- ObservabilityConfiguration.go
- ObservabilityConfigurationAttributes.go
- ObservabilityConfigurationProps.go
- ObservabilityConfiguration__checks.go
- Runtime.go
- Runtime__checks.go
- Secret.go
- SecretVersionInfo.go
- Secret__checks.go
- Service.go
- ServiceAttributes.go
- ServiceProps.go
- Service__checks.go
- Source.go
- SourceCodeVersion.go
- SourceConfig.go
- Source__checks.go
- TcpHealthCheckOptions.go
- TraceConfigurationVendor.go
- VpcConnector.go
- VpcConnectorAttributes.go
- VpcConnectorProps.go
- VpcConnector__checks.go
- VpcIngressConnection.go
- VpcIngressConnectionAttributes.go
- VpcIngressConnectionProps.go
- VpcIngressConnection__checks.go
- main.go