1. Packages
  2. Heroku
  3. API Docs
  4. space
  5. PeeringConnectionAccepter
Heroku v1.0.3 published on Friday, Apr 14, 2023 by pulumiverse - Marcel Arns

heroku.space.PeeringConnectionAccepter

Explore with Pulumi AI

heroku logo
Heroku v1.0.3 published on Friday, Apr 14, 2023 by pulumiverse - Marcel Arns

    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

    The PeeringConnectionAccepter resource accepts the following input properties:

    Outputs

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

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

    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.
    The following state arguments are supported:
    Space string
    Status string
    Type string
    VpcPeeringConnectionId string
    Space string
    Status string
    Type string
    VpcPeeringConnectionId string
    space String
    status String
    type String
    vpcPeeringConnectionId String
    space string
    status string
    type string
    vpcPeeringConnectionId string
    space String
    status String
    type String
    vpcPeeringConnectionId String

    Package Details

    Repository
    heroku pulumiverse/pulumi-heroku
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the heroku Terraform Provider.
    heroku logo
    Heroku v1.0.3 published on Friday, Apr 14, 2023 by pulumiverse - Marcel Arns