1. Packages
  2. Volcengine
  3. API Docs
  4. cdn
  5. SharedConfig
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.cdn.SharedConfig

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

    Provides a resource to manage cdn shared config

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Volcengine.Cdn.SharedConfig("foo", new()
        {
            AllowIpAccessRule = new Volcengine.Cdn.Inputs.SharedConfigAllowIpAccessRuleArgs
            {
                Rules = new[]
                {
                    "1.1.1.1",
                    "2.2.2.0/24",
                    "3.3.3.3",
                },
            },
            AllowRefererAccessRule = new Volcengine.Cdn.Inputs.SharedConfigAllowRefererAccessRuleArgs
            {
                CommonType = new Volcengine.Cdn.Inputs.SharedConfigAllowRefererAccessRuleCommonTypeArgs
                {
                    Rules = new[]
                    {
                        "1.1.1.1",
                        "2.2.2.0/24",
                        "3.3.4.4",
                    },
                },
            },
            CommonMatchList = new Volcengine.Cdn.Inputs.SharedConfigCommonMatchListArgs
            {
                CommonType = new Volcengine.Cdn.Inputs.SharedConfigCommonMatchListCommonTypeArgs
                {
                    Rules = new[]
                    {
                        "1.1.1.1",
                        "2.2.2.0/24",
                    },
                },
            },
            ConfigName = "tftest",
            ConfigType = "allow_referer_access_rule",
            DenyIpAccessRule = new Volcengine.Cdn.Inputs.SharedConfigDenyIpAccessRuleArgs
            {
                Rules = new[]
                {
                    "1.1.1.1",
                    "2.2.2.0/24",
                },
            },
            DenyRefererAccessRule = new Volcengine.Cdn.Inputs.SharedConfigDenyRefererAccessRuleArgs
            {
                CommonType = new Volcengine.Cdn.Inputs.SharedConfigDenyRefererAccessRuleCommonTypeArgs
                {
                    Rules = new[]
                    {
                        "1.1.1.1",
                        "2.2.2.0/24",
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cdn"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cdn.NewSharedConfig(ctx, "foo", &cdn.SharedConfigArgs{
    			AllowIpAccessRule: &cdn.SharedConfigAllowIpAccessRuleArgs{
    				Rules: pulumi.StringArray{
    					pulumi.String("1.1.1.1"),
    					pulumi.String("2.2.2.0/24"),
    					pulumi.String("3.3.3.3"),
    				},
    			},
    			AllowRefererAccessRule: &cdn.SharedConfigAllowRefererAccessRuleArgs{
    				CommonType: &cdn.SharedConfigAllowRefererAccessRuleCommonTypeArgs{
    					Rules: pulumi.StringArray{
    						pulumi.String("1.1.1.1"),
    						pulumi.String("2.2.2.0/24"),
    						pulumi.String("3.3.4.4"),
    					},
    				},
    			},
    			CommonMatchList: &cdn.SharedConfigCommonMatchListArgs{
    				CommonType: &cdn.SharedConfigCommonMatchListCommonTypeArgs{
    					Rules: pulumi.StringArray{
    						pulumi.String("1.1.1.1"),
    						pulumi.String("2.2.2.0/24"),
    					},
    				},
    			},
    			ConfigName: pulumi.String("tftest"),
    			ConfigType: pulumi.String("allow_referer_access_rule"),
    			DenyIpAccessRule: &cdn.SharedConfigDenyIpAccessRuleArgs{
    				Rules: pulumi.StringArray{
    					pulumi.String("1.1.1.1"),
    					pulumi.String("2.2.2.0/24"),
    				},
    			},
    			DenyRefererAccessRule: &cdn.SharedConfigDenyRefererAccessRuleArgs{
    				CommonType: &cdn.SharedConfigDenyRefererAccessRuleCommonTypeArgs{
    					Rules: pulumi.StringArray{
    						pulumi.String("1.1.1.1"),
    						pulumi.String("2.2.2.0/24"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.cdn.SharedConfig;
    import com.pulumi.volcengine.cdn.SharedConfigArgs;
    import com.pulumi.volcengine.cdn.inputs.SharedConfigAllowIpAccessRuleArgs;
    import com.pulumi.volcengine.cdn.inputs.SharedConfigAllowRefererAccessRuleArgs;
    import com.pulumi.volcengine.cdn.inputs.SharedConfigAllowRefererAccessRuleCommonTypeArgs;
    import com.pulumi.volcengine.cdn.inputs.SharedConfigCommonMatchListArgs;
    import com.pulumi.volcengine.cdn.inputs.SharedConfigCommonMatchListCommonTypeArgs;
    import com.pulumi.volcengine.cdn.inputs.SharedConfigDenyIpAccessRuleArgs;
    import com.pulumi.volcengine.cdn.inputs.SharedConfigDenyRefererAccessRuleArgs;
    import com.pulumi.volcengine.cdn.inputs.SharedConfigDenyRefererAccessRuleCommonTypeArgs;
    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 foo = new SharedConfig("foo", SharedConfigArgs.builder()        
                .allowIpAccessRule(SharedConfigAllowIpAccessRuleArgs.builder()
                    .rules(                
                        "1.1.1.1",
                        "2.2.2.0/24",
                        "3.3.3.3")
                    .build())
                .allowRefererAccessRule(SharedConfigAllowRefererAccessRuleArgs.builder()
                    .commonType(SharedConfigAllowRefererAccessRuleCommonTypeArgs.builder()
                        .rules(                    
                            "1.1.1.1",
                            "2.2.2.0/24",
                            "3.3.4.4")
                        .build())
                    .build())
                .commonMatchList(SharedConfigCommonMatchListArgs.builder()
                    .commonType(SharedConfigCommonMatchListCommonTypeArgs.builder()
                        .rules(                    
                            "1.1.1.1",
                            "2.2.2.0/24")
                        .build())
                    .build())
                .configName("tftest")
                .configType("allow_referer_access_rule")
                .denyIpAccessRule(SharedConfigDenyIpAccessRuleArgs.builder()
                    .rules(                
                        "1.1.1.1",
                        "2.2.2.0/24")
                    .build())
                .denyRefererAccessRule(SharedConfigDenyRefererAccessRuleArgs.builder()
                    .commonType(SharedConfigDenyRefererAccessRuleCommonTypeArgs.builder()
                        .rules(                    
                            "1.1.1.1",
                            "2.2.2.0/24")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.cdn.SharedConfig("foo",
        allow_ip_access_rule=volcengine.cdn.SharedConfigAllowIpAccessRuleArgs(
            rules=[
                "1.1.1.1",
                "2.2.2.0/24",
                "3.3.3.3",
            ],
        ),
        allow_referer_access_rule=volcengine.cdn.SharedConfigAllowRefererAccessRuleArgs(
            common_type=volcengine.cdn.SharedConfigAllowRefererAccessRuleCommonTypeArgs(
                rules=[
                    "1.1.1.1",
                    "2.2.2.0/24",
                    "3.3.4.4",
                ],
            ),
        ),
        common_match_list=volcengine.cdn.SharedConfigCommonMatchListArgs(
            common_type=volcengine.cdn.SharedConfigCommonMatchListCommonTypeArgs(
                rules=[
                    "1.1.1.1",
                    "2.2.2.0/24",
                ],
            ),
        ),
        config_name="tftest",
        config_type="allow_referer_access_rule",
        deny_ip_access_rule=volcengine.cdn.SharedConfigDenyIpAccessRuleArgs(
            rules=[
                "1.1.1.1",
                "2.2.2.0/24",
            ],
        ),
        deny_referer_access_rule=volcengine.cdn.SharedConfigDenyRefererAccessRuleArgs(
            common_type=volcengine.cdn.SharedConfigDenyRefererAccessRuleCommonTypeArgs(
                rules=[
                    "1.1.1.1",
                    "2.2.2.0/24",
                ],
            ),
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@volcengine/pulumi";
    
    const foo = new volcengine.cdn.SharedConfig("foo", {
        allowIpAccessRule: {
            rules: [
                "1.1.1.1",
                "2.2.2.0/24",
                "3.3.3.3",
            ],
        },
        allowRefererAccessRule: {
            commonType: {
                rules: [
                    "1.1.1.1",
                    "2.2.2.0/24",
                    "3.3.4.4",
                ],
            },
        },
        commonMatchList: {
            commonType: {
                rules: [
                    "1.1.1.1",
                    "2.2.2.0/24",
                ],
            },
        },
        configName: "tftest",
        configType: "allow_referer_access_rule",
        denyIpAccessRule: {
            rules: [
                "1.1.1.1",
                "2.2.2.0/24",
            ],
        },
        denyRefererAccessRule: {
            commonType: {
                rules: [
                    "1.1.1.1",
                    "2.2.2.0/24",
                ],
            },
        },
    });
    
    resources:
      foo:
        type: volcengine:cdn:SharedConfig
        properties:
          allowIpAccessRule:
            rules:
              - 1.1.1.1
              - 2.2.2.0/24
              - 3.3.3.3
          allowRefererAccessRule:
            commonType:
              rules:
                - 1.1.1.1
                - 2.2.2.0/24
                - 3.3.4.4
          commonMatchList:
            commonType:
              rules:
                - 1.1.1.1
                - 2.2.2.0/24
          configName: tftest
          configType: allow_referer_access_rule
          denyIpAccessRule:
            rules:
              - 1.1.1.1
              - 2.2.2.0/24
          denyRefererAccessRule:
            commonType:
              rules:
                - 1.1.1.1
                - 2.2.2.0/24
    

    Create SharedConfig Resource

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

    Constructor syntax

    new SharedConfig(name: string, args: SharedConfigArgs, opts?: CustomResourceOptions);
    @overload
    def SharedConfig(resource_name: str,
                     args: SharedConfigArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def SharedConfig(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     config_name: Optional[str] = None,
                     config_type: Optional[str] = None,
                     allow_ip_access_rule: Optional[SharedConfigAllowIpAccessRuleArgs] = None,
                     allow_referer_access_rule: Optional[SharedConfigAllowRefererAccessRuleArgs] = None,
                     common_match_list: Optional[SharedConfigCommonMatchListArgs] = None,
                     deny_ip_access_rule: Optional[SharedConfigDenyIpAccessRuleArgs] = None,
                     deny_referer_access_rule: Optional[SharedConfigDenyRefererAccessRuleArgs] = None,
                     project_name: Optional[str] = None)
    func NewSharedConfig(ctx *Context, name string, args SharedConfigArgs, opts ...ResourceOption) (*SharedConfig, error)
    public SharedConfig(string name, SharedConfigArgs args, CustomResourceOptions? opts = null)
    public SharedConfig(String name, SharedConfigArgs args)
    public SharedConfig(String name, SharedConfigArgs args, CustomResourceOptions options)
    
    type: volcengine:cdn:SharedConfig
    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 SharedConfigArgs
    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 SharedConfigArgs
    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 SharedConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SharedConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SharedConfigArgs
    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 sharedConfigResource = new Volcengine.Cdn.SharedConfig("sharedConfigResource", new()
    {
        ConfigName = "string",
        ConfigType = "string",
        AllowIpAccessRule = new Volcengine.Cdn.Inputs.SharedConfigAllowIpAccessRuleArgs
        {
            Rules = new[]
            {
                "string",
            },
        },
        AllowRefererAccessRule = new Volcengine.Cdn.Inputs.SharedConfigAllowRefererAccessRuleArgs
        {
            CommonType = new Volcengine.Cdn.Inputs.SharedConfigAllowRefererAccessRuleCommonTypeArgs
            {
                Rules = new[]
                {
                    "string",
                },
                IgnoreCase = false,
            },
            AllowEmpty = false,
        },
        CommonMatchList = new Volcengine.Cdn.Inputs.SharedConfigCommonMatchListArgs
        {
            CommonType = new Volcengine.Cdn.Inputs.SharedConfigCommonMatchListCommonTypeArgs
            {
                Rules = new[]
                {
                    "string",
                },
                IgnoreCase = false,
            },
        },
        DenyIpAccessRule = new Volcengine.Cdn.Inputs.SharedConfigDenyIpAccessRuleArgs
        {
            Rules = new[]
            {
                "string",
            },
        },
        DenyRefererAccessRule = new Volcengine.Cdn.Inputs.SharedConfigDenyRefererAccessRuleArgs
        {
            CommonType = new Volcengine.Cdn.Inputs.SharedConfigDenyRefererAccessRuleCommonTypeArgs
            {
                Rules = new[]
                {
                    "string",
                },
                IgnoreCase = false,
            },
            AllowEmpty = false,
        },
        ProjectName = "string",
    });
    
    example, err := cdn.NewSharedConfig(ctx, "sharedConfigResource", &cdn.SharedConfigArgs{
    	ConfigName: pulumi.String("string"),
    	ConfigType: pulumi.String("string"),
    	AllowIpAccessRule: &cdn.SharedConfigAllowIpAccessRuleArgs{
    		Rules: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	AllowRefererAccessRule: &cdn.SharedConfigAllowRefererAccessRuleArgs{
    		CommonType: &cdn.SharedConfigAllowRefererAccessRuleCommonTypeArgs{
    			Rules: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			IgnoreCase: pulumi.Bool(false),
    		},
    		AllowEmpty: pulumi.Bool(false),
    	},
    	CommonMatchList: &cdn.SharedConfigCommonMatchListArgs{
    		CommonType: &cdn.SharedConfigCommonMatchListCommonTypeArgs{
    			Rules: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			IgnoreCase: pulumi.Bool(false),
    		},
    	},
    	DenyIpAccessRule: &cdn.SharedConfigDenyIpAccessRuleArgs{
    		Rules: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	DenyRefererAccessRule: &cdn.SharedConfigDenyRefererAccessRuleArgs{
    		CommonType: &cdn.SharedConfigDenyRefererAccessRuleCommonTypeArgs{
    			Rules: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			IgnoreCase: pulumi.Bool(false),
    		},
    		AllowEmpty: pulumi.Bool(false),
    	},
    	ProjectName: pulumi.String("string"),
    })
    
    var sharedConfigResource = new SharedConfig("sharedConfigResource", SharedConfigArgs.builder()
        .configName("string")
        .configType("string")
        .allowIpAccessRule(SharedConfigAllowIpAccessRuleArgs.builder()
            .rules("string")
            .build())
        .allowRefererAccessRule(SharedConfigAllowRefererAccessRuleArgs.builder()
            .commonType(SharedConfigAllowRefererAccessRuleCommonTypeArgs.builder()
                .rules("string")
                .ignoreCase(false)
                .build())
            .allowEmpty(false)
            .build())
        .commonMatchList(SharedConfigCommonMatchListArgs.builder()
            .commonType(SharedConfigCommonMatchListCommonTypeArgs.builder()
                .rules("string")
                .ignoreCase(false)
                .build())
            .build())
        .denyIpAccessRule(SharedConfigDenyIpAccessRuleArgs.builder()
            .rules("string")
            .build())
        .denyRefererAccessRule(SharedConfigDenyRefererAccessRuleArgs.builder()
            .commonType(SharedConfigDenyRefererAccessRuleCommonTypeArgs.builder()
                .rules("string")
                .ignoreCase(false)
                .build())
            .allowEmpty(false)
            .build())
        .projectName("string")
        .build());
    
    shared_config_resource = volcengine.cdn.SharedConfig("sharedConfigResource",
        config_name="string",
        config_type="string",
        allow_ip_access_rule=volcengine.cdn.SharedConfigAllowIpAccessRuleArgs(
            rules=["string"],
        ),
        allow_referer_access_rule=volcengine.cdn.SharedConfigAllowRefererAccessRuleArgs(
            common_type=volcengine.cdn.SharedConfigAllowRefererAccessRuleCommonTypeArgs(
                rules=["string"],
                ignore_case=False,
            ),
            allow_empty=False,
        ),
        common_match_list=volcengine.cdn.SharedConfigCommonMatchListArgs(
            common_type=volcengine.cdn.SharedConfigCommonMatchListCommonTypeArgs(
                rules=["string"],
                ignore_case=False,
            ),
        ),
        deny_ip_access_rule=volcengine.cdn.SharedConfigDenyIpAccessRuleArgs(
            rules=["string"],
        ),
        deny_referer_access_rule=volcengine.cdn.SharedConfigDenyRefererAccessRuleArgs(
            common_type=volcengine.cdn.SharedConfigDenyRefererAccessRuleCommonTypeArgs(
                rules=["string"],
                ignore_case=False,
            ),
            allow_empty=False,
        ),
        project_name="string")
    
    const sharedConfigResource = new volcengine.cdn.SharedConfig("sharedConfigResource", {
        configName: "string",
        configType: "string",
        allowIpAccessRule: {
            rules: ["string"],
        },
        allowRefererAccessRule: {
            commonType: {
                rules: ["string"],
                ignoreCase: false,
            },
            allowEmpty: false,
        },
        commonMatchList: {
            commonType: {
                rules: ["string"],
                ignoreCase: false,
            },
        },
        denyIpAccessRule: {
            rules: ["string"],
        },
        denyRefererAccessRule: {
            commonType: {
                rules: ["string"],
                ignoreCase: false,
            },
            allowEmpty: false,
        },
        projectName: "string",
    });
    
    type: volcengine:cdn:SharedConfig
    properties:
        allowIpAccessRule:
            rules:
                - string
        allowRefererAccessRule:
            allowEmpty: false
            commonType:
                ignoreCase: false
                rules:
                    - string
        commonMatchList:
            commonType:
                ignoreCase: false
                rules:
                    - string
        configName: string
        configType: string
        denyIpAccessRule:
            rules:
                - string
        denyRefererAccessRule:
            allowEmpty: false
            commonType:
                ignoreCase: false
                rules:
                    - string
        projectName: string
    

    SharedConfig Resource Properties

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

    Inputs

    The SharedConfig resource accepts the following input properties:

    ConfigName string
    The name of the shared config. The name cannot be the same as the name of an existing global configuration under the main account.
    ConfigType string
    The type of the shared config. The type of global configuration. The parameter can have the following values: deny_ip_access_rule: represents IP blacklist. allow_ip_access_rule: represents IP whitelist. deny_referer_access_rule: represents Referer blacklist. allow_referer_access_rule: represents Referer whitelist. common_match_list: represents common list.
    AllowIpAccessRule SharedConfigAllowIpAccessRule
    The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule.
    AllowRefererAccessRule SharedConfigAllowRefererAccessRule
    The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule.
    CommonMatchList SharedConfigCommonMatchList
    The configuration for a common list is represented by ConfigType common_match_list.
    DenyIpAccessRule SharedConfigDenyIpAccessRule
    The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule.
    DenyRefererAccessRule SharedConfigDenyRefererAccessRule
    The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule.
    ProjectName string
    The ProjectName of the cdn shared config.
    ConfigName string
    The name of the shared config. The name cannot be the same as the name of an existing global configuration under the main account.
    ConfigType string
    The type of the shared config. The type of global configuration. The parameter can have the following values: deny_ip_access_rule: represents IP blacklist. allow_ip_access_rule: represents IP whitelist. deny_referer_access_rule: represents Referer blacklist. allow_referer_access_rule: represents Referer whitelist. common_match_list: represents common list.
    AllowIpAccessRule SharedConfigAllowIpAccessRuleArgs
    The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule.
    AllowRefererAccessRule SharedConfigAllowRefererAccessRuleArgs
    The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule.
    CommonMatchList SharedConfigCommonMatchListArgs
    The configuration for a common list is represented by ConfigType common_match_list.
    DenyIpAccessRule SharedConfigDenyIpAccessRuleArgs
    The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule.
    DenyRefererAccessRule SharedConfigDenyRefererAccessRuleArgs
    The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule.
    ProjectName string
    The ProjectName of the cdn shared config.
    configName String
    The name of the shared config. The name cannot be the same as the name of an existing global configuration under the main account.
    configType String
    The type of the shared config. The type of global configuration. The parameter can have the following values: deny_ip_access_rule: represents IP blacklist. allow_ip_access_rule: represents IP whitelist. deny_referer_access_rule: represents Referer blacklist. allow_referer_access_rule: represents Referer whitelist. common_match_list: represents common list.
    allowIpAccessRule SharedConfigAllowIpAccessRule
    The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule.
    allowRefererAccessRule SharedConfigAllowRefererAccessRule
    The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule.
    commonMatchList SharedConfigCommonMatchList
    The configuration for a common list is represented by ConfigType common_match_list.
    denyIpAccessRule SharedConfigDenyIpAccessRule
    The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule.
    denyRefererAccessRule SharedConfigDenyRefererAccessRule
    The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule.
    projectName String
    The ProjectName of the cdn shared config.
    configName string
    The name of the shared config. The name cannot be the same as the name of an existing global configuration under the main account.
    configType string
    The type of the shared config. The type of global configuration. The parameter can have the following values: deny_ip_access_rule: represents IP blacklist. allow_ip_access_rule: represents IP whitelist. deny_referer_access_rule: represents Referer blacklist. allow_referer_access_rule: represents Referer whitelist. common_match_list: represents common list.
    allowIpAccessRule SharedConfigAllowIpAccessRule
    The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule.
    allowRefererAccessRule SharedConfigAllowRefererAccessRule
    The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule.
    commonMatchList SharedConfigCommonMatchList
    The configuration for a common list is represented by ConfigType common_match_list.
    denyIpAccessRule SharedConfigDenyIpAccessRule
    The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule.
    denyRefererAccessRule SharedConfigDenyRefererAccessRule
    The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule.
    projectName string
    The ProjectName of the cdn shared config.
    config_name str
    The name of the shared config. The name cannot be the same as the name of an existing global configuration under the main account.
    config_type str
    The type of the shared config. The type of global configuration. The parameter can have the following values: deny_ip_access_rule: represents IP blacklist. allow_ip_access_rule: represents IP whitelist. deny_referer_access_rule: represents Referer blacklist. allow_referer_access_rule: represents Referer whitelist. common_match_list: represents common list.
    allow_ip_access_rule SharedConfigAllowIpAccessRuleArgs
    The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule.
    allow_referer_access_rule SharedConfigAllowRefererAccessRuleArgs
    The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule.
    common_match_list SharedConfigCommonMatchListArgs
    The configuration for a common list is represented by ConfigType common_match_list.
    deny_ip_access_rule SharedConfigDenyIpAccessRuleArgs
    The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule.
    deny_referer_access_rule SharedConfigDenyRefererAccessRuleArgs
    The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule.
    project_name str
    The ProjectName of the cdn shared config.
    configName String
    The name of the shared config. The name cannot be the same as the name of an existing global configuration under the main account.
    configType String
    The type of the shared config. The type of global configuration. The parameter can have the following values: deny_ip_access_rule: represents IP blacklist. allow_ip_access_rule: represents IP whitelist. deny_referer_access_rule: represents Referer blacklist. allow_referer_access_rule: represents Referer whitelist. common_match_list: represents common list.
    allowIpAccessRule Property Map
    The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule.
    allowRefererAccessRule Property Map
    The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule.
    commonMatchList Property Map
    The configuration for a common list is represented by ConfigType common_match_list.
    denyIpAccessRule Property Map
    The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule.
    denyRefererAccessRule Property Map
    The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule.
    projectName String
    The ProjectName of the cdn shared config.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SharedConfig 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 SharedConfig Resource

    Get an existing SharedConfig 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?: SharedConfigState, opts?: CustomResourceOptions): SharedConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allow_ip_access_rule: Optional[SharedConfigAllowIpAccessRuleArgs] = None,
            allow_referer_access_rule: Optional[SharedConfigAllowRefererAccessRuleArgs] = None,
            common_match_list: Optional[SharedConfigCommonMatchListArgs] = None,
            config_name: Optional[str] = None,
            config_type: Optional[str] = None,
            deny_ip_access_rule: Optional[SharedConfigDenyIpAccessRuleArgs] = None,
            deny_referer_access_rule: Optional[SharedConfigDenyRefererAccessRuleArgs] = None,
            project_name: Optional[str] = None) -> SharedConfig
    func GetSharedConfig(ctx *Context, name string, id IDInput, state *SharedConfigState, opts ...ResourceOption) (*SharedConfig, error)
    public static SharedConfig Get(string name, Input<string> id, SharedConfigState? state, CustomResourceOptions? opts = null)
    public static SharedConfig get(String name, Output<String> id, SharedConfigState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    AllowIpAccessRule SharedConfigAllowIpAccessRule
    The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule.
    AllowRefererAccessRule SharedConfigAllowRefererAccessRule
    The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule.
    CommonMatchList SharedConfigCommonMatchList
    The configuration for a common list is represented by ConfigType common_match_list.
    ConfigName string
    The name of the shared config. The name cannot be the same as the name of an existing global configuration under the main account.
    ConfigType string
    The type of the shared config. The type of global configuration. The parameter can have the following values: deny_ip_access_rule: represents IP blacklist. allow_ip_access_rule: represents IP whitelist. deny_referer_access_rule: represents Referer blacklist. allow_referer_access_rule: represents Referer whitelist. common_match_list: represents common list.
    DenyIpAccessRule SharedConfigDenyIpAccessRule
    The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule.
    DenyRefererAccessRule SharedConfigDenyRefererAccessRule
    The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule.
    ProjectName string
    The ProjectName of the cdn shared config.
    AllowIpAccessRule SharedConfigAllowIpAccessRuleArgs
    The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule.
    AllowRefererAccessRule SharedConfigAllowRefererAccessRuleArgs
    The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule.
    CommonMatchList SharedConfigCommonMatchListArgs
    The configuration for a common list is represented by ConfigType common_match_list.
    ConfigName string
    The name of the shared config. The name cannot be the same as the name of an existing global configuration under the main account.
    ConfigType string
    The type of the shared config. The type of global configuration. The parameter can have the following values: deny_ip_access_rule: represents IP blacklist. allow_ip_access_rule: represents IP whitelist. deny_referer_access_rule: represents Referer blacklist. allow_referer_access_rule: represents Referer whitelist. common_match_list: represents common list.
    DenyIpAccessRule SharedConfigDenyIpAccessRuleArgs
    The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule.
    DenyRefererAccessRule SharedConfigDenyRefererAccessRuleArgs
    The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule.
    ProjectName string
    The ProjectName of the cdn shared config.
    allowIpAccessRule SharedConfigAllowIpAccessRule
    The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule.
    allowRefererAccessRule SharedConfigAllowRefererAccessRule
    The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule.
    commonMatchList SharedConfigCommonMatchList
    The configuration for a common list is represented by ConfigType common_match_list.
    configName String
    The name of the shared config. The name cannot be the same as the name of an existing global configuration under the main account.
    configType String
    The type of the shared config. The type of global configuration. The parameter can have the following values: deny_ip_access_rule: represents IP blacklist. allow_ip_access_rule: represents IP whitelist. deny_referer_access_rule: represents Referer blacklist. allow_referer_access_rule: represents Referer whitelist. common_match_list: represents common list.
    denyIpAccessRule SharedConfigDenyIpAccessRule
    The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule.
    denyRefererAccessRule SharedConfigDenyRefererAccessRule
    The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule.
    projectName String
    The ProjectName of the cdn shared config.
    allowIpAccessRule SharedConfigAllowIpAccessRule
    The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule.
    allowRefererAccessRule SharedConfigAllowRefererAccessRule
    The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule.
    commonMatchList SharedConfigCommonMatchList
    The configuration for a common list is represented by ConfigType common_match_list.
    configName string
    The name of the shared config. The name cannot be the same as the name of an existing global configuration under the main account.
    configType string
    The type of the shared config. The type of global configuration. The parameter can have the following values: deny_ip_access_rule: represents IP blacklist. allow_ip_access_rule: represents IP whitelist. deny_referer_access_rule: represents Referer blacklist. allow_referer_access_rule: represents Referer whitelist. common_match_list: represents common list.
    denyIpAccessRule SharedConfigDenyIpAccessRule
    The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule.
    denyRefererAccessRule SharedConfigDenyRefererAccessRule
    The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule.
    projectName string
    The ProjectName of the cdn shared config.
    allow_ip_access_rule SharedConfigAllowIpAccessRuleArgs
    The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule.
    allow_referer_access_rule SharedConfigAllowRefererAccessRuleArgs
    The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule.
    common_match_list SharedConfigCommonMatchListArgs
    The configuration for a common list is represented by ConfigType common_match_list.
    config_name str
    The name of the shared config. The name cannot be the same as the name of an existing global configuration under the main account.
    config_type str
    The type of the shared config. The type of global configuration. The parameter can have the following values: deny_ip_access_rule: represents IP blacklist. allow_ip_access_rule: represents IP whitelist. deny_referer_access_rule: represents Referer blacklist. allow_referer_access_rule: represents Referer whitelist. common_match_list: represents common list.
    deny_ip_access_rule SharedConfigDenyIpAccessRuleArgs
    The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule.
    deny_referer_access_rule SharedConfigDenyRefererAccessRuleArgs
    The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule.
    project_name str
    The ProjectName of the cdn shared config.
    allowIpAccessRule Property Map
    The configuration for IP whitelist corresponds to ConfigType allow_ip_access_rule.
    allowRefererAccessRule Property Map
    The configuration for the Referer whitelist corresponds to ConfigType allow_referer_access_rule.
    commonMatchList Property Map
    The configuration for a common list is represented by ConfigType common_match_list.
    configName String
    The name of the shared config. The name cannot be the same as the name of an existing global configuration under the main account.
    configType String
    The type of the shared config. The type of global configuration. The parameter can have the following values: deny_ip_access_rule: represents IP blacklist. allow_ip_access_rule: represents IP whitelist. deny_referer_access_rule: represents Referer blacklist. allow_referer_access_rule: represents Referer whitelist. common_match_list: represents common list.
    denyIpAccessRule Property Map
    The configuration for IP blacklist is denoted by ConfigType deny_ip_access_rule.
    denyRefererAccessRule Property Map
    The configuration for the Referer blacklist corresponds to ConfigType deny_referer_access_rule.
    projectName String
    The ProjectName of the cdn shared config.

    Supporting Types

    SharedConfigAllowIpAccessRule, SharedConfigAllowIpAccessRuleArgs

    Rules List<string>
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    Rules []string
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    rules List<String>
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    rules string[]
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    rules Sequence[str]
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    rules List<String>
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.

    SharedConfigAllowRefererAccessRule, SharedConfigAllowRefererAccessRuleArgs

    CommonType SharedConfigAllowRefererAccessRuleCommonType
    The content indicating the Referer whitelist.
    AllowEmpty bool
    Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false.
    CommonType SharedConfigAllowRefererAccessRuleCommonType
    The content indicating the Referer whitelist.
    AllowEmpty bool
    Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false.
    commonType SharedConfigAllowRefererAccessRuleCommonType
    The content indicating the Referer whitelist.
    allowEmpty Boolean
    Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false.
    commonType SharedConfigAllowRefererAccessRuleCommonType
    The content indicating the Referer whitelist.
    allowEmpty boolean
    Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false.
    common_type SharedConfigAllowRefererAccessRuleCommonType
    The content indicating the Referer whitelist.
    allow_empty bool
    Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false.
    commonType Property Map
    The content indicating the Referer whitelist.
    allowEmpty Boolean
    Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false.

    SharedConfigAllowRefererAccessRuleCommonType, SharedConfigAllowRefererAccessRuleCommonTypeArgs

    Rules List<string>
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    IgnoreCase bool
    This list is case-sensitive when matching requests. Default is true.
    Rules []string
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    IgnoreCase bool
    This list is case-sensitive when matching requests. Default is true.
    rules List<String>
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    ignoreCase Boolean
    This list is case-sensitive when matching requests. Default is true.
    rules string[]
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    ignoreCase boolean
    This list is case-sensitive when matching requests. Default is true.
    rules Sequence[str]
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    ignore_case bool
    This list is case-sensitive when matching requests. Default is true.
    rules List<String>
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    ignoreCase Boolean
    This list is case-sensitive when matching requests. Default is true.

    SharedConfigCommonMatchList, SharedConfigCommonMatchListArgs

    CommonType SharedConfigCommonMatchListCommonType
    The content indicating the Referer blacklist.
    CommonType SharedConfigCommonMatchListCommonType
    The content indicating the Referer blacklist.
    commonType SharedConfigCommonMatchListCommonType
    The content indicating the Referer blacklist.
    commonType SharedConfigCommonMatchListCommonType
    The content indicating the Referer blacklist.
    common_type SharedConfigCommonMatchListCommonType
    The content indicating the Referer blacklist.
    commonType Property Map
    The content indicating the Referer blacklist.

    SharedConfigCommonMatchListCommonType, SharedConfigCommonMatchListCommonTypeArgs

    Rules List<string>
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    IgnoreCase bool
    This list is case-sensitive when matching requests. Default is true.
    Rules []string
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    IgnoreCase bool
    This list is case-sensitive when matching requests. Default is true.
    rules List<String>
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    ignoreCase Boolean
    This list is case-sensitive when matching requests. Default is true.
    rules string[]
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    ignoreCase boolean
    This list is case-sensitive when matching requests. Default is true.
    rules Sequence[str]
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    ignore_case bool
    This list is case-sensitive when matching requests. Default is true.
    rules List<String>
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    ignoreCase Boolean
    This list is case-sensitive when matching requests. Default is true.

    SharedConfigDenyIpAccessRule, SharedConfigDenyIpAccessRuleArgs

    Rules List<string>
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    Rules []string
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    rules List<String>
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    rules string[]
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    rules Sequence[str]
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    rules List<String>
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.

    SharedConfigDenyRefererAccessRule, SharedConfigDenyRefererAccessRuleArgs

    CommonType SharedConfigDenyRefererAccessRuleCommonType
    The content indicating the Referer blacklist.
    AllowEmpty bool
    Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false.
    CommonType SharedConfigDenyRefererAccessRuleCommonType
    The content indicating the Referer blacklist.
    AllowEmpty bool
    Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false.
    commonType SharedConfigDenyRefererAccessRuleCommonType
    The content indicating the Referer blacklist.
    allowEmpty Boolean
    Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false.
    commonType SharedConfigDenyRefererAccessRuleCommonType
    The content indicating the Referer blacklist.
    allowEmpty boolean
    Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false.
    common_type SharedConfigDenyRefererAccessRuleCommonType
    The content indicating the Referer blacklist.
    allow_empty bool
    Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false.
    commonType Property Map
    The content indicating the Referer blacklist.
    allowEmpty Boolean
    Indicates whether an empty Referer header, or a request without a Referer header, is not allowed. Default is false.

    SharedConfigDenyRefererAccessRuleCommonType, SharedConfigDenyRefererAccessRuleCommonTypeArgs

    Rules List<string>
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    IgnoreCase bool
    This list is case-sensitive when matching requests. Default is true.
    Rules []string
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    IgnoreCase bool
    This list is case-sensitive when matching requests. Default is true.
    rules List<String>
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    ignoreCase Boolean
    This list is case-sensitive when matching requests. Default is true.
    rules string[]
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    ignoreCase boolean
    This list is case-sensitive when matching requests. Default is true.
    rules Sequence[str]
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    ignore_case bool
    This list is case-sensitive when matching requests. Default is true.
    rules List<String>
    The entries in this list are an array of IP addresses and CIDR network segments. The total number of entries cannot exceed 3,000. The IP addresses and segments can be in IPv4 and IPv6 format. Duplicate entries in the list will be removed and will not count towards the limit.
    ignoreCase Boolean
    This list is case-sensitive when matching requests. Default is true.

    Import

    CdnSharedConfig can be imported using the id, e.g.

     $ pulumi import volcengine:cdn/sharedConfig:SharedConfig default resource_id
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine