cloudamqp.VpcPeering
Explore with Pulumi AI
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:
- Peering
Id string - 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 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 string - 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 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 String - Peering identifier created by AW peering request.
- instance
Id 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.
- vpc
Id 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 string - Peering identifier created by AW peering request.
- instance
Id 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.
- vpc
Id 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)
- peering
Id String - Peering identifier created by AW peering request.
- instance
Id 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.
- vpc
Id 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:
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.
- 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 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.
- Vpc
Id 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 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.
- Vpc
Id 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 Integer 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 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.
- vpc
Id 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 number 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 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.
- vpc
Id 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)
- instance
Id Number 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 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.
- vpc
Id 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.