Class EcrPublicSource
(experimental) Represents the service source from ECR Public.
Inherited Members
Namespace: Amazon.CDK.AWS.AppRunner.Alpha
Assembly: Amazon.CDK.AWS.AppRunner.Alpha.dll
Syntax (csharp)
public class EcrPublicSource : Source
Syntax (vb)
Public Class EcrPublicSource
Inherits Source
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppRunner.Alpha;
Secret secret;
var ecrPublicSource = new EcrPublicSource(new EcrPublicProps {
ImageIdentifier = "imageIdentifier",
// the properties below are optional
ImageConfiguration = new ImageConfiguration {
Environment = new Dictionary<string, string> {
{ "environmentKey", "environment" }
},
EnvironmentSecrets = new Dictionary<string, Secret> {
{ "environmentSecretsKey", secret }
},
EnvironmentVariables = new Dictionary<string, string> {
{ "environmentVariablesKey", "environmentVariables" }
},
Port = 123,
StartCommand = "startCommand"
}
});
Synopsis
Constructors
EcrPublicSource(IEcrPublicProps) | |
EcrPublicSource(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
EcrPublicSource(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(Construct) | (experimental) Called when the Job is initialized to allow this object to bind. |
Constructors
EcrPublicSource(IEcrPublicProps)
public EcrPublicSource(IEcrPublicProps props)
Parameters
- props IEcrPublicProps
Remarks
Stability: Experimental
EcrPublicSource(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected EcrPublicSource(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
EcrPublicSource(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected EcrPublicSource(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Bind(Construct)
(experimental) Called when the Job is initialized to allow this object to bind.
public override ISourceConfig Bind(Construct scope)
Parameters
- scope Constructs.Construct
Returns
Overrides
Remarks
Stability: Experimental