1. Packages
  2. Cloudamqp Provider
  3. API Docs
  4. VpcPeering
CloudAMQP v3.20.2 published on Tuesday, Oct 29, 2024 by Pulumi

cloudamqp.VpcPeering

Explore with Pulumi AI

cloudamqp logo
CloudAMQP v3.20.2 published on Tuesday, Oct 29, 2024 by Pulumi

    Import

    Not possible to import this resource.

    Create VpcPeering Resource

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

    Constructor syntax

    new VpcPeering(name: string, args: VpcPeeringArgs, opts?: CustomResourceOptions);
    @overload
    def VpcPeering(resource_name: str,
                   args: VpcPeeringArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpcPeering(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   peering_id: Optional[str] = None,
                   instance_id: Optional[int] = None,
                   sleep: Optional[int] = None,
                   timeout: Optional[int] = None,
                   vpc_id: Optional[str] = None)
    func NewVpcPeering(ctx *Context, name string, args VpcPeeringArgs, opts ...ResourceOption) (*VpcPeering, error)
    public VpcPeering(string name, VpcPeeringArgs args, CustomResourceOptions? opts = null)
    public VpcPeering(String name, VpcPeeringArgs args)
    public VpcPeering(String name, VpcPeeringArgs args, CustomResourceOptions options)
    
    type: cloudamqp:VpcPeering
    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 VpcPeeringArgs
    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 VpcPeeringArgs
    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 VpcPeeringArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcPeeringArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcPeeringArgs
    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 vpcPeeringResource = new CloudAmqp.VpcPeering("vpcPeeringResource", new()
    {
        PeeringId = "string",
        InstanceId = 0,
        Sleep = 0,
        Timeout = 0,
        VpcId = "string",
    });
    
    example, err := cloudamqp.NewVpcPeering(ctx, "vpcPeeringResource", &cloudamqp.VpcPeeringArgs{
    	PeeringId:  pulumi.String("string"),
    	InstanceId: pulumi.Int(0),
    	Sleep:      pulumi.Int(0),
    	Timeout:    pulumi.Int(0),
    	VpcId:      pulumi.String("string"),
    })
    
    var vpcPeeringResource = new VpcPeering("vpcPeeringResource", VpcPeeringArgs.builder()
        .peeringId("string")
        .instanceId(0)
        .sleep(0)
        .timeout(0)
        .vpcId("string")
        .build());
    
    vpc_peering_resource = cloudamqp.VpcPeering("vpcPeeringResource",
        peering_id="string",
        instance_id=0,
        sleep=0,
        timeout=0,
        vpc_id="string")
    
    const vpcPeeringResource = new cloudamqp.VpcPeering("vpcPeeringResource", {
        peeringId: "string",
        instanceId: 0,
        sleep: 0,
        timeout: 0,
        vpcId: "string",
    });
    
    type: cloudamqp:VpcPeering
    properties:
        instanceId: 0
        peeringId: string
        sleep: 0
        timeout: 0
        vpcId: string
    

    VpcPeering 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 VpcPeering resource accepts the following input properties:

    PeeringId string
    Peering identifier created by AW peering request.
    InstanceId int

    The CloudAMQP instance identifier.

    Deprecated: Changed from required to optional in v1.16.0, will be removed in next major version (v2.0)

    Sleep int
    Configurable sleep time (seconds) between retries for accepting or removing peering. Default set to 60 seconds.
    Timeout int
    Configurable timeout time (seconds) for accepting or removing peering. Default set to 3600 seconds.
    VpcId string

    The managed VPC identifier.

    Note: Introduced as optional in version v1.16.0, will be required in next major version (v2.0)

    PeeringId string
    Peering identifier created by AW peering request.
    InstanceId int

    The CloudAMQP instance identifier.

    Deprecated: Changed from required to optional in v1.16.0, will be removed in next major version (v2.0)

    Sleep int
    Configurable sleep time (seconds) between retries for accepting or removing peering. Default set to 60 seconds.
    Timeout int
    Configurable timeout time (seconds) for accepting or removing peering. Default set to 3600 seconds.
    VpcId string

    The managed VPC identifier.

    Note: Introduced as optional in version v1.16.0, will be required in next major version (v2.0)

    peeringId String
    Peering identifier created by AW peering request.
    instanceId Integer

    The CloudAMQP instance identifier.

    Deprecated: Changed from required to optional in v1.16.0, will be removed in next major version (v2.0)

    sleep Integer
    Configurable sleep time (seconds) between retries for accepting or removing peering. Default set to 60 seconds.
    timeout Integer
    Configurable timeout time (seconds) for accepting or removing peering. Default set to 3600 seconds.
    vpcId String

    The managed VPC identifier.

    Note: Introduced as optional in version v1.16.0, will be required in next major version (v2.0)

    peeringId string
    Peering identifier created by AW peering request.
    instanceId number

    The CloudAMQP instance identifier.

    Deprecated: Changed from required to optional in v1.16.0, will be removed in next major version (v2.0)

    sleep number
    Configurable sleep time (seconds) between retries for accepting or removing peering. Default set to 60 seconds.
    timeout number
    Configurable timeout time (seconds) for accepting or removing peering. Default set to 3600 seconds.
    vpcId string

    The managed VPC identifier.

    Note: Introduced as optional in version v1.16.0, will be required in next major version (v2.0)

    peering_id str
    Peering identifier created by AW peering request.
    instance_id int

    The CloudAMQP instance identifier.

    Deprecated: Changed from required to optional in v1.16.0, will be removed in next major version (v2.0)

    sleep int
    Configurable sleep time (seconds) between retries for accepting or removing peering. Default set to 60 seconds.
    timeout int
    Configurable timeout time (seconds) for accepting or removing peering. Default set to 3600 seconds.
    vpc_id str

    The managed VPC identifier.

    Note: Introduced as optional in version v1.16.0, will be required in next major version (v2.0)

    peeringId String
    Peering identifier created by AW peering request.
    instanceId Number

    The CloudAMQP instance identifier.

    Deprecated: Changed from required to optional in v1.16.0, will be removed in next major version (v2.0)

    sleep Number
    Configurable sleep time (seconds) between retries for accepting or removing peering. Default set to 60 seconds.
    timeout Number
    Configurable timeout time (seconds) for accepting or removing peering. Default set to 3600 seconds.
    vpcId String

    The managed VPC identifier.

    Note: Introduced as optional in version v1.16.0, will be required in next major version (v2.0)

    Outputs

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

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

    Look up Existing VpcPeering Resource

    Get an existing VpcPeering 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?: VpcPeeringState, opts?: CustomResourceOptions): VpcPeering
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            instance_id: Optional[int] = None,
            peering_id: Optional[str] = None,
            sleep: Optional[int] = None,
            status: Optional[str] = None,
            timeout: Optional[int] = None,
            vpc_id: Optional[str] = None) -> VpcPeering
    func GetVpcPeering(ctx *Context, name string, id IDInput, state *VpcPeeringState, opts ...ResourceOption) (*VpcPeering, error)
    public static VpcPeering Get(string name, Input<string> id, VpcPeeringState? state, CustomResourceOptions? opts = null)
    public static VpcPeering get(String name, Output<String> id, VpcPeeringState 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:
    InstanceId int

    The CloudAMQP instance identifier.

    Deprecated: Changed from required to optional in v1.16.0, will be removed in next major version (v2.0)

    PeeringId string
    Peering identifier created by AW peering request.
    Sleep int
    Configurable sleep time (seconds) between retries for accepting or removing peering. Default set to 60 seconds.
    Status string
    VPC peering status
    Timeout int
    Configurable timeout time (seconds) for accepting or removing peering. Default set to 3600 seconds.
    VpcId string

    The managed VPC identifier.

    Note: Introduced as optional in version v1.16.0, will be required in next major version (v2.0)

    InstanceId int

    The CloudAMQP instance identifier.

    Deprecated: Changed from required to optional in v1.16.0, will be removed in next major version (v2.0)

    PeeringId string
    Peering identifier created by AW peering request.
    Sleep int
    Configurable sleep time (seconds) between retries for accepting or removing peering. Default set to 60 seconds.
    Status string
    VPC peering status
    Timeout int
    Configurable timeout time (seconds) for accepting or removing peering. Default set to 3600 seconds.
    VpcId string

    The managed VPC identifier.

    Note: Introduced as optional in version v1.16.0, will be required in next major version (v2.0)

    instanceId Integer

    The CloudAMQP instance identifier.

    Deprecated: Changed from required to optional in v1.16.0, will be removed in next major version (v2.0)

    peeringId String
    Peering identifier created by AW peering request.
    sleep Integer
    Configurable sleep time (seconds) between retries for accepting or removing peering. Default set to 60 seconds.
    status String
    VPC peering status
    timeout Integer
    Configurable timeout time (seconds) for accepting or removing peering. Default set to 3600 seconds.
    vpcId String

    The managed VPC identifier.

    Note: Introduced as optional in version v1.16.0, will be required in next major version (v2.0)

    instanceId number

    The CloudAMQP instance identifier.

    Deprecated: Changed from required to optional in v1.16.0, will be removed in next major version (v2.0)

    peeringId string
    Peering identifier created by AW peering request.
    sleep number
    Configurable sleep time (seconds) between retries for accepting or removing peering. Default set to 60 seconds.
    status string
    VPC peering status
    timeout number
    Configurable timeout time (seconds) for accepting or removing peering. Default set to 3600 seconds.
    vpcId string

    The managed VPC identifier.

    Note: Introduced as optional in version v1.16.0, will be required in next major version (v2.0)

    instance_id int

    The CloudAMQP instance identifier.

    Deprecated: Changed from required to optional in v1.16.0, will be removed in next major version (v2.0)

    peering_id str
    Peering identifier created by AW peering request.
    sleep int
    Configurable sleep time (seconds) between retries for accepting or removing peering. Default set to 60 seconds.
    status str
    VPC peering status
    timeout int
    Configurable timeout time (seconds) for accepting or removing peering. Default set to 3600 seconds.
    vpc_id str

    The managed VPC identifier.

    Note: Introduced as optional in version v1.16.0, will be required in next major version (v2.0)

    instanceId Number

    The CloudAMQP instance identifier.

    Deprecated: Changed from required to optional in v1.16.0, will be removed in next major version (v2.0)

    peeringId String
    Peering identifier created by AW peering request.
    sleep Number
    Configurable sleep time (seconds) between retries for accepting or removing peering. Default set to 60 seconds.
    status String
    VPC peering status
    timeout Number
    Configurable timeout time (seconds) for accepting or removing peering. Default set to 3600 seconds.
    vpcId String

    The managed VPC identifier.

    Note: Introduced as optional in version v1.16.0, will be required in next major version (v2.0)

    Package Details

    Repository
    CloudAMQP pulumi/pulumi-cloudamqp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudamqp Terraform Provider.
    cloudamqp logo
    CloudAMQP v3.20.2 published on Tuesday, Oct 29, 2024 by Pulumi