@@ -73,6 +73,85 @@ export interface IApplication extends cdk.IResource {
7373 * Returns the list of associated environments.
7474 */
7575 get environments ( ) : IEnvironment [ ] ;
76+
77+ /**
78+ * Adds an extension defined by the action point and event destination
79+ * and also creates an extension association to an application.
80+ *
81+ * @param actionPoint The action point which triggers the event
82+ * @param eventDestination The event that occurs during the extension
83+ * @param options Options for the extension
84+ */
85+ on ( actionPoint : ActionPoint , eventDestination : IEventDestination , options ?: ExtensionOptions ) : void ;
86+
87+ /**
88+ * Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the
89+ * provided event destination and also creates an extension association to an application.
90+ *
91+ * @param eventDestination The event that occurs during the extension
92+ * @param options Options for the extension
93+ */
94+ preCreateHostedConfigurationVersion ( eventDestination : IEventDestination , options ?: ExtensionOptions ) : void ;
95+
96+ /**
97+ * Adds a PRE_START_DEPLOYMENT extension with the provided event destination and
98+ * also creates an extension association to an application.
99+ *
100+ * @param eventDestination The event that occurs during the extension
101+ * @param options Options for the extension
102+ */
103+ preStartDeployment ( eventDestination : IEventDestination , options ?: ExtensionOptions ) : void ;
104+ /**
105+ * Adds an ON_DEPLOYMENT_START extension with the provided event destination and
106+ * also creates an extension association to an application.
107+ *
108+ * @param eventDestination The event that occurs during the extension
109+ * @param options Options for the extension
110+ */
111+ onDeploymentStart ( eventDestination : IEventDestination , options ?: ExtensionOptions ) : void ;
112+
113+ /**
114+ * Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and
115+ * also creates an extension association to an application.
116+ *
117+ * @param eventDestination The event that occurs during the extension
118+ * @param options Options for the extension
119+ */
120+ onDeploymentStep ( eventDestination : IEventDestination , options ?: ExtensionOptions ) : void ;
121+
122+ /**
123+ * Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and
124+ * also creates an extension association to an application.
125+ *
126+ * @param eventDestination The event that occurs during the extension
127+ * @param options Options for the extension
128+ */
129+ onDeploymentBaking ( eventDestination : IEventDestination , options ?: ExtensionOptions ) : void ;
130+
131+ /**
132+ * Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and
133+ * also creates an extension association to an application.
134+ *
135+ * @param eventDestination The event that occurs during the extension
136+ * @param options Options for the extension
137+ */
138+ onDeploymentComplete ( eventDestination : IEventDestination , options ?: ExtensionOptions ) : void ;
139+
140+ /**
141+ * Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and
142+ * also creates an extension association to an application.
143+ *
144+ * @param eventDestination The event that occurs during the extension
145+ * @param options Options for the extension
146+ */
147+ onDeploymentRolledBack ( eventDestination : IEventDestination , options ?: ExtensionOptions ) : void ;
148+
149+ /**
150+ * Adds an extension association to the application.
151+ *
152+ * @param extension The extension to create an association for
153+ */
154+ addExtension ( extension : IExtension ) : void ;
76155}
77156
78157/**
@@ -296,7 +375,7 @@ export class Application extends ApplicationBase {
296375 /**
297376 * Adds the AWS AppConfig Agent as a container to the provided ECS task definition.
298377 *
299- * @param taskDef The ECS task definition
378+ * @param taskDef The ECS task definition [disable-awslint:ref-via-interface]
300379 */
301380 public static addAgentToEcs ( taskDef : ecs . TaskDefinition ) {
302381 taskDef . addContainer ( 'AppConfigAgentContainer' , {
0 commit comments