published on Monday, Mar 9, 2026 by Pulumi
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.
- Account
Id string - The account identifier to target for the resource. Conflicts with
zone_id. - App
Launcher boolVisible - Option to show/hide the bookmark in the app launcher. Defaults to
true. - Logo
Url string - The image URL for the logo shown in the app launcher dashboard.
- Zone
Id 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.
- Account
Id string - The account identifier to target for the resource. Conflicts with
zone_id. - App
Launcher boolVisible - Option to show/hide the bookmark in the app launcher. Defaults to
true. - Logo
Url string - The image URL for the logo shown in the app launcher dashboard.
- Zone
Id 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.
- account
Id String - The account identifier to target for the resource. Conflicts with
zone_id. - app
Launcher BooleanVisible - Option to show/hide the bookmark in the app launcher. Defaults to
true. - logo
Url String - The image URL for the logo shown in the app launcher dashboard.
- zone
Id 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.
- account
Id string - The account identifier to target for the resource. Conflicts with
zone_id. - app
Launcher booleanVisible - Option to show/hide the bookmark in the app launcher. Defaults to
true. - logo
Url string - The image URL for the logo shown in the app launcher dashboard.
- zone
Id 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_ boolvisible - 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.
- account
Id String - The account identifier to target for the resource. Conflicts with
zone_id. - app
Launcher BooleanVisible - Option to show/hide the bookmark in the app launcher. Defaults to
true. - logo
Url String - The image URL for the logo shown in the app launcher dashboard.
- zone
Id 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) -> AccessBookmarkfunc 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.
- Account
Id string - The account identifier to target for the resource. Conflicts with
zone_id. - App
Launcher boolVisible - 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.
- Logo
Url string - The image URL for the logo shown in the app launcher dashboard.
- Name string
- Name of the bookmark application.
- Zone
Id string - The zone identifier to target for the resource. Conflicts with
account_id.
- Account
Id string - The account identifier to target for the resource. Conflicts with
zone_id. - App
Launcher boolVisible - 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.
- Logo
Url string - The image URL for the logo shown in the app launcher dashboard.
- Name string
- Name of the bookmark application.
- Zone
Id string - The zone identifier to target for the resource. Conflicts with
account_id.
- account
Id String - The account identifier to target for the resource. Conflicts with
zone_id. - app
Launcher BooleanVisible - 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.
- logo
Url String - The image URL for the logo shown in the app launcher dashboard.
- name String
- Name of the bookmark application.
- zone
Id String - The zone identifier to target for the resource. Conflicts with
account_id.
- account
Id string - The account identifier to target for the resource. Conflicts with
zone_id. - app
Launcher booleanVisible - 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.
- logo
Url string - The image URL for the logo shown in the app launcher dashboard.
- name string
- Name of the bookmark application.
- zone
Id 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_ boolvisible - 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.
- account
Id String - The account identifier to target for the resource. Conflicts with
zone_id. - app
Launcher BooleanVisible - 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.
- logo
Url String - The image URL for the logo shown in the app launcher dashboard.
- name String
- Name of the bookmark application.
- zone
Id 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
cloudflareTerraform Provider.
published on Monday, Mar 9, 2026 by Pulumi
