Class CfnExtension
- All Implemented Interfaces:
- IConstruct,- IDependable,- IInspectable,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct
AWS::AppConfig::Extension.
 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 Urifield.
- For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the Urifield.
- For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the Urifield.
For more information about extensions, see Working with AWS AppConfig extensions 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")
                         .build()))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnExtension.static interfaceA 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.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstructIConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectableIInspectable.Jsii$Default, IInspectable.Jsii$Proxy
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionCfnExtension(Construct scope, String id, CfnExtensionProps props) Create a newAWS::AppConfig::Extension.protectedCfnExtension(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnExtension(software.amazon.jsii.JsiiObjectRef objRef) 
- 
Method SummaryModifier 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()Adds one or more tags for the specified extension.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetActions(Object value) The actions defined in the extension.voidsetDescription(String value) Information about the extension.voidsetLatestVersionNumber(Number value) You can omit this field when you create an extension.voidA name for the extension.voidsetParameters(Map<String, Object> value) The parameters accepted by the extension.voidsetParameters(IResolvable value) The parameters accepted by the extension.Methods inherited from class software.amazon.awscdk.core.CfnResourceaddDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElementgetRefMethods inherited from class software.amazon.awscdk.core.CfnElementgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.ConstructgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Field Details- 
CFN_RESOURCE_TYPE_NAMEThe CloudFormation resource type name for this resource class.
 
- 
- 
Constructor Details- 
CfnExtensionprotected CfnExtension(software.amazon.jsii.JsiiObjectRef objRef) 
- 
CfnExtensionprotected CfnExtension(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
CfnExtension@Stability(Stable) public CfnExtension(@NotNull Construct scope, @NotNull String id, @NotNull CfnExtensionProps props) Create a newAWS::AppConfig::Extension.- Parameters:
- scope-- scope in which this resource is defined.
 
- id-- scoped id of the resource.
 
- props-- resource properties.
 
 
 
- 
- 
Method Details- 
inspectExamines the CloudFormation resource and discloses attributes.- Specified by:
- inspectin interface- IInspectable
- Parameters:
- inspector-- tree inspector to collect and process attributes.
 
 
- 
renderProperties@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
- renderPropertiesin class- CfnResource
- Parameters:
- props- This parameter is required.
 
- 
getAttrArnThe system-generated Amazon Resource Name (ARN) for the extension.
- 
getAttrIdThe system-generated ID of the extension.
- 
getAttrVersionNumberThe extension version number.
- 
getCfnProperties- Overrides:
- getCfnPropertiesin class- CfnResource
 
- 
getTagsAdds one or more tags for the specified extension.Tags are metadata that help you categorize resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define. 
- 
getActionsThe actions defined in the extension.
- 
setActionsThe actions defined in the extension.
- 
getNameA name for the extension.Each extension name in your account must be unique. Extension versions use the same name. 
- 
setNameA name for the extension.Each extension name in your account must be unique. Extension versions use the same name. 
- 
getDescriptionInformation about the extension.
- 
setDescriptionInformation about the extension.
- 
getLatestVersionNumberYou can omit this field when you create an extension.When you create a new version, specify the most recent current version number. For example, you create version 3, enter 2 for this field. 
- 
setLatestVersionNumberYou can omit this field when you create an extension.When you create a new version, specify the most recent current version number. For example, you create version 3, enter 2 for this field. 
- 
getParametersThe parameters accepted by the extension.You specify parameter values when you associate the extension to an AWS AppConfig resource by using the CreateExtensionAssociationAPI action. For AWS Lambda extension actions, these parameters are included in the Lambda request object.
- 
setParametersThe parameters accepted by the extension.You specify parameter values when you associate the extension to an AWS AppConfig resource by using the CreateExtensionAssociationAPI action. For AWS Lambda extension actions, these parameters are included in the Lambda request object.
- 
setParametersThe parameters accepted by the extension.You specify parameter values when you associate the extension to an AWS AppConfig resource by using the CreateExtensionAssociationAPI action. For AWS Lambda extension actions, these parameters are included in the Lambda request object.
 
-