Class CfnExtensionAssociation
A CloudFormation AWS::AppConfig::ExtensionAssociation
.
Inherited Members
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.AWS.AppConfig.dll
Syntax (csharp)
public class CfnExtensionAssociation : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnExtensionAssociation
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
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 Working with AWS AppConfig extensions in the AWS AppConfig User Guide .
CloudformationResource: AWS::AppConfig::ExtensionAssociation
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 cfnExtensionAssociation = new CfnExtensionAssociation(this, "MyCfnExtensionAssociation", new CfnExtensionAssociationProps {
ExtensionIdentifier = "extensionIdentifier",
ExtensionVersionNumber = 123,
Parameters = new Dictionary<string, string> {
{ "parametersKey", "parameters" }
},
ResourceIdentifier = "resourceIdentifier",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnExtensionAssociation(Construct, String, ICfnExtensionAssociationProps) | Create a new |
CfnExtensionAssociation(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnExtensionAssociation(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrArn | The ARN of the extension defined in the association. |
AttrExtensionArn | The ARN of the extension defined in the association. |
AttrId | The system-generated ID for the association. |
AttrResourceArn | The ARNs of applications, configuration profiles, or environments defined in the association. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ExtensionIdentifier | The name, the ID, or the Amazon Resource Name (ARN) of the extension. |
ExtensionVersionNumber | The version number of the extension. |
Parameters | The parameter names and values defined in the extensions. |
ResourceIdentifier | The ARN of an application, configuration profile, or environment. |
Tags | Adds one or more tags for the specified extension association. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnExtensionAssociation(Construct, String, ICfnExtensionAssociationProps)
Create a new AWS::AppConfig::ExtensionAssociation
.
public CfnExtensionAssociation(Construct scope, string id, ICfnExtensionAssociationProps props = null)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnExtensionAssociationProps
- resource properties.
CfnExtensionAssociation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnExtensionAssociation(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnExtensionAssociation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnExtensionAssociation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrArn
The ARN of the extension defined in the association.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrExtensionArn
The ARN of the extension defined in the association.
public virtual string AttrExtensionArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ExtensionArn
AttrId
The system-generated ID for the association.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrResourceArn
The ARNs of applications, configuration profiles, or environments defined in the association.
public virtual string AttrResourceArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ResourceArn
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
ExtensionIdentifier
The name, the ID, or the Amazon Resource Name (ARN) of the extension.
public virtual string ExtensionIdentifier { get; set; }
Property Value
System.String
Remarks
ExtensionVersionNumber
The version number of the extension.
public virtual Nullable<double> ExtensionVersionNumber { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
If not specified, AWS AppConfig uses the maximum version of the extension.
Parameters
The parameter names and values defined in the extensions.
public virtual object Parameters { get; set; }
Property Value
System.Object
Remarks
Extension parameters marked Required
must be entered for this field.
ResourceIdentifier
The ARN of an application, configuration profile, or environment.
public virtual string ResourceIdentifier { get; set; }
Property Value
System.String
Remarks
Tags
Adds one or more tags for the specified extension association.
public virtual TagManager Tags { get; }
Property Value
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.
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>