Account Subscription Args
Resource for managing an AWS QuickSight Account Subscription.
Due to the absence of the
admin_group
,author_group
, andreader_group
fields in theDescribeAccountSettings
API response, changes made to these groups post-subscription will not be detected by this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const subscription = new aws.quicksight.AccountSubscription("subscription", {
accountName: "quicksight-pulumi",
authenticationMethod: "IAM_AND_QUICKSIGHT",
edition: "ENTERPRISE",
notificationEmail: "notification@email.com",
});
import pulumi
import pulumi_aws as aws
subscription = aws.quicksight.AccountSubscription("subscription",
account_name="quicksight-pulumi",
authentication_method="IAM_AND_QUICKSIGHT",
edition="ENTERPRISE",
notification_email="notification@email.com")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var subscription = new Aws.Quicksight.AccountSubscription("subscription", new()
{
AccountName = "quicksight-pulumi",
AuthenticationMethod = "IAM_AND_QUICKSIGHT",
Edition = "ENTERPRISE",
NotificationEmail = "notification@email.com",
});
});
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.NewAccountSubscription(ctx, "subscription", &quicksight.AccountSubscriptionArgs{
AccountName: pulumi.String("quicksight-pulumi"),
AuthenticationMethod: pulumi.String("IAM_AND_QUICKSIGHT"),
Edition: pulumi.String("ENTERPRISE"),
NotificationEmail: pulumi.String("notification@email.com"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.quicksight.AccountSubscription;
import com.pulumi.aws.quicksight.AccountSubscriptionArgs;
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 subscription = new AccountSubscription("subscription", AccountSubscriptionArgs.builder()
.accountName("quicksight-pulumi")
.authenticationMethod("IAM_AND_QUICKSIGHT")
.edition("ENTERPRISE")
.notificationEmail("notification@email.com")
.build());
}
}
resources:
subscription:
type: aws:quicksight:AccountSubscription
properties:
accountName: quicksight-pulumi
authenticationMethod: IAM_AND_QUICKSIGHT
edition: ENTERPRISE
notificationEmail: notification@email.com
Import
You cannot import this resource.
Constructors
Properties
Name of your Amazon QuickSight account. This name is unique over all of AWS, and it appears only when users sign in.
Name of your Active Directory. This field is required if ACTIVE_DIRECTORY
is the selected authentication method of the new Amazon QuickSight account.
Admin group associated with your Active Directory. This field is required if ACTIVE_DIRECTORY
is the selected authentication method of the new Amazon QuickSight account.
Method that you want to use to authenticate your Amazon QuickSight account. Currently, the valid values for this parameter are IAM_AND_QUICKSIGHT
, IAM_ONLY
, IAM_IDENTITY_CENTER
, and ACTIVE_DIRECTORY
.
Author group associated with your Active Directory.
AWS account ID hosting the QuickSight account. Default to provider account.
A 10-digit phone number for the author of the Amazon QuickSight account to use for future communications. This field is required if ENTERPPRISE_AND_Q
is the selected edition of the new Amazon QuickSight account.
Active Directory ID that is associated with your Amazon QuickSight account.
Email address of the author of the Amazon QuickSight account to use for future communications. This field is required if ENTERPPRISE_AND_Q
is the selected edition of the new Amazon QuickSight account.
The Amazon Resource Name (ARN) for the IAM Identity Center instance.
Email address that you want Amazon QuickSight to send notifications to regarding your Amazon QuickSight account or Amazon QuickSight subscription. The following arguments are optional:
Reader group associated with your Active Directory.