Class Extension
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.appconfig.Extension
- All Implemented Interfaces:
IEnvironmentAware,IResource,IExtension,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:28.164Z")
@Stability(Stable)
public class Extension
extends Resource
implements IExtension
An AWS AppConfig extension.
Example:
Function fn;
Extension.Builder.create(this, "MyExtension")
.actions(List.of(
Action.Builder.create()
.actionPoints(List.of(ActionPoint.ON_DEPLOYMENT_START))
.eventDestination(new LambdaDestination(fn))
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.appconfig.IExtension
IExtension.Jsii$Default, IExtension.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExtension(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedExtension(software.amazon.jsii.JsiiObjectRef objRef) Extension(software.constructs.Construct scope, String id, ExtensionProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IExtensionfromExtensionArn(software.constructs.Construct scope, String id, String extensionArn) Imports an extension into the CDK using its Amazon Resource Name (ARN).static IExtensionfromExtensionAttributes(software.constructs.Construct scope, String id, ExtensionAttributes attrs) Imports an extension into the CDK using its attributes.The actions for the extension.The description of the extension.The Amazon Resource Name (ARN) of the extension.The ID of the extension.The version number of the extension.The latest version number of the extension.getName()The name of the extension.The parameters of the extension.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
Constructor Details
-
Extension
protected Extension(software.amazon.jsii.JsiiObjectRef objRef) -
Extension
protected Extension(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Extension
@Stability(Stable) public Extension(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ExtensionProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
fromExtensionArn
@Stability(Stable) @NotNull public static IExtension fromExtensionArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String extensionArn) Imports an extension into the CDK using its Amazon Resource Name (ARN).- Parameters:
scope- The parent construct. This parameter is required.id- The name of the extension construct. This parameter is required.extensionArn- The Amazon Resource Name (ARN) of the extension. This parameter is required.
-
fromExtensionAttributes
@Stability(Stable) @NotNull public static IExtension fromExtensionAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ExtensionAttributes attrs) Imports an extension into the CDK using its attributes.- Parameters:
scope- The parent construct. This parameter is required.id- The name of the extension construct. This parameter is required.attrs- The attributes of the extension. This parameter is required.
-
getExtensionArn
The Amazon Resource Name (ARN) of the extension.- Specified by:
getExtensionArnin interfaceIExtension
-
getExtensionId
The ID of the extension.- Specified by:
getExtensionIdin interfaceIExtension
-
getExtensionVersionNumber
The version number of the extension.- Specified by:
getExtensionVersionNumberin interfaceIExtension
-
getActions
The actions for the extension.- Specified by:
getActionsin interfaceIExtension
-
getDescription
The description of the extension.- Specified by:
getDescriptionin interfaceIExtension
-
getLatestVersionNumber
The latest version number of the extension.- Specified by:
getLatestVersionNumberin interfaceIExtension
-
getName
The name of the extension.- Specified by:
getNamein interfaceIExtension
-
getParameters
The parameters of the extension.- Specified by:
getParametersin interfaceIExtension
-