DeliveryStreamGrants
- class aws_cdk.aws_kinesisfirehose.DeliveryStreamGrants(*args: Any, **kwargs)
Bases:
objectCollection of grant methods for a IDeliveryStreamRef.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_kinesisfirehose as kinesisfirehose from aws_cdk.interfaces import aws_kinesisfirehose as interfaces_kinesisfirehose # delivery_stream_ref: interfaces_kinesisfirehose.IDeliveryStreamRef delivery_stream_grants = kinesisfirehose.DeliveryStreamGrants.from_delivery_stream(delivery_stream_ref)
Methods
- actions(grantee, actions, *, resource_arns=None)
Grant the given identity custom permissions.
- Parameters:
grantee (
IGrantable)actions (
Sequence[str])resource_arns (
Optional[Sequence[str]]) – The ARNs of the resources to grant permissions on. Default: - The ARN of the resource associated with the grant is used.
- Return type:
- put_records(grantee)
Grant the
granteeidentity permissions to performactions.- Parameters:
grantee (
IGrantable)- Return type:
Static Methods
- classmethod from_delivery_stream(resource)
Creates grants for DeliveryStreamGrants.
- Parameters:
resource (
IDeliveryStreamRef)- Return type: