Class CfnEventIntegration
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.appintegrations.CfnEventIntegration
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggable,IEventIntegrationRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:39:57.888Z")
@Stability(Stable)
public class CfnEventIntegration
extends CfnResource
implements IInspectable, IEventIntegrationRef, ITaggable
Creates an event integration.
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.
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.appintegrations.*;
CfnEventIntegration cfnEventIntegration = CfnEventIntegration.Builder.create(this, "MyCfnEventIntegration")
.eventBridgeBus("eventBridgeBus")
.eventFilter(EventFilterProperty.builder()
.source("source")
.build())
.name("name")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnEventIntegration.static interfaceThe event integration filter.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.appintegrations.IEventIntegrationRef
IEventIntegrationRef.Jsii$Default, IEventIntegrationRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnEventIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEventIntegration(software.amazon.jsii.JsiiObjectRef objRef) CfnEventIntegration(software.constructs.Construct scope, String id, CfnEventIntegrationProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IEventIntegrationReffromEventIntegrationArn(software.constructs.Construct scope, String id, String arn) Creates a new IEventIntegrationRef from an ARN.static IEventIntegrationReffromEventIntegrationName(software.constructs.Construct scope, String id, String eventIntegrationName) Creates a new IEventIntegrationRef from a eventIntegrationName.The Amazon Resource Name (ARN) of the event integration.The event integration description.The Amazon EventBridge bus for the event integration.The event integration filter.A reference to a EventIntegration resource.getName()The name of the event integration.getTags()Tag Manager which manages the tags for this resource.An array of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDescription(String value) The event integration description.voidsetEventBridgeBus(String value) The Amazon EventBridge bus for the event integration.voidsetEventFilter(IResolvable value) The event integration filter.voidThe event integration filter.voidThe name of the event integration.voidsetTagsRaw(List<CfnTag> value) An array of key-value pairs to apply to this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnEventIntegration
protected CfnEventIntegration(software.amazon.jsii.JsiiObjectRef objRef) -
CfnEventIntegration
protected CfnEventIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnEventIntegration
@Stability(Stable) public CfnEventIntegration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnEventIntegrationProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
fromEventIntegrationArn
@Stability(Stable) @NotNull public static IEventIntegrationRef fromEventIntegrationArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IEventIntegrationRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromEventIntegrationName
@Stability(Stable) @NotNull public static IEventIntegrationRef fromEventIntegrationName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String eventIntegrationName) Creates a new IEventIntegrationRef from a eventIntegrationName.- Parameters:
scope- This parameter is required.id- This parameter is required.eventIntegrationName- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrEventIntegrationArn
The Amazon Resource Name (ARN) of the event integration. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getEventIntegrationRef
A reference to a EventIntegration resource.- Specified by:
getEventIntegrationRefin interfaceIEventIntegrationRef
-
getTags
Tag Manager which manages the tags for this resource. -
getEventBridgeBus
The Amazon EventBridge bus for the event integration. -
setEventBridgeBus
The Amazon EventBridge bus for the event integration. -
getEventFilter
The event integration filter.Returns union: either
IResolvableorCfnEventIntegration.EventFilterProperty -
setEventFilter
The event integration filter. -
setEventFilter
@Stability(Stable) public void setEventFilter(@NotNull CfnEventIntegration.EventFilterProperty value) The event integration filter. -
getName
The name of the event integration. -
setName
The name of the event integration. -
getDescription
The event integration description. -
setDescription
The event integration description. -
getTagsRaw
An array of key-value pairs to apply to this resource. -
setTagsRaw
An array of key-value pairs to apply to this resource.
-