<gh_stars>0// *** 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.Log.Inputs
{

    public sealed class EtlEtlSinkArgs : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// Delivery target logstore access key id.
        /// </summary>
        [Input("accessKeyId")]
        public Input<string>? AccessKeyId { get; set; }

        /// <summary>
        /// Delivery target logstore access key secret.
        /// </summary>
        [Input("accessKeySecret")]
        public Input<string>? AccessKeySecret { get; set; }

        /// <summary>
        /// Delivery target logstore region.
        /// </summary>
        [Input("endpoint", required: true)]
        public Input<string> Endpoint { get; set; } = null!;

        /// <summary>
        /// An KMS encrypts access key id used to a log etl job. If the `access_key_id` is filled in, this field will be ignored.
        /// </summary>
        [Input("kmsEncryptedAccessKeyId")]
        public Input<string>? KmsEncryptedAccessKeyId { get; set; }

        /// <summary>
        /// An KMS encrypts access key secret used to a log etl job. If the `access_key_secret` is filled in, this field will be ignored.
        /// </summary>
        [Input("kmsEncryptedAccessKeySecret")]
        public Input<string>? KmsEncryptedAccessKeySecret { get; set; }

        /// <summary>
        /// Delivery target logstore.
        /// </summary>
        [Input("logstore", required: true)]
        public Input<string> Logstore { get; set; } = null!;

        /// <summary>
        /// Delivery target name.
        /// </summary>
        [Input("name", required: true)]
        public Input<string> Name { get; set; } = null!;

        /// <summary>
        /// The project where the target logstore is delivered.
        /// </summary>
        [Input("project", required: true)]
        public Input<string> Project { get; set; } = null!;

        /// <summary>
        /// Sts role info under delivery target logstore. `role_arn` and `(access_key_id, access_key_secret)` fill in at most one. If you do not fill in both, then you must fill in `(kms_encrypted_access_key_id, kms_encrypted_access_key_secret, kms_encryption_access_key_id_context, kms_encryption_access_key_secret_context)` to use KMS to get the key pair.
        /// </summary>
        [Input("roleArn")]
        public Input<string>? RoleArn { get; set; }

        /// <summary>
        /// ETL sinks type, the default value is AliyunLOG.
        /// </summary>
        [Input("type")]
        public Input<string>? Type { get; set; }

        public EtlEtlSinkArgs()
        {
        }
        public static new EtlEtlSinkArgs Empty => new EtlEtlSinkArgs();
    }
}
