interface ITarget
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Pipes.Alpha.ITarget |
Go | github.com/aws/aws-cdk-go/awscdkpipesalpha/v2#ITarget |
Java | software.amazon.awscdk.services.pipes.alpha.ITarget |
Python | aws_cdk.aws_pipes_alpha.ITarget |
TypeScript (source) | @aws-cdk/aws-pipes-alpha ยป ITarget |
Implemented by
Api, Api, Cloud, Event, Firehose, Kinesis, Lambda, Sage, Sfn, Sns, Sqs
Target configuration.
Properties
| Name | Type | Description |
|---|---|---|
| target | string | The ARN of the target resource. |
targetArn
Type:
string
The ARN of the target resource.
Methods
| Name | Description |
|---|---|
| bind(pipe) | Bind this target to a pipe. |
| grant | Grant the pipe role to push to the target. |
bind(pipe)
public bind(pipe: IPipe): TargetConfig
Parameters
- pipe
IPipe
Returns
Bind this target to a pipe.
grantPush(grantee)
public grantPush(grantee: IRole): void
Parameters
- grantee
IRole
Grant the pipe role to push to the target.

.NET
Go
Java
Python
TypeScript (