Class CfnApplicationVersion
Specify an AWS Elastic Beanstalk application version by using the AWS::ElasticBeanstalk::ApplicationVersion resource in an AWS CloudFormation template.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.ElasticBeanstalk
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnApplicationVersion : CfnResource, IInspectable
Syntax (vb)
Public Class CfnApplicationVersion
Inherits CfnResource
Implements IInspectable
Remarks
The AWS::ElasticBeanstalk::ApplicationVersion resource is an AWS Elastic Beanstalk resource type that specifies an application version, an iteration of deployable code, for an Elastic Beanstalk application.
After you create an application version with a specified Amazon S3 bucket and key location, you can't change that Amazon S3 location. If you change the Amazon S3 location, an attempt to launch an environment from the application version will fail.
CloudformationResource: AWS::ElasticBeanstalk::ApplicationVersion
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.ElasticBeanstalk;
var cfnApplicationVersion = new CfnApplicationVersion(this, "MyCfnApplicationVersion", new CfnApplicationVersionProps {
ApplicationName = "applicationName",
SourceBundle = new SourceBundleProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key"
},
// the properties below are optional
Description = "description"
});
Synopsis
Constructors
CfnApplicationVersion(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnApplicationVersion(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnApplicationVersion(Construct, String, ICfnApplicationVersionProps) |
Properties
ApplicationName | The name of the Elastic Beanstalk application that is associated with this application version. |
AttrId | |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | A description of this application version. |
SourceBundle | The Amazon S3 bucket and key that identify the location of the source bundle for this version. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnApplicationVersion(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnApplicationVersion(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnApplicationVersion(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnApplicationVersion(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnApplicationVersion(Construct, String, ICfnApplicationVersionProps)
public CfnApplicationVersion(Construct scope, string id, ICfnApplicationVersionProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnApplicationVersionProps
Resource properties.
Properties
ApplicationName
The name of the Elastic Beanstalk application that is associated with this application version.
public virtual string ApplicationName { get; set; }
Property Value
System.String
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
A description of this application version.
public virtual string Description { get; set; }
Property Value
System.String
SourceBundle
The Amazon S3 bucket and key that identify the location of the source bundle for this version.
public virtual object SourceBundle { get; set; }
Property Value
System.Object
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>