Class Application
(experimental) A Service Catalog AppRegistry Application.
Inherited Members
Namespace: Amazon.CDK.AWS.Servicecatalogappregistry.Alpha
Assembly: Amazon.CDK.AWS.ServiceCatalogAppRegistry.Alpha.dll
Syntax (csharp)
public class Application : Resource, IApplication, IResource
Syntax (vb)
Public Class Application
Inherits Resource
Implements IApplication, IResource
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
var application = new Application(this, "MyFirstApplication", new ApplicationProps {
ApplicationName = "MyFirstApplicationName",
Description = "description for my application"
});
Synopsis
Constructors
Application(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Application(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Application(Construct, String, IApplicationProps) |
Properties
ApplicationArn | (experimental) The ARN of the application. |
ApplicationId | (experimental) The ID of the application. |
ApplicationManagerUrl | (experimental) Application manager URL for the Application. |
ApplicationName | (experimental) The name of the application. |
Methods
AddAttributeGroup(String, IAttributeGroupAssociationProps) | (experimental) Create an attribute group and associate this application with the created attribute group. |
AssociateAllStacksInScope(Construct) | (experimental) Associate all stacks present in construct's aspect with application, including cross-account stacks. |
AssociateApplicationWithStack(Stack) | (experimental) Associate stack with the application in the stack passed as parameter. |
AssociateAttributeGroup(IAttributeGroup) | (deprecated) Associate an attribute group with application If the attribute group is already associated, it will ignore duplicate request. |
AssociateStack(Stack) | (deprecated) Associate a stack with the application If the resource is already associated, it will ignore duplicate request. |
FromApplicationArn(Construct, String, String) | (experimental) Imports an Application construct that represents an external application. |
GenerateUniqueHash(String) | (experimental) Create a unique id. |
ShareApplication(String, IShareOptions) | (experimental) Share an application with accounts, organizations and OUs, and IAM roles and users. |
Constructors
Application(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Application(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Application(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Application(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Application(Construct, String, IApplicationProps)
public Application(Construct scope, string id, IApplicationProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IApplicationProps
Remarks
Stability: Experimental
Properties
ApplicationArn
(experimental) The ARN of the application.
public virtual string ApplicationArn { get; }
Property Value
System.String
Remarks
Stability: Experimental
ApplicationId
(experimental) The ID of the application.
public virtual string ApplicationId { get; }
Property Value
System.String
Remarks
Stability: Experimental
ApplicationManagerUrl
(experimental) Application manager URL for the Application.
public virtual string ApplicationManagerUrl { get; }
Property Value
System.String
Remarks
Stability: Experimental
Attribute: true
ApplicationName
(experimental) The name of the application.
public virtual string ApplicationName { get; }
Property Value
System.String
Remarks
Stability: Experimental
Methods
AddAttributeGroup(String, IAttributeGroupAssociationProps)
(experimental) Create an attribute group and associate this application with the created attribute group.
public virtual IAttributeGroup AddAttributeGroup(string id, IAttributeGroupAssociationProps props)
Parameters
- id System.String
- props IAttributeGroupAssociationProps
Returns
Remarks
Stability: Experimental
AssociateAllStacksInScope(Construct)
(experimental) Associate all stacks present in construct's aspect with application, including cross-account stacks.
public virtual void AssociateAllStacksInScope(Construct scope)
Parameters
- scope Constructs.Construct
Remarks
NOTE: This method won't automatically register stacks under pipeline stages, and requires association of each pipeline stage by calling this method with stage Construct.
Stability: Experimental
AssociateApplicationWithStack(Stack)
(experimental) Associate stack with the application in the stack passed as parameter.
public virtual void AssociateApplicationWithStack(Stack stack)
Parameters
- stack Stack
Remarks
A stack can only be associated with one application.
Stability: Experimental
AssociateAttributeGroup(IAttributeGroup)
(deprecated) Associate an attribute group with application If the attribute group is already associated, it will ignore duplicate request.
public virtual void AssociateAttributeGroup(IAttributeGroup attributeGroup)
Parameters
- attributeGroup IAttributeGroup
Remarks
Stability: Deprecated
AssociateStack(Stack)
(deprecated) Associate a stack with the application If the resource is already associated, it will ignore duplicate request.
public virtual void AssociateStack(Stack stack)
Parameters
- stack Stack
Remarks
A stack can only be associated with one application.
Stability: Deprecated
FromApplicationArn(Construct, String, String)
(experimental) Imports an Application construct that represents an external application.
public static IApplication FromApplicationArn(Construct scope, string id, string applicationArn)
Parameters
- scope Constructs.Construct
The parent creating construct (usually
this
).- id System.String
The construct's name.
- applicationArn System.String
the Amazon Resource Name of the existing AppRegistry Application.
Returns
Remarks
Stability: Experimental
GenerateUniqueHash(String)
(experimental) Create a unique id.
protected virtual string GenerateUniqueHash(string resourceAddress)
Parameters
- resourceAddress System.String
Returns
System.String
Remarks
Stability: Experimental
ShareApplication(String, IShareOptions)
(experimental) Share an application with accounts, organizations and OUs, and IAM roles and users.
public virtual void ShareApplication(string id, IShareOptions shareOptions)
Parameters
- id System.String
The construct name for the share.
- shareOptions IShareOptions
The options for the share.
Remarks
The application will become available to end users within those principals.
Stability: Experimental