volcengine.rds_mysql.Allowlist
Explore with Pulumi AI
Provides a resource to manage rds mysql allowlist
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@volcengine/pulumi";
const foo = new volcengine.rds_mysql.Allowlist("foo", {
allowListDesc: "acc-test",
allowListName: "acc-test-allowlist",
allowListType: "IPv4",
securityGroupBindInfos: [
{
bindMode: "IngressDirectionIp",
securityGroupId: "sg-13fd7wyduxekg3n6nu5t9fhj7",
},
{
bindMode: "IngressDirectionIp",
securityGroupId: "sg-mjoa9qfyzg1s5smt1a6dmc1l",
},
],
userAllowLists: [
"192.168.0.0/24",
"192.168.1.0/24",
],
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.rds_mysql.Allowlist("foo",
allow_list_desc="acc-test",
allow_list_name="acc-test-allowlist",
allow_list_type="IPv4",
security_group_bind_infos=[
volcengine.rds_mysql.AllowlistSecurityGroupBindInfoArgs(
bind_mode="IngressDirectionIp",
security_group_id="sg-13fd7wyduxekg3n6nu5t9fhj7",
),
volcengine.rds_mysql.AllowlistSecurityGroupBindInfoArgs(
bind_mode="IngressDirectionIp",
security_group_id="sg-mjoa9qfyzg1s5smt1a6dmc1l",
),
],
user_allow_lists=[
"192.168.0.0/24",
"192.168.1.0/24",
])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_mysql"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rds_mysql.NewAllowlist(ctx, "foo", &rds_mysql.AllowlistArgs{
AllowListDesc: pulumi.String("acc-test"),
AllowListName: pulumi.String("acc-test-allowlist"),
AllowListType: pulumi.String("IPv4"),
SecurityGroupBindInfos: rds_mysql.AllowlistSecurityGroupBindInfoArray{
&rds_mysql.AllowlistSecurityGroupBindInfoArgs{
BindMode: pulumi.String("IngressDirectionIp"),
SecurityGroupId: pulumi.String("sg-13fd7wyduxekg3n6nu5t9fhj7"),
},
&rds_mysql.AllowlistSecurityGroupBindInfoArgs{
BindMode: pulumi.String("IngressDirectionIp"),
SecurityGroupId: pulumi.String("sg-mjoa9qfyzg1s5smt1a6dmc1l"),
},
},
UserAllowLists: pulumi.StringArray{
pulumi.String("192.168.0.0/24"),
pulumi.String("192.168.1.0/24"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = new Volcengine.Rds_mysql.Allowlist("foo", new()
{
AllowListDesc = "acc-test",
AllowListName = "acc-test-allowlist",
AllowListType = "IPv4",
SecurityGroupBindInfos = new[]
{
new Volcengine.Rds_mysql.Inputs.AllowlistSecurityGroupBindInfoArgs
{
BindMode = "IngressDirectionIp",
SecurityGroupId = "sg-13fd7wyduxekg3n6nu5t9fhj7",
},
new Volcengine.Rds_mysql.Inputs.AllowlistSecurityGroupBindInfoArgs
{
BindMode = "IngressDirectionIp",
SecurityGroupId = "sg-mjoa9qfyzg1s5smt1a6dmc1l",
},
},
UserAllowLists = new[]
{
"192.168.0.0/24",
"192.168.1.0/24",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.rds_mysql.Allowlist;
import com.pulumi.volcengine.rds_mysql.AllowlistArgs;
import com.pulumi.volcengine.rds_mysql.inputs.AllowlistSecurityGroupBindInfoArgs;
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 Allowlist("foo", AllowlistArgs.builder()
.allowListDesc("acc-test")
.allowListName("acc-test-allowlist")
.allowListType("IPv4")
.securityGroupBindInfos(
AllowlistSecurityGroupBindInfoArgs.builder()
.bindMode("IngressDirectionIp")
.securityGroupId("sg-13fd7wyduxekg3n6nu5t9fhj7")
.build(),
AllowlistSecurityGroupBindInfoArgs.builder()
.bindMode("IngressDirectionIp")
.securityGroupId("sg-mjoa9qfyzg1s5smt1a6dmc1l")
.build())
.userAllowLists(
"192.168.0.0/24",
"192.168.1.0/24")
.build());
}
}
resources:
foo:
type: volcengine:rds_mysql:Allowlist
properties:
allowListDesc: acc-test
allowListName: acc-test-allowlist
allowListType: IPv4
securityGroupBindInfos:
- bindMode: IngressDirectionIp
securityGroupId: sg-13fd7wyduxekg3n6nu5t9fhj7
- bindMode: IngressDirectionIp
securityGroupId: sg-mjoa9qfyzg1s5smt1a6dmc1l
userAllowLists:
- 192.168.0.0/24
- 192.168.1.0/24
Create Allowlist Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Allowlist(name: string, args: AllowlistArgs, opts?: CustomResourceOptions);
@overload
def Allowlist(resource_name: str,
args: AllowlistArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Allowlist(resource_name: str,
opts: Optional[ResourceOptions] = None,
allow_list_name: Optional[str] = None,
allow_list_category: Optional[str] = None,
allow_list_desc: Optional[str] = None,
allow_list_type: Optional[str] = None,
allow_lists: Optional[Sequence[str]] = None,
security_group_bind_infos: Optional[Sequence[AllowlistSecurityGroupBindInfoArgs]] = None,
security_group_ids: Optional[Sequence[str]] = None,
user_allow_lists: Optional[Sequence[str]] = None)
func NewAllowlist(ctx *Context, name string, args AllowlistArgs, opts ...ResourceOption) (*Allowlist, error)
public Allowlist(string name, AllowlistArgs args, CustomResourceOptions? opts = null)
public Allowlist(String name, AllowlistArgs args)
public Allowlist(String name, AllowlistArgs args, CustomResourceOptions options)
type: volcengine:rds_mysql:Allowlist
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 AllowlistArgs
- 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 AllowlistArgs
- 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 AllowlistArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AllowlistArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AllowlistArgs
- 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 allowlistResource = new Volcengine.Rds_mysql.Allowlist("allowlistResource", new()
{
AllowListName = "string",
AllowListCategory = "string",
AllowListDesc = "string",
AllowListType = "string",
AllowLists = new[]
{
"string",
},
SecurityGroupBindInfos = new[]
{
new Volcengine.Rds_mysql.Inputs.AllowlistSecurityGroupBindInfoArgs
{
BindMode = "string",
SecurityGroupId = "string",
},
},
SecurityGroupIds = new[]
{
"string",
},
UserAllowLists = new[]
{
"string",
},
});
example, err := rds_mysql.NewAllowlist(ctx, "allowlistResource", &rds_mysql.AllowlistArgs{
AllowListName: pulumi.String("string"),
AllowListCategory: pulumi.String("string"),
AllowListDesc: pulumi.String("string"),
AllowListType: pulumi.String("string"),
AllowLists: pulumi.StringArray{
pulumi.String("string"),
},
SecurityGroupBindInfos: rds_mysql.AllowlistSecurityGroupBindInfoArray{
&rds_mysql.AllowlistSecurityGroupBindInfoArgs{
BindMode: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
},
},
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
UserAllowLists: pulumi.StringArray{
pulumi.String("string"),
},
})
var allowlistResource = new com.pulumi.volcengine.rds_mysql.Allowlist("allowlistResource", com.pulumi.volcengine.rds_mysql.AllowlistArgs.builder()
.allowListName("string")
.allowListCategory("string")
.allowListDesc("string")
.allowListType("string")
.allowLists("string")
.securityGroupBindInfos(AllowlistSecurityGroupBindInfoArgs.builder()
.bindMode("string")
.securityGroupId("string")
.build())
.securityGroupIds("string")
.userAllowLists("string")
.build());
allowlist_resource = volcengine.rds_mysql.Allowlist("allowlistResource",
allow_list_name="string",
allow_list_category="string",
allow_list_desc="string",
allow_list_type="string",
allow_lists=["string"],
security_group_bind_infos=[{
"bind_mode": "string",
"security_group_id": "string",
}],
security_group_ids=["string"],
user_allow_lists=["string"])
const allowlistResource = new volcengine.rds_mysql.Allowlist("allowlistResource", {
allowListName: "string",
allowListCategory: "string",
allowListDesc: "string",
allowListType: "string",
allowLists: ["string"],
securityGroupBindInfos: [{
bindMode: "string",
securityGroupId: "string",
}],
securityGroupIds: ["string"],
userAllowLists: ["string"],
});
type: volcengine:rds_mysql:Allowlist
properties:
allowListCategory: string
allowListDesc: string
allowListName: string
allowListType: string
allowLists:
- string
securityGroupBindInfos:
- bindMode: string
securityGroupId: string
securityGroupIds:
- string
userAllowLists:
- string
Allowlist 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 Allowlist resource accepts the following input properties:
- Allow
List stringName - The name of the allow list.
- Allow
List stringCategory - White list category. Values: Ordinary: Ordinary white list. Default: Default white list. Description: When this parameter is used as a request parameter, the default value is Ordinary.
- Allow
List stringDesc - The description of the allow list.
- Allow
List stringType - The type of IP address in the whitelist. Currently only IPv4 addresses are supported.
- Allow
Lists List<string> - Enter an IP address or a range of IP addresses in CIDR format. Please note that if you want to use security group - related parameters, do not use this field. Instead, use the user_allow_list.
- Security
Group List<AllowlistBind Infos Security Group Bind Info> - Whitelist information for the associated security group.
- Security
Group List<string>Ids - The security group ids of the allow list.
- User
Allow List<string>Lists - IP addresses outside the security group that need to be added to the whitelist. IP addresses or IP address segments in CIDR format can be entered. Note: This field cannot be used simultaneously with AllowList.
- Allow
List stringName - The name of the allow list.
- Allow
List stringCategory - White list category. Values: Ordinary: Ordinary white list. Default: Default white list. Description: When this parameter is used as a request parameter, the default value is Ordinary.
- Allow
List stringDesc - The description of the allow list.
- Allow
List stringType - The type of IP address in the whitelist. Currently only IPv4 addresses are supported.
- Allow
Lists []string - Enter an IP address or a range of IP addresses in CIDR format. Please note that if you want to use security group - related parameters, do not use this field. Instead, use the user_allow_list.
- Security
Group []AllowlistBind Infos Security Group Bind Info Args - Whitelist information for the associated security group.
- Security
Group []stringIds - The security group ids of the allow list.
- User
Allow []stringLists - IP addresses outside the security group that need to be added to the whitelist. IP addresses or IP address segments in CIDR format can be entered. Note: This field cannot be used simultaneously with AllowList.
- allow
List StringName - The name of the allow list.
- allow
List StringCategory - White list category. Values: Ordinary: Ordinary white list. Default: Default white list. Description: When this parameter is used as a request parameter, the default value is Ordinary.
- allow
List StringDesc - The description of the allow list.
- allow
List StringType - The type of IP address in the whitelist. Currently only IPv4 addresses are supported.
- allow
Lists List<String> - Enter an IP address or a range of IP addresses in CIDR format. Please note that if you want to use security group - related parameters, do not use this field. Instead, use the user_allow_list.
- security
Group List<AllowlistBind Infos Security Group Bind Info> - Whitelist information for the associated security group.
- security
Group List<String>Ids - The security group ids of the allow list.
- user
Allow List<String>Lists - IP addresses outside the security group that need to be added to the whitelist. IP addresses or IP address segments in CIDR format can be entered. Note: This field cannot be used simultaneously with AllowList.
- allow
List stringName - The name of the allow list.
- allow
List stringCategory - White list category. Values: Ordinary: Ordinary white list. Default: Default white list. Description: When this parameter is used as a request parameter, the default value is Ordinary.
- allow
List stringDesc - The description of the allow list.
- allow
List stringType - The type of IP address in the whitelist. Currently only IPv4 addresses are supported.
- allow
Lists string[] - Enter an IP address or a range of IP addresses in CIDR format. Please note that if you want to use security group - related parameters, do not use this field. Instead, use the user_allow_list.
- security
Group AllowlistBind Infos Security Group Bind Info[] - Whitelist information for the associated security group.
- security
Group string[]Ids - The security group ids of the allow list.
- user
Allow string[]Lists - IP addresses outside the security group that need to be added to the whitelist. IP addresses or IP address segments in CIDR format can be entered. Note: This field cannot be used simultaneously with AllowList.
- allow_
list_ strname - The name of the allow list.
- allow_
list_ strcategory - White list category. Values: Ordinary: Ordinary white list. Default: Default white list. Description: When this parameter is used as a request parameter, the default value is Ordinary.
- allow_
list_ strdesc - The description of the allow list.
- allow_
list_ strtype - The type of IP address in the whitelist. Currently only IPv4 addresses are supported.
- allow_
lists Sequence[str] - Enter an IP address or a range of IP addresses in CIDR format. Please note that if you want to use security group - related parameters, do not use this field. Instead, use the user_allow_list.
- security_
group_ Sequence[Allowlistbind_ infos Security Group Bind Info Args] - Whitelist information for the associated security group.
- security_
group_ Sequence[str]ids - The security group ids of the allow list.
- user_
allow_ Sequence[str]lists - IP addresses outside the security group that need to be added to the whitelist. IP addresses or IP address segments in CIDR format can be entered. Note: This field cannot be used simultaneously with AllowList.
- allow
List StringName - The name of the allow list.
- allow
List StringCategory - White list category. Values: Ordinary: Ordinary white list. Default: Default white list. Description: When this parameter is used as a request parameter, the default value is Ordinary.
- allow
List StringDesc - The description of the allow list.
- allow
List StringType - The type of IP address in the whitelist. Currently only IPv4 addresses are supported.
- allow
Lists List<String> - Enter an IP address or a range of IP addresses in CIDR format. Please note that if you want to use security group - related parameters, do not use this field. Instead, use the user_allow_list.
- security
Group List<Property Map>Bind Infos - Whitelist information for the associated security group.
- security
Group List<String>Ids - The security group ids of the allow list.
- user
Allow List<String>Lists - IP addresses outside the security group that need to be added to the whitelist. IP addresses or IP address segments in CIDR format can be entered. Note: This field cannot be used simultaneously with AllowList.
Outputs
All input properties are implicitly available as output properties. Additionally, the Allowlist resource produces the following output properties:
- Allow
List stringId - The id of the allow list.
- Id string
- The provider-assigned unique ID for this managed resource.
- Allow
List stringId - The id of the allow list.
- Id string
- The provider-assigned unique ID for this managed resource.
- allow
List StringId - The id of the allow list.
- id String
- The provider-assigned unique ID for this managed resource.
- allow
List stringId - The id of the allow list.
- id string
- The provider-assigned unique ID for this managed resource.
- allow_
list_ strid - The id of the allow list.
- id str
- The provider-assigned unique ID for this managed resource.
- allow
List StringId - The id of the allow list.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Allowlist Resource
Get an existing Allowlist 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?: AllowlistState, opts?: CustomResourceOptions): Allowlist
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_list_category: Optional[str] = None,
allow_list_desc: Optional[str] = None,
allow_list_id: Optional[str] = None,
allow_list_name: Optional[str] = None,
allow_list_type: Optional[str] = None,
allow_lists: Optional[Sequence[str]] = None,
security_group_bind_infos: Optional[Sequence[AllowlistSecurityGroupBindInfoArgs]] = None,
security_group_ids: Optional[Sequence[str]] = None,
user_allow_lists: Optional[Sequence[str]] = None) -> Allowlist
func GetAllowlist(ctx *Context, name string, id IDInput, state *AllowlistState, opts ...ResourceOption) (*Allowlist, error)
public static Allowlist Get(string name, Input<string> id, AllowlistState? state, CustomResourceOptions? opts = null)
public static Allowlist get(String name, Output<String> id, AllowlistState state, CustomResourceOptions options)
resources: _: type: volcengine:rds_mysql:Allowlist 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.
- Allow
List stringCategory - White list category. Values: Ordinary: Ordinary white list. Default: Default white list. Description: When this parameter is used as a request parameter, the default value is Ordinary.
- Allow
List stringDesc - The description of the allow list.
- Allow
List stringId - The id of the allow list.
- Allow
List stringName - The name of the allow list.
- Allow
List stringType - The type of IP address in the whitelist. Currently only IPv4 addresses are supported.
- Allow
Lists List<string> - Enter an IP address or a range of IP addresses in CIDR format. Please note that if you want to use security group - related parameters, do not use this field. Instead, use the user_allow_list.
- Security
Group List<AllowlistBind Infos Security Group Bind Info> - Whitelist information for the associated security group.
- Security
Group List<string>Ids - The security group ids of the allow list.
- User
Allow List<string>Lists - IP addresses outside the security group that need to be added to the whitelist. IP addresses or IP address segments in CIDR format can be entered. Note: This field cannot be used simultaneously with AllowList.
- Allow
List stringCategory - White list category. Values: Ordinary: Ordinary white list. Default: Default white list. Description: When this parameter is used as a request parameter, the default value is Ordinary.
- Allow
List stringDesc - The description of the allow list.
- Allow
List stringId - The id of the allow list.
- Allow
List stringName - The name of the allow list.
- Allow
List stringType - The type of IP address in the whitelist. Currently only IPv4 addresses are supported.
- Allow
Lists []string - Enter an IP address or a range of IP addresses in CIDR format. Please note that if you want to use security group - related parameters, do not use this field. Instead, use the user_allow_list.
- Security
Group []AllowlistBind Infos Security Group Bind Info Args - Whitelist information for the associated security group.
- Security
Group []stringIds - The security group ids of the allow list.
- User
Allow []stringLists - IP addresses outside the security group that need to be added to the whitelist. IP addresses or IP address segments in CIDR format can be entered. Note: This field cannot be used simultaneously with AllowList.
- allow
List StringCategory - White list category. Values: Ordinary: Ordinary white list. Default: Default white list. Description: When this parameter is used as a request parameter, the default value is Ordinary.
- allow
List StringDesc - The description of the allow list.
- allow
List StringId - The id of the allow list.
- allow
List StringName - The name of the allow list.
- allow
List StringType - The type of IP address in the whitelist. Currently only IPv4 addresses are supported.
- allow
Lists List<String> - Enter an IP address or a range of IP addresses in CIDR format. Please note that if you want to use security group - related parameters, do not use this field. Instead, use the user_allow_list.
- security
Group List<AllowlistBind Infos Security Group Bind Info> - Whitelist information for the associated security group.
- security
Group List<String>Ids - The security group ids of the allow list.
- user
Allow List<String>Lists - IP addresses outside the security group that need to be added to the whitelist. IP addresses or IP address segments in CIDR format can be entered. Note: This field cannot be used simultaneously with AllowList.
- allow
List stringCategory - White list category. Values: Ordinary: Ordinary white list. Default: Default white list. Description: When this parameter is used as a request parameter, the default value is Ordinary.
- allow
List stringDesc - The description of the allow list.
- allow
List stringId - The id of the allow list.
- allow
List stringName - The name of the allow list.
- allow
List stringType - The type of IP address in the whitelist. Currently only IPv4 addresses are supported.
- allow
Lists string[] - Enter an IP address or a range of IP addresses in CIDR format. Please note that if you want to use security group - related parameters, do not use this field. Instead, use the user_allow_list.
- security
Group AllowlistBind Infos Security Group Bind Info[] - Whitelist information for the associated security group.
- security
Group string[]Ids - The security group ids of the allow list.
- user
Allow string[]Lists - IP addresses outside the security group that need to be added to the whitelist. IP addresses or IP address segments in CIDR format can be entered. Note: This field cannot be used simultaneously with AllowList.
- allow_
list_ strcategory - White list category. Values: Ordinary: Ordinary white list. Default: Default white list. Description: When this parameter is used as a request parameter, the default value is Ordinary.
- allow_
list_ strdesc - The description of the allow list.
- allow_
list_ strid - The id of the allow list.
- allow_
list_ strname - The name of the allow list.
- allow_
list_ strtype - The type of IP address in the whitelist. Currently only IPv4 addresses are supported.
- allow_
lists Sequence[str] - Enter an IP address or a range of IP addresses in CIDR format. Please note that if you want to use security group - related parameters, do not use this field. Instead, use the user_allow_list.
- security_
group_ Sequence[Allowlistbind_ infos Security Group Bind Info Args] - Whitelist information for the associated security group.
- security_
group_ Sequence[str]ids - The security group ids of the allow list.
- user_
allow_ Sequence[str]lists - IP addresses outside the security group that need to be added to the whitelist. IP addresses or IP address segments in CIDR format can be entered. Note: This field cannot be used simultaneously with AllowList.
- allow
List StringCategory - White list category. Values: Ordinary: Ordinary white list. Default: Default white list. Description: When this parameter is used as a request parameter, the default value is Ordinary.
- allow
List StringDesc - The description of the allow list.
- allow
List StringId - The id of the allow list.
- allow
List StringName - The name of the allow list.
- allow
List StringType - The type of IP address in the whitelist. Currently only IPv4 addresses are supported.
- allow
Lists List<String> - Enter an IP address or a range of IP addresses in CIDR format. Please note that if you want to use security group - related parameters, do not use this field. Instead, use the user_allow_list.
- security
Group List<Property Map>Bind Infos - Whitelist information for the associated security group.
- security
Group List<String>Ids - The security group ids of the allow list.
- user
Allow List<String>Lists - IP addresses outside the security group that need to be added to the whitelist. IP addresses or IP address segments in CIDR format can be entered. Note: This field cannot be used simultaneously with AllowList.
Supporting Types
AllowlistSecurityGroupBindInfo, AllowlistSecurityGroupBindInfoArgs
- Bind
Mode string - The schema for the associated security group. IngressDirectionIp: Incoming Direction IP. AssociateEcsIp: Associate ECSIP. explain: In the CreateAllowList interface, SecurityGroupBindInfoObject BindMode and SecurityGroupId fields are required.
- Security
Group stringId - The security group id of the allow list.
- Bind
Mode string - The schema for the associated security group. IngressDirectionIp: Incoming Direction IP. AssociateEcsIp: Associate ECSIP. explain: In the CreateAllowList interface, SecurityGroupBindInfoObject BindMode and SecurityGroupId fields are required.
- Security
Group stringId - The security group id of the allow list.
- bind
Mode String - The schema for the associated security group. IngressDirectionIp: Incoming Direction IP. AssociateEcsIp: Associate ECSIP. explain: In the CreateAllowList interface, SecurityGroupBindInfoObject BindMode and SecurityGroupId fields are required.
- security
Group StringId - The security group id of the allow list.
- bind
Mode string - The schema for the associated security group. IngressDirectionIp: Incoming Direction IP. AssociateEcsIp: Associate ECSIP. explain: In the CreateAllowList interface, SecurityGroupBindInfoObject BindMode and SecurityGroupId fields are required.
- security
Group stringId - The security group id of the allow list.
- bind_
mode str - The schema for the associated security group. IngressDirectionIp: Incoming Direction IP. AssociateEcsIp: Associate ECSIP. explain: In the CreateAllowList interface, SecurityGroupBindInfoObject BindMode and SecurityGroupId fields are required.
- security_
group_ strid - The security group id of the allow list.
- bind
Mode String - The schema for the associated security group. IngressDirectionIp: Incoming Direction IP. AssociateEcsIp: Associate ECSIP. explain: In the CreateAllowList interface, SecurityGroupBindInfoObject BindMode and SecurityGroupId fields are required.
- security
Group StringId - The security group id of the allow list.
Import
RDS AllowList can be imported using the id, e.g.
$ pulumi import volcengine:rds_mysql/allowlist:Allowlist default acl-d1fd76693bd54e658912e7337d5b****
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.