@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-25T18:28:56.518Z") public class CfnEventIntegration extends CfnResource implements IInspectable
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();
Modifier and Type | Class and Description |
---|---|
static class |
CfnEventIntegration.Builder
A fluent builder for
CfnEventIntegration . |
static interface |
CfnEventIntegration.EventFilterProperty
The event integration filter.
|
static interface |
CfnEventIntegration.EventIntegrationAssociationProperty
The event integration association.
|
static interface |
CfnEventIntegration.MetadataProperty
The metadata associated with the client.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnEventIntegration(Construct scope,
java.lang.String id,
CfnEventIntegrationProps props)
Create a new `AWS::AppIntegrations::EventIntegration`.
|
protected |
CfnEventIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnEventIntegration(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
IResolvable |
getAttrAssociations()
The association status of the event integration, returned as an array of EventIntegrationAssociation objects.
|
java.lang.String |
getAttrEventIntegrationArn()
The Amazon Resource Name (ARN) of the event integration.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDescription()
The event integration description.
|
java.lang.String |
getEventBridgeBus()
The Amazon EventBridge bus for the event integration.
|
java.lang.Object |
getEventFilter()
The event integration filter.
|
java.lang.String |
getName()
The name of the event integration.
|
TagManager |
getTags()
An array of key-value pairs to apply to this resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setDescription(java.lang.String value)
The event integration description.
|
void |
setEventBridgeBus(java.lang.String value)
The Amazon EventBridge bus for the event integration.
|
void |
setEventFilter(CfnEventIntegration.EventFilterProperty value)
The event integration filter.
|
void |
setEventFilter(IResolvable value)
The event integration filter.
|
void |
setName(java.lang.String value)
The name of the event integration.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnEventIntegration(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnEventIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnEventIntegration(Construct scope, java.lang.String id, CfnEventIntegrationProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public IResolvable getAttrAssociations()
public java.lang.String getAttrEventIntegrationArn()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
For more information, see Tag .
public java.lang.String getEventBridgeBus()
public void setEventBridgeBus(java.lang.String value)
public java.lang.Object getEventFilter()
public void setEventFilter(IResolvable value)
public void setEventFilter(CfnEventIntegration.EventFilterProperty value)
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)