You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Gets or sets the AWS region endpoint (us-east-1/us-west-1/ap-southeast-2).
12
+
/// Gets the AWS region endpoint (us-east-1/us-west-1/ap-southeast-2).
13
13
/// </summary>
14
-
string?Region{get;set;}
14
+
string?Region{get;init;}
15
15
16
16
/// <summary>
17
-
/// Gets or sets the AWS bucket name.
17
+
/// Gets the AWS bucket name.
18
18
/// </summary>
19
-
stringBucketName{get;set;}
19
+
stringBucketName{get;init;}
20
20
21
21
/// <summary>
22
-
/// Gets or sets the AWS key - Can be used to override keys provided by the environment.
22
+
/// Gets the AWS key - Can be used to override keys provided by the environment.
23
23
/// If deploying inside an EC2 instance AWS keys will already be available via environment
24
24
/// variables and don't need to be specified. Follow AWS best security practices on <see href="https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html"/>.
25
25
/// </summary>
26
-
string?AccessKey{get;set;}
26
+
string?AccessKey{get;init;}
27
27
28
28
/// <summary>
29
-
/// Gets or sets the AWS secret - Can be used to override keys provided by the environment.
29
+
/// Gets the AWS endpoint - used to override the default service endpoint.
30
30
/// If deploying inside an EC2 instance AWS keys will already be available via environment
31
31
/// variables and don't need to be specified. Follow AWS best security practices on <see href="https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html"/>.
32
32
/// </summary>
33
-
string?AccessSecret{get;set;}
33
+
string?AccessSecret{get;init;}
34
34
35
35
/// <summary>
36
-
/// Gets or sets the AWS endpoint - used for testing to over region endpoint allowing it
36
+
/// Gets the AWS endpoint - used for testing to over region endpoint allowing it
37
37
/// to be set to localhost.
38
38
/// </summary>
39
-
string?Endpoint{get;set;}
39
+
string?Endpoint{get;init;}
40
40
41
41
/// <summary>
42
-
/// Gets or sets a value indicating whether the S3 accelerate endpoint is used.
42
+
/// Gets a value indicating whether the S3 accelerate endpoint is used.
43
43
/// The feature must be enabled on the bucket. Follow AWS instruction on <see href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/transfer-acceleration.html"/>.
44
44
/// </summary>
45
-
boolUseAccelerateEndpoint{get;set;}
45
+
boolUseAccelerateEndpoint{get;init;}
46
46
47
47
/// <summary>
48
-
/// Gets or sets a value indicating the timeout for the S3 client.
48
+
/// Gets a value indicating the timeout for the S3 client.
49
49
/// If the value is set, the value is assigned to the Timeout property of the HttpWebRequest/HttpClient object used to send requests.
0 commit comments