class ExtensibleBase
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppConfig.ExtensibleBase |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappconfig#ExtensibleBase |
Java | software.amazon.awscdk.services.appconfig.ExtensibleBase |
Python | aws_cdk.aws_appconfig.ExtensibleBase |
TypeScript (source) | aws-cdk-lib » aws_appconfig » ExtensibleBase |
Implements
IExtensible
This class is meant to be used by AWS AppConfig resources (application, configuration profile, environment) directly.
There is currently no use for this class outside of the AWS AppConfig construct implementation. It is intended to be used with the resources since there is currently no way to inherit from two classes (at least within JSII constraints).
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appconfig as appconfig } from 'aws-cdk-lib';
const extensibleBase = new appconfig.ExtensibleBase(this, 'resourceArn', /* all optional props */ 'resourceName');
Initializer
new ExtensibleBase(scope: Construct, resourceArn: string, resourceName?: string)
Parameters
- scope
Construct
- resourceArn
string
- resourceName
string
Methods
Name | Description |
---|---|
add | Adds an extension association to the derived resource. |
on(actionPoint, eventDestination, options?) | Adds an extension defined by the action point and event destination and also creates an extension association to the derived resource. |
on | Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the derived resource. |
on | Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the derived resource. |
on | Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the derived resource. |
on | Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the derived resource. |
on | Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the derived resource. |
pre | Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the derived resource. |
pre | Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the derived resource. |
addExtension(extension)
public addExtension(extension: IExtension): void
Parameters
- extension
IExtension
Adds an extension association to the derived resource.
on(actionPoint, eventDestination, options?)
public on(actionPoint: ActionPoint, eventDestination: IEventDestination, options?: ExtensionOptions): void
Parameters
- actionPoint
Action
Point - eventDestination
IEvent
Destination - options
Extension
Options
Adds an extension defined by the action point and event destination and also creates an extension association to the derived resource.
onDeploymentBaking(eventDestination, options?)
public onDeploymentBaking(eventDestination: IEventDestination, options?: ExtensionOptions): void
Parameters
- eventDestination
IEvent
Destination - options
Extension
Options
Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the derived resource.
onDeploymentComplete(eventDestination, options?)
public onDeploymentComplete(eventDestination: IEventDestination, options?: ExtensionOptions): void
Parameters
- eventDestination
IEvent
Destination - options
Extension
Options
Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the derived resource.
onDeploymentRolledBack(eventDestination, options?)
public onDeploymentRolledBack(eventDestination: IEventDestination, options?: ExtensionOptions): void
Parameters
- eventDestination
IEvent
Destination - options
Extension
Options
Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the derived resource.
onDeploymentStart(eventDestination, options?)
public onDeploymentStart(eventDestination: IEventDestination, options?: ExtensionOptions): void
Parameters
- eventDestination
IEvent
Destination - options
Extension
Options
Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the derived resource.
onDeploymentStep(eventDestination, options?)
public onDeploymentStep(eventDestination: IEventDestination, options?: ExtensionOptions): void
Parameters
- eventDestination
IEvent
Destination - options
Extension
Options
Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the derived resource.
preCreateHostedConfigurationVersion(eventDestination, options?)
public preCreateHostedConfigurationVersion(eventDestination: IEventDestination, options?: ExtensionOptions): void
Parameters
- eventDestination
IEvent
Destination - options
Extension
Options
Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the derived resource.
preStartDeployment(eventDestination, options?)
public preStartDeployment(eventDestination: IEventDestination, options?: ExtensionOptions): void
Parameters
- eventDestination
IEvent
Destination - options
Extension
Options
Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the derived resource.