Table of Contents

Class SippyAwsSource

Namespace
Cloudflare.NET.Accounts.Models
Assembly
Cloudflare.NET.dll

Represents the source bucket configuration for Sippy migration from AWS S3.

public record SippyAwsSource : IEquatable<SippyAwsSource>
Inheritance
SippyAwsSource
Implements
Inherited Members

Constructors

SippyAwsSource(SippyProvider, string, string?, string?, string?)

Represents the source bucket configuration for Sippy migration from AWS S3.

public SippyAwsSource(SippyProvider Provider, string Bucket, string? Region = null, string? AccessKeyId = null, string? SecretAccessKey = null)

Parameters

Provider SippyProvider

The source provider (must be Aws).

Bucket string

The name of the source AWS S3 bucket.

Region string

The AWS region where the bucket is located (e.g., "us-east-1").

AccessKeyId string

The AWS access key ID for reading from the source bucket.

SecretAccessKey string

The AWS secret access key for reading from the source bucket.

Properties

AccessKeyId

The AWS access key ID for reading from the source bucket.

[JsonPropertyName("accessKeyId")]
public string? AccessKeyId { get; init; }

Property Value

string

Bucket

The name of the source AWS S3 bucket.

[JsonPropertyName("bucket")]
public string Bucket { get; init; }

Property Value

string

Provider

The source provider (must be Aws).

[JsonPropertyName("provider")]
public SippyProvider Provider { get; init; }

Property Value

SippyProvider

Region

The AWS region where the bucket is located (e.g., "us-east-1").

[JsonPropertyName("region")]
public string? Region { get; init; }

Property Value

string

SecretAccessKey

The AWS secret access key for reading from the source bucket.

[JsonPropertyName("secretAccessKey")]
public string? SecretAccessKey { get; init; }

Property Value

string

Methods

Create(string, string, string, string)

Creates a new AWS S3 source configuration.

public static SippyAwsSource Create(string bucket, string region, string accessKeyId, string secretAccessKey)

Parameters

bucket string

The name of the source AWS S3 bucket.

region string

The AWS region where the bucket is located.

accessKeyId string

The AWS access key ID for reading from the source bucket.

secretAccessKey string

The AWS secret access key for reading from the source bucket.

Returns

SippyAwsSource

A new SippyAwsSource with provider set to AWS.