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
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-09-10T01:10:04.437Z")
@Stability(Stable)
public class CfnExtensionAssociation
extends CfnResource
implements IInspectable, 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
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnExtensionAssociation
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnExtensionAssociation
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnExtensionAssociation
(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 TypeMethodDescriptionThe 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.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setExtensionIdentifier
(String value) The name, the ID, or the Amazon Resource Name (ARN) of the extension.void
setExtensionVersionNumber
(Number value) The version number of the extension.void
setParameters
(Map<String, String> value) The parameter names and values defined in the extensions.void
setParameters
(IResolvable value) The parameter names and values defined in the extensions.void
setResourceIdentifier
(String value) The ARN of an application, configuration profile, or environment.void
setTagsRaw
(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, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in 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:
getCfnProperties
in classCfnResource
-
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.
-