Class CfnExtension
Creates an AWS AppConfig extension.
Inherited Members
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnExtension : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnExtension
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
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 more information about extensions, see Extending workflows in the AWS AppConfig User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html
CloudformationResource: AWS::AppConfig::Extension
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppConfig;
var actions;
var cfnExtension = new CfnExtension(this, "MyCfnExtension", new CfnExtensionProps {
Actions = actions,
Name = "name",
// the properties below are optional
Description = "description",
LatestVersionNumber = 123,
Parameters = new Dictionary<string, object> {
{ "parametersKey", new ParameterProperty {
Required = false,
// the properties below are optional
Description = "description",
Dynamic = false
} }
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnExtension(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnExtension(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnExtension(Construct, String, ICfnExtensionProps) |
Properties
Actions | The actions defined in the extension. |
AttrArn | The system-generated Amazon Resource Name (ARN) for the extension. |
AttrId | The system-generated ID of the extension. |
AttrVersionNumber | The extension version number. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | Information about the extension. |
LatestVersionNumber | You can omit this field when you create an extension. |
Name | A name for the extension. |
Parameters | The parameters accepted by the extension. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | Adds one or more tags for the specified extension. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnExtension(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnExtension(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnExtension(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnExtension(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnExtension(Construct, String, ICfnExtensionProps)
public CfnExtension(Construct scope, string id, ICfnExtensionProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnExtensionProps
Resource properties.
Properties
Actions
The actions defined in the extension.
public virtual object Actions { get; set; }
Property Value
System.Object
AttrArn
The system-generated Amazon Resource Name (ARN) for the extension.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrId
The system-generated ID of the extension.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrVersionNumber
The extension version number.
public virtual double AttrVersionNumber { get; }
Property Value
System.Double
Remarks
CloudformationAttribute: VersionNumber
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
Information about the extension.
public virtual string Description { get; set; }
Property Value
System.String
LatestVersionNumber
You can omit this field when you create an extension.
public virtual Nullable<double> LatestVersionNumber { get; set; }
Property Value
System.Nullable<System.Double>
Name
A name for the extension.
public virtual string Name { get; set; }
Property Value
System.String
Parameters
The parameters accepted by the extension.
public virtual object Parameters { get; set; }
Property Value
System.Object
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
Adds one or more tags for the specified extension.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>