interface ITarget
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Pipes.Alpha.ITarget |
![]() | github.com/aws/aws-cdk-go/awscdkpipesalpha/v2#ITarget |
![]() | software.amazon.awscdk.services.pipes.alpha.ITarget |
![]() | aws_cdk.aws_pipes_alpha.ITarget |
![]() | @aws-cdk/aws-pipes-alpha ยป ITarget |
Implemented by
Api
, Api
, Cloud
, Event
, Kinesis
, Lambda
, Sage
, Sfn
, 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.