1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. AccessBookmark
Viewing docs for Cloudflare v4.16.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v4.16.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Import

     $ pulumi import cloudflare:index/accessBookmark:AccessBookmark example <account_id>/<bookmark_id>
    

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var myBookmarkApp = new Cloudflare.AccessBookmark("myBookmarkApp", new()
        {
            AccountId = "f037e56e89293a057740de681ac9abbe",
            AppLauncherVisible = true,
            Domain = "example.com",
            LogoUrl = "https://example.com/example.png",
            Name = "My Bookmark App",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v4/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.NewAccessBookmark(ctx, "myBookmarkApp", &cloudflare.AccessBookmarkArgs{
    			AccountId:          pulumi.String("f037e56e89293a057740de681ac9abbe"),
    			AppLauncherVisible: pulumi.Bool(true),
    			Domain:             pulumi.String("example.com"),
    			LogoUrl:            pulumi.String("https://example.com/example.png"),
    			Name:               pulumi.String("My Bookmark App"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.AccessBookmark;
    import com.pulumi.cloudflare.AccessBookmarkArgs;
    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 myBookmarkApp = new AccessBookmark("myBookmarkApp", AccessBookmarkArgs.builder()        
                .accountId("f037e56e89293a057740de681ac9abbe")
                .appLauncherVisible(true)
                .domain("example.com")
                .logoUrl("https://example.com/example.png")
                .name("My Bookmark App")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const myBookmarkApp = new cloudflare.AccessBookmark("myBookmarkApp", {
        accountId: "f037e56e89293a057740de681ac9abbe",
        appLauncherVisible: true,
        domain: "example.com",
        logoUrl: "https://example.com/example.png",
        name: "My Bookmark App",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    my_bookmark_app = cloudflare.AccessBookmark("myBookmarkApp",
        account_id="f037e56e89293a057740de681ac9abbe",
        app_launcher_visible=True,
        domain="example.com",
        logo_url="https://example.com/example.png",
        name="My Bookmark App")
    
    resources:
      myBookmarkApp:
        type: cloudflare:AccessBookmark
        properties:
          accountId: f037e56e89293a057740de681ac9abbe
          appLauncherVisible: true
          domain: example.com
          logoUrl: https://example.com/example.png
          name: My Bookmark App
    

    Create AccessBookmark Resource

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

    Constructor syntax

    new AccessBookmark(name: string, args: AccessBookmarkArgs, opts?: CustomResourceOptions);
    @overload
    def AccessBookmark(resource_name: str,
                       args: AccessBookmarkArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def AccessBookmark(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       domain: Optional[str] = None,
                       name: Optional[str] = None,
                       account_id: Optional[str] = None,
                       app_launcher_visible: Optional[bool] = None,
                       logo_url: Optional[str] = None,
                       zone_id: Optional[str] = None)
    func NewAccessBookmark(ctx *Context, name string, args AccessBookmarkArgs, opts ...ResourceOption) (*AccessBookmark, error)
    public AccessBookmark(string name, AccessBookmarkArgs args, CustomResourceOptions? opts = null)
    public AccessBookmark(String name, AccessBookmarkArgs args)
    public AccessBookmark(String name, AccessBookmarkArgs args, CustomResourceOptions options)
    
    type: cloudflare:AccessBookmark
    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 AccessBookmarkArgs
    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 AccessBookmarkArgs
    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 AccessBookmarkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccessBookmarkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccessBookmarkArgs
    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 accessBookmarkResource = new Cloudflare.AccessBookmark("accessBookmarkResource", new()
    {
        Domain = "string",
        Name = "string",
        AccountId = "string",
        AppLauncherVisible = false,
        LogoUrl = "string",
        ZoneId = "string",
    });
    
    example, err := cloudflare.NewAccessBookmark(ctx, "accessBookmarkResource", &cloudflare.AccessBookmarkArgs{
    	Domain:             pulumi.String("string"),
    	Name:               pulumi.String("string"),
    	AccountId:          pulumi.String("string"),
    	AppLauncherVisible: pulumi.Bool(false),
    	LogoUrl:            pulumi.String("string"),
    	ZoneId:             pulumi.String("string"),
    })
    
    var accessBookmarkResource = new AccessBookmark("accessBookmarkResource", AccessBookmarkArgs.builder()
        .domain("string")
        .name("string")
        .accountId("string")
        .appLauncherVisible(false)
        .logoUrl("string")
        .zoneId("string")
        .build());
    
    access_bookmark_resource = cloudflare.AccessBookmark("accessBookmarkResource",
        domain="string",
        name="string",
        account_id="string",
        app_launcher_visible=False,
        logo_url="string",
        zone_id="string")
    
    const accessBookmarkResource = new cloudflare.AccessBookmark("accessBookmarkResource", {
        domain: "string",
        name: "string",
        accountId: "string",
        appLauncherVisible: false,
        logoUrl: "string",
        zoneId: "string",
    });
    
    type: cloudflare:AccessBookmark
    properties:
        accountId: string
        appLauncherVisible: false
        domain: string
        logoUrl: string
        name: string
        zoneId: string
    

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

    Domain string
    The domain of the bookmark application. Can include subdomains, paths, or both.
    Name string
    Name of the bookmark application.
    AccountId string
    The account identifier to target for the resource. Conflicts with zone_id.
    AppLauncherVisible bool
    Option to show/hide the bookmark in the app launcher. Defaults to true.
    LogoUrl string
    The image URL for the logo shown in the app launcher dashboard.
    ZoneId string
    The zone identifier to target for the resource. Conflicts with account_id.
    Domain string
    The domain of the bookmark application. Can include subdomains, paths, or both.
    Name string
    Name of the bookmark application.
    AccountId string
    The account identifier to target for the resource. Conflicts with zone_id.
    AppLauncherVisible bool
    Option to show/hide the bookmark in the app launcher. Defaults to true.
    LogoUrl string
    The image URL for the logo shown in the app launcher dashboard.
    ZoneId string
    The zone identifier to target for the resource. Conflicts with account_id.
    domain String
    The domain of the bookmark application. Can include subdomains, paths, or both.
    name String
    Name of the bookmark application.
    accountId String
    The account identifier to target for the resource. Conflicts with zone_id.
    appLauncherVisible Boolean
    Option to show/hide the bookmark in the app launcher. Defaults to true.
    logoUrl String
    The image URL for the logo shown in the app launcher dashboard.
    zoneId String
    The zone identifier to target for the resource. Conflicts with account_id.
    domain string
    The domain of the bookmark application. Can include subdomains, paths, or both.
    name string
    Name of the bookmark application.
    accountId string
    The account identifier to target for the resource. Conflicts with zone_id.
    appLauncherVisible boolean
    Option to show/hide the bookmark in the app launcher. Defaults to true.
    logoUrl string
    The image URL for the logo shown in the app launcher dashboard.
    zoneId string
    The zone identifier to target for the resource. Conflicts with account_id.
    domain str
    The domain of the bookmark application. Can include subdomains, paths, or both.
    name str
    Name of the bookmark application.
    account_id str
    The account identifier to target for the resource. Conflicts with zone_id.
    app_launcher_visible bool
    Option to show/hide the bookmark in the app launcher. Defaults to true.
    logo_url str
    The image URL for the logo shown in the app launcher dashboard.
    zone_id str
    The zone identifier to target for the resource. Conflicts with account_id.
    domain String
    The domain of the bookmark application. Can include subdomains, paths, or both.
    name String
    Name of the bookmark application.
    accountId String
    The account identifier to target for the resource. Conflicts with zone_id.
    appLauncherVisible Boolean
    Option to show/hide the bookmark in the app launcher. Defaults to true.
    logoUrl String
    The image URL for the logo shown in the app launcher dashboard.
    zoneId String
    The zone identifier to target for the resource. Conflicts with account_id.

    Outputs

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

    Get an existing AccessBookmark 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?: AccessBookmarkState, opts?: CustomResourceOptions): AccessBookmark
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            app_launcher_visible: Optional[bool] = None,
            domain: Optional[str] = None,
            logo_url: Optional[str] = None,
            name: Optional[str] = None,
            zone_id: Optional[str] = None) -> AccessBookmark
    func GetAccessBookmark(ctx *Context, name string, id IDInput, state *AccessBookmarkState, opts ...ResourceOption) (*AccessBookmark, error)
    public static AccessBookmark Get(string name, Input<string> id, AccessBookmarkState? state, CustomResourceOptions? opts = null)
    public static AccessBookmark get(String name, Output<String> id, AccessBookmarkState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:AccessBookmark    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
    The account identifier to target for the resource. Conflicts with zone_id.
    AppLauncherVisible bool
    Option to show/hide the bookmark in the app launcher. Defaults to true.
    Domain string
    The domain of the bookmark application. Can include subdomains, paths, or both.
    LogoUrl string
    The image URL for the logo shown in the app launcher dashboard.
    Name string
    Name of the bookmark application.
    ZoneId string
    The zone identifier to target for the resource. Conflicts with account_id.
    AccountId string
    The account identifier to target for the resource. Conflicts with zone_id.
    AppLauncherVisible bool
    Option to show/hide the bookmark in the app launcher. Defaults to true.
    Domain string
    The domain of the bookmark application. Can include subdomains, paths, or both.
    LogoUrl string
    The image URL for the logo shown in the app launcher dashboard.
    Name string
    Name of the bookmark application.
    ZoneId string
    The zone identifier to target for the resource. Conflicts with account_id.
    accountId String
    The account identifier to target for the resource. Conflicts with zone_id.
    appLauncherVisible Boolean
    Option to show/hide the bookmark in the app launcher. Defaults to true.
    domain String
    The domain of the bookmark application. Can include subdomains, paths, or both.
    logoUrl String
    The image URL for the logo shown in the app launcher dashboard.
    name String
    Name of the bookmark application.
    zoneId String
    The zone identifier to target for the resource. Conflicts with account_id.
    accountId string
    The account identifier to target for the resource. Conflicts with zone_id.
    appLauncherVisible boolean
    Option to show/hide the bookmark in the app launcher. Defaults to true.
    domain string
    The domain of the bookmark application. Can include subdomains, paths, or both.
    logoUrl string
    The image URL for the logo shown in the app launcher dashboard.
    name string
    Name of the bookmark application.
    zoneId string
    The zone identifier to target for the resource. Conflicts with account_id.
    account_id str
    The account identifier to target for the resource. Conflicts with zone_id.
    app_launcher_visible bool
    Option to show/hide the bookmark in the app launcher. Defaults to true.
    domain str
    The domain of the bookmark application. Can include subdomains, paths, or both.
    logo_url str
    The image URL for the logo shown in the app launcher dashboard.
    name str
    Name of the bookmark application.
    zone_id str
    The zone identifier to target for the resource. Conflicts with account_id.
    accountId String
    The account identifier to target for the resource. Conflicts with zone_id.
    appLauncherVisible Boolean
    Option to show/hide the bookmark in the app launcher. Defaults to true.
    domain String
    The domain of the bookmark application. Can include subdomains, paths, or both.
    logoUrl String
    The image URL for the logo shown in the app launcher dashboard.
    name String
    Name of the bookmark application.
    zoneId String
    The zone identifier to target for the resource. Conflicts with account_id.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Viewing docs for Cloudflare v4.16.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.