gcore.CdnLogsUploaderTarget
Explore with Pulumi AI
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
Cdn
Logs Uploader Target Config - Config for specific storage type.
- Cdn
Logs stringUploader Target Id - 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
Cdn
Logs Uploader Target Config Args - Config for specific storage type.
- Cdn
Logs stringUploader Target Id - 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
Cdn
Logs Uploader Target Config - Config for specific storage type.
- cdn
Logs StringUploader Target Id - 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
Cdn
Logs Uploader Target Config - Config for specific storage type.
- cdn
Logs stringUploader Target Id - 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
Cdn
Logs Uploader Target Config Args - Config for specific storage type.
- cdn_
logs_ struploader_ target_ id - 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.
- cdn
Logs StringUploader Target Id - 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.
- Cdn
Logs stringUploader Target Id - The ID of this resource.
- Config
Cdn
Logs Uploader Target Config - 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 stringUploader Target Id - The ID of this resource.
- Config
Cdn
Logs Uploader Target Config Args - 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 StringUploader Target Id - The ID of this resource.
- config
Cdn
Logs Uploader Target Config - 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 stringUploader Target Id - The ID of this resource.
- config
Cdn
Logs Uploader Target Config - 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_ struploader_ target_ id - The ID of this resource.
- config
Cdn
Logs Uploader Target Config Args - 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".
- cdn
Logs StringUploader Target Id - 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
- Ftp
Cdn
Logs Uploader Target Config Ftp - Http
Cdn
Logs Uploader Target Config Http - S3Amazon
Cdn
Logs Uploader Target Config S3Amazon - S3Gcore
Cdn
Logs Uploader Target Config S3Gcore - S3Oss
Cdn
Logs Uploader Target Config S3Oss - S3Other
Cdn
Logs Uploader Target Config S3Other - S3V1
Cdn
Logs Uploader Target Config S3V1 - Sftp
Cdn
Logs Uploader Target Config Sftp
- Ftp
Cdn
Logs Uploader Target Config Ftp - Http
Cdn
Logs Uploader Target Config Http - S3Amazon
Cdn
Logs Uploader Target Config S3Amazon - S3Gcore
Cdn
Logs Uploader Target Config S3Gcore - S3Oss
Cdn
Logs Uploader Target Config S3Oss - S3Other
Cdn
Logs Uploader Target Config S3Other - S3V1
Cdn
Logs Uploader Target Config S3V1 - Sftp
Cdn
Logs Uploader Target Config Sftp
- ftp
Cdn
Logs Uploader Target Config Ftp - http
Cdn
Logs Uploader Target Config Http - s3Amazon
Cdn
Logs Uploader Target Config S3Amazon - s3Gcore
Cdn
Logs Uploader Target Config S3Gcore - s3Oss
Cdn
Logs Uploader Target Config S3Oss - s3Other
Cdn
Logs Uploader Target Config S3Other - s3V1
Cdn
Logs Uploader Target Config S3V1 - sftp
Cdn
Logs Uploader Target Config Sftp
- ftp
Cdn
Logs Uploader Target Config Ftp - http
Cdn
Logs Uploader Target Config Http - s3Amazon
Cdn
Logs Uploader Target Config S3Amazon - s3Gcore
Cdn
Logs Uploader Target Config S3Gcore - s3Oss
Cdn
Logs Uploader Target Config S3Oss - s3Other
Cdn
Logs Uploader Target Config S3Other - s3V1
Cdn
Logs Uploader Target Config S3V1 - sftp
Cdn
Logs Uploader Target Config Sftp
- ftp
Cdn
Logs Uploader Target Config Ftp - http
Cdn
Logs Uploader Target Config Http - s3_
amazon CdnLogs Uploader Target Config S3Amazon - s3_
gcore CdnLogs Uploader Target Config S3Gcore - s3_
oss CdnLogs Uploader Target Config S3Oss - s3_
other CdnLogs Uploader Target Config S3Other - s3_
v1 CdnLogs Uploader Target Config S3V1 - sftp
Cdn
Logs Uploader Target Config Sftp
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.
- Timeout
Seconds 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.
- Timeout
Seconds 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.
- timeout
Seconds 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.
- timeout
Seconds 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.
- timeout
Seconds Number - Timeout for the FTP connection in seconds. Default value is 10.
CdnLogsUploaderTargetConfigHttp, CdnLogsUploaderTargetConfigHttpArgs
- Upload
Cdn
Logs Uploader Target Config Http Upload - Upload action configuration.
- Append
Cdn
Logs Uploader Target Config Http Append - Append action configuration.
- Auth
Cdn
Logs Uploader Target Config Http Auth - Authentication configuration for HTTP target.
- Content
Type string - Content type of the logs being uploaded. Supported values are 'json' and 'text'.
- Retry
Cdn
Logs Uploader Target Config Http Retry - Retry action configuration.
- Upload
Cdn
Logs Uploader Target Config Http Upload - Upload action configuration.
- Append
Cdn
Logs Uploader Target Config Http Append - Append action configuration.
- Auth
Cdn
Logs Uploader Target Config Http Auth - Authentication configuration for HTTP target.
- Content
Type string - Content type of the logs being uploaded. Supported values are 'json' and 'text'.
- Retry
Cdn
Logs Uploader Target Config Http Retry - Retry action configuration.
- upload
Cdn
Logs Uploader Target Config Http Upload - Upload action configuration.
- append
Cdn
Logs Uploader Target Config Http Append - Append action configuration.
- auth
Cdn
Logs Uploader Target Config Http Auth - Authentication configuration for HTTP target.
- content
Type String - Content type of the logs being uploaded. Supported values are 'json' and 'text'.
- retry
Cdn
Logs Uploader Target Config Http Retry - Retry action configuration.
- upload
Cdn
Logs Uploader Target Config Http Upload - Upload action configuration.
- append
Cdn
Logs Uploader Target Config Http Append - Append action configuration.
- auth
Cdn
Logs Uploader Target Config Http Auth - Authentication configuration for HTTP target.
- content
Type string - Content type of the logs being uploaded. Supported values are 'json' and 'text'.
- retry
Cdn
Logs Uploader Target Config Http Retry - Retry action configuration.
- upload
Cdn
Logs Uploader Target Config Http Upload - Upload action configuration.
- append
Cdn
Logs Uploader Target Config Http Append - Append action configuration.
- auth
Cdn
Logs Uploader Target Config Http Auth - Authentication configuration for HTTP target.
- content_
type str - Content type of the logs being uploaded. Supported values are 'json' and 'text'.
- retry
Cdn
Logs Uploader Target Config Http Retry - Retry action configuration.
- upload Property Map
- Upload action configuration.
- append Property Map
- Append action configuration.
- auth Property Map
- Authentication configuration for HTTP target.
- content
Type 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'.
- Response
Actions List<CdnLogs Uploader Target Config Http Append Response Action> - List of actions to perform based on the response from the server.
- Timeout
Seconds double - 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]string
- Method string
- HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
- Response
Actions []CdnLogs Uploader Target Config Http Append Response Action - List of actions to perform based on the response from the server.
- Timeout
Seconds float64 - 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,String>
- method String
- HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
- response
Actions List<CdnLogs Uploader Target Config Http Append Response Action> - List of actions to perform based on the response from the server.
- timeout
Seconds Double - Timeout for the HTTP request in seconds. Default value is 30.
- use
Compression 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'.
- response
Actions CdnLogs Uploader Target Config Http Append Response Action[] - List of actions to perform based on the response from the server.
- timeout
Seconds number - Timeout for the HTTP request in seconds. Default value is 30.
- use
Compression 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[CdnLogs Uploader Target Config Http Append Response Action] - 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'.
- response
Actions List<Property Map> - List of actions to perform based on the response from the server.
- timeout
Seconds Number - Timeout for the HTTP request in seconds. Default value is 30.
- use
Compression 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.
- Match
Payload string - Payload to match in the response. If not specified, no payload will be matched.
- Match
Status doubleCode - 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.
- Match
Payload string - Payload to match in the response. If not specified, no payload will be matched.
- Match
Status float64Code - 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.
- match
Payload String - Payload to match in the response. If not specified, no payload will be matched.
- match
Status DoubleCode - 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.
- match
Payload string - Payload to match in the response. If not specified, no payload will be matched.
- match
Status numberCode - 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_ floatcode - 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.
- match
Payload String - Payload to match in the response. If not specified, no payload will be matched.
- match
Status NumberCode - HTTP status code to match. If not specified, no status code will be matched.
CdnLogsUploaderTargetConfigHttpAuth, CdnLogsUploaderTargetConfigHttpAuthArgs
- Config
Cdn
Logs Uploader Target Config Http Auth Config - Configuration for the authentication type.
- Type string
- Type of authentication. Supported values are 'token'.
- Config
Cdn
Logs Uploader Target Config Http Auth Config - Configuration for the authentication type.
- Type string
- Type of authentication. Supported values are 'token'.
- config
Cdn
Logs Uploader Target Config Http Auth Config - Configuration for the authentication type.
- type String
- Type of authentication. Supported values are 'token'.
- config
Cdn
Logs Uploader Target Config Http Auth Config - Configuration for the authentication type.
- type string
- Type of authentication. Supported values are 'token'.
- config
Cdn
Logs Uploader Target Config Http Auth Config - 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
- Header
Name string - Name of the header to which the token will be added.
- Token string
- Token to be used for authentication.
- Header
Name string - Name of the header to which the token will be added.
- Token string
- Token to be used for authentication.
- header
Name String - Name of the header to which the token will be added.
- token String
- Token to be used for authentication.
- header
Name 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.
- header
Name 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'.
- Response
Actions List<CdnLogs Uploader Target Config Http Retry Response Action> - List of actions to perform based on the response from the server.
- Timeout
Seconds double - 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]string
- Method string
- HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
- Response
Actions []CdnLogs Uploader Target Config Http Retry Response Action - List of actions to perform based on the response from the server.
- Timeout
Seconds float64 - 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,String>
- method String
- HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
- response
Actions List<CdnLogs Uploader Target Config Http Retry Response Action> - List of actions to perform based on the response from the server.
- timeout
Seconds Double - Timeout for the HTTP request in seconds. Default value is 30.
- use
Compression 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'.
- response
Actions CdnLogs Uploader Target Config Http Retry Response Action[] - List of actions to perform based on the response from the server.
- timeout
Seconds number - Timeout for the HTTP request in seconds. Default value is 30.
- use
Compression 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[CdnLogs Uploader Target Config Http Retry Response Action] - 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'.
- response
Actions List<Property Map> - List of actions to perform based on the response from the server.
- timeout
Seconds Number - Timeout for the HTTP request in seconds. Default value is 30.
- use
Compression 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.
- Match
Payload string - Payload to match in the response. If not specified, no payload will be matched.
- Match
Status doubleCode - 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.
- Match
Payload string - Payload to match in the response. If not specified, no payload will be matched.
- Match
Status float64Code - 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.
- match
Payload String - Payload to match in the response. If not specified, no payload will be matched.
- match
Status DoubleCode - 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.
- match
Payload string - Payload to match in the response. If not specified, no payload will be matched.
- match
Status numberCode - 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_ floatcode - 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.
- match
Payload String - Payload to match in the response. If not specified, no payload will be matched.
- match
Status NumberCode - 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'.
- Response
Actions List<CdnLogs Uploader Target Config Http Upload Response Action> - List of actions to perform based on the response from the server.
- Timeout
Seconds double - 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]string
- Method string
- HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
- Response
Actions []CdnLogs Uploader Target Config Http Upload Response Action - List of actions to perform based on the response from the server.
- Timeout
Seconds float64 - 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,String>
- method String
- HTTP method to use for the request. Supported values are 'POST' and 'PUT'.
- response
Actions List<CdnLogs Uploader Target Config Http Upload Response Action> - List of actions to perform based on the response from the server.
- timeout
Seconds Double - Timeout for the HTTP request in seconds. Default value is 30.
- use
Compression 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'.
- response
Actions CdnLogs Uploader Target Config Http Upload Response Action[] - List of actions to perform based on the response from the server.
- timeout
Seconds number - Timeout for the HTTP request in seconds. Default value is 30.
- use
Compression 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[CdnLogs Uploader Target Config Http Upload Response Action] - 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'.
- response
Actions List<Property Map> - List of actions to perform based on the response from the server.
- timeout
Seconds Number - Timeout for the HTTP request in seconds. Default value is 30.
- use
Compression 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.
- Match
Payload string - Payload to match in the response. If not specified, no payload will be matched.
- Match
Status doubleCode - 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.
- Match
Payload string - Payload to match in the response. If not specified, no payload will be matched.
- Match
Status float64Code - 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.
- match
Payload String - Payload to match in the response. If not specified, no payload will be matched.
- match
Status DoubleCode - 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.
- match
Payload string - Payload to match in the response. If not specified, no payload will be matched.
- match
Status numberCode - 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_ floatcode - 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.
- match
Payload String - Payload to match in the response. If not specified, no payload will be matched.
- match
Status NumberCode - HTTP status code to match. If not specified, no status code will be matched.
CdnLogsUploaderTargetConfigS3Amazon, CdnLogsUploaderTargetConfigS3AmazonArgs
- Access
Key stringId - Access key ID for the Amazon S3 account.
- Bucket
Name string - Name of the Amazon S3 bucket.
- Region string
- Region of the Amazon S3 bucket.
- Secret
Access stringKey - Secret access key for the Amazon S3 account.
- Directory string
- Directory in the Amazon S3 bucket where logs will be uploaded.
- Access
Key stringId - Access key ID for the Amazon S3 account.
- Bucket
Name string - Name of the Amazon S3 bucket.
- Region string
- Region of the Amazon S3 bucket.
- Secret
Access stringKey - Secret access key for the Amazon S3 account.
- Directory string
- Directory in the Amazon S3 bucket where logs will be uploaded.
- access
Key StringId - Access key ID for the Amazon S3 account.
- bucket
Name String - Name of the Amazon S3 bucket.
- region String
- Region of the Amazon S3 bucket.
- secret
Access StringKey - Secret access key for the Amazon S3 account.
- directory String
- Directory in the Amazon S3 bucket where logs will be uploaded.
- access
Key stringId - Access key ID for the Amazon S3 account.
- bucket
Name string - Name of the Amazon S3 bucket.
- region string
- Region of the Amazon S3 bucket.
- secret
Access stringKey - Secret access key for the Amazon S3 account.
- directory string
- Directory in the Amazon S3 bucket where logs will be uploaded.
- access_
key_ strid - 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_ strkey - Secret access key for the Amazon S3 account.
- directory str
- Directory in the Amazon S3 bucket where logs will be uploaded.
- access
Key StringId - Access key ID for the Amazon S3 account.
- bucket
Name String - Name of the Amazon S3 bucket.
- region String
- Region of the Amazon S3 bucket.
- secret
Access StringKey - Secret access key for the Amazon S3 account.
- directory String
- Directory in the Amazon S3 bucket where logs will be uploaded.
CdnLogsUploaderTargetConfigS3Gcore, CdnLogsUploaderTargetConfigS3GcoreArgs
- Access
Key stringId - Access key ID for the S3-compatible storage account.
- Bucket
Name 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.
- Secret
Access stringKey - Secret access key for the S3-compatible storage account.
- Directory string
- Directory in the S3-compatible storage bucket where logs will be uploaded.
- Use
Path boolStyle - Default value is true.
- Access
Key stringId - Access key ID for the S3-compatible storage account.
- Bucket
Name 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.
- Secret
Access stringKey - Secret access key for the S3-compatible storage account.
- Directory string
- Directory in the S3-compatible storage bucket where logs will be uploaded.
- Use
Path boolStyle - Default value is true.
- access
Key StringId - Access key ID for the S3-compatible storage account.
- bucket
Name 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.
- secret
Access StringKey - Secret access key for the S3-compatible storage account.
- directory String
- Directory in the S3-compatible storage bucket where logs will be uploaded.
- use
Path BooleanStyle - Default value is true.
- access
Key stringId - Access key ID for the S3-compatible storage account.
- bucket
Name 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.
- secret
Access stringKey - Secret access key for the S3-compatible storage account.
- directory string
- Directory in the S3-compatible storage bucket where logs will be uploaded.
- use
Path booleanStyle - Default value is true.
- access_
key_ strid - 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_ strkey - 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_ boolstyle - Default value is true.
- access
Key StringId - Access key ID for the S3-compatible storage account.
- bucket
Name 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.
- secret
Access StringKey - Secret access key for the S3-compatible storage account.
- directory String
- Directory in the S3-compatible storage bucket where logs will be uploaded.
- use
Path BooleanStyle - Default value is true.
CdnLogsUploaderTargetConfigS3Oss, CdnLogsUploaderTargetConfigS3OssArgs
- Access
Key stringId - Access key ID for the OSS account.
- Bucket
Name string - Name of the OSS bucket.
- Secret
Access stringKey - 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 stringId - Access key ID for the OSS account.
- Bucket
Name string - Name of the OSS bucket.
- Secret
Access stringKey - 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 StringId - Access key ID for the OSS account.
- bucket
Name String - Name of the OSS bucket.
- secret
Access StringKey - 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 stringId - Access key ID for the OSS account.
- bucket
Name string - Name of the OSS bucket.
- secret
Access stringKey - 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_ strid - Access key ID for the OSS account.
- bucket_
name str - Name of the OSS bucket.
- secret_
access_ strkey - 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.
- access
Key StringId - Access key ID for the OSS account.
- bucket
Name String - Name of the OSS bucket.
- secret
Access StringKey - 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
- Access
Key stringId - Access key ID for the S3-compatible storage account.
- Bucket
Name 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.
- Secret
Access stringKey - Secret access key for the S3-compatible storage account.
- Directory string
- Directory in the S3-compatible storage bucket where logs will be uploaded.
- Use
Path boolStyle - Default value is true.
- Access
Key stringId - Access key ID for the S3-compatible storage account.
- Bucket
Name 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.
- Secret
Access stringKey - Secret access key for the S3-compatible storage account.
- Directory string
- Directory in the S3-compatible storage bucket where logs will be uploaded.
- Use
Path boolStyle - Default value is true.
- access
Key StringId - Access key ID for the S3-compatible storage account.
- bucket
Name 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.
- secret
Access StringKey - Secret access key for the S3-compatible storage account.
- directory String
- Directory in the S3-compatible storage bucket where logs will be uploaded.
- use
Path BooleanStyle - Default value is true.
- access
Key stringId - Access key ID for the S3-compatible storage account.
- bucket
Name 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.
- secret
Access stringKey - Secret access key for the S3-compatible storage account.
- directory string
- Directory in the S3-compatible storage bucket where logs will be uploaded.
- use
Path booleanStyle - Default value is true.
- access_
key_ strid - 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_ strkey - 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_ boolstyle - Default value is true.
- access
Key StringId - Access key ID for the S3-compatible storage account.
- bucket
Name 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.
- secret
Access StringKey - Secret access key for the S3-compatible storage account.
- directory String
- Directory in the S3-compatible storage bucket where logs will be uploaded.
- use
Path BooleanStyle - Default value is true.
CdnLogsUploaderTargetConfigS3V1, CdnLogsUploaderTargetConfigS3V1Args
- Access
Key stringId - Access key ID for the S3-compatible storage account.
- Bucket
Name 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.
- Secret
Access stringKey - Secret access key for the S3-compatible storage account.
- Directory string
- Directory in the S3-compatible storage bucket where logs will be uploaded.
- Use
Path boolStyle - Default value is true.
- Access
Key stringId - Access key ID for the S3-compatible storage account.
- Bucket
Name 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.
- Secret
Access stringKey - Secret access key for the S3-compatible storage account.
- Directory string
- Directory in the S3-compatible storage bucket where logs will be uploaded.
- Use
Path boolStyle - Default value is true.
- access
Key StringId - Access key ID for the S3-compatible storage account.
- bucket
Name 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.
- secret
Access StringKey - Secret access key for the S3-compatible storage account.
- directory String
- Directory in the S3-compatible storage bucket where logs will be uploaded.
- use
Path BooleanStyle - Default value is true.
- access
Key stringId - Access key ID for the S3-compatible storage account.
- bucket
Name 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.
- secret
Access stringKey - Secret access key for the S3-compatible storage account.
- directory string
- Directory in the S3-compatible storage bucket where logs will be uploaded.
- use
Path booleanStyle - Default value is true.
- access_
key_ strid - 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_ strkey - 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_ boolstyle - Default value is true.
- access
Key StringId - Access key ID for the S3-compatible storage account.
- bucket
Name 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.
- secret
Access StringKey - Secret access key for the S3-compatible storage account.
- directory String
- Directory in the S3-compatible storage bucket where logs will be uploaded.
- use
Path BooleanStyle - 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.
- Key
Passphrase string - Passphrase for the private key.
- Password string
- Password for the SFTP account.
- Private
Key string - Private key for the SFTP account.
- Timeout
Seconds 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.
- Key
Passphrase string - Passphrase for the private key.
- Password string
- Password for the SFTP account.
- Private
Key string - Private key for the SFTP account.
- Timeout
Seconds 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.
- key
Passphrase String - Passphrase for the private key.
- password String
- Password for the SFTP account.
- private
Key String - Private key for the SFTP account.
- timeout
Seconds 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.
- key
Passphrase string - Passphrase for the private key.
- password string
- Password for the SFTP account.
- private
Key string - Private key for the SFTP account.
- timeout
Seconds 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.
- key
Passphrase String - Passphrase for the private key.
- password String
- Password for the SFTP account.
- private
Key String - Private key for the SFTP account.
- timeout
Seconds 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.