TransferJobTransferSpecAwsS3DataSource constructor

const TransferJobTransferSpecAwsS3DataSource({
  1. Input<TransferJobTransferSpecAwsS3DataSourceAwsAccessKey?>? awsAccessKey,
  2. required Input<String> bucketName,
  3. Input<String?>? cloudfrontDomain,
  4. Input<String?>? credentialsSecret,
  5. Input<bool?>? managedPrivateNetwork,
  6. Input<String?>? path,
  7. Input<String?>? roleArn,
})

Creates a new TransferJobTransferSpecAwsS3DataSource. awsAccessKey AWS credentials block. bucketName S3 Bucket name. cloudfrontDomain The CloudFront distribution domain name pointing to this bucket, to use when fetching. See Transfer from S3 via CloudFront for more information. Format: https://{id}.cloudfront.net or any valid custom domain. Must begin with https://. credentialsSecret The Resource name of a secret in Secret Manager. AWS credentials must be stored in Secret Manager in JSON format. If credentialsSecret is specified, do not specify roleArn or aws_access_key. Format: projects/{projectNumber}/secrets/{secret_name}. managedPrivateNetwork Egress bytes over a Google-managed private network. This network is shared between other users of Storage Transfer Service. path S3 Bucket path in bucket to transfer. roleArn The Amazon Resource Name (ARN) of the role to support temporary credentials via 'AssumeRoleWithWebIdentity'. For more information about ARNs, see IAM ARNs. When a role ARN is provided, Transfer Service fetches temporary credentials for the session using a 'AssumeRoleWithWebIdentity' call for the provided role using the GoogleServiceAccount for this project.

Implementation

const TransferJobTransferSpecAwsS3DataSource({
  this.awsAccessKey,
  required this.bucketName,
  this.cloudfrontDomain,
  this.credentialsSecret,
  this.managedPrivateNetwork,
  this.path,
  this.roleArn,
});