interface ISource
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Pipes.Alpha.ISource |
Go | github.com/aws/aws-cdk-go/awscdkpipesalpha/v2#ISource |
Java | software.amazon.awscdk.services.pipes.alpha.ISource |
Python | aws_cdk.aws_pipes_alpha.ISource |
TypeScript (source) | @aws-cdk/aws-pipes-alpha ยป ISource |
Implemented by
Dynamo, Kinesis, Sqs
Source interface.
Properties
| Name | Type | Description |
|---|---|---|
| source | string | The ARN of the source resource. |
sourceArn
Type:
string
The ARN of the source resource.
Methods
| Name | Description |
|---|---|
| bind(pipe) | Bind the source to a pipe. |
| grant | Grant the pipe role read access to the source. |
bind(pipe)
public bind(pipe: IPipe): SourceConfig
Parameters
- pipe
IPipe
Returns
Bind the source to a pipe.
grantRead(grantee)
public grantRead(grantee: IRole): void
Parameters
- grantee
IRole
Grant the pipe role read access to the source.

.NET
Go
Java
Python
TypeScript (