Class CfnExtension
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.CfnExtension
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:50:52.584Z")
@Stability(Stable)
public class CfnExtension
extends CfnResource
implements IInspectable, ITaggable
Creates an AWS AppConfig extension.
An extension augments your ability to inject logic or behavior at different points during the AWS AppConfig workflow of creating or deploying a configuration.
You can create your own extensions or use the AWS authored extensions provided by AWS AppConfig . For an AWS AppConfig extension that uses AWS Lambda , you must create a Lambda function to perform any computation and processing defined in the extension. If you plan to create custom versions of the AWS authored notification extensions, you only need to specify an Amazon Resource Name (ARN) in the Uri
field for the new extension version.
- For a custom EventBridge notification extension, enter the ARN of the EventBridge default events in the
Uri
field. - For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the
Uri
field. - For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the
Uri
field.
For more information about extensions, 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.*; Object actions; CfnExtension cfnExtension = CfnExtension.Builder.create(this, "MyCfnExtension") .actions(actions) .name("name") // the properties below are optional .description("description") .latestVersionNumber(123) .parameters(Map.of( "parametersKey", ParameterProperty.builder() .required(false) // the properties below are optional .description("description") .dynamic(false) .build())) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
The actions defined in the extension.static final class
A fluent builder forCfnExtension
.static interface
A value such as an Amazon Resource Name (ARN) or an Amazon Simple Notification Service topic entered in an extension when invoked.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
CfnExtension
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnExtension
(software.amazon.jsii.JsiiObjectRef objRef) CfnExtension
(software.constructs.Construct scope, String id, CfnExtensionProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe actions defined in the extension.The system-generated Amazon Resource Name (ARN) for the extension.The system-generated ID of the extension.The extension version number.Information about the extension.You can omit this field when you create an extension.getName()
A name for the extension.The parameters accepted by the extension.getTags()
Tag Manager which manages the tags for this resource.Adds one or more tags for the specified extension.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setActions
(Object value) The actions defined in the extension.void
setDescription
(String value) Information about the extension.void
setLatestVersionNumber
(Number value) You can omit this field when you create an extension.void
A name for the extension.void
setParameters
(Map<String, Object> value) The parameters accepted by the extension.void
setParameters
(IResolvable value) The parameters accepted by the extension.void
setTagsRaw
(List<CfnTag> value) Adds one or more tags for the specified extension.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
-
CfnExtension
protected CfnExtension(software.amazon.jsii.JsiiObjectRef objRef) -
CfnExtension
protected CfnExtension(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnExtension
@Stability(Stable) public CfnExtension(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnExtensionProps 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. 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 system-generated Amazon Resource Name (ARN) for the extension. -
getAttrId
The system-generated ID of the extension. -
getAttrVersionNumber
The extension version number. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getActions
The actions defined in the extension. -
setActions
The actions defined in the extension. -
getName
A name for the extension. -
setName
A name for the extension. -
getDescription
Information about the extension. -
setDescription
Information about the extension. -
getLatestVersionNumber
You can omit this field when you create an extension. -
setLatestVersionNumber
You can omit this field when you create an extension. -
getParameters
The parameters accepted by the extension. -
setParameters
The parameters accepted by the extension. -
setParameters
The parameters accepted by the extension. -
getTagsRaw
Adds one or more tags for the specified extension. -
setTagsRaw
Adds one or more tags for the specified extension.
-