Class CfnEventIntegration
Creates an event integration.
Inherited Members
Namespace: Amazon.CDK.AWS.AppIntegrations
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEventIntegration : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnEventIntegration
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
You provide a name, description, and a reference to an Amazon EventBridge bus in your account and a partner event source that will push events to that bus. No objects are created in your account, only metadata that is persisted on the EventIntegration control plane.
CloudformationResource: AWS::AppIntegrations::EventIntegration
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.AppIntegrations;
var cfnEventIntegration = new CfnEventIntegration(this, "MyCfnEventIntegration", new CfnEventIntegrationProps {
EventBridgeBus = "eventBridgeBus",
EventFilter = new EventFilterProperty {
Source = "source"
},
Name = "name",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnEventIntegration(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnEventIntegration(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnEventIntegration(Construct, String, ICfnEventIntegrationProps) |
Properties
AttrEventIntegrationArn | The Amazon Resource Name (ARN) of the event integration. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The event integration description. |
EventBridgeBus | The Amazon EventBridge bus for the event integration. |
EventFilter | The event integration filter. |
Name | The name of the event integration. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | An array of key-value pairs to apply to this resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnEventIntegration(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnEventIntegration(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnEventIntegration(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnEventIntegration(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnEventIntegration(Construct, String, ICfnEventIntegrationProps)
public CfnEventIntegration(Construct scope, string id, ICfnEventIntegrationProps 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 ICfnEventIntegrationProps
Resource properties.
Properties
AttrEventIntegrationArn
The Amazon Resource Name (ARN) of the event integration.
public virtual string AttrEventIntegrationArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: EventIntegrationArn
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
The event integration description.
public virtual string Description { get; set; }
Property Value
System.String
EventBridgeBus
The Amazon EventBridge bus for the event integration.
public virtual string EventBridgeBus { get; set; }
Property Value
System.String
EventFilter
The event integration filter.
public virtual object EventFilter { get; set; }
Property Value
System.Object
Name
The name of the event integration.
public virtual string Name { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An array of key-value pairs to apply to this resource.
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>