Try AWS Native preview for resources not in the classic version.
aws.appconfig.EventIntegration
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Provides an Amazon AppIntegrations Event Integration resource.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.AppConfig.EventIntegration("example", new()
{
Description = "Example Description",
EventFilter = new Aws.AppConfig.Inputs.EventIntegrationEventFilterArgs
{
Source = "aws.partner/examplepartner.com",
},
EventbridgeBus = "default",
Tags =
{
{ "Name", "Example Event Integration" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appconfig"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appconfig.NewEventIntegration(ctx, "example", &appconfig.EventIntegrationArgs{
Description: pulumi.String("Example Description"),
EventFilter: &appconfig.EventIntegrationEventFilterArgs{
Source: pulumi.String("aws.partner/examplepartner.com"),
},
EventbridgeBus: pulumi.String("default"),
Tags: pulumi.StringMap{
"Name": pulumi.String("Example Event Integration"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appconfig.EventIntegration;
import com.pulumi.aws.appconfig.EventIntegrationArgs;
import com.pulumi.aws.appconfig.inputs.EventIntegrationEventFilterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new EventIntegration("example", EventIntegrationArgs.builder()
.description("Example Description")
.eventFilter(EventIntegrationEventFilterArgs.builder()
.source("aws.partner/examplepartner.com")
.build())
.eventbridgeBus("default")
.tags(Map.of("Name", "Example Event Integration"))
.build());
}
}
import pulumi
import pulumi_aws as aws
example = aws.appconfig.EventIntegration("example",
description="Example Description",
event_filter=aws.appconfig.EventIntegrationEventFilterArgs(
source="aws.partner/examplepartner.com",
),
eventbridge_bus="default",
tags={
"Name": "Example Event Integration",
})
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.appconfig.EventIntegration("example", {
description: "Example Description",
eventFilter: {
source: "aws.partner/examplepartner.com",
},
eventbridgeBus: "default",
tags: {
Name: "Example Event Integration",
},
});
resources:
example:
type: aws:appconfig:EventIntegration
properties:
description: Example Description
eventFilter:
source: aws.partner/examplepartner.com
eventbridgeBus: default
tags:
Name: Example Event Integration
Create EventIntegration Resource
new EventIntegration(name: string, args: EventIntegrationArgs, opts?: CustomResourceOptions);
@overload
def EventIntegration(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
event_filter: Optional[EventIntegrationEventFilterArgs] = None,
eventbridge_bus: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
@overload
def EventIntegration(resource_name: str,
args: EventIntegrationArgs,
opts: Optional[ResourceOptions] = None)
func NewEventIntegration(ctx *Context, name string, args EventIntegrationArgs, opts ...ResourceOption) (*EventIntegration, error)
public EventIntegration(string name, EventIntegrationArgs args, CustomResourceOptions? opts = null)
public EventIntegration(String name, EventIntegrationArgs args)
public EventIntegration(String name, EventIntegrationArgs args, CustomResourceOptions options)
type: aws:appconfig:EventIntegration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventIntegrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EventIntegrationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EventIntegrationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventIntegrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventIntegrationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EventIntegration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The EventIntegration resource accepts the following input properties:
- Event
Filter EventIntegration Event Filter Block that defines the configuration information for the event filter. The Event Filter block is documented below.
- Eventbridge
Bus string EventBridge bus.
- Description string
Description of the Event Integration.
- Name string
Name of the Event Integration.
- Dictionary<string, string>
Tags to apply to the Event Integration. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Event
Filter EventIntegration Event Filter Args Block that defines the configuration information for the event filter. The Event Filter block is documented below.
- Eventbridge
Bus string EventBridge bus.
- Description string
Description of the Event Integration.
- Name string
Name of the Event Integration.
- map[string]string
Tags to apply to the Event Integration. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- event
Filter EventIntegration Event Filter Block that defines the configuration information for the event filter. The Event Filter block is documented below.
- eventbridge
Bus String EventBridge bus.
- description String
Description of the Event Integration.
- name String
Name of the Event Integration.
- Map<String,String>
Tags to apply to the Event Integration. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- event
Filter EventIntegration Event Filter Block that defines the configuration information for the event filter. The Event Filter block is documented below.
- eventbridge
Bus string EventBridge bus.
- description string
Description of the Event Integration.
- name string
Name of the Event Integration.
- {[key: string]: string}
Tags to apply to the Event Integration. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- event_
filter EventIntegration Event Filter Args Block that defines the configuration information for the event filter. The Event Filter block is documented below.
- eventbridge_
bus str EventBridge bus.
- description str
Description of the Event Integration.
- name str
Name of the Event Integration.
- Mapping[str, str]
Tags to apply to the Event Integration. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- event
Filter Property Map Block that defines the configuration information for the event filter. The Event Filter block is documented below.
- eventbridge
Bus String EventBridge bus.
- description String
Description of the Event Integration.
- name String
Name of the Event Integration.
- Map<String>
Tags to apply to the Event Integration. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the EventIntegration resource produces the following output properties:
Look up Existing EventIntegration Resource
Get an existing EventIntegration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EventIntegrationState, opts?: CustomResourceOptions): EventIntegration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
description: Optional[str] = None,
event_filter: Optional[EventIntegrationEventFilterArgs] = None,
eventbridge_bus: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> EventIntegration
func GetEventIntegration(ctx *Context, name string, id IDInput, state *EventIntegrationState, opts ...ResourceOption) (*EventIntegration, error)
public static EventIntegration Get(string name, Input<string> id, EventIntegrationState? state, CustomResourceOptions? opts = null)
public static EventIntegration get(String name, Output<String> id, EventIntegrationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
ARN of the Event Integration.
- Description string
Description of the Event Integration.
- Event
Filter EventIntegration Event Filter Block that defines the configuration information for the event filter. The Event Filter block is documented below.
- Eventbridge
Bus string EventBridge bus.
- Name string
Name of the Event Integration.
- Dictionary<string, string>
Tags to apply to the Event Integration. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Dictionary<string, string>
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- Arn string
ARN of the Event Integration.
- Description string
Description of the Event Integration.
- Event
Filter EventIntegration Event Filter Args Block that defines the configuration information for the event filter. The Event Filter block is documented below.
- Eventbridge
Bus string EventBridge bus.
- Name string
Name of the Event Integration.
- map[string]string
Tags to apply to the Event Integration. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- map[string]string
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- arn String
ARN of the Event Integration.
- description String
Description of the Event Integration.
- event
Filter EventIntegration Event Filter Block that defines the configuration information for the event filter. The Event Filter block is documented below.
- eventbridge
Bus String EventBridge bus.
- name String
Name of the Event Integration.
- Map<String,String>
Tags to apply to the Event Integration. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map<String,String>
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- arn string
ARN of the Event Integration.
- description string
Description of the Event Integration.
- event
Filter EventIntegration Event Filter Block that defines the configuration information for the event filter. The Event Filter block is documented below.
- eventbridge
Bus string EventBridge bus.
- name string
Name of the Event Integration.
- {[key: string]: string}
Tags to apply to the Event Integration. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- {[key: string]: string}
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- arn str
ARN of the Event Integration.
- description str
Description of the Event Integration.
- event_
filter EventIntegration Event Filter Args Block that defines the configuration information for the event filter. The Event Filter block is documented below.
- eventbridge_
bus str EventBridge bus.
- name str
Name of the Event Integration.
- Mapping[str, str]
Tags to apply to the Event Integration. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Mapping[str, str]
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- arn String
ARN of the Event Integration.
- description String
Description of the Event Integration.
- event
Filter Property Map Block that defines the configuration information for the event filter. The Event Filter block is documented below.
- eventbridge
Bus String EventBridge bus.
- name String
Name of the Event Integration.
- Map<String>
Tags to apply to the Event Integration. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map<String>
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
Supporting Types
EventIntegrationEventFilter, EventIntegrationEventFilterArgs
- Source string
Source of the events.
- Source string
Source of the events.
- source String
Source of the events.
- source string
Source of the events.
- source str
Source of the events.
- source String
Source of the events.
Import
Using pulumi import
, import Amazon AppIntegrations Event Integrations using the name
. For example:
$ pulumi import aws:appconfig/eventIntegration:EventIntegration example example-name
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.