heroku.space.PeeringConnectionAccepter
Explore with Pulumi AI
Create PeeringConnectionAccepter Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PeeringConnectionAccepter(name: string, args: PeeringConnectionAccepterArgs, opts?: CustomResourceOptions);
@overload
def PeeringConnectionAccepter(resource_name: str,
args: PeeringConnectionAccepterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PeeringConnectionAccepter(resource_name: str,
opts: Optional[ResourceOptions] = None,
space: Optional[str] = None,
vpc_peering_connection_id: Optional[str] = None)
func NewPeeringConnectionAccepter(ctx *Context, name string, args PeeringConnectionAccepterArgs, opts ...ResourceOption) (*PeeringConnectionAccepter, error)
public PeeringConnectionAccepter(string name, PeeringConnectionAccepterArgs args, CustomResourceOptions? opts = null)
public PeeringConnectionAccepter(String name, PeeringConnectionAccepterArgs args)
public PeeringConnectionAccepter(String name, PeeringConnectionAccepterArgs args, CustomResourceOptions options)
type: heroku:space:PeeringConnectionAccepter
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 PeeringConnectionAccepterArgs
- 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 PeeringConnectionAccepterArgs
- 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 PeeringConnectionAccepterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PeeringConnectionAccepterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PeeringConnectionAccepterArgs
- 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 peeringConnectionAccepterResource = new Heroku.Space.PeeringConnectionAccepter("peeringConnectionAccepterResource", new()
{
Space = "string",
VpcPeeringConnectionId = "string",
});
example, err := space.NewPeeringConnectionAccepter(ctx, "peeringConnectionAccepterResource", &space.PeeringConnectionAccepterArgs{
Space: pulumi.String("string"),
VpcPeeringConnectionId: pulumi.String("string"),
})
var peeringConnectionAccepterResource = new PeeringConnectionAccepter("peeringConnectionAccepterResource", PeeringConnectionAccepterArgs.builder()
.space("string")
.vpcPeeringConnectionId("string")
.build());
peering_connection_accepter_resource = heroku.space.PeeringConnectionAccepter("peeringConnectionAccepterResource",
space="string",
vpc_peering_connection_id="string")
const peeringConnectionAccepterResource = new heroku.space.PeeringConnectionAccepter("peeringConnectionAccepterResource", {
space: "string",
vpcPeeringConnectionId: "string",
});
type: heroku:space:PeeringConnectionAccepter
properties:
space: string
vpcPeeringConnectionId: string
PeeringConnectionAccepter 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 PeeringConnectionAccepter resource accepts the following input properties:
- Space string
- Vpc
Peering stringConnection Id
- Space string
- Vpc
Peering stringConnection Id
- space String
- vpc
Peering StringConnection Id
- space string
- vpc
Peering stringConnection Id
- space str
- vpc_
peering_ strconnection_ id
- space String
- vpc
Peering StringConnection Id
Outputs
All input properties are implicitly available as output properties. Additionally, the PeeringConnectionAccepter resource produces the following output properties:
Look up Existing PeeringConnectionAccepter Resource
Get an existing PeeringConnectionAccepter 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?: PeeringConnectionAccepterState, opts?: CustomResourceOptions): PeeringConnectionAccepter
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
space: Optional[str] = None,
status: Optional[str] = None,
type: Optional[str] = None,
vpc_peering_connection_id: Optional[str] = None) -> PeeringConnectionAccepter
func GetPeeringConnectionAccepter(ctx *Context, name string, id IDInput, state *PeeringConnectionAccepterState, opts ...ResourceOption) (*PeeringConnectionAccepter, error)
public static PeeringConnectionAccepter Get(string name, Input<string> id, PeeringConnectionAccepterState? state, CustomResourceOptions? opts = null)
public static PeeringConnectionAccepter get(String name, Output<String> id, PeeringConnectionAccepterState 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.
- Space string
- Status string
- Type string
- Vpc
Peering stringConnection Id
- Space string
- Status string
- Type string
- Vpc
Peering stringConnection Id
- space String
- status String
- type String
- vpc
Peering StringConnection Id
- space string
- status string
- type string
- vpc
Peering stringConnection Id
- space str
- status str
- type str
- vpc_
peering_ strconnection_ id
- space String
- status String
- type String
- vpc
Peering StringConnection Id
Package Details
- Repository
- heroku pulumiverse/pulumi-heroku
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
heroku
Terraform Provider.