formal.ConnectorListenerLink
Explore with Pulumi AI
Registering a Connector Listener Link with Formal.
Create ConnectorListenerLink Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConnectorListenerLink(name: string, args: ConnectorListenerLinkArgs, opts?: CustomResourceOptions);
@overload
def ConnectorListenerLink(resource_name: str,
args: ConnectorListenerLinkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectorListenerLink(resource_name: str,
opts: Optional[ResourceOptions] = None,
connector_id: Optional[str] = None,
connector_listener_id: Optional[str] = None,
termination_protection: Optional[bool] = None)
func NewConnectorListenerLink(ctx *Context, name string, args ConnectorListenerLinkArgs, opts ...ResourceOption) (*ConnectorListenerLink, error)
public ConnectorListenerLink(string name, ConnectorListenerLinkArgs args, CustomResourceOptions? opts = null)
public ConnectorListenerLink(String name, ConnectorListenerLinkArgs args)
public ConnectorListenerLink(String name, ConnectorListenerLinkArgs args, CustomResourceOptions options)
type: formal:ConnectorListenerLink
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 ConnectorListenerLinkArgs
- 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 ConnectorListenerLinkArgs
- 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 ConnectorListenerLinkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectorListenerLinkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectorListenerLinkArgs
- 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 connectorListenerLinkResource = new Pulumi.ConnectorListenerLink("connectorListenerLinkResource", new()
{
ConnectorId = "string",
ConnectorListenerId = "string",
TerminationProtection = false,
});
example, err := formal.NewConnectorListenerLink(ctx, "connectorListenerLinkResource", &formal.ConnectorListenerLinkArgs{
ConnectorId: pulumi.String("string"),
ConnectorListenerId: pulumi.String("string"),
TerminationProtection: pulumi.Bool(false),
})
var connectorListenerLinkResource = new ConnectorListenerLink("connectorListenerLinkResource", ConnectorListenerLinkArgs.builder()
.connectorId("string")
.connectorListenerId("string")
.terminationProtection(false)
.build());
connector_listener_link_resource = formal.ConnectorListenerLink("connectorListenerLinkResource",
connector_id="string",
connector_listener_id="string",
termination_protection=False)
const connectorListenerLinkResource = new formal.ConnectorListenerLink("connectorListenerLinkResource", {
connectorId: "string",
connectorListenerId: "string",
terminationProtection: false,
});
type: formal:ConnectorListenerLink
properties:
connectorId: string
connectorListenerId: string
terminationProtection: false
ConnectorListenerLink 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 ConnectorListenerLink resource accepts the following input properties:
- Connector
Id string - The ID of the Connector Listener you want to link to a connector.
- Connector
Listener stringId - The ID of the Connector Listener you want to link to a connector.
- Termination
Protection bool - If set to true, this connector cannot be deleted.
- Connector
Id string - The ID of the Connector Listener you want to link to a connector.
- Connector
Listener stringId - The ID of the Connector Listener you want to link to a connector.
- Termination
Protection bool - If set to true, this connector cannot be deleted.
- connector
Id String - The ID of the Connector Listener you want to link to a connector.
- connector
Listener StringId - The ID of the Connector Listener you want to link to a connector.
- termination
Protection Boolean - If set to true, this connector cannot be deleted.
- connector
Id string - The ID of the Connector Listener you want to link to a connector.
- connector
Listener stringId - The ID of the Connector Listener you want to link to a connector.
- termination
Protection boolean - If set to true, this connector cannot be deleted.
- connector_
id str - The ID of the Connector Listener you want to link to a connector.
- connector_
listener_ strid - The ID of the Connector Listener you want to link to a connector.
- termination_
protection bool - If set to true, this connector cannot be deleted.
- connector
Id String - The ID of the Connector Listener you want to link to a connector.
- connector
Listener StringId - The ID of the Connector Listener you want to link to a connector.
- termination
Protection Boolean - If set to true, this connector cannot be deleted.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectorListenerLink resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ConnectorListenerLink Resource
Get an existing ConnectorListenerLink 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?: ConnectorListenerLinkState, opts?: CustomResourceOptions): ConnectorListenerLink
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
connector_id: Optional[str] = None,
connector_listener_id: Optional[str] = None,
termination_protection: Optional[bool] = None) -> ConnectorListenerLink
func GetConnectorListenerLink(ctx *Context, name string, id IDInput, state *ConnectorListenerLinkState, opts ...ResourceOption) (*ConnectorListenerLink, error)
public static ConnectorListenerLink Get(string name, Input<string> id, ConnectorListenerLinkState? state, CustomResourceOptions? opts = null)
public static ConnectorListenerLink get(String name, Output<String> id, ConnectorListenerLinkState state, CustomResourceOptions options)
resources: _: type: formal:ConnectorListenerLink 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.
- Connector
Id string - The ID of the Connector Listener you want to link to a connector.
- Connector
Listener stringId - The ID of the Connector Listener you want to link to a connector.
- Termination
Protection bool - If set to true, this connector cannot be deleted.
- Connector
Id string - The ID of the Connector Listener you want to link to a connector.
- Connector
Listener stringId - The ID of the Connector Listener you want to link to a connector.
- Termination
Protection bool - If set to true, this connector cannot be deleted.
- connector
Id String - The ID of the Connector Listener you want to link to a connector.
- connector
Listener StringId - The ID of the Connector Listener you want to link to a connector.
- termination
Protection Boolean - If set to true, this connector cannot be deleted.
- connector
Id string - The ID of the Connector Listener you want to link to a connector.
- connector
Listener stringId - The ID of the Connector Listener you want to link to a connector.
- termination
Protection boolean - If set to true, this connector cannot be deleted.
- connector_
id str - The ID of the Connector Listener you want to link to a connector.
- connector_
listener_ strid - The ID of the Connector Listener you want to link to a connector.
- termination_
protection bool - If set to true, this connector cannot be deleted.
- connector
Id String - The ID of the Connector Listener you want to link to a connector.
- connector
Listener StringId - The ID of the Connector Listener you want to link to a connector.
- termination
Protection Boolean - If set to true, this connector cannot be deleted.
Package Details
- Repository
- formal formalco/pulumi-formal
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
formal
Terraform Provider.