com.pulumi.aws.quicksight.kotlin.GroupArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.quicksight.kotlin
import com.pulumi.aws.quicksight.GroupArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Resource for managing QuickSight Group
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
* const example = new aws.quicksight.Group("example", {groupName: "tf-example"});
* ```
* ```python
* import pulumi
* import pulumi_aws as aws
* example = aws.quicksight.Group("example", group_name="tf-example")
* ```
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using Aws = Pulumi.Aws;
* return await Deployment.RunAsync(() =>
* {
* var example = new Aws.Quicksight.Group("example", new()
* {
* GroupName = "tf-example",
* });
* });
* ```
* ```go
* 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.NewGroup(ctx, "example", &quicksight.GroupArgs{
* GroupName: pulumi.String("tf-example"),
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* package generated_program;
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.aws.quicksight.Group;
* import com.pulumi.aws.quicksight.GroupArgs;
* 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 example = new Group("example", GroupArgs.builder()
* .groupName("tf-example")
* .build());
* }
* }
* ```
* ```yaml
* resources:
* example:
* type: aws:quicksight:Group
* properties:
* groupName: tf-example
* ```
*
* ## Import
* Using `pulumi import`, import QuickSight Group using the aws account id, namespace and group name separated by `/`. For example:
* ```sh
* $ pulumi import aws:quicksight/group:Group example 123456789123/default/tf-example
* ```
* @property awsAccountId The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
* @property description A description for the group.
* @property groupName A name for the group.
* @property namespace The namespace. Currently, you should set this to `default`.
*/
public data class GroupArgs(
public val awsAccountId: Output? = null,
public val description: Output? = null,
public val groupName: Output? = null,
public val namespace: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.quicksight.GroupArgs =
com.pulumi.aws.quicksight.GroupArgs.builder()
.awsAccountId(awsAccountId?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.groupName(groupName?.applyValue({ args0 -> args0 }))
.namespace(namespace?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GroupArgs].
*/
@PulumiTagMarker
public class GroupArgsBuilder internal constructor() {
private var awsAccountId: Output? = null
private var description: Output? = null
private var groupName: Output? = null
private var namespace: Output? = null
/**
* @param value The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
*/
@JvmName("fmwbgdkoeihpetec")
public suspend fun awsAccountId(`value`: Output) {
this.awsAccountId = value
}
/**
* @param value A description for the group.
*/
@JvmName("bcdcofvjcvnuugta")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value A name for the group.
*/
@JvmName("esufeinekhmgjgcs")
public suspend fun groupName(`value`: Output) {
this.groupName = value
}
/**
* @param value The namespace. Currently, you should set this to `default`.
*/
@JvmName("xasbriprouldmwdy")
public suspend fun namespace(`value`: Output) {
this.namespace = value
}
/**
* @param value The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
*/
@JvmName("sbnikyecbpukdsvr")
public suspend fun awsAccountId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.awsAccountId = mapped
}
/**
* @param value A description for the group.
*/
@JvmName("sqbykgsoqwdnemtk")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value A name for the group.
*/
@JvmName("eqylfyckmdxcngdr")
public suspend fun groupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.groupName = mapped
}
/**
* @param value The namespace. Currently, you should set this to `default`.
*/
@JvmName("dybbftqoerlvxpdj")
public suspend fun namespace(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.namespace = mapped
}
internal fun build(): GroupArgs = GroupArgs(
awsAccountId = awsAccountId,
description = description,
groupName = groupName,
namespace = namespace,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy