1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. SsoConnector
Cloudflare v6.12.0 published on Wednesday, Dec 24, 2025 by Pulumi
cloudflare logo
Cloudflare v6.12.0 published on Wednesday, Dec 24, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleSsoConnector = new cloudflare.SsoConnector("example_sso_connector", {
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        emailDomain: "example.com",
        beginVerification: true,
        useFedrampLanguage: false,
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_sso_connector = cloudflare.SsoConnector("example_sso_connector",
        account_id="023e105f4ecef8ad9ca31a8372d0c353",
        email_domain="example.com",
        begin_verification=True,
        use_fedramp_language=False)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.NewSsoConnector(ctx, "example_sso_connector", &cloudflare.SsoConnectorArgs{
    			AccountId:          pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
    			EmailDomain:        pulumi.String("example.com"),
    			BeginVerification:  pulumi.Bool(true),
    			UseFedrampLanguage: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleSsoConnector = new Cloudflare.SsoConnector("example_sso_connector", new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            EmailDomain = "example.com",
            BeginVerification = true,
            UseFedrampLanguage = false,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.SsoConnector;
    import com.pulumi.cloudflare.SsoConnectorArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleSsoConnector = new SsoConnector("exampleSsoConnector", SsoConnectorArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .emailDomain("example.com")
                .beginVerification(true)
                .useFedrampLanguage(false)
                .build());
    
        }
    }
    
    resources:
      exampleSsoConnector:
        type: cloudflare:SsoConnector
        name: example_sso_connector
        properties:
          accountId: 023e105f4ecef8ad9ca31a8372d0c353
          emailDomain: example.com
          beginVerification: true
          useFedrampLanguage: false
    

    Create SsoConnector Resource

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

    Constructor syntax

    new SsoConnector(name: string, args: SsoConnectorArgs, opts?: CustomResourceOptions);
    @overload
    def SsoConnector(resource_name: str,
                     args: SsoConnectorArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def SsoConnector(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     account_id: Optional[str] = None,
                     email_domain: Optional[str] = None,
                     begin_verification: Optional[bool] = None,
                     enabled: Optional[bool] = None,
                     use_fedramp_language: Optional[bool] = None)
    func NewSsoConnector(ctx *Context, name string, args SsoConnectorArgs, opts ...ResourceOption) (*SsoConnector, error)
    public SsoConnector(string name, SsoConnectorArgs args, CustomResourceOptions? opts = null)
    public SsoConnector(String name, SsoConnectorArgs args)
    public SsoConnector(String name, SsoConnectorArgs args, CustomResourceOptions options)
    
    type: cloudflare:SsoConnector
    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 SsoConnectorArgs
    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 SsoConnectorArgs
    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 SsoConnectorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SsoConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SsoConnectorArgs
    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 ssoConnectorResource = new Cloudflare.SsoConnector("ssoConnectorResource", new()
    {
        AccountId = "string",
        EmailDomain = "string",
        BeginVerification = false,
        Enabled = false,
        UseFedrampLanguage = false,
    });
    
    example, err := cloudflare.NewSsoConnector(ctx, "ssoConnectorResource", &cloudflare.SsoConnectorArgs{
    	AccountId:          pulumi.String("string"),
    	EmailDomain:        pulumi.String("string"),
    	BeginVerification:  pulumi.Bool(false),
    	Enabled:            pulumi.Bool(false),
    	UseFedrampLanguage: pulumi.Bool(false),
    })
    
    var ssoConnectorResource = new SsoConnector("ssoConnectorResource", SsoConnectorArgs.builder()
        .accountId("string")
        .emailDomain("string")
        .beginVerification(false)
        .enabled(false)
        .useFedrampLanguage(false)
        .build());
    
    sso_connector_resource = cloudflare.SsoConnector("ssoConnectorResource",
        account_id="string",
        email_domain="string",
        begin_verification=False,
        enabled=False,
        use_fedramp_language=False)
    
    const ssoConnectorResource = new cloudflare.SsoConnector("ssoConnectorResource", {
        accountId: "string",
        emailDomain: "string",
        beginVerification: false,
        enabled: false,
        useFedrampLanguage: false,
    });
    
    type: cloudflare:SsoConnector
    properties:
        accountId: string
        beginVerification: false
        emailDomain: string
        enabled: false
        useFedrampLanguage: false
    

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

    AccountId string
    Account identifier tag.
    EmailDomain string
    Email domain of the new SSO connector
    BeginVerification bool
    Begin the verification process after creation
    Enabled bool
    SSO Connector enabled state
    UseFedrampLanguage bool
    Controls the display of FedRAMP language to the user during SSO login
    AccountId string
    Account identifier tag.
    EmailDomain string
    Email domain of the new SSO connector
    BeginVerification bool
    Begin the verification process after creation
    Enabled bool
    SSO Connector enabled state
    UseFedrampLanguage bool
    Controls the display of FedRAMP language to the user during SSO login
    accountId String
    Account identifier tag.
    emailDomain String
    Email domain of the new SSO connector
    beginVerification Boolean
    Begin the verification process after creation
    enabled Boolean
    SSO Connector enabled state
    useFedrampLanguage Boolean
    Controls the display of FedRAMP language to the user during SSO login
    accountId string
    Account identifier tag.
    emailDomain string
    Email domain of the new SSO connector
    beginVerification boolean
    Begin the verification process after creation
    enabled boolean
    SSO Connector enabled state
    useFedrampLanguage boolean
    Controls the display of FedRAMP language to the user during SSO login
    account_id str
    Account identifier tag.
    email_domain str
    Email domain of the new SSO connector
    begin_verification bool
    Begin the verification process after creation
    enabled bool
    SSO Connector enabled state
    use_fedramp_language bool
    Controls the display of FedRAMP language to the user during SSO login
    accountId String
    Account identifier tag.
    emailDomain String
    Email domain of the new SSO connector
    beginVerification Boolean
    Begin the verification process after creation
    enabled Boolean
    SSO Connector enabled state
    useFedrampLanguage Boolean
    Controls the display of FedRAMP language to the user during SSO login

    Outputs

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

    CreatedOn string
    Timestamp for the creation of the SSO connector
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedOn string
    Timestamp for the last update of the SSO connector
    Verification SsoConnectorVerification
    CreatedOn string
    Timestamp for the creation of the SSO connector
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedOn string
    Timestamp for the last update of the SSO connector
    Verification SsoConnectorVerification
    createdOn String
    Timestamp for the creation of the SSO connector
    id String
    The provider-assigned unique ID for this managed resource.
    updatedOn String
    Timestamp for the last update of the SSO connector
    verification SsoConnectorVerification
    createdOn string
    Timestamp for the creation of the SSO connector
    id string
    The provider-assigned unique ID for this managed resource.
    updatedOn string
    Timestamp for the last update of the SSO connector
    verification SsoConnectorVerification
    created_on str
    Timestamp for the creation of the SSO connector
    id str
    The provider-assigned unique ID for this managed resource.
    updated_on str
    Timestamp for the last update of the SSO connector
    verification SsoConnectorVerification
    createdOn String
    Timestamp for the creation of the SSO connector
    id String
    The provider-assigned unique ID for this managed resource.
    updatedOn String
    Timestamp for the last update of the SSO connector
    verification Property Map

    Look up Existing SsoConnector Resource

    Get an existing SsoConnector 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?: SsoConnectorState, opts?: CustomResourceOptions): SsoConnector
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            begin_verification: Optional[bool] = None,
            created_on: Optional[str] = None,
            email_domain: Optional[str] = None,
            enabled: Optional[bool] = None,
            updated_on: Optional[str] = None,
            use_fedramp_language: Optional[bool] = None,
            verification: Optional[SsoConnectorVerificationArgs] = None) -> SsoConnector
    func GetSsoConnector(ctx *Context, name string, id IDInput, state *SsoConnectorState, opts ...ResourceOption) (*SsoConnector, error)
    public static SsoConnector Get(string name, Input<string> id, SsoConnectorState? state, CustomResourceOptions? opts = null)
    public static SsoConnector get(String name, Output<String> id, SsoConnectorState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:SsoConnector    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:
    AccountId string
    Account identifier tag.
    BeginVerification bool
    Begin the verification process after creation
    CreatedOn string
    Timestamp for the creation of the SSO connector
    EmailDomain string
    Email domain of the new SSO connector
    Enabled bool
    SSO Connector enabled state
    UpdatedOn string
    Timestamp for the last update of the SSO connector
    UseFedrampLanguage bool
    Controls the display of FedRAMP language to the user during SSO login
    Verification SsoConnectorVerification
    AccountId string
    Account identifier tag.
    BeginVerification bool
    Begin the verification process after creation
    CreatedOn string
    Timestamp for the creation of the SSO connector
    EmailDomain string
    Email domain of the new SSO connector
    Enabled bool
    SSO Connector enabled state
    UpdatedOn string
    Timestamp for the last update of the SSO connector
    UseFedrampLanguage bool
    Controls the display of FedRAMP language to the user during SSO login
    Verification SsoConnectorVerificationArgs
    accountId String
    Account identifier tag.
    beginVerification Boolean
    Begin the verification process after creation
    createdOn String
    Timestamp for the creation of the SSO connector
    emailDomain String
    Email domain of the new SSO connector
    enabled Boolean
    SSO Connector enabled state
    updatedOn String
    Timestamp for the last update of the SSO connector
    useFedrampLanguage Boolean
    Controls the display of FedRAMP language to the user during SSO login
    verification SsoConnectorVerification
    accountId string
    Account identifier tag.
    beginVerification boolean
    Begin the verification process after creation
    createdOn string
    Timestamp for the creation of the SSO connector
    emailDomain string
    Email domain of the new SSO connector
    enabled boolean
    SSO Connector enabled state
    updatedOn string
    Timestamp for the last update of the SSO connector
    useFedrampLanguage boolean
    Controls the display of FedRAMP language to the user during SSO login
    verification SsoConnectorVerification
    account_id str
    Account identifier tag.
    begin_verification bool
    Begin the verification process after creation
    created_on str
    Timestamp for the creation of the SSO connector
    email_domain str
    Email domain of the new SSO connector
    enabled bool
    SSO Connector enabled state
    updated_on str
    Timestamp for the last update of the SSO connector
    use_fedramp_language bool
    Controls the display of FedRAMP language to the user during SSO login
    verification SsoConnectorVerificationArgs
    accountId String
    Account identifier tag.
    beginVerification Boolean
    Begin the verification process after creation
    createdOn String
    Timestamp for the creation of the SSO connector
    emailDomain String
    Email domain of the new SSO connector
    enabled Boolean
    SSO Connector enabled state
    updatedOn String
    Timestamp for the last update of the SSO connector
    useFedrampLanguage Boolean
    Controls the display of FedRAMP language to the user during SSO login
    verification Property Map

    Supporting Types

    SsoConnectorVerification, SsoConnectorVerificationArgs

    Code string
    DNS verification code. Add this entire string to the DNS TXT record of the email domain to validate ownership.
    Status string
    The status of the verification code from the verification process. Available values: "awaiting", "pending", "failed", "verified".
    Code string
    DNS verification code. Add this entire string to the DNS TXT record of the email domain to validate ownership.
    Status string
    The status of the verification code from the verification process. Available values: "awaiting", "pending", "failed", "verified".
    code String
    DNS verification code. Add this entire string to the DNS TXT record of the email domain to validate ownership.
    status String
    The status of the verification code from the verification process. Available values: "awaiting", "pending", "failed", "verified".
    code string
    DNS verification code. Add this entire string to the DNS TXT record of the email domain to validate ownership.
    status string
    The status of the verification code from the verification process. Available values: "awaiting", "pending", "failed", "verified".
    code str
    DNS verification code. Add this entire string to the DNS TXT record of the email domain to validate ownership.
    status str
    The status of the verification code from the verification process. Available values: "awaiting", "pending", "failed", "verified".
    code String
    DNS verification code. Add this entire string to the DNS TXT record of the email domain to validate ownership.
    status String
    The status of the verification code from the verification process. Available values: "awaiting", "pending", "failed", "verified".

    Import

    $ pulumi import cloudflare:index/ssoConnector:SsoConnector example '<account_id>/<sso_connector_id>'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.12.0 published on Wednesday, Dec 24, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate