// *** WARNING: this file was generated by pulumi-language-dotnet. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]
public sealed class CacheToS3
{
///
/// Defaults to `$AWS_ACCESS_KEY_ID`.
///
public readonly string? AccessKeyId;
///
/// Prefix to prepend to blob filenames.
///
public readonly string? BlobsPrefix;
///
/// Name of the S3 bucket.
///
public readonly string Bucket;
///
/// Endpoint of the S3 bucket.
///
public readonly string? EndpointUrl;
///
/// Ignore errors caused by failed cache exports.
///
public readonly bool? IgnoreError;
///
/// Prefix to prepend on manifest filenames.
///
public readonly string? ManifestsPrefix;
///
/// The cache mode to use. Defaults to `min`.
///
public readonly Pulumi.DockerBuild.CacheMode? Mode;
///
/// Name of the cache image.
///
public readonly string? Name;
///
/// The geographic location of the bucket. Defaults to `$AWS_REGION`.
///
public readonly string Region;
///
/// Defaults to `$AWS_SECRET_ACCESS_KEY`.
///
public readonly string? SecretAccessKey;
///
/// Defaults to `$AWS_SESSION_TOKEN`.
///
public readonly string? SessionToken;
///
/// Uses `bucket` in the URL instead of hostname when `true`.
///
public readonly bool? UsePathStyle;
[OutputConstructor]
private CacheToS3(
string? accessKeyId,
string? blobsPrefix,
string bucket,
string? endpointUrl,
bool? ignoreError,
string? manifestsPrefix,
Pulumi.DockerBuild.CacheMode? mode,
string? name,
string region,
string? secretAccessKey,
string? sessionToken,
bool? usePathStyle)
{
AccessKeyId = accessKeyId;
BlobsPrefix = blobsPrefix;
Bucket = bucket;
EndpointUrl = endpointUrl;
IgnoreError = ignoreError;
ManifestsPrefix = manifestsPrefix;
Mode = mode;
Name = name;
Region = region;
SecretAccessKey = secretAccessKey;
SessionToken = sessionToken;
UsePathStyle = usePathStyle;
}
}
}