Class CfnExtensionAssociation
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.appconfig.CfnExtensionAssociation
- All Implemented Interfaces:
IInspectable,ITaggable,IExtensionAssociationRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:04.499Z")
@Stability(Stable)
public class CfnExtensionAssociation
extends CfnResource
implements IInspectable, IExtensionAssociationRef, ITaggable
When you create an extension or configure an AWS authored extension, you associate the extension with an AWS AppConfig application, environment, or configuration profile.
For example, you can choose to run the AWS AppConfig deployment events to Amazon SNS AWS authored extension and receive notifications on an Amazon SNS topic anytime a configuration deployment is started for a specific application. Defining which extension to associate with an AWS AppConfig resource is called an extension association . An extension association is a specified relationship between an extension and an AWS AppConfig resource, such as an application or a configuration profile. For more information about extensions and associations, see Extending workflows in the AWS AppConfig User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appconfig.*;
CfnExtensionAssociation cfnExtensionAssociation = CfnExtensionAssociation.Builder.create(this, "MyCfnExtensionAssociation")
.extensionIdentifier("extensionIdentifier")
.extensionVersionNumber(123)
.parameters(Map.of(
"parametersKey", "parameters"))
.resourceIdentifier("resourceIdentifier")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnExtensionAssociation.Nested 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.IExtensionAssociationRef
IExtensionAssociationRef.Jsii$Default, IExtensionAssociationRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnExtensionAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnExtensionAssociation(software.amazon.jsii.JsiiObjectRef objRef) CfnExtensionAssociation(software.constructs.Construct scope, String id) CfnExtensionAssociation(software.constructs.Construct scope, String id, CfnExtensionAssociationProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IExtensionAssociationReffromExtensionAssociationArn(software.constructs.Construct scope, String id, String arn) Creates a new IExtensionAssociationRef from an ARN.static IExtensionAssociationReffromExtensionAssociationId(software.constructs.Construct scope, String id, String extensionAssociationId) Creates a new IExtensionAssociationRef from a extensionAssociationId.The ARN of the extension defined in the association.The ARN of the extension defined in the association.The system-generated ID for the association.The ARNs of applications, configuration profiles, or environments defined in the association.A reference to a ExtensionAssociation resource.The name, the ID, or the Amazon Resource Name (ARN) of the extension.The version number of the extension.The parameter names and values defined in the extensions.The ARN of an application, configuration profile, or environment.getTags()Tag Manager which manages the tags for this resource.Adds one or more tags for the specified extension association.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetExtensionIdentifier(String value) The name, the ID, or the Amazon Resource Name (ARN) of the extension.voidsetExtensionVersionNumber(Number value) The version number of the extension.voidsetParameters(Map<String, String> value) The parameter names and values defined in the extensions.voidsetParameters(IResolvable value) The parameter names and values defined in the extensions.voidsetResourceIdentifier(String value) The ARN of an application, configuration profile, or environment.voidsetTagsRaw(List<CfnTag> value) Adds one or more tags for the specified extension association.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnExtensionAssociation
protected CfnExtensionAssociation(software.amazon.jsii.JsiiObjectRef objRef) -
CfnExtensionAssociation
protected CfnExtensionAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnExtensionAssociation
@Stability(Stable) public CfnExtensionAssociation(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnExtensionAssociationProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties.
-
CfnExtensionAssociation
@Stability(Stable) public CfnExtensionAssociation(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
fromExtensionAssociationArn
@Stability(Stable) @NotNull public static IExtensionAssociationRef fromExtensionAssociationArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IExtensionAssociationRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromExtensionAssociationId
@Stability(Stable) @NotNull public static IExtensionAssociationRef fromExtensionAssociationId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String extensionAssociationId) Creates a new IExtensionAssociationRef from a extensionAssociationId.- Parameters:
scope- This parameter is required.id- This parameter is required.extensionAssociationId- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The ARN of the extension defined in the association. -
getAttrExtensionArn
The ARN of the extension defined in the association. -
getAttrId
The system-generated ID for the association. -
getAttrResourceArn
The ARNs of applications, configuration profiles, or environments defined in the association. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getExtensionAssociationRef
A reference to a ExtensionAssociation resource.- Specified by:
getExtensionAssociationRefin interfaceIExtensionAssociationRef
-
getTags
Tag Manager which manages the tags for this resource. -
getExtensionIdentifier
The name, the ID, or the Amazon Resource Name (ARN) of the extension. -
setExtensionIdentifier
The name, the ID, or the Amazon Resource Name (ARN) of the extension. -
getExtensionVersionNumber
The version number of the extension. -
setExtensionVersionNumber
The version number of the extension. -
getParameters
The parameter names and values defined in the extensions. -
setParameters
The parameter names and values defined in the extensions. -
setParameters
The parameter names and values defined in the extensions. -
getResourceIdentifier
The ARN of an application, configuration profile, or environment. -
setResourceIdentifier
The ARN of an application, configuration profile, or environment. -
getTagsRaw
Adds one or more tags for the specified extension association. -
setTagsRaw
Adds one or more tags for the specified extension association.
-