Class Extension
An AWS AppConfig extension.
Inherited Members
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class Extension : Resource, IExtension, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class Extension Inherits Resource Implements IExtension, IResource, IConstruct, IDependable, IEnvironmentAware
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html
Resource: AWS::AppConfig::Extension
ExampleMetadata: infused
Examples
Function fn;
new Extension(this, "MyExtension", new ExtensionProps {
Actions = new [] {
new Action(new ActionProps {
ActionPoints = new [] { ActionPoint.ON_DEPLOYMENT_START },
EventDestination = new LambdaDestination(fn)
}) }
});
Synopsis
Constructors
| Extension(Construct, string, IExtensionProps) | An AWS AppConfig extension. |
Properties
| Actions | The actions for the extension. |
| Description | The description of the extension. |
| ExtensionArn | The Amazon Resource Name (ARN) of the extension. |
| ExtensionId | The ID of the extension. |
| ExtensionVersionNumber | The version number of the extension. |
| LatestVersionNumber | The latest version number of the extension. |
| Name | The name of the extension. |
| PROPERTY_INJECTION_ID | Uniquely identifies this class. |
| Parameters | The parameters of the extension. |
Methods
| FromExtensionArn(Construct, string, string) | Imports an extension into the CDK using its Amazon Resource Name (ARN). |
| FromExtensionAttributes(Construct, string, IExtensionAttributes) | Imports an extension into the CDK using its attributes. |
Constructors
Extension(Construct, string, IExtensionProps)
An AWS AppConfig extension.
public Extension(Construct scope, string id, IExtensionProps props)
Parameters
- scope Construct
- id string
- props IExtensionProps
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html
Resource: AWS::AppConfig::Extension
ExampleMetadata: infused
Examples
Function fn;
new Extension(this, "MyExtension", new ExtensionProps {
Actions = new [] {
new Action(new ActionProps {
ActionPoints = new [] { ActionPoint.ON_DEPLOYMENT_START },
EventDestination = new LambdaDestination(fn)
}) }
});
Properties
Actions
The actions for the extension.
public virtual Action[]? Actions { get; }
Property Value
Action[]
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html
Resource: AWS::AppConfig::Extension
ExampleMetadata: infused
Description
The description of the extension.
public virtual string? Description { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html
Resource: AWS::AppConfig::Extension
ExampleMetadata: infused
ExtensionArn
The Amazon Resource Name (ARN) of the extension.
public virtual string ExtensionArn { get; }
Property Value
Remarks
Attribute: true
ExtensionId
The ID of the extension.
public virtual string ExtensionId { get; }
Property Value
Remarks
Attribute: true
ExtensionVersionNumber
The version number of the extension.
public virtual double ExtensionVersionNumber { get; }
Property Value
Remarks
Attribute: true
LatestVersionNumber
The latest version number of the extension.
public virtual double? LatestVersionNumber { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html
Resource: AWS::AppConfig::Extension
ExampleMetadata: infused
Name
The name of the extension.
public virtual string? Name { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html
Resource: AWS::AppConfig::Extension
ExampleMetadata: infused
PROPERTY_INJECTION_ID
Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html
Resource: AWS::AppConfig::Extension
ExampleMetadata: infused
Parameters
The parameters of the extension.
public virtual Parameter[]? Parameters { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html
Resource: AWS::AppConfig::Extension
ExampleMetadata: infused
Methods
FromExtensionArn(Construct, string, string)
Imports an extension into the CDK using its Amazon Resource Name (ARN).
public static IExtension FromExtensionArn(Construct scope, string id, string extensionArn)
Parameters
- scope Construct
The parent construct.
- id string
The name of the extension construct.
- extensionArn string
The Amazon Resource Name (ARN) of the extension.
Returns
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html
Resource: AWS::AppConfig::Extension
ExampleMetadata: infused
FromExtensionAttributes(Construct, string, IExtensionAttributes)
Imports an extension into the CDK using its attributes.
public static IExtension FromExtensionAttributes(Construct scope, string id, IExtensionAttributes attrs)
Parameters
- scope Construct
The parent construct.
- id string
The name of the extension construct.
- attrs IExtensionAttributes
The attributes of the extension.
Returns
Remarks
See: https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html
Resource: AWS::AppConfig::Extension
ExampleMetadata: infused