// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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.AliCloud.Oss.Outputs
{

    [OutputType]
    public sealed class BucketServerSideEncryptionRule
    {
        /// <summary>
        /// The alibaba cloud KMS master key ID used for the SSE-KMS encryption.
        /// </summary>
        public readonly string? KmsMasterKeyId;
        /// <summary>
        /// The server-side encryption algorithm to use. Possible values: `AES256` and `KMS`.
        /// </summary>
        public readonly string SseAlgorithm;

        [OutputConstructor]
        private BucketServerSideEncryptionRule(
            string? kmsMasterKeyId,

            string sseAlgorithm)
        {
            KmsMasterKeyId = kmsMasterKeyId;
            SseAlgorithm = sseAlgorithm;
        }
    }
}
