Class CfnExtensionProps
Properties for defining a CfnExtension
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnExtensionProps : Object, ICfnExtensionProps
Syntax (vb)
Public Class CfnExtensionProps
Inherits Object
Implements ICfnExtensionProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html
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 cfnExtensionProps = 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
CfnExtensionProps() |
Properties
Actions | The actions defined in the extension. |
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 | Adds one or more tags for the specified extension. |
Constructors
CfnExtensionProps()
public CfnExtensionProps()
Properties
Actions
The actions defined in the extension.
public object Actions { get; set; }
Property Value
System.Object
Remarks
Description
Information about the extension.
public string Description { get; set; }
Property Value
System.String
Remarks
LatestVersionNumber
You can omit this field when you create an extension.
public Nullable<double> LatestVersionNumber { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
When you create a new version, specify the most recent current version number. For example, you create version 3, enter 2 for this field.
Name
A name for the extension.
public string Name { get; set; }
Property Value
System.String
Remarks
Each extension name in your account must be unique. Extension versions use the same name.
Parameters
The parameters accepted by the extension.
public object Parameters { get; set; }
Property Value
System.Object
Remarks
You specify parameter values when you associate the extension to an AWS AppConfig resource by using the CreateExtensionAssociation
API action. For AWS Lambda extension actions, these parameters are included in the Lambda request object.
Tags
Adds one or more tags for the specified extension.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
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.