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:
- Account
Id string - Account identifier tag.
- Email
Domain string - Email domain of the new SSO connector
- Begin
Verification bool - Begin the verification process after creation
- Enabled bool
- SSO Connector enabled state
- Use
Fedramp boolLanguage - Controls the display of FedRAMP language to the user during SSO login
- Account
Id string - Account identifier tag.
- Email
Domain string - Email domain of the new SSO connector
- Begin
Verification bool - Begin the verification process after creation
- Enabled bool
- SSO Connector enabled state
- Use
Fedramp boolLanguage - Controls the display of FedRAMP language to the user during SSO login
- account
Id String - Account identifier tag.
- email
Domain String - Email domain of the new SSO connector
- begin
Verification Boolean - Begin the verification process after creation
- enabled Boolean
- SSO Connector enabled state
- use
Fedramp BooleanLanguage - Controls the display of FedRAMP language to the user during SSO login
- account
Id string - Account identifier tag.
- email
Domain string - Email domain of the new SSO connector
- begin
Verification boolean - Begin the verification process after creation
- enabled boolean
- SSO Connector enabled state
- use
Fedramp booleanLanguage - 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_ boollanguage - Controls the display of FedRAMP language to the user during SSO login
- account
Id String - Account identifier tag.
- email
Domain String - Email domain of the new SSO connector
- begin
Verification Boolean - Begin the verification process after creation
- enabled Boolean
- SSO Connector enabled state
- use
Fedramp BooleanLanguage - 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:
- Created
On string - Timestamp for the creation of the SSO connector
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
On string - Timestamp for the last update of the SSO connector
- Verification
Sso
Connector Verification
- Created
On string - Timestamp for the creation of the SSO connector
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
On string - Timestamp for the last update of the SSO connector
- Verification
Sso
Connector Verification
- created
On String - Timestamp for the creation of the SSO connector
- id String
- The provider-assigned unique ID for this managed resource.
- updated
On String - Timestamp for the last update of the SSO connector
- verification
Sso
Connector Verification
- created
On string - Timestamp for the creation of the SSO connector
- id string
- The provider-assigned unique ID for this managed resource.
- updated
On string - Timestamp for the last update of the SSO connector
- verification
Sso
Connector Verification
- 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
Sso
Connector Verification
- created
On String - Timestamp for the creation of the SSO connector
- id String
- The provider-assigned unique ID for this managed resource.
- updated
On 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) -> SsoConnectorfunc 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.
- Account
Id string - Account identifier tag.
- Begin
Verification bool - Begin the verification process after creation
- Created
On string - Timestamp for the creation of the SSO connector
- Email
Domain string - Email domain of the new SSO connector
- Enabled bool
- SSO Connector enabled state
- Updated
On string - Timestamp for the last update of the SSO connector
- Use
Fedramp boolLanguage - Controls the display of FedRAMP language to the user during SSO login
- Verification
Sso
Connector Verification
- Account
Id string - Account identifier tag.
- Begin
Verification bool - Begin the verification process after creation
- Created
On string - Timestamp for the creation of the SSO connector
- Email
Domain string - Email domain of the new SSO connector
- Enabled bool
- SSO Connector enabled state
- Updated
On string - Timestamp for the last update of the SSO connector
- Use
Fedramp boolLanguage - Controls the display of FedRAMP language to the user during SSO login
- Verification
Sso
Connector Verification Args
- account
Id String - Account identifier tag.
- begin
Verification Boolean - Begin the verification process after creation
- created
On String - Timestamp for the creation of the SSO connector
- email
Domain String - Email domain of the new SSO connector
- enabled Boolean
- SSO Connector enabled state
- updated
On String - Timestamp for the last update of the SSO connector
- use
Fedramp BooleanLanguage - Controls the display of FedRAMP language to the user during SSO login
- verification
Sso
Connector Verification
- account
Id string - Account identifier tag.
- begin
Verification boolean - Begin the verification process after creation
- created
On string - Timestamp for the creation of the SSO connector
- email
Domain string - Email domain of the new SSO connector
- enabled boolean
- SSO Connector enabled state
- updated
On string - Timestamp for the last update of the SSO connector
- use
Fedramp booleanLanguage - Controls the display of FedRAMP language to the user during SSO login
- verification
Sso
Connector Verification
- 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_ boollanguage - Controls the display of FedRAMP language to the user during SSO login
- verification
Sso
Connector Verification Args
- account
Id String - Account identifier tag.
- begin
Verification Boolean - Begin the verification process after creation
- created
On String - Timestamp for the creation of the SSO connector
- email
Domain String - Email domain of the new SSO connector
- enabled Boolean
- SSO Connector enabled state
- updated
On String - Timestamp for the last update of the SSO connector
- use
Fedramp BooleanLanguage - Controls the display of FedRAMP language to the user during SSO login
- verification Property Map
Supporting Types
SsoConnectorVerification, SsoConnectorVerificationArgs
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
cloudflareTerraform Provider.
