1. Packages
  2. Packages
  3. Rootly
  4. API Docs
  5. FormFieldPlacementCondition
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq
rootly logo
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq

    Import

    rootly.FormFieldPlacementCondition can be imported using the import command.

    $ pulumi import rootly:index/formFieldPlacementCondition:FormFieldPlacementCondition primary a816421c-6ceb-481a-87c4-585e47451f24
    

    Or using an import block.

    Locate the resource id in the web app, or retrieve it by listing resources through the API if it’s not visible in the web app.

    HCL can be generated from the import block using the -generate-config-out flag.

    pulumi preview -generate-config-out=generated.tf
    

    Create FormFieldPlacementCondition Resource

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

    Constructor syntax

    new FormFieldPlacementCondition(name: string, args: FormFieldPlacementConditionArgs, opts?: CustomResourceOptions);
    @overload
    def FormFieldPlacementCondition(resource_name: str,
                                    args: FormFieldPlacementConditionArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def FormFieldPlacementCondition(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    form_field_id: Optional[str] = None,
                                    values: Optional[Sequence[str]] = None,
                                    comparison: Optional[str] = None,
                                    conditioned: Optional[str] = None,
                                    form_field_placement_id: Optional[str] = None,
                                    position: Optional[int] = None)
    func NewFormFieldPlacementCondition(ctx *Context, name string, args FormFieldPlacementConditionArgs, opts ...ResourceOption) (*FormFieldPlacementCondition, error)
    public FormFieldPlacementCondition(string name, FormFieldPlacementConditionArgs args, CustomResourceOptions? opts = null)
    public FormFieldPlacementCondition(String name, FormFieldPlacementConditionArgs args)
    public FormFieldPlacementCondition(String name, FormFieldPlacementConditionArgs args, CustomResourceOptions options)
    
    type: rootly:FormFieldPlacementCondition
    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 FormFieldPlacementConditionArgs
    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 FormFieldPlacementConditionArgs
    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 FormFieldPlacementConditionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FormFieldPlacementConditionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FormFieldPlacementConditionArgs
    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 formFieldPlacementConditionResource = new Rootly.FormFieldPlacementCondition("formFieldPlacementConditionResource", new()
    {
        FormFieldId = "string",
        Values = new[]
        {
            "string",
        },
        Comparison = "string",
        Conditioned = "string",
        FormFieldPlacementId = "string",
        Position = 0,
    });
    
    example, err := rootly.NewFormFieldPlacementCondition(ctx, "formFieldPlacementConditionResource", &rootly.FormFieldPlacementConditionArgs{
    	FormFieldId: pulumi.String("string"),
    	Values: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Comparison:           pulumi.String("string"),
    	Conditioned:          pulumi.String("string"),
    	FormFieldPlacementId: pulumi.String("string"),
    	Position:             pulumi.Int(0),
    })
    
    var formFieldPlacementConditionResource = new FormFieldPlacementCondition("formFieldPlacementConditionResource", FormFieldPlacementConditionArgs.builder()
        .formFieldId("string")
        .values("string")
        .comparison("string")
        .conditioned("string")
        .formFieldPlacementId("string")
        .position(0)
        .build());
    
    form_field_placement_condition_resource = rootly.FormFieldPlacementCondition("formFieldPlacementConditionResource",
        form_field_id="string",
        values=["string"],
        comparison="string",
        conditioned="string",
        form_field_placement_id="string",
        position=0)
    
    const formFieldPlacementConditionResource = new rootly.FormFieldPlacementCondition("formFieldPlacementConditionResource", {
        formFieldId: "string",
        values: ["string"],
        comparison: "string",
        conditioned: "string",
        formFieldPlacementId: "string",
        position: 0,
    });
    
    type: rootly:FormFieldPlacementCondition
    properties:
        comparison: string
        conditioned: string
        formFieldId: string
        formFieldPlacementId: string
        position: 0
        values:
            - string
    

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

    FormFieldId string
    The condition field.
    Values List<string>
    The values for comparison.
    Comparison string
    The condition comparison.. Value must be one of equal, notEqual, isSet, isNotSet.
    Conditioned string
    The resource or attribute the condition applies.. Value must be one of placement, required.
    FormFieldPlacementId string
    The form field placement this condition applies.
    Position int
    The condition position.
    FormFieldId string
    The condition field.
    Values []string
    The values for comparison.
    Comparison string
    The condition comparison.. Value must be one of equal, notEqual, isSet, isNotSet.
    Conditioned string
    The resource or attribute the condition applies.. Value must be one of placement, required.
    FormFieldPlacementId string
    The form field placement this condition applies.
    Position int
    The condition position.
    formFieldId String
    The condition field.
    values List<String>
    The values for comparison.
    comparison String
    The condition comparison.. Value must be one of equal, notEqual, isSet, isNotSet.
    conditioned String
    The resource or attribute the condition applies.. Value must be one of placement, required.
    formFieldPlacementId String
    The form field placement this condition applies.
    position Integer
    The condition position.
    formFieldId string
    The condition field.
    values string[]
    The values for comparison.
    comparison string
    The condition comparison.. Value must be one of equal, notEqual, isSet, isNotSet.
    conditioned string
    The resource or attribute the condition applies.. Value must be one of placement, required.
    formFieldPlacementId string
    The form field placement this condition applies.
    position number
    The condition position.
    form_field_id str
    The condition field.
    values Sequence[str]
    The values for comparison.
    comparison str
    The condition comparison.. Value must be one of equal, notEqual, isSet, isNotSet.
    conditioned str
    The resource or attribute the condition applies.. Value must be one of placement, required.
    form_field_placement_id str
    The form field placement this condition applies.
    position int
    The condition position.
    formFieldId String
    The condition field.
    values List<String>
    The values for comparison.
    comparison String
    The condition comparison.. Value must be one of equal, notEqual, isSet, isNotSet.
    conditioned String
    The resource or attribute the condition applies.. Value must be one of placement, required.
    formFieldPlacementId String
    The form field placement this condition applies.
    position Number
    The condition position.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FormFieldPlacementCondition 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 FormFieldPlacementCondition Resource

    Get an existing FormFieldPlacementCondition 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?: FormFieldPlacementConditionState, opts?: CustomResourceOptions): FormFieldPlacementCondition
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comparison: Optional[str] = None,
            conditioned: Optional[str] = None,
            form_field_id: Optional[str] = None,
            form_field_placement_id: Optional[str] = None,
            position: Optional[int] = None,
            values: Optional[Sequence[str]] = None) -> FormFieldPlacementCondition
    func GetFormFieldPlacementCondition(ctx *Context, name string, id IDInput, state *FormFieldPlacementConditionState, opts ...ResourceOption) (*FormFieldPlacementCondition, error)
    public static FormFieldPlacementCondition Get(string name, Input<string> id, FormFieldPlacementConditionState? state, CustomResourceOptions? opts = null)
    public static FormFieldPlacementCondition get(String name, Output<String> id, FormFieldPlacementConditionState state, CustomResourceOptions options)
    resources:  _:    type: rootly:FormFieldPlacementCondition    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.
    The following state arguments are supported:
    Comparison string
    The condition comparison.. Value must be one of equal, notEqual, isSet, isNotSet.
    Conditioned string
    The resource or attribute the condition applies.. Value must be one of placement, required.
    FormFieldId string
    The condition field.
    FormFieldPlacementId string
    The form field placement this condition applies.
    Position int
    The condition position.
    Values List<string>
    The values for comparison.
    Comparison string
    The condition comparison.. Value must be one of equal, notEqual, isSet, isNotSet.
    Conditioned string
    The resource or attribute the condition applies.. Value must be one of placement, required.
    FormFieldId string
    The condition field.
    FormFieldPlacementId string
    The form field placement this condition applies.
    Position int
    The condition position.
    Values []string
    The values for comparison.
    comparison String
    The condition comparison.. Value must be one of equal, notEqual, isSet, isNotSet.
    conditioned String
    The resource or attribute the condition applies.. Value must be one of placement, required.
    formFieldId String
    The condition field.
    formFieldPlacementId String
    The form field placement this condition applies.
    position Integer
    The condition position.
    values List<String>
    The values for comparison.
    comparison string
    The condition comparison.. Value must be one of equal, notEqual, isSet, isNotSet.
    conditioned string
    The resource or attribute the condition applies.. Value must be one of placement, required.
    formFieldId string
    The condition field.
    formFieldPlacementId string
    The form field placement this condition applies.
    position number
    The condition position.
    values string[]
    The values for comparison.
    comparison str
    The condition comparison.. Value must be one of equal, notEqual, isSet, isNotSet.
    conditioned str
    The resource or attribute the condition applies.. Value must be one of placement, required.
    form_field_id str
    The condition field.
    form_field_placement_id str
    The form field placement this condition applies.
    position int
    The condition position.
    values Sequence[str]
    The values for comparison.
    comparison String
    The condition comparison.. Value must be one of equal, notEqual, isSet, isNotSet.
    conditioned String
    The resource or attribute the condition applies.. Value must be one of placement, required.
    formFieldId String
    The condition field.
    formFieldPlacementId String
    The form field placement this condition applies.
    position Number
    The condition position.
    values List<String>
    The values for comparison.

    Package Details

    Repository
    rootly rootlyhq/pulumi-rootly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rootly Terraform Provider.
    rootly logo
    Viewing docs for Rootly v3.3.0
    published on Thursday, May 7, 2026 by rootlyhq
      Try Pulumi Cloud free. Your team will thank you.