Show / Hide Table of Contents

Class ServerApplication

A CodeDeploy Application that deploys to EC2/on-premise instances.

Inheritance
object
Resource
ServerApplication
Implements
IServerApplication
IResource
IApplicationRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.With(params IMixin[])
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ServerApplication : Resource, IServerApplication, IResource, IApplicationRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class ServerApplication Inherits Resource Implements IServerApplication, IResource, IApplicationRef, IConstruct, IDependable, IEnvironmentAware
Remarks

Resource: AWS::CodeDeploy::Application

ExampleMetadata: infused

Examples
var application = new ServerApplication(this, "CodeDeployApplication", new ServerApplicationProps {
                 ApplicationName = "MyApplication"
             });

Synopsis

Constructors

ServerApplication(Construct, string, IServerApplicationProps?)

A CodeDeploy Application that deploys to EC2/on-premise instances.

Properties

ApplicationArn

A CodeDeploy Application that deploys to EC2/on-premise instances.

ApplicationName

A CodeDeploy Application that deploys to EC2/on-premise instances.

ApplicationRef

A reference to a Application resource.

PROPERTY_INJECTION_ID

Uniquely identifies this class.

Methods

FromServerApplicationArn(Construct, string, string)

Import an Application defined either outside the CDK, or in a different CDK Stack, by ARN.

FromServerApplicationName(Construct, string, string)

Import an Application defined either outside the CDK app, or in a different region.

Constructors

ServerApplication(Construct, string, IServerApplicationProps?)

A CodeDeploy Application that deploys to EC2/on-premise instances.

public ServerApplication(Construct scope, string id, IServerApplicationProps? props = null)
Parameters
scope Construct
id string
props IServerApplicationProps
Remarks

Resource: AWS::CodeDeploy::Application

ExampleMetadata: infused

Examples
var application = new ServerApplication(this, "CodeDeployApplication", new ServerApplicationProps {
                 ApplicationName = "MyApplication"
             });

Properties

ApplicationArn

A CodeDeploy Application that deploys to EC2/on-premise instances.

public virtual string ApplicationArn { get; }
Property Value

string

Remarks

Attribute: true

ApplicationName

A CodeDeploy Application that deploys to EC2/on-premise instances.

public virtual string ApplicationName { get; }
Property Value

string

Remarks

Attribute: true

ApplicationRef

A reference to a Application resource.

public virtual IApplicationReference ApplicationRef { get; }
Property Value

IApplicationReference

Remarks

Resource: AWS::CodeDeploy::Application

ExampleMetadata: infused

PROPERTY_INJECTION_ID

Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

Resource: AWS::CodeDeploy::Application

ExampleMetadata: infused

Methods

FromServerApplicationArn(Construct, string, string)

Import an Application defined either outside the CDK, or in a different CDK Stack, by ARN.

public static IServerApplication FromServerApplicationArn(Construct scope, string id, string serverApplicationArn)
Parameters
scope Construct

the parent Construct for this new Construct.

id string

the logical ID of this new Construct.

serverApplicationArn string

the ARN of the application to import.

Returns

IServerApplication

a Construct representing a reference to an existing Application

Remarks

Resource: AWS::CodeDeploy::Application

ExampleMetadata: infused

FromServerApplicationName(Construct, string, string)

Import an Application defined either outside the CDK app, or in a different region.

public static IServerApplication FromServerApplicationName(Construct scope, string id, string serverApplicationName)
Parameters
scope Construct

the parent Construct for this new Construct.

id string

the logical ID of this new Construct.

serverApplicationName string

the name of the application to import.

Returns

IServerApplication

a Construct representing a reference to an existing Application

Remarks

The Application's account and region are assumed to be the same as the stack it is being imported into. If not, use fromServerApplicationArn.

Implements

IServerApplication
IResource
IApplicationRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX