1. Packages
  2. Gcore Provider
  3. API Docs
  4. CdnLogsUploaderTarget
gcore 0.25.1 published on Friday, Jun 27, 2025 by g-core

gcore.CdnLogsUploaderTarget

Explore with Pulumi AI

gcore logo
gcore 0.25.1 published on Friday, Jun 27, 2025 by g-core

    Represent CDN logs uploader target

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const target1 = new gcore.CdnLogsUploaderTarget("target1", {
        config: {
            sftp: {
                hostname: "ftp.example.com",
                password: "password",
                user: "user",
            },
        },
        description: "Target for logs uploader",
    });
    const target2 = new gcore.CdnLogsUploaderTarget("target2", {config: {
        s3Oss: {
            accessKeyId: "access_key_id",
            bucketName: "bucket_name",
            directory: "directory",
            region: "region",
            secretAccessKey: "secret_access123456789",
        },
    }});
    
    import pulumi
    import pulumi_gcore as gcore
    
    target1 = gcore.CdnLogsUploaderTarget("target1",
        config={
            "sftp": {
                "hostname": "ftp.example.com",
                "password": "password",
                "user": "user",
            },
        },
        description="Target for logs uploader")
    target2 = gcore.CdnLogsUploaderTarget("target2", config={
        "s3_oss": {
            "access_key_id": "access_key_id",
            "bucket_name": "bucket_name",
            "directory": "directory",
            "region": "region",
            "secret_access_key": "secret_access123456789",
        },
    })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gcore.NewCdnLogsUploaderTarget(ctx, "target1", &gcore.CdnLogsUploaderTargetArgs{
    			Config: &gcore.CdnLogsUploaderTargetConfigArgs{
    				Sftp: &gcore.CdnLogsUploaderTargetConfigSftpArgs{
    					Hostname: pulumi.String("ftp.example.com"),
    					Password: pulumi.String("password"),
    					User:     pulumi.String("user"),
    				},
    			},
    			Description: pulumi.String("Target for logs uploader"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = gcore.NewCdnLogsUploaderTarget(ctx, "target2", &gcore.CdnLogsUploaderTargetArgs{
    			Config: &gcore.CdnLogsUploaderTargetConfigArgs{
    				S3Oss: &gcore.CdnLogsUploaderTargetConfigS3OssArgs{
    					AccessKeyId:     pulumi.String("access_key_id"),
    					BucketName:      pulumi.String("bucket_name"),
    					Directory:       pulumi.String("directory"),
    					Region:          pulumi.String("region"),
    					SecretAccessKey: pulumi.String("secret_access123456789"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        var target1 = new Gcore.CdnLogsUploaderTarget("target1", new()
        {
            Config = new Gcore.Inputs.CdnLogsUploaderTargetConfigArgs
            {
                Sftp = new Gcore.Inputs.CdnLogsUploaderTargetConfigSftpArgs
                {
                    Hostname = "ftp.example.com",
                    Password = "password",
                    User = "user",
                },
            },
            Description = "Target for logs uploader",
        });
    
        var target2 = new Gcore.CdnLogsUploaderTarget("target2", new()
        {
            Config = new Gcore.Inputs.CdnLogsUploaderTargetConfigArgs
            {
                S3Oss = new Gcore.Inputs.CdnLogsUploaderTargetConfigS3OssArgs
                {
                    AccessKeyId = "access_key_id",
                    BucketName = "bucket_name",
                    Directory = "directory",
                    Region = "region",
                    SecretAccessKey = "secret_access123456789",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.CdnLogsUploaderTarget;
    import com.pulumi.gcore.CdnLogsUploaderTargetArgs;
    import com.pulumi.gcore.inputs.CdnLogsUploaderTargetConfigArgs;
    import com.pulumi.gcore.inputs.CdnLogsUploaderTargetConfigSftpArgs;
    import com.pulumi.gcore.inputs.CdnLogsUploaderTargetConfigS3OssArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var target1 = new CdnLogsUploaderTarget("target1", CdnLogsUploaderTargetArgs.builder()
                .config(CdnLogsUploaderTargetConfigArgs.builder()
                    .sftp(CdnLogsUploaderTargetConfigSftpArgs.builder()
                        .hostname("ftp.example.com")
                        .password("password")
                        .user("user")
                        .build())
                    .build())
                .description("Target for logs uploader")
                .build());
    
            var target2 = new CdnLogsUploaderTarget("target2", CdnLogsUploaderTargetArgs.builder()
                .config(CdnLogsUploaderTargetConfigArgs.builder()
                    .s3Oss(CdnLogsUploaderTargetConfigS3OssArgs.builder()
                        .accessKeyId("access_key_id")
                        .bucketName("bucket_name")
                        .directory("directory")
                        .region("region")
                        .secretAccessKey("secret_access123456789")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      target1:
        type: gcore:CdnLogsUploaderTarget
        properties:
          config:
            sftp:
              hostname: ftp.example.com
              password: password
              user: user
          description: Target for logs uploader
      target2:
        type: gcore:CdnLogsUploaderTarget
        properties:
          config:
            s3Oss:
              accessKeyId: access_key_id
              bucketName: bucket_name
              directory: directory
              region: region
              secretAccessKey: secret_access123456789
    

    Create CdnLogsUploaderTarget Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CdnLogsUploaderTarget(name: string, args: CdnLogsUploaderTargetArgs, opts?: CustomResourceOptions);
    @overload
    def CdnLogsUploaderTarget(resource_name: str,
                              args: CdnLogsUploaderTargetArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def CdnLogsUploaderTarget(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              config: Optional[CdnLogsUploaderTargetConfigArgs] = None,
                              cdn_logs_uploader_target_id: Optional[str] = None,
                              description: Optional[str] = None,
                              name: Optional[str] = None)
    func NewCdnLogsUploaderTarget(ctx *Context, name string, args CdnLogsUploaderTargetArgs, opts ...ResourceOption) (*CdnLogsUploaderTarget, error)
    public CdnLogsUploaderTarget(string name, CdnLogsUploaderTargetArgs args, CustomResourceOptions? opts = null)
    public CdnLogsUploaderTarget(String name, CdnLogsUploaderTargetArgs args)
    public CdnLogsUploaderTarget(String name, CdnLogsUploaderTargetArgs args, CustomResourceOptions options)
    
    type: gcore:CdnLogsUploaderTarget
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CdnLogsUploaderTargetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CdnLogsUploaderTargetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CdnLogsUploaderTargetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CdnLogsUploaderTargetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CdnLogsUploaderTargetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cdnLogsUploaderTargetResource = new Gcore.CdnLogsUploaderTarget("cdnLogsUploaderTargetResource", new()
    {
        Config = new Gcore.Inputs.CdnLogsUploaderTargetConfigArgs
        {
            Ftp = new Gcore.Inputs.CdnLogsUploaderTargetConfigFtpArgs
            {
                Hostname = "string",
                Password = "string",
                User = "string",
                Directory = "string",
                TimeoutSeconds = 0,
            },
            Http = new Gcore.Inputs.CdnLogsUploaderTargetConfigHttpArgs
            {
                Upload = new Gcore.Inputs.CdnLogsUploaderTargetConfigHttpUploadArgs
                {
                    Url = "string",
                    Headers = 
                    {
                        { "string", "string" },
                    },
                    Method = "string",
                    ResponseActions = new[]
                    {
                        new Gcore.Inputs.CdnLogsUploaderTargetConfigHttpUploadResponseActionArgs
                        {
                            Action = "string",
                            Description = "string",
                            MatchPayload = "string",
                            MatchStatusCode = 0,
                        },
                    },
                    TimeoutSeconds = 0,
                    UseCompression = false,
                },
                Append = new Gcore.Inputs.CdnLogsUploaderTargetConfigHttpAppendArgs
                {
                    Url = "string",
                    Headers = 
                    {
                        { "string", "string" },
                    },
                    Method = "string",
                    ResponseActions = new[]
                    {
                        new Gcore.Inputs.CdnLogsUploaderTargetConfigHttpAppendResponseActionArgs
                        {
                            Action = "string",
                            Description = "string",
                            MatchPayload = "string",
                            MatchStatusCode = 0,
                        },
                    },
                    TimeoutSeconds = 0,
                    UseCompression = false,
                },
                Auth = new Gcore.Inputs.CdnLogsUploaderTargetConfigHttpAuthArgs
                {
                    Config = new Gcore.Inputs.CdnLogsUploaderTargetConfigHttpAuthConfigArgs
                    {
                        HeaderName = "string",
                        Token = "string",
                    },
                    Type = "string",
                },
                ContentType = "string",
                Retry = new Gcore.Inputs.CdnLogsUploaderTargetConfigHttpRetryArgs
                {
                    Url = "string",
                    Headers = 
                    {
                        { "string", "string" },
                    },
                    Method = "string",
                    ResponseActions = new[]
                    {
                        new Gcore.Inputs.CdnLogsUploaderTargetConfigHttpRetryResponseActionArgs
                        {
                            Action = "string",
                            Description = "string",
                            MatchPayload = "string",
                            MatchStatusCode = 0,
                        },
                    },
                    TimeoutSeconds = 0,
                    UseCompression = false,
                },
            },
            S3Amazon = new Gcore.Inputs.CdnLogsUploaderTargetConfigS3AmazonArgs
            {
                AccessKeyId = "string",
                BucketName = "string",
                Region = "string",
                SecretAccessKey = "string",
                Directory = "string",
            },
            S3Gcore = new Gcore.Inputs.CdnLogsUploaderTargetConfigS3GcoreArgs
            {
                AccessKeyId = "string",
                BucketName = "string",
                Endpoint = "string",
                Region = "string",
                SecretAccessKey = "string",
                Directory = "string",
                UsePathStyle = false,
            },
            S3Oss = new Gcore.Inputs.CdnLogsUploaderTargetConfigS3OssArgs
            {
                AccessKeyId = "string",
                BucketName = "string",
                SecretAccessKey = "string",
                Directory = "string",
                Region = "string",
            },
            S3Other = new Gcore.Inputs.CdnLogsUploaderTargetConfigS3OtherArgs
            {
                AccessKeyId = "string",
                BucketName = "string",
                Endpoint = "string",
                Region = "string",
                SecretAccessKey = "string",
                Directory = "string",
                UsePathStyle = false,
            },
            S3V1 = new Gcore.Inputs.CdnLogsUploaderTargetConfigS3V1Args
            {
                AccessKeyId = "string",
                BucketName = "string",
                Endpoint = "string",
                Region = "string",
                SecretAccessKey = "string",
                Directory = "string",
                UsePathStyle = false,
            },
            Sftp = new Gcore.Inputs.CdnLogsUploaderTargetConfigSftpArgs
            {
                Hostname = "string",
                User = "string",
                Directory = "string",
                KeyPassphrase = "string",
                Password = "string",
                PrivateKey = "string",
                TimeoutSeconds = 0,
            },
        },
        CdnLogsUploaderTargetId = "string",
        Description = "string",
        Name = "string",
    });
    
    example, err := gcore.NewCdnLogsUploaderTarget(ctx, "cdnLogsUploaderTargetResource", &gcore.CdnLogsUploaderTargetArgs{
    	Config: &gcore.CdnLogsUploaderTargetConfigArgs{
    		Ftp: &gcore.CdnLogsUploaderTargetConfigFtpArgs{
    			Hostname:       pulumi.String("string"),
    			Password:       pulumi.String("string"),
    			User:           pulumi.String("string"),
    			Directory:      pulumi.String("string"),
    			TimeoutSeconds: pulumi.Float64(0),
    		},
    		Http: &gcore.CdnLogsUploaderTargetConfigHttpArgs{
    			Upload: &gcore.CdnLogsUploaderTargetConfigHttpUploadArgs{
    				Url: pulumi.String("string"),
    				Headers: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    				Method: pulumi.String("string"),
    				ResponseActions: gcore.CdnLogsUploaderTargetConfigHttpUploadResponseActionArray{
    					&gcore.CdnLogsUploaderTargetConfigHttpUploadResponseActionArgs{
    						Action:          pulumi.String("string"),
    						Description:     pulumi.String("string"),
    						MatchPayload:    pulumi.String("string"),
    						MatchStatusCode: pulumi.Float64(0),
    					},
    				},
    				TimeoutSeconds: pulumi.Float64(0),
    				UseCompression: pulumi.Bool(false),
    			},
    			Append: &gcore.CdnLogsUploaderTargetConfigHttpAppendArgs{
    				Url: pulumi.String("string"),
    				Headers: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    				Method: pulumi.String("string"),
    				ResponseActions: gcore.CdnLogsUploaderTargetConfigHttpAppendResponseActionArray{
    					&gcore.CdnLogsUploaderTargetConfigHttpAppendResponseActionArgs{
    						Action:          pulumi.String("string"),
    						Description:     pulumi.String("string"),
    						MatchPayload:    pulumi.String("string"),
    						MatchStatusCode: pulumi.Float64(0),
    					},
    				},
    				TimeoutSeconds: pulumi.Float64(0),
    				UseCompression: pulumi.Bool(false),
    			},
    			Auth: &gcore.CdnLogsUploaderTargetConfigHttpAuthArgs{
    				Config: &gcore.CdnLogsUploaderTargetConfigHttpAuthConfigArgs{
    					HeaderName: pulumi.String("string"),
    					Token:      pulumi.String("string"),
    				},
    				Type: pulumi.String("string"),
    			},
    			ContentType: pulumi.String("string"),
    			Retry: &gcore.CdnLogsUploaderTargetConfigHttpRetryArgs{
    				Url: pulumi.String("string"),
    				Headers: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    				Method: pulumi.String("string"),
    				ResponseActions: gcore.CdnLogsUploaderTargetConfigHttpRetryResponseActionArray{
    					&gcore.CdnLogsUploaderTargetConfigHttpRetryResponseActionArgs{
    						Action:          pulumi.String("string"),
    						Description:     pulumi.String("string"),
    						MatchPayload:    pulumi.String("string"),
    						MatchStatusCode: pulumi.Float64(0),
    					},
    				},
    				TimeoutSeconds: pulumi.Float64(0),
    				UseCompression: pulumi.Bool(false),
    			},
    		},
    		S3Amazon: &gcore.CdnLogsUploaderTargetConfigS3AmazonArgs{
    			AccessKeyId:     pulumi.String("string"),
    			BucketName:      pulumi.String("string"),
    			Region:          pulumi.String("string"),
    			SecretAccessKey: pulumi.String("string"),
    			Directory:       pulumi.String("string"),
    		},
    		S3Gcore: &gcore.CdnLogsUploaderTargetConfigS3GcoreArgs{
    			AccessKeyId:     pulumi.String("string"),
    			BucketName:      pulumi.String("string"),
    			Endpoint:        pulumi.String("string"),
    			Region:          pulumi.String("string"),
    			SecretAccessKey: pulumi.String("string"),
    			Directory:       pulumi.String("string"),
    			UsePathStyle:    pulumi.Bool(false),
    		},
    		S3Oss: &gcore.CdnLogsUploaderTargetConfigS3OssArgs{
    			AccessKeyId:     pulumi.String("string"),
    			BucketName:      pulumi.String("string"),
    			SecretAccessKey: pulumi.String("string"),
    			Directory:       pulumi.String("string"),
    			Region:          pulumi.String("string"),
    		},
    		S3Other: &gcore.CdnLogsUploaderTargetConfigS3OtherArgs{
    			AccessKeyId:     pulumi.String("string"),
    			BucketName:      pulumi.String("string"),
    			Endpoint:        pulumi.String("string"),
    			Region:          pulumi.String("string"),
    			SecretAccessKey: pulumi.String("string"),
    			Directory:       pulumi.String("string"),
    			UsePathStyle:    pulumi.Bool(false),
    		},
    		S3V1: &gcore.CdnLogsUploaderTargetConfigS3V1Args{
    			AccessKeyId:     pulumi.String("string"),
    			BucketName:      pulumi.String("string"),
    			Endpoint:        pulumi.String("string"),
    			Region:          pulumi.String("string"),
    			SecretAccessKey: pulumi.String("string"),
    			Directory:       pulumi.String("string"),
    			UsePathStyle:    pulumi.Bool(false),
    		},
    		Sftp: &gcore.CdnLogsUploaderTargetConfigSftpArgs{
    			Hostname:       pulumi.String("string"),
    			User:           pulumi.String("string"),
    			Directory:      pulumi.String("string"),
    			KeyPassphrase:  pulumi.String("string"),
    			Password:       pulumi.String("string"),
    			PrivateKey:     pulumi.String("string"),
    			TimeoutSeconds: pulumi.Float64(0),
    		},
    	},
    	CdnLogsUploaderTargetId: pulumi.String("string"),
    	Description:             pulumi.String("string"),
    	Name:                    pulumi.String("string"),
    })
    
    var cdnLogsUploaderTargetResource = new CdnLogsUploaderTarget("cdnLogsUploaderTargetResource", CdnLogsUploaderTargetArgs.builder()
        .config(CdnLogsUploaderTargetConfigArgs.builder()
            .ftp(CdnLogsUploaderTargetConfigFtpArgs.builder()
                .hostname("string")
                .password("string")
                .user("string")
                .directory("string")
                .timeoutSeconds(0.0)
                .build())
            .http(CdnLogsUploaderTargetConfigHttpArgs.builder()
                .upload(CdnLogsUploaderTargetConfigHttpUploadArgs.builder()
                    .url("string")
                    .headers(Map.of("string", "string"))
                    .method("string")
                    .responseActions(CdnLogsUploaderTargetConfigHttpUploadResponseActionArgs.builder()
                        .action("string")
                        .description("string")
                        .matchPayload("string")
                        .matchStatusCode(0.0)
                        .build())
                    .timeoutSeconds(0.0)
                    .useCompression(false)
                    .build())
                .append(CdnLogsUploaderTargetConfigHttpAppendArgs.builder()
                    .url("string")
                    .headers(Map.of("string", "string"))
                    .method("string")
                    .responseActions(CdnLogsUploaderTargetConfigHttpAppendResponseActionArgs.builder()
                        .action("string")
                        .description("string")
                        .matchPayload("string")
                        .matchStatusCode(0.0)
                        .build())
                    .timeoutSeconds(0.0)
                    .useCompression(false)
                    .build())
                .auth(CdnLogsUploaderTargetConfigHttpAuthArgs.builder()
                    .config(CdnLogsUploaderTargetConfigHttpAuthConfigArgs.builder()
                        .headerName("string")
                        .token("string")
                        .build())
                    .type("string")
                    .build())
                .contentType("string")
                .retry(CdnLogsUploaderTargetConfigHttpRetryArgs.builder()
                    .url("string")
                    .headers(Map.of("string", "string"))
                    .method("string")
                    .responseActions(CdnLogsUploaderTargetConfigHttpRetryResponseActionArgs.builder()
                        .action("string")
                        .description("string")
                        .matchPayload("string")
                        .matchStatusCode(0.0)
                        .build())
                    .timeoutSeconds(0.0)
                    .useCompression(false)
                    .build())
                .build())
            .s3Amazon(CdnLogsUploaderTargetConfigS3AmazonArgs.builder()
                .accessKeyId("string")
                .bucketName("string")
                .region("string")
                .secretAccessKey("string")
                .directory("string")
                .build())
            .s3Gcore(CdnLogsUploaderTargetConfigS3GcoreArgs.builder()
                .accessKeyId("string")
                .bucketName("string")
                .endpoint("string")
                .region("string")
                .secretAccessKey("string")
                .directory("string")
                .usePathStyle(false)
                .build())
            .s3Oss(CdnLogsUploaderTargetConfigS3OssArgs.builder()
                .accessKeyId("string")
                .bucketName("string")
                .secretAccessKey("string")
                .directory("string")
                .region("string")
                .build())
            .s3Other(CdnLogsUploaderTargetConfigS3OtherArgs.builder()
                .accessKeyId("string")
                .bucketName("string")
                .endpoint("string")
                .region("string")
                .secretAccessKey("string")
                .directory("string")
                .usePathStyle(false)
                .build())
            .s3V1(CdnLogsUploaderTargetConfigS3V1Args.builder()
                .accessKeyId("string")
                .bucketName("string")
                .endpoint("string")
                .region("string")
                .secretAccessKey("string")
                .directory("string")
                .usePathStyle(false)
                .build())
            .sftp(CdnLogsUploaderTargetConfigSftpArgs.builder()
                .hostname("string")
                .user("string")
                .directory("string")
                .keyPassphrase("string")
                .password("string")
                .privateKey("string")
                .timeoutSeconds(0.0)
                .build())
            .build())
        .cdnLogsUploaderTargetId("string")
        .description("string")
        .name("string")
        .build());
    
    cdn_logs_uploader_target_resource = gcore.CdnLogsUploaderTarget("cdnLogsUploaderTargetResource",
        config={
            "ftp": {
                "hostname": "string",
                "password": "string",
                "user": "string",
                "directory": "string",
                "timeout_seconds": 0,
            },
            "http": {
                "upload": {
                    "url": "string",
                    "headers": {
                        "string": "string",
                    },
                    "method": "string",
                    "response_actions": [{
                        "action": "string",
                        "description": "string",
                        "match_payload": "string",
                        "match_status_code": 0,
                    }],
                    "timeout_seconds": 0,
                    "use_compression": False,
                },
                "append": {
                    "url": "string",
                    "headers": {
                        "string": "string",
                    },
                    "method": "string",
                    "response_actions": [{
                        "action": "string",
                        "description": "string",
                        "match_payload": "string",
                        "match_status_code": 0,
                    }],
                    "timeout_seconds": 0,
                    "use_compression": False,
                },
                "auth": {
                    "config": {
                        "header_name": "string",
                        "token": "string",
                    },
                    "type": "string",
                },
                "content_type": "string",
                "retry": {
                    "url": "string",
                    "headers": {
                        "string": "string",
                    },
                    "method": "string",
                    "response_actions": [{
                        "action": "string",
                        "description": "string",
                        "match_payload": "string",
                        "match_status_code": 0,
                    }],
                    "timeout_seconds": 0,
                    "use_compression": False,
                },
            },
            "s3_amazon": {
                "access_key_id": "string",
                "bucket_name": "string",
                "region": "string",
                "secret_access_key": "string",
                "directory": "string",
            },
            "s3_gcore": {
                "access_key_id": "string",
                "bucket_name": "string",
                "endpoint": "string",
                "region": "string",
                "secret_access_key": "string",
                "directory": "string",
                "use_path_style": False,
            },
            "s3_oss": {
                "access_key_id": "string",
                "bucket_name": "string",
                "secret_access_key": "string",
                "directory": "string",
                "region": "string",
            },
            "s3_other": {
                "access_key_id": "string",
                "bucket_name": "string",
                "endpoint": "string",
                "region": "string",
                "secret_access_key": "string",
                "directory": "string",
                "use_path_style": False,
            },
            "s3_v1": {
                "access_key_id": "string",
                "bucket_name": "string",
                "endpoint": "string",
                "region": "string",
                "secret_access_key": "string",
                "directory": "string",
                "use_path_style": False,
            },
            "sftp": {
                "hostname": "string",
                "user": "string",
                "directory": "string",
                "key_passphrase": "string",
                "password": "string",
                "private_key": "string",
                "timeout_seconds": 0,
            },
        },
        cdn_logs_uploader_target_id="string",
        description="string",
        name="string")
    
    const cdnLogsUploaderTargetResource = new gcore.CdnLogsUploaderTarget("cdnLogsUploaderTargetResource", {
        config: {
            ftp: {
                hostname: "string",
                password: "string",
                user: "string",
                directory: "string",
                timeoutSeconds: 0,
            },
            http: {
                upload: {
                    url: "string",
                    headers: {
                        string: "string",
                    },
                    method: "string",
                    responseActions: [{
                        action: "string",
                        description: "string",
                        matchPayload: "string",
                        matchStatusCode: 0,
                    }],
                    timeoutSeconds: 0,
                    useCompression: false,
                },
                append: {
                    url: "string",
                    headers: {
                        string: "string",
                    },
                    method: "string",
                    responseActions: [{
                        action: "string",
                        description: "string",
                        matchPayload: "string",
                        matchStatusCode: 0,
                    }],
                    timeoutSeconds: 0,
                    useCompression: false,
                },
                auth: {
                    config: {
                        headerName: "string",
                        token: "string",
                    },
                    type: "string",
                },
                contentType: "string",
                retry: {
                    url: "string",
                    headers: {
                        string: "string",
                    },
                    method: "string",
                    responseActions: [{
                        action: "string",
                        description: "string",
                        matchPayload: "string",
                        matchStatusCode: 0,
                    }],
                    timeoutSeconds: 0,
                    useCompression: false,
                },
            },
            s3Amazon: {
                accessKeyId: "string",
                bucketName: "string",
                region: "string",
                secretAccessKey: "string",
                directory: "string",
            },
            s3Gcore: {
                accessKeyId: "string",
                bucketName: "string",
                endpoint: "string",
                region: "string",
                secretAccessKey: "string",
                directory: "string",
                usePathStyle: false,
            },
            s3Oss: {
                accessKeyId: "string",
                bucketName: "string",
                secretAccessKey: "string",
                directory: "string",
                region: "string",
            },
            s3Other: {
                accessKeyId: "string",
                bucketName: "string",
                endpoint: "string",
                region: "string",
                secretAccessKey: "string",
                directory: "string",
                usePathStyle: false,
            },
            s3V1: {
                accessKeyId: "string",
                bucketName: "string",
                endpoint: "string",
                region: "string",
                secretAccessKey: "string",
                directory: "string",
                usePathStyle: false,
            },
            sftp: {
                hostname: "string",
                user: "string",
                directory: "string",
                keyPassphrase: "string",
                password: "string",
                privateKey: "string",
                timeoutSeconds: 0,
            },
        },
        cdnLogsUploaderTargetId: "string",
        description: "string",
        name: "string",
    });
    
    type: gcore:CdnLogsUploaderTarget
    properties:
        cdnLogsUploaderTargetId: string
        config:
            ftp:
                directory: string
                hostname: string
                password: string
                timeoutSeconds: 0
                user: string
            http:
                append:
                    headers:
                        string: string
                    method: string
                    responseActions:
                        - action: string
                          description: string
                          matchPayload: string
                          matchStatusCode: 0
                    timeoutSeconds: 0
                    url: string
                    useCompression: false
                auth:
                    config:
                        headerName: string
                        token: string
                    type: string
                contentType: string
                retry:
                    headers:
                        string: string
                    method: string
                    responseActions:
                        - action: string
                          description: string
                          matchPayload: string
                          matchStatusCode: 0
                    timeoutSeconds: 0
                    url: string
                    useCompression: false
                upload:
                    headers:
                        string: string
                    method: string
                    responseActions:
                        - action: string
                          description: string
                          matchPayload: string
                          matchStatusCode: 0
                    timeoutSeconds: 0
                    url: string
                    useCompression: false
            s3Amazon:
                accessKeyId: string
                bucketName: string
                directory: string
                region: string
                secretAccessKey: string
            s3Gcore:
                accessKeyId: string
                bucketName: string
                directory: string
                endpoint: string
                region: string
                secretAccessKey: string
                usePathStyle: false
            s3Oss:
                accessKeyId: string
                bucketName: string
                directory: string
                region: string
                secretAccessKey: string
            s3Other:
                accessKeyId: string
                bucketName: string
                directory: string
                endpoint: string
                region: string
                secretAccessKey: string
                usePathStyle: false
            s3V1:
                accessKeyId: string
                bucketName: string
                directory: string
                endpoint: string
                region: string
                secretAccessKey: string
                usePathStyle: false
            sftp:
                directory: string
                hostname: string
                keyPassphrase: string
                password: string
                privateKey: string
                timeoutSeconds: 0
                user: string
        description: string
        name: string
    

    CdnLogsUploaderTarget Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CdnLogsUploaderTarget resource accepts the following input properties:

    Config CdnLogsUploaderTargetConfig
    Config for specific storage type.
    CdnLogsUploaderTargetId string
    The ID of this resource.
    Description string
    Description of the target. Default value is empty string.
    Name string
    Name of the target. Default value is "Target".
    Config CdnLogsUploaderTargetConfigArgs
    Config for specific storage type.
    CdnLogsUploaderTargetId string
    The ID of this resource.
    Description string
    Description of the target. Default value is empty string.
    Name string
    Name of the target. Default value is "Target".
    config CdnLogsUploaderTargetConfig
    Config for specific storage type.
    cdnLogsUploaderTargetId String
    The ID of this resource.
    description String
    Description of the target. Default value is empty string.
    name String
    Name of the target. Default value is "Target".
    config CdnLogsUploaderTargetConfig
    Config for specific storage type.
    cdnLogsUploaderTargetId string
    The ID of this resource.
    description string
    Description of the target. Default value is empty string.
    name string
    Name of the target. Default value is "Target".
    config CdnLogsUploaderTargetConfigArgs
    Config for specific storage type.
    cdn_logs_uploader_target_id str
    The ID of this resource.
    description str
    Description of the target. Default value is empty string.
    name str
    Name of the target. Default value is "Target".
    config Property Map
    Config for specific storage type.
    cdnLogsUploaderTargetId String
    The ID of this resource.
    description String
    Description of the target. Default value is empty string.
    name String
    Name of the target. Default value is "Target".

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CdnLogsUploaderTarget resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CdnLogsUploaderTarget Resource

    Get an existing CdnLogsUploaderTarget resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CdnLogsUploaderTargetState, opts?: CustomResourceOptions): CdnLogsUploaderTarget
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cdn_logs_uploader_target_id: Optional[str] = None,
            config: Optional[CdnLogsUploaderTargetConfigArgs] = None,
            description: Optional[str] = None,
            name: Optional[str] = None) -> CdnLogsUploaderTarget
    func GetCdnLogsUploaderTarget(ctx *Context, name string, id IDInput, state *CdnLogsUploaderTargetState, opts ...ResourceOption) (*CdnLogsUploaderTarget, error)
    public static CdnLogsUploaderTarget Get(string name, Input<string> id, CdnLogsUploaderTargetState? state, CustomResourceOptions? opts = null)
    public static CdnLogsUploaderTarget get(String name, Output<String> id, CdnLogsUploaderTargetState state, CustomResourceOptions options)
    resources:  _:    type: gcore:CdnLogsUploaderTarget    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CdnLogsUploaderTargetId string
    The ID of this resource.
    Config CdnLogsUploaderTargetConfig
    Config for specific storage type.
    Description string
    Description of the target. Default value is empty string.
    Name string
    Name of the target. Default value is "Target".
    CdnLogsUploaderTargetId string
    The ID of this resource.
    Config CdnLogsUploaderTargetConfigArgs
    Config for specific storage type.
    Description string
    Description of the target. Default value is empty string.
    Name string
    Name of the target. Default value is "Target".
    cdnLogsUploaderTargetId String
    The ID of this resource.
    config CdnLogsUploaderTargetConfig
    Config for specific storage type.
    description String
    Description of the target. Default value is empty string.
    name String
    Name of the target. Default value is "Target".
    cdnLogsUploaderTargetId string
    The ID of this resource.
    config CdnLogsUploaderTargetConfig
    Config for specific storage type.
    description string
    Description of the target. Default value is empty string.
    name string
    Name of the target. Default value is "Target".
    cdn_logs_uploader_target_id str
    The ID of this resource.
    config CdnLogsUploaderTargetConfigArgs
    Config for specific storage type.
    description str
    Description of the target. Default value is empty string.
    name str
    Name of the target. Default value is "Target".
    cdnLogsUploaderTargetId String
    The ID of this resource.
    config Property Map
    Config for specific storage type.
    description String
    Description of the target. Default value is empty string.
    name String
    Name of the target. Default value is "Target".

    Supporting Types

    CdnLogsUploaderTargetConfig, CdnLogsUploaderTargetConfigArgs

    CdnLogsUploaderTargetConfigFtp, CdnLogsUploaderTargetConfigFtpArgs

    Hostname string
    Hostname or IP address of the FTP server.
    Password string
    Password for the FTP account.
    User string
    Username for the FTP account.
    Directory string
    Directory on the FTP server where logs will be uploaded.
    TimeoutSeconds double
    Timeout for the FTP connection in seconds. Default value is 10.
    Hostname string
    Hostname or IP address of the FTP server.
    Password string
    Password for the FTP account.
    User string
    Username for the FTP account.
    Directory string
    Directory on the FTP server where logs will be uploaded.
    TimeoutSeconds float64
    Timeout for the FTP connection in seconds. Default value is 10.
    hostname String
    Hostname or IP address of the FTP server.
    password String
    Password for the FTP account.
    user String
    Username for the FTP account.
    directory String
    Directory on the FTP server where logs will be uploaded.
    timeoutSeconds Double
    Timeout for the FTP connection in seconds. Default value is 10.
    hostname string
    Hostname or IP address of the FTP server.
    password string
    Password for the FTP account.
    user string
    Username for the FTP account.
    directory string
    Directory on the FTP server where logs will be uploaded.
    timeoutSeconds number
    Timeout for the FTP connection in seconds. Default value is 10.
    hostname str
    Hostname or IP address of the FTP server.
    password str
    Password for the FTP account.
    user str
    Username for the FTP account.
    directory str
    Directory on the FTP server where logs will be uploaded.
    timeout_seconds float
    Timeout for the FTP connection in seconds. Default value is 10.
    hostname String
    Hostname or IP address of the FTP server.
    password String
    Password for the FTP account.
    user String
    Username for the FTP account.
    directory String
    Directory on the FTP server where logs will be uploaded.
    timeoutSeconds Number
    Timeout for the FTP connection in seconds. Default value is 10.

    CdnLogsUploaderTargetConfigHttp, CdnLogsUploaderTargetConfigHttpArgs

    Upload CdnLogsUploaderTargetConfigHttpUpload
    Upload action configuration.
    Append CdnLogsUploaderTargetConfigHttpAppend
    Append action configuration.
    Auth CdnLogsUploaderTargetConfigHttpAuth
    Authentication configuration for HTTP target.
    ContentType string
    Content type of the logs being uploaded. Supported values are 'json' and 'text'.
    Retry CdnLogsUploaderTargetConfigHttpRetry
    Retry action configuration.
    Upload CdnLogsUploaderTargetConfigHttpUpload
    Upload action configuration.
    Append CdnLogsUploaderTargetConfigHttpAppend
    Append action configuration.
    Auth CdnLogsUploaderTargetConfigHttpAuth
    Authentication configuration for HTTP target.
    ContentType string
    Content type of the logs being uploaded. Supported values are 'json' and 'text'.
    Retry CdnLogsUploaderTargetConfigHttpRetry
    Retry action configuration.
    upload CdnLogsUploaderTargetConfigHttpUpload
    Upload action configuration.
    append CdnLogsUploaderTargetConfigHttpAppend
    Append action configuration.
    auth CdnLogsUploaderTargetConfigHttpAuth
    Authentication configuration for HTTP target.
    contentType String
    Content type of the logs being uploaded. Supported values are 'json' and 'text'.
    retry CdnLogsUploaderTargetConfigHttpRetry
    Retry action configuration.
    upload CdnLogsUploaderTargetConfigHttpUpload
    Upload action configuration.
    append CdnLogsUploaderTargetConfigHttpAppend
    Append action configuration.
    auth CdnLogsUploaderTargetConfigHttpAuth
    Authentication configuration for HTTP target.
    contentType string
    Content type of the logs being uploaded. Supported values are 'json' and 'text'.
    retry CdnLogsUploaderTargetConfigHttpRetry
    Retry action configuration.
    upload CdnLogsUploaderTargetConfigHttpUpload
    Upload action configuration.
    append CdnLogsUploaderTargetConfigHttpAppend
    Append action configuration.
    auth CdnLogsUploaderTargetConfigHttpAuth
    Authentication configuration for HTTP target.
    content_type str
    Content type of the logs being uploaded. Supported values are 'json' and 'text'.
    retry CdnLogsUploaderTargetConfigHttpRetry
    Retry action configuration.
    upload Property Map
    Upload action configuration.
    append Property Map
    Append action configuration.
    auth Property Map
    Authentication configuration for HTTP target.
    contentType String
    Content type of the logs being uploaded. Supported values are 'json' and 'text'.
    retry Property Map
    Retry action configuration.

    CdnLogsUploaderTargetConfigHttpAppend, CdnLogsUploaderTargetConfigHttpAppendArgs

    Url string
    URL to which logs should be uploaded.
    Headers Dictionary<string, string>
    Method string
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    ResponseActions List<CdnLogsUploaderTargetConfigHttpAppendResponseAction>
    List of actions to perform based on the response from the server.
    TimeoutSeconds double
    Timeout for the HTTP request in seconds. Default value is 30.
    UseCompression bool
    Default value is false.
    Url string
    URL to which logs should be uploaded.
    Headers map[string]string
    Method string
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    ResponseActions []CdnLogsUploaderTargetConfigHttpAppendResponseAction
    List of actions to perform based on the response from the server.
    TimeoutSeconds float64
    Timeout for the HTTP request in seconds. Default value is 30.
    UseCompression bool
    Default value is false.
    url String
    URL to which logs should be uploaded.
    headers Map<String,String>
    method String
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    responseActions List<CdnLogsUploaderTargetConfigHttpAppendResponseAction>
    List of actions to perform based on the response from the server.
    timeoutSeconds Double
    Timeout for the HTTP request in seconds. Default value is 30.
    useCompression Boolean
    Default value is false.
    url string
    URL to which logs should be uploaded.
    headers {[key: string]: string}
    method string
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    responseActions CdnLogsUploaderTargetConfigHttpAppendResponseAction[]
    List of actions to perform based on the response from the server.
    timeoutSeconds number
    Timeout for the HTTP request in seconds. Default value is 30.
    useCompression boolean
    Default value is false.
    url str
    URL to which logs should be uploaded.
    headers Mapping[str, str]
    method str
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    response_actions Sequence[CdnLogsUploaderTargetConfigHttpAppendResponseAction]
    List of actions to perform based on the response from the server.
    timeout_seconds float
    Timeout for the HTTP request in seconds. Default value is 30.
    use_compression bool
    Default value is false.
    url String
    URL to which logs should be uploaded.
    headers Map<String>
    method String
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    responseActions List<Property Map>
    List of actions to perform based on the response from the server.
    timeoutSeconds Number
    Timeout for the HTTP request in seconds. Default value is 30.
    useCompression Boolean
    Default value is false.

    CdnLogsUploaderTargetConfigHttpAppendResponseAction, CdnLogsUploaderTargetConfigHttpAppendResponseActionArgs

    Action string
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    Description string
    Default value is empty string.
    MatchPayload string
    Payload to match in the response. If not specified, no payload will be matched.
    MatchStatusCode double
    HTTP status code to match. If not specified, no status code will be matched.
    Action string
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    Description string
    Default value is empty string.
    MatchPayload string
    Payload to match in the response. If not specified, no payload will be matched.
    MatchStatusCode float64
    HTTP status code to match. If not specified, no status code will be matched.
    action String
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    description String
    Default value is empty string.
    matchPayload String
    Payload to match in the response. If not specified, no payload will be matched.
    matchStatusCode Double
    HTTP status code to match. If not specified, no status code will be matched.
    action string
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    description string
    Default value is empty string.
    matchPayload string
    Payload to match in the response. If not specified, no payload will be matched.
    matchStatusCode number
    HTTP status code to match. If not specified, no status code will be matched.
    action str
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    description str
    Default value is empty string.
    match_payload str
    Payload to match in the response. If not specified, no payload will be matched.
    match_status_code float
    HTTP status code to match. If not specified, no status code will be matched.
    action String
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    description String
    Default value is empty string.
    matchPayload String
    Payload to match in the response. If not specified, no payload will be matched.
    matchStatusCode Number
    HTTP status code to match. If not specified, no status code will be matched.

    CdnLogsUploaderTargetConfigHttpAuth, CdnLogsUploaderTargetConfigHttpAuthArgs

    Config CdnLogsUploaderTargetConfigHttpAuthConfig
    Configuration for the authentication type.
    Type string
    Type of authentication. Supported values are 'token'.
    Config CdnLogsUploaderTargetConfigHttpAuthConfig
    Configuration for the authentication type.
    Type string
    Type of authentication. Supported values are 'token'.
    config CdnLogsUploaderTargetConfigHttpAuthConfig
    Configuration for the authentication type.
    type String
    Type of authentication. Supported values are 'token'.
    config CdnLogsUploaderTargetConfigHttpAuthConfig
    Configuration for the authentication type.
    type string
    Type of authentication. Supported values are 'token'.
    config CdnLogsUploaderTargetConfigHttpAuthConfig
    Configuration for the authentication type.
    type str
    Type of authentication. Supported values are 'token'.
    config Property Map
    Configuration for the authentication type.
    type String
    Type of authentication. Supported values are 'token'.

    CdnLogsUploaderTargetConfigHttpAuthConfig, CdnLogsUploaderTargetConfigHttpAuthConfigArgs

    HeaderName string
    Name of the header to which the token will be added.
    Token string
    Token to be used for authentication.
    HeaderName string
    Name of the header to which the token will be added.
    Token string
    Token to be used for authentication.
    headerName String
    Name of the header to which the token will be added.
    token String
    Token to be used for authentication.
    headerName string
    Name of the header to which the token will be added.
    token string
    Token to be used for authentication.
    header_name str
    Name of the header to which the token will be added.
    token str
    Token to be used for authentication.
    headerName String
    Name of the header to which the token will be added.
    token String
    Token to be used for authentication.

    CdnLogsUploaderTargetConfigHttpRetry, CdnLogsUploaderTargetConfigHttpRetryArgs

    Url string
    URL to which logs should be uploaded.
    Headers Dictionary<string, string>
    Method string
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    ResponseActions List<CdnLogsUploaderTargetConfigHttpRetryResponseAction>
    List of actions to perform based on the response from the server.
    TimeoutSeconds double
    Timeout for the HTTP request in seconds. Default value is 30.
    UseCompression bool
    Default value is false.
    Url string
    URL to which logs should be uploaded.
    Headers map[string]string
    Method string
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    ResponseActions []CdnLogsUploaderTargetConfigHttpRetryResponseAction
    List of actions to perform based on the response from the server.
    TimeoutSeconds float64
    Timeout for the HTTP request in seconds. Default value is 30.
    UseCompression bool
    Default value is false.
    url String
    URL to which logs should be uploaded.
    headers Map<String,String>
    method String
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    responseActions List<CdnLogsUploaderTargetConfigHttpRetryResponseAction>
    List of actions to perform based on the response from the server.
    timeoutSeconds Double
    Timeout for the HTTP request in seconds. Default value is 30.
    useCompression Boolean
    Default value is false.
    url string
    URL to which logs should be uploaded.
    headers {[key: string]: string}
    method string
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    responseActions CdnLogsUploaderTargetConfigHttpRetryResponseAction[]
    List of actions to perform based on the response from the server.
    timeoutSeconds number
    Timeout for the HTTP request in seconds. Default value is 30.
    useCompression boolean
    Default value is false.
    url str
    URL to which logs should be uploaded.
    headers Mapping[str, str]
    method str
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    response_actions Sequence[CdnLogsUploaderTargetConfigHttpRetryResponseAction]
    List of actions to perform based on the response from the server.
    timeout_seconds float
    Timeout for the HTTP request in seconds. Default value is 30.
    use_compression bool
    Default value is false.
    url String
    URL to which logs should be uploaded.
    headers Map<String>
    method String
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    responseActions List<Property Map>
    List of actions to perform based on the response from the server.
    timeoutSeconds Number
    Timeout for the HTTP request in seconds. Default value is 30.
    useCompression Boolean
    Default value is false.

    CdnLogsUploaderTargetConfigHttpRetryResponseAction, CdnLogsUploaderTargetConfigHttpRetryResponseActionArgs

    Action string
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    Description string
    Default value is empty string.
    MatchPayload string
    Payload to match in the response. If not specified, no payload will be matched.
    MatchStatusCode double
    HTTP status code to match. If not specified, no status code will be matched.
    Action string
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    Description string
    Default value is empty string.
    MatchPayload string
    Payload to match in the response. If not specified, no payload will be matched.
    MatchStatusCode float64
    HTTP status code to match. If not specified, no status code will be matched.
    action String
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    description String
    Default value is empty string.
    matchPayload String
    Payload to match in the response. If not specified, no payload will be matched.
    matchStatusCode Double
    HTTP status code to match. If not specified, no status code will be matched.
    action string
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    description string
    Default value is empty string.
    matchPayload string
    Payload to match in the response. If not specified, no payload will be matched.
    matchStatusCode number
    HTTP status code to match. If not specified, no status code will be matched.
    action str
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    description str
    Default value is empty string.
    match_payload str
    Payload to match in the response. If not specified, no payload will be matched.
    match_status_code float
    HTTP status code to match. If not specified, no status code will be matched.
    action String
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    description String
    Default value is empty string.
    matchPayload String
    Payload to match in the response. If not specified, no payload will be matched.
    matchStatusCode Number
    HTTP status code to match. If not specified, no status code will be matched.

    CdnLogsUploaderTargetConfigHttpUpload, CdnLogsUploaderTargetConfigHttpUploadArgs

    Url string
    URL to which logs should be uploaded.
    Headers Dictionary<string, string>
    Method string
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    ResponseActions List<CdnLogsUploaderTargetConfigHttpUploadResponseAction>
    List of actions to perform based on the response from the server.
    TimeoutSeconds double
    Timeout for the HTTP request in seconds. Default value is 30.
    UseCompression bool
    Default value is false.
    Url string
    URL to which logs should be uploaded.
    Headers map[string]string
    Method string
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    ResponseActions []CdnLogsUploaderTargetConfigHttpUploadResponseAction
    List of actions to perform based on the response from the server.
    TimeoutSeconds float64
    Timeout for the HTTP request in seconds. Default value is 30.
    UseCompression bool
    Default value is false.
    url String
    URL to which logs should be uploaded.
    headers Map<String,String>
    method String
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    responseActions List<CdnLogsUploaderTargetConfigHttpUploadResponseAction>
    List of actions to perform based on the response from the server.
    timeoutSeconds Double
    Timeout for the HTTP request in seconds. Default value is 30.
    useCompression Boolean
    Default value is false.
    url string
    URL to which logs should be uploaded.
    headers {[key: string]: string}
    method string
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    responseActions CdnLogsUploaderTargetConfigHttpUploadResponseAction[]
    List of actions to perform based on the response from the server.
    timeoutSeconds number
    Timeout for the HTTP request in seconds. Default value is 30.
    useCompression boolean
    Default value is false.
    url str
    URL to which logs should be uploaded.
    headers Mapping[str, str]
    method str
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    response_actions Sequence[CdnLogsUploaderTargetConfigHttpUploadResponseAction]
    List of actions to perform based on the response from the server.
    timeout_seconds float
    Timeout for the HTTP request in seconds. Default value is 30.
    use_compression bool
    Default value is false.
    url String
    URL to which logs should be uploaded.
    headers Map<String>
    method String
    HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
    responseActions List<Property Map>
    List of actions to perform based on the response from the server.
    timeoutSeconds Number
    Timeout for the HTTP request in seconds. Default value is 30.
    useCompression Boolean
    Default value is false.

    CdnLogsUploaderTargetConfigHttpUploadResponseAction, CdnLogsUploaderTargetConfigHttpUploadResponseActionArgs

    Action string
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    Description string
    Default value is empty string.
    MatchPayload string
    Payload to match in the response. If not specified, no payload will be matched.
    MatchStatusCode double
    HTTP status code to match. If not specified, no status code will be matched.
    Action string
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    Description string
    Default value is empty string.
    MatchPayload string
    Payload to match in the response. If not specified, no payload will be matched.
    MatchStatusCode float64
    HTTP status code to match. If not specified, no status code will be matched.
    action String
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    description String
    Default value is empty string.
    matchPayload String
    Payload to match in the response. If not specified, no payload will be matched.
    matchStatusCode Double
    HTTP status code to match. If not specified, no status code will be matched.
    action string
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    description string
    Default value is empty string.
    matchPayload string
    Payload to match in the response. If not specified, no payload will be matched.
    matchStatusCode number
    HTTP status code to match. If not specified, no status code will be matched.
    action str
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    description str
    Default value is empty string.
    match_payload str
    Payload to match in the response. If not specified, no payload will be matched.
    match_status_code float
    HTTP status code to match. If not specified, no status code will be matched.
    action String
    Action to perform if the response matches the specified criteria. Supported values are 'drop', 'retry', and 'append'.
    description String
    Default value is empty string.
    matchPayload String
    Payload to match in the response. If not specified, no payload will be matched.
    matchStatusCode Number
    HTTP status code to match. If not specified, no status code will be matched.

    CdnLogsUploaderTargetConfigS3Amazon, CdnLogsUploaderTargetConfigS3AmazonArgs

    AccessKeyId string
    Access key ID for the Amazon S3 account.
    BucketName string
    Name of the Amazon S3 bucket.
    Region string
    Region of the Amazon S3 bucket.
    SecretAccessKey string
    Secret access key for the Amazon S3 account.
    Directory string
    Directory in the Amazon S3 bucket where logs will be uploaded.
    AccessKeyId string
    Access key ID for the Amazon S3 account.
    BucketName string
    Name of the Amazon S3 bucket.
    Region string
    Region of the Amazon S3 bucket.
    SecretAccessKey string
    Secret access key for the Amazon S3 account.
    Directory string
    Directory in the Amazon S3 bucket where logs will be uploaded.
    accessKeyId String
    Access key ID for the Amazon S3 account.
    bucketName String
    Name of the Amazon S3 bucket.
    region String
    Region of the Amazon S3 bucket.
    secretAccessKey String
    Secret access key for the Amazon S3 account.
    directory String
    Directory in the Amazon S3 bucket where logs will be uploaded.
    accessKeyId string
    Access key ID for the Amazon S3 account.
    bucketName string
    Name of the Amazon S3 bucket.
    region string
    Region of the Amazon S3 bucket.
    secretAccessKey string
    Secret access key for the Amazon S3 account.
    directory string
    Directory in the Amazon S3 bucket where logs will be uploaded.
    access_key_id str
    Access key ID for the Amazon S3 account.
    bucket_name str
    Name of the Amazon S3 bucket.
    region str
    Region of the Amazon S3 bucket.
    secret_access_key str
    Secret access key for the Amazon S3 account.
    directory str
    Directory in the Amazon S3 bucket where logs will be uploaded.
    accessKeyId String
    Access key ID for the Amazon S3 account.
    bucketName String
    Name of the Amazon S3 bucket.
    region String
    Region of the Amazon S3 bucket.
    secretAccessKey String
    Secret access key for the Amazon S3 account.
    directory String
    Directory in the Amazon S3 bucket where logs will be uploaded.

    CdnLogsUploaderTargetConfigS3Gcore, CdnLogsUploaderTargetConfigS3GcoreArgs

    AccessKeyId string
    Access key ID for the S3-compatible storage account.
    BucketName string
    Name of the S3-compatible storage bucket.
    Endpoint string
    Endpoint of the S3-compatible storage service.
    Region string
    Region of the S3-compatible storage bucket.
    SecretAccessKey string
    Secret access key for the S3-compatible storage account.
    Directory string
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    UsePathStyle bool
    Default value is true.
    AccessKeyId string
    Access key ID for the S3-compatible storage account.
    BucketName string
    Name of the S3-compatible storage bucket.
    Endpoint string
    Endpoint of the S3-compatible storage service.
    Region string
    Region of the S3-compatible storage bucket.
    SecretAccessKey string
    Secret access key for the S3-compatible storage account.
    Directory string
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    UsePathStyle bool
    Default value is true.
    accessKeyId String
    Access key ID for the S3-compatible storage account.
    bucketName String
    Name of the S3-compatible storage bucket.
    endpoint String
    Endpoint of the S3-compatible storage service.
    region String
    Region of the S3-compatible storage bucket.
    secretAccessKey String
    Secret access key for the S3-compatible storage account.
    directory String
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    usePathStyle Boolean
    Default value is true.
    accessKeyId string
    Access key ID for the S3-compatible storage account.
    bucketName string
    Name of the S3-compatible storage bucket.
    endpoint string
    Endpoint of the S3-compatible storage service.
    region string
    Region of the S3-compatible storage bucket.
    secretAccessKey string
    Secret access key for the S3-compatible storage account.
    directory string
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    usePathStyle boolean
    Default value is true.
    access_key_id str
    Access key ID for the S3-compatible storage account.
    bucket_name str
    Name of the S3-compatible storage bucket.
    endpoint str
    Endpoint of the S3-compatible storage service.
    region str
    Region of the S3-compatible storage bucket.
    secret_access_key str
    Secret access key for the S3-compatible storage account.
    directory str
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    use_path_style bool
    Default value is true.
    accessKeyId String
    Access key ID for the S3-compatible storage account.
    bucketName String
    Name of the S3-compatible storage bucket.
    endpoint String
    Endpoint of the S3-compatible storage service.
    region String
    Region of the S3-compatible storage bucket.
    secretAccessKey String
    Secret access key for the S3-compatible storage account.
    directory String
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    usePathStyle Boolean
    Default value is true.

    CdnLogsUploaderTargetConfigS3Oss, CdnLogsUploaderTargetConfigS3OssArgs

    AccessKeyId string
    Access key ID for the OSS account.
    BucketName string
    Name of the OSS bucket.
    SecretAccessKey string
    Secret access key for the OSS account.
    Directory string
    Directory in the OSS bucket where logs will be uploaded.
    Region string
    Region of the OSS bucket.
    AccessKeyId string
    Access key ID for the OSS account.
    BucketName string
    Name of the OSS bucket.
    SecretAccessKey string
    Secret access key for the OSS account.
    Directory string
    Directory in the OSS bucket where logs will be uploaded.
    Region string
    Region of the OSS bucket.
    accessKeyId String
    Access key ID for the OSS account.
    bucketName String
    Name of the OSS bucket.
    secretAccessKey String
    Secret access key for the OSS account.
    directory String
    Directory in the OSS bucket where logs will be uploaded.
    region String
    Region of the OSS bucket.
    accessKeyId string
    Access key ID for the OSS account.
    bucketName string
    Name of the OSS bucket.
    secretAccessKey string
    Secret access key for the OSS account.
    directory string
    Directory in the OSS bucket where logs will be uploaded.
    region string
    Region of the OSS bucket.
    access_key_id str
    Access key ID for the OSS account.
    bucket_name str
    Name of the OSS bucket.
    secret_access_key str
    Secret access key for the OSS account.
    directory str
    Directory in the OSS bucket where logs will be uploaded.
    region str
    Region of the OSS bucket.
    accessKeyId String
    Access key ID for the OSS account.
    bucketName String
    Name of the OSS bucket.
    secretAccessKey String
    Secret access key for the OSS account.
    directory String
    Directory in the OSS bucket where logs will be uploaded.
    region String
    Region of the OSS bucket.

    CdnLogsUploaderTargetConfigS3Other, CdnLogsUploaderTargetConfigS3OtherArgs

    AccessKeyId string
    Access key ID for the S3-compatible storage account.
    BucketName string
    Name of the S3-compatible storage bucket.
    Endpoint string
    Endpoint of the S3-compatible storage service.
    Region string
    Region of the S3-compatible storage bucket.
    SecretAccessKey string
    Secret access key for the S3-compatible storage account.
    Directory string
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    UsePathStyle bool
    Default value is true.
    AccessKeyId string
    Access key ID for the S3-compatible storage account.
    BucketName string
    Name of the S3-compatible storage bucket.
    Endpoint string
    Endpoint of the S3-compatible storage service.
    Region string
    Region of the S3-compatible storage bucket.
    SecretAccessKey string
    Secret access key for the S3-compatible storage account.
    Directory string
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    UsePathStyle bool
    Default value is true.
    accessKeyId String
    Access key ID for the S3-compatible storage account.
    bucketName String
    Name of the S3-compatible storage bucket.
    endpoint String
    Endpoint of the S3-compatible storage service.
    region String
    Region of the S3-compatible storage bucket.
    secretAccessKey String
    Secret access key for the S3-compatible storage account.
    directory String
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    usePathStyle Boolean
    Default value is true.
    accessKeyId string
    Access key ID for the S3-compatible storage account.
    bucketName string
    Name of the S3-compatible storage bucket.
    endpoint string
    Endpoint of the S3-compatible storage service.
    region string
    Region of the S3-compatible storage bucket.
    secretAccessKey string
    Secret access key for the S3-compatible storage account.
    directory string
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    usePathStyle boolean
    Default value is true.
    access_key_id str
    Access key ID for the S3-compatible storage account.
    bucket_name str
    Name of the S3-compatible storage bucket.
    endpoint str
    Endpoint of the S3-compatible storage service.
    region str
    Region of the S3-compatible storage bucket.
    secret_access_key str
    Secret access key for the S3-compatible storage account.
    directory str
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    use_path_style bool
    Default value is true.
    accessKeyId String
    Access key ID for the S3-compatible storage account.
    bucketName String
    Name of the S3-compatible storage bucket.
    endpoint String
    Endpoint of the S3-compatible storage service.
    region String
    Region of the S3-compatible storage bucket.
    secretAccessKey String
    Secret access key for the S3-compatible storage account.
    directory String
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    usePathStyle Boolean
    Default value is true.

    CdnLogsUploaderTargetConfigS3V1, CdnLogsUploaderTargetConfigS3V1Args

    AccessKeyId string
    Access key ID for the S3-compatible storage account.
    BucketName string
    Name of the S3-compatible storage bucket.
    Endpoint string
    Endpoint of the S3-compatible storage service.
    Region string
    Region of the S3-compatible storage bucket.
    SecretAccessKey string
    Secret access key for the S3-compatible storage account.
    Directory string
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    UsePathStyle bool
    Default value is true.
    AccessKeyId string
    Access key ID for the S3-compatible storage account.
    BucketName string
    Name of the S3-compatible storage bucket.
    Endpoint string
    Endpoint of the S3-compatible storage service.
    Region string
    Region of the S3-compatible storage bucket.
    SecretAccessKey string
    Secret access key for the S3-compatible storage account.
    Directory string
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    UsePathStyle bool
    Default value is true.
    accessKeyId String
    Access key ID for the S3-compatible storage account.
    bucketName String
    Name of the S3-compatible storage bucket.
    endpoint String
    Endpoint of the S3-compatible storage service.
    region String
    Region of the S3-compatible storage bucket.
    secretAccessKey String
    Secret access key for the S3-compatible storage account.
    directory String
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    usePathStyle Boolean
    Default value is true.
    accessKeyId string
    Access key ID for the S3-compatible storage account.
    bucketName string
    Name of the S3-compatible storage bucket.
    endpoint string
    Endpoint of the S3-compatible storage service.
    region string
    Region of the S3-compatible storage bucket.
    secretAccessKey string
    Secret access key for the S3-compatible storage account.
    directory string
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    usePathStyle boolean
    Default value is true.
    access_key_id str
    Access key ID for the S3-compatible storage account.
    bucket_name str
    Name of the S3-compatible storage bucket.
    endpoint str
    Endpoint of the S3-compatible storage service.
    region str
    Region of the S3-compatible storage bucket.
    secret_access_key str
    Secret access key for the S3-compatible storage account.
    directory str
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    use_path_style bool
    Default value is true.
    accessKeyId String
    Access key ID for the S3-compatible storage account.
    bucketName String
    Name of the S3-compatible storage bucket.
    endpoint String
    Endpoint of the S3-compatible storage service.
    region String
    Region of the S3-compatible storage bucket.
    secretAccessKey String
    Secret access key for the S3-compatible storage account.
    directory String
    Directory in the S3-compatible storage bucket where logs will be uploaded.
    usePathStyle Boolean
    Default value is true.

    CdnLogsUploaderTargetConfigSftp, CdnLogsUploaderTargetConfigSftpArgs

    Hostname string
    Hostname or IP address of the SFTP server.
    User string
    Username for the SFTP account.
    Directory string
    Directory on the SFTP server where logs will be uploaded.
    KeyPassphrase string
    Passphrase for the private key.
    Password string
    Password for the SFTP account.
    PrivateKey string
    Private key for the SFTP account.
    TimeoutSeconds double
    Timeout for the SFTP connection in seconds. Default value is 10.
    Hostname string
    Hostname or IP address of the SFTP server.
    User string
    Username for the SFTP account.
    Directory string
    Directory on the SFTP server where logs will be uploaded.
    KeyPassphrase string
    Passphrase for the private key.
    Password string
    Password for the SFTP account.
    PrivateKey string
    Private key for the SFTP account.
    TimeoutSeconds float64
    Timeout for the SFTP connection in seconds. Default value is 10.
    hostname String
    Hostname or IP address of the SFTP server.
    user String
    Username for the SFTP account.
    directory String
    Directory on the SFTP server where logs will be uploaded.
    keyPassphrase String
    Passphrase for the private key.
    password String
    Password for the SFTP account.
    privateKey String
    Private key for the SFTP account.
    timeoutSeconds Double
    Timeout for the SFTP connection in seconds. Default value is 10.
    hostname string
    Hostname or IP address of the SFTP server.
    user string
    Username for the SFTP account.
    directory string
    Directory on the SFTP server where logs will be uploaded.
    keyPassphrase string
    Passphrase for the private key.
    password string
    Password for the SFTP account.
    privateKey string
    Private key for the SFTP account.
    timeoutSeconds number
    Timeout for the SFTP connection in seconds. Default value is 10.
    hostname str
    Hostname or IP address of the SFTP server.
    user str
    Username for the SFTP account.
    directory str
    Directory on the SFTP server where logs will be uploaded.
    key_passphrase str
    Passphrase for the private key.
    password str
    Password for the SFTP account.
    private_key str
    Private key for the SFTP account.
    timeout_seconds float
    Timeout for the SFTP connection in seconds. Default value is 10.
    hostname String
    Hostname or IP address of the SFTP server.
    user String
    Username for the SFTP account.
    directory String
    Directory on the SFTP server where logs will be uploaded.
    keyPassphrase String
    Passphrase for the private key.
    password String
    Password for the SFTP account.
    privateKey String
    Private key for the SFTP account.
    timeoutSeconds Number
    Timeout for the SFTP connection in seconds. Default value is 10.

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    gcore logo
    gcore 0.25.1 published on Friday, Jun 27, 2025 by g-core