published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Manages a Datadog secure embed shared dashboard. NOTE: The HMAC credential is only returned by the API once on creation and is stored in Terraform state. Ensure your state backend uses encryption at rest and has appropriate access controls.
Create SecureEmbedDashboard Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecureEmbedDashboard(name: string, args: SecureEmbedDashboardArgs, opts?: CustomResourceOptions);@overload
def SecureEmbedDashboard(resource_name: str,
args: SecureEmbedDashboardArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecureEmbedDashboard(resource_name: str,
opts: Optional[ResourceOptions] = None,
dashboard_id: Optional[str] = None,
title: Optional[str] = None,
global_time_live_span: Optional[str] = None,
global_time_selectable: Optional[bool] = None,
selectable_template_vars: Optional[Sequence[SecureEmbedDashboardSelectableTemplateVarArgs]] = None,
status: Optional[str] = None,
viewing_preferences_high_density: Optional[bool] = None,
viewing_preferences_theme: Optional[str] = None)func NewSecureEmbedDashboard(ctx *Context, name string, args SecureEmbedDashboardArgs, opts ...ResourceOption) (*SecureEmbedDashboard, error)public SecureEmbedDashboard(string name, SecureEmbedDashboardArgs args, CustomResourceOptions? opts = null)
public SecureEmbedDashboard(String name, SecureEmbedDashboardArgs args)
public SecureEmbedDashboard(String name, SecureEmbedDashboardArgs args, CustomResourceOptions options)
type: datadog:SecureEmbedDashboard
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 SecureEmbedDashboardArgs
- 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 SecureEmbedDashboardArgs
- 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 SecureEmbedDashboardArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecureEmbedDashboardArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecureEmbedDashboardArgs
- 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 secureEmbedDashboardResource = new Datadog.Index.SecureEmbedDashboard("secureEmbedDashboardResource", new()
{
DashboardId = "string",
Title = "string",
GlobalTimeLiveSpan = "string",
GlobalTimeSelectable = false,
SelectableTemplateVars = new[]
{
new Datadog.Inputs.SecureEmbedDashboardSelectableTemplateVarArgs
{
Name = "string",
DefaultValues = new[]
{
"string",
},
Prefix = "string",
Type = "string",
VisibleTags = new[]
{
"string",
},
},
},
Status = "string",
ViewingPreferencesHighDensity = false,
ViewingPreferencesTheme = "string",
});
example, err := datadog.NewSecureEmbedDashboard(ctx, "secureEmbedDashboardResource", &datadog.SecureEmbedDashboardArgs{
DashboardId: pulumi.String("string"),
Title: pulumi.String("string"),
GlobalTimeLiveSpan: pulumi.String("string"),
GlobalTimeSelectable: pulumi.Bool(false),
SelectableTemplateVars: datadog.SecureEmbedDashboardSelectableTemplateVarArray{
&datadog.SecureEmbedDashboardSelectableTemplateVarArgs{
Name: pulumi.String("string"),
DefaultValues: pulumi.StringArray{
pulumi.String("string"),
},
Prefix: pulumi.String("string"),
Type: pulumi.String("string"),
VisibleTags: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Status: pulumi.String("string"),
ViewingPreferencesHighDensity: pulumi.Bool(false),
ViewingPreferencesTheme: pulumi.String("string"),
})
var secureEmbedDashboardResource = new SecureEmbedDashboard("secureEmbedDashboardResource", SecureEmbedDashboardArgs.builder()
.dashboardId("string")
.title("string")
.globalTimeLiveSpan("string")
.globalTimeSelectable(false)
.selectableTemplateVars(SecureEmbedDashboardSelectableTemplateVarArgs.builder()
.name("string")
.defaultValues("string")
.prefix("string")
.type("string")
.visibleTags("string")
.build())
.status("string")
.viewingPreferencesHighDensity(false)
.viewingPreferencesTheme("string")
.build());
secure_embed_dashboard_resource = datadog.SecureEmbedDashboard("secureEmbedDashboardResource",
dashboard_id="string",
title="string",
global_time_live_span="string",
global_time_selectable=False,
selectable_template_vars=[{
"name": "string",
"default_values": ["string"],
"prefix": "string",
"type": "string",
"visible_tags": ["string"],
}],
status="string",
viewing_preferences_high_density=False,
viewing_preferences_theme="string")
const secureEmbedDashboardResource = new datadog.SecureEmbedDashboard("secureEmbedDashboardResource", {
dashboardId: "string",
title: "string",
globalTimeLiveSpan: "string",
globalTimeSelectable: false,
selectableTemplateVars: [{
name: "string",
defaultValues: ["string"],
prefix: "string",
type: "string",
visibleTags: ["string"],
}],
status: "string",
viewingPreferencesHighDensity: false,
viewingPreferencesTheme: "string",
});
type: datadog:SecureEmbedDashboard
properties:
dashboardId: string
globalTimeLiveSpan: string
globalTimeSelectable: false
selectableTemplateVars:
- defaultValues:
- string
name: string
prefix: string
type: string
visibleTags:
- string
status: string
title: string
viewingPreferencesHighDensity: false
viewingPreferencesTheme: string
SecureEmbedDashboard 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 SecureEmbedDashboard resource accepts the following input properties:
- Dashboard
Id string - The ID of the dashboard to create a secure embed for.
- Title string
- Title of the secure embed share.
- Global
Time stringLive Span - The live span for the global time, e.g.
1h,4h,1d,2d,1w. Defaults to"1h". - Global
Time boolSelectable - Whether viewers can change the global time range. Defaults to
true. - Selectable
Template List<SecureVars Embed Dashboard Selectable Template Var> - Template variables that viewers can filter by.
- Status string
- Status of the secure embed. Valid values are
activeandpaused. Defaults to"active". - Viewing
Preferences boolHigh Density - Whether to display the dashboard in high density mode. Defaults to
false. - Viewing
Preferences stringTheme - Display theme for the embedded dashboard. Valid values are
system,dark,light. Defaults to"system".
- Dashboard
Id string - The ID of the dashboard to create a secure embed for.
- Title string
- Title of the secure embed share.
- Global
Time stringLive Span - The live span for the global time, e.g.
1h,4h,1d,2d,1w. Defaults to"1h". - Global
Time boolSelectable - Whether viewers can change the global time range. Defaults to
true. - Selectable
Template []SecureVars Embed Dashboard Selectable Template Var Args - Template variables that viewers can filter by.
- Status string
- Status of the secure embed. Valid values are
activeandpaused. Defaults to"active". - Viewing
Preferences boolHigh Density - Whether to display the dashboard in high density mode. Defaults to
false. - Viewing
Preferences stringTheme - Display theme for the embedded dashboard. Valid values are
system,dark,light. Defaults to"system".
- dashboard
Id String - The ID of the dashboard to create a secure embed for.
- title String
- Title of the secure embed share.
- global
Time StringLive Span - The live span for the global time, e.g.
1h,4h,1d,2d,1w. Defaults to"1h". - global
Time BooleanSelectable - Whether viewers can change the global time range. Defaults to
true. - selectable
Template List<SecureVars Embed Dashboard Selectable Template Var> - Template variables that viewers can filter by.
- status String
- Status of the secure embed. Valid values are
activeandpaused. Defaults to"active". - viewing
Preferences BooleanHigh Density - Whether to display the dashboard in high density mode. Defaults to
false. - viewing
Preferences StringTheme - Display theme for the embedded dashboard. Valid values are
system,dark,light. Defaults to"system".
- dashboard
Id string - The ID of the dashboard to create a secure embed for.
- title string
- Title of the secure embed share.
- global
Time stringLive Span - The live span for the global time, e.g.
1h,4h,1d,2d,1w. Defaults to"1h". - global
Time booleanSelectable - Whether viewers can change the global time range. Defaults to
true. - selectable
Template SecureVars Embed Dashboard Selectable Template Var[] - Template variables that viewers can filter by.
- status string
- Status of the secure embed. Valid values are
activeandpaused. Defaults to"active". - viewing
Preferences booleanHigh Density - Whether to display the dashboard in high density mode. Defaults to
false. - viewing
Preferences stringTheme - Display theme for the embedded dashboard. Valid values are
system,dark,light. Defaults to"system".
- dashboard_
id str - The ID of the dashboard to create a secure embed for.
- title str
- Title of the secure embed share.
- global_
time_ strlive_ span - The live span for the global time, e.g.
1h,4h,1d,2d,1w. Defaults to"1h". - global_
time_ boolselectable - Whether viewers can change the global time range. Defaults to
true. - selectable_
template_ Sequence[Securevars Embed Dashboard Selectable Template Var Args] - Template variables that viewers can filter by.
- status str
- Status of the secure embed. Valid values are
activeandpaused. Defaults to"active". - viewing_
preferences_ boolhigh_ density - Whether to display the dashboard in high density mode. Defaults to
false. - viewing_
preferences_ strtheme - Display theme for the embedded dashboard. Valid values are
system,dark,light. Defaults to"system".
- dashboard
Id String - The ID of the dashboard to create a secure embed for.
- title String
- Title of the secure embed share.
- global
Time StringLive Span - The live span for the global time, e.g.
1h,4h,1d,2d,1w. Defaults to"1h". - global
Time BooleanSelectable - Whether viewers can change the global time range. Defaults to
true. - selectable
Template List<Property Map>Vars - Template variables that viewers can filter by.
- status String
- Status of the secure embed. Valid values are
activeandpaused. Defaults to"active". - viewing
Preferences BooleanHigh Density - Whether to display the dashboard in high density mode. Defaults to
false. - viewing
Preferences StringTheme - Display theme for the embedded dashboard. Valid values are
system,dark,light. Defaults to"system".
Outputs
All input properties are implicitly available as output properties. Additionally, the SecureEmbedDashboard resource produces the following output properties:
- Credential string
- The HMAC credential granting access to this secure embed. Only available on initial creation; stored in state.
- Id string
- The provider-assigned unique ID for this managed resource.
- Token string
- The share token for the secure embed.
- Url string
- The public URL for the embedded dashboard.
- Credential string
- The HMAC credential granting access to this secure embed. Only available on initial creation; stored in state.
- Id string
- The provider-assigned unique ID for this managed resource.
- Token string
- The share token for the secure embed.
- Url string
- The public URL for the embedded dashboard.
- credential String
- The HMAC credential granting access to this secure embed. Only available on initial creation; stored in state.
- id String
- The provider-assigned unique ID for this managed resource.
- token String
- The share token for the secure embed.
- url String
- The public URL for the embedded dashboard.
- credential string
- The HMAC credential granting access to this secure embed. Only available on initial creation; stored in state.
- id string
- The provider-assigned unique ID for this managed resource.
- token string
- The share token for the secure embed.
- url string
- The public URL for the embedded dashboard.
- credential str
- The HMAC credential granting access to this secure embed. Only available on initial creation; stored in state.
- id str
- The provider-assigned unique ID for this managed resource.
- token str
- The share token for the secure embed.
- url str
- The public URL for the embedded dashboard.
- credential String
- The HMAC credential granting access to this secure embed. Only available on initial creation; stored in state.
- id String
- The provider-assigned unique ID for this managed resource.
- token String
- The share token for the secure embed.
- url String
- The public URL for the embedded dashboard.
Look up Existing SecureEmbedDashboard Resource
Get an existing SecureEmbedDashboard 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?: SecureEmbedDashboardState, opts?: CustomResourceOptions): SecureEmbedDashboard@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
credential: Optional[str] = None,
dashboard_id: Optional[str] = None,
global_time_live_span: Optional[str] = None,
global_time_selectable: Optional[bool] = None,
selectable_template_vars: Optional[Sequence[SecureEmbedDashboardSelectableTemplateVarArgs]] = None,
status: Optional[str] = None,
title: Optional[str] = None,
token: Optional[str] = None,
url: Optional[str] = None,
viewing_preferences_high_density: Optional[bool] = None,
viewing_preferences_theme: Optional[str] = None) -> SecureEmbedDashboardfunc GetSecureEmbedDashboard(ctx *Context, name string, id IDInput, state *SecureEmbedDashboardState, opts ...ResourceOption) (*SecureEmbedDashboard, error)public static SecureEmbedDashboard Get(string name, Input<string> id, SecureEmbedDashboardState? state, CustomResourceOptions? opts = null)public static SecureEmbedDashboard get(String name, Output<String> id, SecureEmbedDashboardState state, CustomResourceOptions options)resources: _: type: datadog:SecureEmbedDashboard 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.
- Credential string
- The HMAC credential granting access to this secure embed. Only available on initial creation; stored in state.
- Dashboard
Id string - The ID of the dashboard to create a secure embed for.
- Global
Time stringLive Span - The live span for the global time, e.g.
1h,4h,1d,2d,1w. Defaults to"1h". - Global
Time boolSelectable - Whether viewers can change the global time range. Defaults to
true. - Selectable
Template List<SecureVars Embed Dashboard Selectable Template Var> - Template variables that viewers can filter by.
- Status string
- Status of the secure embed. Valid values are
activeandpaused. Defaults to"active". - Title string
- Title of the secure embed share.
- Token string
- The share token for the secure embed.
- Url string
- The public URL for the embedded dashboard.
- Viewing
Preferences boolHigh Density - Whether to display the dashboard in high density mode. Defaults to
false. - Viewing
Preferences stringTheme - Display theme for the embedded dashboard. Valid values are
system,dark,light. Defaults to"system".
- Credential string
- The HMAC credential granting access to this secure embed. Only available on initial creation; stored in state.
- Dashboard
Id string - The ID of the dashboard to create a secure embed for.
- Global
Time stringLive Span - The live span for the global time, e.g.
1h,4h,1d,2d,1w. Defaults to"1h". - Global
Time boolSelectable - Whether viewers can change the global time range. Defaults to
true. - Selectable
Template []SecureVars Embed Dashboard Selectable Template Var Args - Template variables that viewers can filter by.
- Status string
- Status of the secure embed. Valid values are
activeandpaused. Defaults to"active". - Title string
- Title of the secure embed share.
- Token string
- The share token for the secure embed.
- Url string
- The public URL for the embedded dashboard.
- Viewing
Preferences boolHigh Density - Whether to display the dashboard in high density mode. Defaults to
false. - Viewing
Preferences stringTheme - Display theme for the embedded dashboard. Valid values are
system,dark,light. Defaults to"system".
- credential String
- The HMAC credential granting access to this secure embed. Only available on initial creation; stored in state.
- dashboard
Id String - The ID of the dashboard to create a secure embed for.
- global
Time StringLive Span - The live span for the global time, e.g.
1h,4h,1d,2d,1w. Defaults to"1h". - global
Time BooleanSelectable - Whether viewers can change the global time range. Defaults to
true. - selectable
Template List<SecureVars Embed Dashboard Selectable Template Var> - Template variables that viewers can filter by.
- status String
- Status of the secure embed. Valid values are
activeandpaused. Defaults to"active". - title String
- Title of the secure embed share.
- token String
- The share token for the secure embed.
- url String
- The public URL for the embedded dashboard.
- viewing
Preferences BooleanHigh Density - Whether to display the dashboard in high density mode. Defaults to
false. - viewing
Preferences StringTheme - Display theme for the embedded dashboard. Valid values are
system,dark,light. Defaults to"system".
- credential string
- The HMAC credential granting access to this secure embed. Only available on initial creation; stored in state.
- dashboard
Id string - The ID of the dashboard to create a secure embed for.
- global
Time stringLive Span - The live span for the global time, e.g.
1h,4h,1d,2d,1w. Defaults to"1h". - global
Time booleanSelectable - Whether viewers can change the global time range. Defaults to
true. - selectable
Template SecureVars Embed Dashboard Selectable Template Var[] - Template variables that viewers can filter by.
- status string
- Status of the secure embed. Valid values are
activeandpaused. Defaults to"active". - title string
- Title of the secure embed share.
- token string
- The share token for the secure embed.
- url string
- The public URL for the embedded dashboard.
- viewing
Preferences booleanHigh Density - Whether to display the dashboard in high density mode. Defaults to
false. - viewing
Preferences stringTheme - Display theme for the embedded dashboard. Valid values are
system,dark,light. Defaults to"system".
- credential str
- The HMAC credential granting access to this secure embed. Only available on initial creation; stored in state.
- dashboard_
id str - The ID of the dashboard to create a secure embed for.
- global_
time_ strlive_ span - The live span for the global time, e.g.
1h,4h,1d,2d,1w. Defaults to"1h". - global_
time_ boolselectable - Whether viewers can change the global time range. Defaults to
true. - selectable_
template_ Sequence[Securevars Embed Dashboard Selectable Template Var Args] - Template variables that viewers can filter by.
- status str
- Status of the secure embed. Valid values are
activeandpaused. Defaults to"active". - title str
- Title of the secure embed share.
- token str
- The share token for the secure embed.
- url str
- The public URL for the embedded dashboard.
- viewing_
preferences_ boolhigh_ density - Whether to display the dashboard in high density mode. Defaults to
false. - viewing_
preferences_ strtheme - Display theme for the embedded dashboard. Valid values are
system,dark,light. Defaults to"system".
- credential String
- The HMAC credential granting access to this secure embed. Only available on initial creation; stored in state.
- dashboard
Id String - The ID of the dashboard to create a secure embed for.
- global
Time StringLive Span - The live span for the global time, e.g.
1h,4h,1d,2d,1w. Defaults to"1h". - global
Time BooleanSelectable - Whether viewers can change the global time range. Defaults to
true. - selectable
Template List<Property Map>Vars - Template variables that viewers can filter by.
- status String
- Status of the secure embed. Valid values are
activeandpaused. Defaults to"active". - title String
- Title of the secure embed share.
- token String
- The share token for the secure embed.
- url String
- The public URL for the embedded dashboard.
- viewing
Preferences BooleanHigh Density - Whether to display the dashboard in high density mode. Defaults to
false. - viewing
Preferences StringTheme - Display theme for the embedded dashboard. Valid values are
system,dark,light. Defaults to"system".
Supporting Types
SecureEmbedDashboardSelectableTemplateVar, SecureEmbedDashboardSelectableTemplateVarArgs
- Name string
- The name of the template variable.
- Default
Values List<string> - The default values for this template variable.
- Prefix string
- The tag prefix for this template variable. Defaults to
"". - Type string
- The type of the template variable. Defaults to
"". - List<string>
- The visible tag values for this template variable.
- Name string
- The name of the template variable.
- Default
Values []string - The default values for this template variable.
- Prefix string
- The tag prefix for this template variable. Defaults to
"". - Type string
- The type of the template variable. Defaults to
"". - []string
- The visible tag values for this template variable.
- name String
- The name of the template variable.
- default
Values List<String> - The default values for this template variable.
- prefix String
- The tag prefix for this template variable. Defaults to
"". - type String
- The type of the template variable. Defaults to
"". - List<String>
- The visible tag values for this template variable.
- name string
- The name of the template variable.
- default
Values string[] - The default values for this template variable.
- prefix string
- The tag prefix for this template variable. Defaults to
"". - type string
- The type of the template variable. Defaults to
"". - string[]
- The visible tag values for this template variable.
- name str
- The name of the template variable.
- default_
values Sequence[str] - The default values for this template variable.
- prefix str
- The tag prefix for this template variable. Defaults to
"". - type str
- The type of the template variable. Defaults to
"". - Sequence[str]
- The visible tag values for this template variable.
- name String
- The name of the template variable.
- default
Values List<String> - The default values for this template variable.
- prefix String
- The tag prefix for this template variable. Defaults to
"". - type String
- The type of the template variable. Defaults to
"". - List<String>
- The visible tag values for this template variable.
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadogTerraform Provider.
published on Thursday, Apr 2, 2026 by Pulumi
