Skip to content
v2.277.0

PipeTargetEventBridgeEventBusParametersProperty Struct ​

The parameters for using an EventBridge event bus as a target.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pipes as pipes } from 'aws-cdk-lib';
const pipeTargetEventBridgeEventBusParametersProperty: pipes.CfnPipe.PipeTargetEventBridgeEventBusParametersProperty = {
  detailType: 'detailType',
  endpointId: 'endpointId',
  resources: ['resources'],
  source: 'source',
  time: 'time',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_pipes as pipes

pipe_target_event_bridge_event_bus_parameters_property = pipes.CfnPipe.PipeTargetEventBridgeEventBusParametersProperty(
    detail_type="detailType",
    endpoint_id="endpointId",
    resources=["resources"],
    source="source",
    time="time"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pipes.*;

PipeTargetEventBridgeEventBusParametersProperty pipeTargetEventBridgeEventBusParametersProperty = PipeTargetEventBridgeEventBusParametersProperty.builder()
        .detailType("detailType")
        .endpointId("endpointId")
        .resources(List.of("resources"))
        .source("source")
        .time("time")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pipes;

var pipeTargetEventBridgeEventBusParametersProperty = new PipeTargetEventBridgeEventBusParametersProperty {
    DetailType = "detailType",
    EndpointId = "endpointId",
    Resources = new [] { "resources" },
    Source = "source",
    Time = "time"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

pipeTargetEventBridgeEventBusParametersProperty := &PipeTargetEventBridgeEventBusParametersProperty{
	DetailType: jsii.String("detailType"),
	EndpointId: jsii.String("endpointId"),
	Resources: []*string{
		jsii.String("resources"),
	},
	Source: jsii.String("source"),
	Time: jsii.String("time"),
}

Properties ​

detailTypeoptionalstringdetail_typeoptionalstrdetailTypeoptionalStringDetailTypeoptionalstringDetailTypeoptional*string#
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
endpointIdoptionalstringendpoint_idoptionalstrendpointIdoptionalStringEndpointIdoptionalstringEndpointIdoptional*string#
The URL subdomain of the endpoint.

For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo .

resourcesoptionalstring[]resourcesoptionaltyping.List[str]resourcesoptionalList<String>Resourcesoptionalstring[]Resourcesoptional*[]*string#
AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.

Any number, including zero, may be present.

sourceoptionalstringsourceoptionalstrsourceoptionalStringSourceoptionalstringSourceoptional*string#
The source of the event.
timeoptionalstringtimeoptionalstrtimeoptionalStringTimeoptionalstringTimeoptional*string#
The time stamp of the event, per [RFC3339](https://docs.aws.amazon.com/https://www.rfc-editor.org/rfc/rfc3339.txt) . If no time stamp is provided, the time stamp of the [PutEvents](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html) call is used.