Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of group Arn pulumi.StringOutput `pulumi:"arn"` // 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. AwsAccountId pulumi.StringOutput `pulumi:"awsAccountId"` // A description for the group. Description pulumi.StringPtrOutput `pulumi:"description"` // A name for the group. GroupName pulumi.StringOutput `pulumi:"groupName"` // The namespace. Currently, you should set this to `default`. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` }
Resource for managing QuickSight Group
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/quicksight" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
## Import
QuickSight Group can be imported using the aws account id, namespace and group name separated by `/`.
```sh
$ pulumi import aws:quicksight/group:Group example 123456789123/default/tf-example
```
func GetGroup ¶
func GetGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GroupState, opts ...pulumi.ResourceOption) (*Group, error)
GetGroup gets an existing Group resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewGroup ¶
func NewGroup(ctx *pulumi.Context, name string, args *GroupArgs, opts ...pulumi.ResourceOption) (*Group, error)
NewGroup registers a new resource with the given unique name, arguments, and options.
func (Group) ElementType ¶ added in v3.13.0
func (Group) ToGroupOutput ¶ added in v3.13.0
func (i Group) ToGroupOutput() GroupOutput
func (Group) ToGroupOutputWithContext ¶ added in v3.13.0
func (i Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput
type GroupArgs ¶
type GroupArgs struct { // 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. AwsAccountId pulumi.StringPtrInput // A description for the group. Description pulumi.StringPtrInput // A name for the group. GroupName pulumi.StringInput // The namespace. Currently, you should set this to `default`. Namespace pulumi.StringPtrInput }
The set of arguments for constructing a Group resource.
func (GroupArgs) ElementType ¶
type GroupInput ¶ added in v3.13.0
type GroupInput interface { pulumi.Input ToGroupOutput() GroupOutput ToGroupOutputWithContext(ctx context.Context) GroupOutput }
type GroupOutput ¶ added in v3.13.0
type GroupOutput struct {
*pulumi.OutputState
}
func (GroupOutput) ElementType ¶ added in v3.13.0
func (GroupOutput) ElementType() reflect.Type
func (GroupOutput) ToGroupOutput ¶ added in v3.13.0
func (o GroupOutput) ToGroupOutput() GroupOutput
func (GroupOutput) ToGroupOutputWithContext ¶ added in v3.13.0
func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput
type GroupState ¶
type GroupState struct { // Amazon Resource Name (ARN) of group Arn pulumi.StringPtrInput // 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. AwsAccountId pulumi.StringPtrInput // A description for the group. Description pulumi.StringPtrInput // A name for the group. GroupName pulumi.StringPtrInput // The namespace. Currently, you should set this to `default`. Namespace pulumi.StringPtrInput }
func (GroupState) ElementType ¶
func (GroupState) ElementType() reflect.Type
type User ¶
type User struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the user Arn pulumi.StringOutput `pulumi:"arn"` // The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account. AwsAccountId pulumi.StringOutput `pulumi:"awsAccountId"` // The email address of the user that you want to register. Email pulumi.StringOutput `pulumi:"email"` // The ARN of the IAM user or role that you are registering with Amazon QuickSight. IamArn pulumi.StringPtrOutput `pulumi:"iamArn"` // Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts either `IAM` or `QUICKSIGHT`. IdentityType pulumi.StringOutput `pulumi:"identityType"` // The namespace. Currently, you should set this to `default`. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // The name of the IAM session to use when assuming roles that can embed QuickSight dashboards. SessionName pulumi.StringPtrOutput `pulumi:"sessionName"` // The Amazon QuickSight user name that you want to create for the user you are registering. UserName pulumi.StringPtrOutput `pulumi:"userName"` // The Amazon QuickSight role of the user. The user role can be one of the following: `READER`, `AUTHOR`, or `ADMIN` UserRole pulumi.StringOutput `pulumi:"userRole"` }
Resource for managing QuickSight User
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/quicksight" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := quicksight.NewUser(ctx, "example", &quicksight.UserArgs{ Email: pulumi.String("author@example.com"), IdentityType: pulumi.String("IAM"), UserName: pulumi.String("an-author"), UserRole: pulumi.String("AUTHOR"), }) if err != nil { return err } return nil }) }
```
## Import
Importing is currently not supported on this resource.
func GetUser ¶
func GetUser(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)
GetUser gets an existing User resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewUser ¶
func NewUser(ctx *pulumi.Context, name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)
NewUser registers a new resource with the given unique name, arguments, and options.
func (User) ElementType ¶ added in v3.13.0
func (User) ToUserOutput ¶ added in v3.13.0
func (i User) ToUserOutput() UserOutput
func (User) ToUserOutputWithContext ¶ added in v3.13.0
func (i User) ToUserOutputWithContext(ctx context.Context) UserOutput
type UserArgs ¶
type UserArgs struct { // The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account. AwsAccountId pulumi.StringPtrInput // The email address of the user that you want to register. Email pulumi.StringInput // The ARN of the IAM user or role that you are registering with Amazon QuickSight. IamArn pulumi.StringPtrInput // Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts either `IAM` or `QUICKSIGHT`. IdentityType pulumi.StringInput // The namespace. Currently, you should set this to `default`. Namespace pulumi.StringPtrInput // The name of the IAM session to use when assuming roles that can embed QuickSight dashboards. SessionName pulumi.StringPtrInput // The Amazon QuickSight user name that you want to create for the user you are registering. UserName pulumi.StringPtrInput // The Amazon QuickSight role of the user. The user role can be one of the following: `READER`, `AUTHOR`, or `ADMIN` UserRole pulumi.StringInput }
The set of arguments for constructing a User resource.
func (UserArgs) ElementType ¶
type UserInput ¶ added in v3.13.0
type UserInput interface { pulumi.Input ToUserOutput() UserOutput ToUserOutputWithContext(ctx context.Context) UserOutput }
type UserOutput ¶ added in v3.13.0
type UserOutput struct {
*pulumi.OutputState
}
func (UserOutput) ElementType ¶ added in v3.13.0
func (UserOutput) ElementType() reflect.Type
func (UserOutput) ToUserOutput ¶ added in v3.13.0
func (o UserOutput) ToUserOutput() UserOutput
func (UserOutput) ToUserOutputWithContext ¶ added in v3.13.0
func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput
type UserState ¶
type UserState struct { // Amazon Resource Name (ARN) of the user Arn pulumi.StringPtrInput // The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account. AwsAccountId pulumi.StringPtrInput // The email address of the user that you want to register. Email pulumi.StringPtrInput // The ARN of the IAM user or role that you are registering with Amazon QuickSight. IamArn pulumi.StringPtrInput // Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts either `IAM` or `QUICKSIGHT`. IdentityType pulumi.StringPtrInput // The namespace. Currently, you should set this to `default`. Namespace pulumi.StringPtrInput // The name of the IAM session to use when assuming roles that can embed QuickSight dashboards. SessionName pulumi.StringPtrInput // The Amazon QuickSight user name that you want to create for the user you are registering. UserName pulumi.StringPtrInput // The Amazon QuickSight role of the user. The user role can be one of the following: `READER`, `AUTHOR`, or `ADMIN` UserRole pulumi.StringPtrInput }