Try AWS Native preview for resources not in the classic version.
aws.grafana.WorkspaceSamlConfiguration
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Provides an Amazon Managed Grafana workspace SAML configuration resource.
Example Usage
Basic configuration
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const assume = new aws.iam.Role("assume", {
name: "grafana-assume",
assumeRolePolicy: JSON.stringify({
Version: "2012-10-17",
Statement: [{
Action: "sts:AssumeRole",
Effect: "Allow",
Sid: "",
Principal: {
Service: "grafana.amazonaws.com",
},
}],
}),
});
const exampleWorkspace = new aws.grafana.Workspace("example", {
accountAccessType: "CURRENT_ACCOUNT",
authenticationProviders: ["SAML"],
permissionType: "SERVICE_MANAGED",
roleArn: assume.arn,
});
const example = new aws.grafana.WorkspaceSamlConfiguration("example", {
editorRoleValues: ["editor"],
idpMetadataUrl: "https://my_idp_metadata.url",
workspaceId: exampleWorkspace.id,
});
import pulumi
import json
import pulumi_aws as aws
assume = aws.iam.Role("assume",
name="grafana-assume",
assume_role_policy=json.dumps({
"Version": "2012-10-17",
"Statement": [{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Sid": "",
"Principal": {
"Service": "grafana.amazonaws.com",
},
}],
}))
example_workspace = aws.grafana.Workspace("example",
account_access_type="CURRENT_ACCOUNT",
authentication_providers=["SAML"],
permission_type="SERVICE_MANAGED",
role_arn=assume.arn)
example = aws.grafana.WorkspaceSamlConfiguration("example",
editor_role_values=["editor"],
idp_metadata_url="https://my_idp_metadata.url",
workspace_id=example_workspace.id)
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/grafana"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
tmpJSON0, err := json.Marshal(map[string]interface{}{
"Version": "2012-10-17",
"Statement": []map[string]interface{}{
map[string]interface{}{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Sid": "",
"Principal": map[string]interface{}{
"Service": "grafana.amazonaws.com",
},
},
},
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
assume, err := iam.NewRole(ctx, "assume", &iam.RoleArgs{
Name: pulumi.String("grafana-assume"),
AssumeRolePolicy: pulumi.String(json0),
})
if err != nil {
return err
}
exampleWorkspace, err := grafana.NewWorkspace(ctx, "example", &grafana.WorkspaceArgs{
AccountAccessType: pulumi.String("CURRENT_ACCOUNT"),
AuthenticationProviders: pulumi.StringArray{
pulumi.String("SAML"),
},
PermissionType: pulumi.String("SERVICE_MANAGED"),
RoleArn: assume.Arn,
})
if err != nil {
return err
}
_, err = grafana.NewWorkspaceSamlConfiguration(ctx, "example", &grafana.WorkspaceSamlConfigurationArgs{
EditorRoleValues: pulumi.StringArray{
pulumi.String("editor"),
},
IdpMetadataUrl: pulumi.String("https://my_idp_metadata.url"),
WorkspaceId: exampleWorkspace.ID(),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var assume = new Aws.Iam.Role("assume", new()
{
Name = "grafana-assume",
AssumeRolePolicy = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["Version"] = "2012-10-17",
["Statement"] = new[]
{
new Dictionary<string, object?>
{
["Action"] = "sts:AssumeRole",
["Effect"] = "Allow",
["Sid"] = "",
["Principal"] = new Dictionary<string, object?>
{
["Service"] = "grafana.amazonaws.com",
},
},
},
}),
});
var exampleWorkspace = new Aws.Grafana.Workspace("example", new()
{
AccountAccessType = "CURRENT_ACCOUNT",
AuthenticationProviders = new[]
{
"SAML",
},
PermissionType = "SERVICE_MANAGED",
RoleArn = assume.Arn,
});
var example = new Aws.Grafana.WorkspaceSamlConfiguration("example", new()
{
EditorRoleValues = new[]
{
"editor",
},
IdpMetadataUrl = "https://my_idp_metadata.url",
WorkspaceId = exampleWorkspace.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.iam.Role;
import com.pulumi.aws.iam.RoleArgs;
import com.pulumi.aws.grafana.Workspace;
import com.pulumi.aws.grafana.WorkspaceArgs;
import com.pulumi.aws.grafana.WorkspaceSamlConfiguration;
import com.pulumi.aws.grafana.WorkspaceSamlConfigurationArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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 assume = new Role("assume", RoleArgs.builder()
.name("grafana-assume")
.assumeRolePolicy(serializeJson(
jsonObject(
jsonProperty("Version", "2012-10-17"),
jsonProperty("Statement", jsonArray(jsonObject(
jsonProperty("Action", "sts:AssumeRole"),
jsonProperty("Effect", "Allow"),
jsonProperty("Sid", ""),
jsonProperty("Principal", jsonObject(
jsonProperty("Service", "grafana.amazonaws.com")
))
)))
)))
.build());
var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()
.accountAccessType("CURRENT_ACCOUNT")
.authenticationProviders("SAML")
.permissionType("SERVICE_MANAGED")
.roleArn(assume.arn())
.build());
var example = new WorkspaceSamlConfiguration("example", WorkspaceSamlConfigurationArgs.builder()
.editorRoleValues("editor")
.idpMetadataUrl("https://my_idp_metadata.url")
.workspaceId(exampleWorkspace.id())
.build());
}
}
resources:
example:
type: aws:grafana:WorkspaceSamlConfiguration
properties:
editorRoleValues:
- editor
idpMetadataUrl: https://my_idp_metadata.url
workspaceId: ${exampleWorkspace.id}
exampleWorkspace:
type: aws:grafana:Workspace
name: example
properties:
accountAccessType: CURRENT_ACCOUNT
authenticationProviders:
- SAML
permissionType: SERVICE_MANAGED
roleArn: ${assume.arn}
assume:
type: aws:iam:Role
properties:
name: grafana-assume
assumeRolePolicy:
fn::toJSON:
Version: 2012-10-17
Statement:
- Action: sts:AssumeRole
Effect: Allow
Sid:
Principal:
Service: grafana.amazonaws.com
Create WorkspaceSamlConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkspaceSamlConfiguration(name: string, args: WorkspaceSamlConfigurationArgs, opts?: CustomResourceOptions);
@overload
def WorkspaceSamlConfiguration(resource_name: str,
args: WorkspaceSamlConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WorkspaceSamlConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
editor_role_values: Optional[Sequence[str]] = None,
workspace_id: Optional[str] = None,
idp_metadata_xml: Optional[str] = None,
email_assertion: Optional[str] = None,
groups_assertion: Optional[str] = None,
idp_metadata_url: Optional[str] = None,
admin_role_values: Optional[Sequence[str]] = None,
login_assertion: Optional[str] = None,
login_validity_duration: Optional[int] = None,
name_assertion: Optional[str] = None,
org_assertion: Optional[str] = None,
role_assertion: Optional[str] = None,
allowed_organizations: Optional[Sequence[str]] = None)
func NewWorkspaceSamlConfiguration(ctx *Context, name string, args WorkspaceSamlConfigurationArgs, opts ...ResourceOption) (*WorkspaceSamlConfiguration, error)
public WorkspaceSamlConfiguration(string name, WorkspaceSamlConfigurationArgs args, CustomResourceOptions? opts = null)
public WorkspaceSamlConfiguration(String name, WorkspaceSamlConfigurationArgs args)
public WorkspaceSamlConfiguration(String name, WorkspaceSamlConfigurationArgs args, CustomResourceOptions options)
type: aws:grafana:WorkspaceSamlConfiguration
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 WorkspaceSamlConfigurationArgs
- 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 WorkspaceSamlConfigurationArgs
- 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 WorkspaceSamlConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkspaceSamlConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkspaceSamlConfigurationArgs
- 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 workspaceSamlConfigurationResource = new Aws.Grafana.WorkspaceSamlConfiguration("workspaceSamlConfigurationResource", new()
{
EditorRoleValues = new[]
{
"string",
},
WorkspaceId = "string",
IdpMetadataXml = "string",
EmailAssertion = "string",
GroupsAssertion = "string",
IdpMetadataUrl = "string",
AdminRoleValues = new[]
{
"string",
},
LoginAssertion = "string",
LoginValidityDuration = 0,
NameAssertion = "string",
OrgAssertion = "string",
RoleAssertion = "string",
AllowedOrganizations = new[]
{
"string",
},
});
example, err := grafana.NewWorkspaceSamlConfiguration(ctx, "workspaceSamlConfigurationResource", &grafana.WorkspaceSamlConfigurationArgs{
EditorRoleValues: pulumi.StringArray{
pulumi.String("string"),
},
WorkspaceId: pulumi.String("string"),
IdpMetadataXml: pulumi.String("string"),
EmailAssertion: pulumi.String("string"),
GroupsAssertion: pulumi.String("string"),
IdpMetadataUrl: pulumi.String("string"),
AdminRoleValues: pulumi.StringArray{
pulumi.String("string"),
},
LoginAssertion: pulumi.String("string"),
LoginValidityDuration: pulumi.Int(0),
NameAssertion: pulumi.String("string"),
OrgAssertion: pulumi.String("string"),
RoleAssertion: pulumi.String("string"),
AllowedOrganizations: pulumi.StringArray{
pulumi.String("string"),
},
})
var workspaceSamlConfigurationResource = new WorkspaceSamlConfiguration("workspaceSamlConfigurationResource", WorkspaceSamlConfigurationArgs.builder()
.editorRoleValues("string")
.workspaceId("string")
.idpMetadataXml("string")
.emailAssertion("string")
.groupsAssertion("string")
.idpMetadataUrl("string")
.adminRoleValues("string")
.loginAssertion("string")
.loginValidityDuration(0)
.nameAssertion("string")
.orgAssertion("string")
.roleAssertion("string")
.allowedOrganizations("string")
.build());
workspace_saml_configuration_resource = aws.grafana.WorkspaceSamlConfiguration("workspaceSamlConfigurationResource",
editor_role_values=["string"],
workspace_id="string",
idp_metadata_xml="string",
email_assertion="string",
groups_assertion="string",
idp_metadata_url="string",
admin_role_values=["string"],
login_assertion="string",
login_validity_duration=0,
name_assertion="string",
org_assertion="string",
role_assertion="string",
allowed_organizations=["string"])
const workspaceSamlConfigurationResource = new aws.grafana.WorkspaceSamlConfiguration("workspaceSamlConfigurationResource", {
editorRoleValues: ["string"],
workspaceId: "string",
idpMetadataXml: "string",
emailAssertion: "string",
groupsAssertion: "string",
idpMetadataUrl: "string",
adminRoleValues: ["string"],
loginAssertion: "string",
loginValidityDuration: 0,
nameAssertion: "string",
orgAssertion: "string",
roleAssertion: "string",
allowedOrganizations: ["string"],
});
type: aws:grafana:WorkspaceSamlConfiguration
properties:
adminRoleValues:
- string
allowedOrganizations:
- string
editorRoleValues:
- string
emailAssertion: string
groupsAssertion: string
idpMetadataUrl: string
idpMetadataXml: string
loginAssertion: string
loginValidityDuration: 0
nameAssertion: string
orgAssertion: string
roleAssertion: string
workspaceId: string
WorkspaceSamlConfiguration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The WorkspaceSamlConfiguration resource accepts the following input properties:
- Editor
Role List<string>Values - The editor role values.
- Workspace
Id string The workspace id.
The following arguments are optional:
- Admin
Role List<string>Values - The admin role values.
- Allowed
Organizations List<string> - The allowed organizations.
- Email
Assertion string - The email assertion.
- Groups
Assertion string - The groups assertion.
- Idp
Metadata stringUrl - The IDP Metadata URL. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - Idp
Metadata stringXml - The IDP Metadata XML. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - Login
Assertion string - The login assertion.
- Login
Validity intDuration - The login validity duration.
- Name
Assertion string - The name assertion.
- Org
Assertion string - The org assertion.
- Role
Assertion string - The role assertion.
- Editor
Role []stringValues - The editor role values.
- Workspace
Id string The workspace id.
The following arguments are optional:
- Admin
Role []stringValues - The admin role values.
- Allowed
Organizations []string - The allowed organizations.
- Email
Assertion string - The email assertion.
- Groups
Assertion string - The groups assertion.
- Idp
Metadata stringUrl - The IDP Metadata URL. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - Idp
Metadata stringXml - The IDP Metadata XML. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - Login
Assertion string - The login assertion.
- Login
Validity intDuration - The login validity duration.
- Name
Assertion string - The name assertion.
- Org
Assertion string - The org assertion.
- Role
Assertion string - The role assertion.
- editor
Role List<String>Values - The editor role values.
- workspace
Id String The workspace id.
The following arguments are optional:
- admin
Role List<String>Values - The admin role values.
- allowed
Organizations List<String> - The allowed organizations.
- email
Assertion String - The email assertion.
- groups
Assertion String - The groups assertion.
- idp
Metadata StringUrl - The IDP Metadata URL. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - idp
Metadata StringXml - The IDP Metadata XML. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - login
Assertion String - The login assertion.
- login
Validity IntegerDuration - The login validity duration.
- name
Assertion String - The name assertion.
- org
Assertion String - The org assertion.
- role
Assertion String - The role assertion.
- editor
Role string[]Values - The editor role values.
- workspace
Id string The workspace id.
The following arguments are optional:
- admin
Role string[]Values - The admin role values.
- allowed
Organizations string[] - The allowed organizations.
- email
Assertion string - The email assertion.
- groups
Assertion string - The groups assertion.
- idp
Metadata stringUrl - The IDP Metadata URL. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - idp
Metadata stringXml - The IDP Metadata XML. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - login
Assertion string - The login assertion.
- login
Validity numberDuration - The login validity duration.
- name
Assertion string - The name assertion.
- org
Assertion string - The org assertion.
- role
Assertion string - The role assertion.
- editor_
role_ Sequence[str]values - The editor role values.
- workspace_
id str The workspace id.
The following arguments are optional:
- admin_
role_ Sequence[str]values - The admin role values.
- allowed_
organizations Sequence[str] - The allowed organizations.
- email_
assertion str - The email assertion.
- groups_
assertion str - The groups assertion.
- idp_
metadata_ strurl - The IDP Metadata URL. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - idp_
metadata_ strxml - The IDP Metadata XML. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - login_
assertion str - The login assertion.
- login_
validity_ intduration - The login validity duration.
- name_
assertion str - The name assertion.
- org_
assertion str - The org assertion.
- role_
assertion str - The role assertion.
- editor
Role List<String>Values - The editor role values.
- workspace
Id String The workspace id.
The following arguments are optional:
- admin
Role List<String>Values - The admin role values.
- allowed
Organizations List<String> - The allowed organizations.
- email
Assertion String - The email assertion.
- groups
Assertion String - The groups assertion.
- idp
Metadata StringUrl - The IDP Metadata URL. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - idp
Metadata StringXml - The IDP Metadata XML. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - login
Assertion String - The login assertion.
- login
Validity NumberDuration - The login validity duration.
- name
Assertion String - The name assertion.
- org
Assertion String - The org assertion.
- role
Assertion String - The role assertion.
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkspaceSamlConfiguration resource produces the following output properties:
Look up Existing WorkspaceSamlConfiguration Resource
Get an existing WorkspaceSamlConfiguration 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?: WorkspaceSamlConfigurationState, opts?: CustomResourceOptions): WorkspaceSamlConfiguration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_role_values: Optional[Sequence[str]] = None,
allowed_organizations: Optional[Sequence[str]] = None,
editor_role_values: Optional[Sequence[str]] = None,
email_assertion: Optional[str] = None,
groups_assertion: Optional[str] = None,
idp_metadata_url: Optional[str] = None,
idp_metadata_xml: Optional[str] = None,
login_assertion: Optional[str] = None,
login_validity_duration: Optional[int] = None,
name_assertion: Optional[str] = None,
org_assertion: Optional[str] = None,
role_assertion: Optional[str] = None,
status: Optional[str] = None,
workspace_id: Optional[str] = None) -> WorkspaceSamlConfiguration
func GetWorkspaceSamlConfiguration(ctx *Context, name string, id IDInput, state *WorkspaceSamlConfigurationState, opts ...ResourceOption) (*WorkspaceSamlConfiguration, error)
public static WorkspaceSamlConfiguration Get(string name, Input<string> id, WorkspaceSamlConfigurationState? state, CustomResourceOptions? opts = null)
public static WorkspaceSamlConfiguration get(String name, Output<String> id, WorkspaceSamlConfigurationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Admin
Role List<string>Values - The admin role values.
- Allowed
Organizations List<string> - The allowed organizations.
- Editor
Role List<string>Values - The editor role values.
- Email
Assertion string - The email assertion.
- Groups
Assertion string - The groups assertion.
- Idp
Metadata stringUrl - The IDP Metadata URL. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - Idp
Metadata stringXml - The IDP Metadata XML. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - Login
Assertion string - The login assertion.
- Login
Validity intDuration - The login validity duration.
- Name
Assertion string - The name assertion.
- Org
Assertion string - The org assertion.
- Role
Assertion string - The role assertion.
- Status string
- The status of the SAML configuration.
- Workspace
Id string The workspace id.
The following arguments are optional:
- Admin
Role []stringValues - The admin role values.
- Allowed
Organizations []string - The allowed organizations.
- Editor
Role []stringValues - The editor role values.
- Email
Assertion string - The email assertion.
- Groups
Assertion string - The groups assertion.
- Idp
Metadata stringUrl - The IDP Metadata URL. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - Idp
Metadata stringXml - The IDP Metadata XML. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - Login
Assertion string - The login assertion.
- Login
Validity intDuration - The login validity duration.
- Name
Assertion string - The name assertion.
- Org
Assertion string - The org assertion.
- Role
Assertion string - The role assertion.
- Status string
- The status of the SAML configuration.
- Workspace
Id string The workspace id.
The following arguments are optional:
- admin
Role List<String>Values - The admin role values.
- allowed
Organizations List<String> - The allowed organizations.
- editor
Role List<String>Values - The editor role values.
- email
Assertion String - The email assertion.
- groups
Assertion String - The groups assertion.
- idp
Metadata StringUrl - The IDP Metadata URL. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - idp
Metadata StringXml - The IDP Metadata XML. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - login
Assertion String - The login assertion.
- login
Validity IntegerDuration - The login validity duration.
- name
Assertion String - The name assertion.
- org
Assertion String - The org assertion.
- role
Assertion String - The role assertion.
- status String
- The status of the SAML configuration.
- workspace
Id String The workspace id.
The following arguments are optional:
- admin
Role string[]Values - The admin role values.
- allowed
Organizations string[] - The allowed organizations.
- editor
Role string[]Values - The editor role values.
- email
Assertion string - The email assertion.
- groups
Assertion string - The groups assertion.
- idp
Metadata stringUrl - The IDP Metadata URL. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - idp
Metadata stringXml - The IDP Metadata XML. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - login
Assertion string - The login assertion.
- login
Validity numberDuration - The login validity duration.
- name
Assertion string - The name assertion.
- org
Assertion string - The org assertion.
- role
Assertion string - The role assertion.
- status string
- The status of the SAML configuration.
- workspace
Id string The workspace id.
The following arguments are optional:
- admin_
role_ Sequence[str]values - The admin role values.
- allowed_
organizations Sequence[str] - The allowed organizations.
- editor_
role_ Sequence[str]values - The editor role values.
- email_
assertion str - The email assertion.
- groups_
assertion str - The groups assertion.
- idp_
metadata_ strurl - The IDP Metadata URL. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - idp_
metadata_ strxml - The IDP Metadata XML. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - login_
assertion str - The login assertion.
- login_
validity_ intduration - The login validity duration.
- name_
assertion str - The name assertion.
- org_
assertion str - The org assertion.
- role_
assertion str - The role assertion.
- status str
- The status of the SAML configuration.
- workspace_
id str The workspace id.
The following arguments are optional:
- admin
Role List<String>Values - The admin role values.
- allowed
Organizations List<String> - The allowed organizations.
- editor
Role List<String>Values - The editor role values.
- email
Assertion String - The email assertion.
- groups
Assertion String - The groups assertion.
- idp
Metadata StringUrl - The IDP Metadata URL. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - idp
Metadata StringXml - The IDP Metadata XML. Note that either
idp_metadata_url
oridp_metadata_xml
(but not both) must be specified. - login
Assertion String - The login assertion.
- login
Validity NumberDuration - The login validity duration.
- name
Assertion String - The name assertion.
- org
Assertion String - The org assertion.
- role
Assertion String - The role assertion.
- status String
- The status of the SAML configuration.
- workspace
Id String The workspace id.
The following arguments are optional:
Import
Using pulumi import
, import Grafana Workspace SAML configuration using the workspace’s id
. For example:
$ pulumi import aws:grafana/workspaceSamlConfiguration:WorkspaceSamlConfiguration example g-2054c75a02
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.