get Theme
Data source for managing an AWS QuickSight Theme.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.quicksight.getTheme({
themeId: "example",
});
Content copied to clipboard
import pulumi
import pulumi_aws as aws
example = aws.quicksight.get_theme(theme_id="example")
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Quicksight.GetTheme.Invoke(new()
{
ThemeId = "example",
});
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/quicksight"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := quicksight.LookupTheme(ctx, &quicksight.LookupThemeArgs{
ThemeId: "example",
}, nil)
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.quicksight.QuicksightFunctions;
import com.pulumi.aws.quicksight.inputs.GetThemeArgs;
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) {
final var example = QuicksightFunctions.getTheme(GetThemeArgs.builder()
.themeId("example")
.build());
}
}
Content copied to clipboard
variables:
example:
fn::invoke:
function: aws:quicksight:getTheme
arguments:
themeId: example
Content copied to clipboard
Return
A collection of values returned by getTheme.
Parameters
argument
A collection of arguments for invoking getTheme.
suspend fun getTheme(awsAccountId: String? = null, tags: Map<String, String>? = null, themeId: String): GetThemeResult
Return
A collection of values returned by getTheme.
Parameters
aws Account Id
AWS account ID.
tags
A map of tags assigned to the resource, including those inherited from the provider default_tags
configuration block.
theme Id
Identifier of the theme. The following arguments are optional:
See also
Return
A collection of values returned by getTheme.
Parameters
argument
Builder for com.pulumi.aws.quicksight.kotlin.inputs.GetThemePlainArgs.