docs/integrations/prefect-aws/api-ref/prefect_aws-experimental-bundles-execute.mdx
prefect_aws.experimental.bundles.executedownload_bundle_from_s3 <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-aws/prefect_aws/experimental/bundles/execute.py#L29" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>download_bundle_from_s3(bucket: str, key: str, output_dir: str | None = None, aws_credentials_block_name: Optional[str] = None) -> DownloadResult
Downloads a bundle from an S3 bucket.
Args:
bucket: S3 bucket namekey: S3 object keyoutput_dir: Local directory to save the bundle (if None, uses a temp directory)aws_credentials_block_name: Name of the AWS credentials block to use. If None,
credentials will be inferred from the environment using boto3's standard
credential resolution.Returns:
execute_bundle_from_s3 <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-aws/prefect_aws/experimental/bundles/execute.py#L70" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>execute_bundle_from_s3(bucket: str, key: str, aws_credentials_block_name: Optional[str] = None) -> None
Downloads a bundle from S3 and executes it.
This step:
Args:
bucket: S3 bucket namekey: S3 object keyaws_credentials_block_name: Name of the AWS credentials block to use. If None,
credentials will be inferred from the environment using boto3's standard
credential resolution.DownloadResult <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-aws/prefect_aws/experimental/bundles/execute.py#L22" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>Result of downloading a bundle from S3.