PipeTargetEventBridgeEventBusParametersProperty Struct
The parameters for using an EventBridge event bus as a target.
| Source | |
|---|---|
| Type last changed |
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.