Application Args
data class ApplicationArgs(val attachmentsConfiguration: Output<ApplicationAttachmentsConfigurationArgs>? = null, val description: Output<String>? = null, val displayName: Output<String>? = null, val encryptionConfiguration: Output<ApplicationEncryptionConfigurationArgs>? = null, val iamServiceRoleArn: Output<String>? = null, val identityCenterInstanceArn: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val timeouts: Output<ApplicationTimeoutsArgs>? = null) : ConvertibleToJava<ApplicationArgs>
Provides a Q Business Application resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.qbusiness.Application("example", {
displayName: "example-app",
iamServiceRoleArn: exampleAwsIamRole.arn,
identityCenterInstanceArn: exampleAwsSsoadminInstances.arns[0],
attachmentsConfiguration: {
attachmentsControlMode: "ENABLED",
},
});
Content copied to clipboard
import pulumi
import pulumi_aws as aws
example = aws.qbusiness.Application("example",
display_name="example-app",
iam_service_role_arn=example_aws_iam_role["arn"],
identity_center_instance_arn=example_aws_ssoadmin_instances["arns"][0],
attachments_configuration={
"attachments_control_mode": "ENABLED",
})
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Qbusiness.Application("example", new()
{
DisplayName = "example-app",
IamServiceRoleArn = exampleAwsIamRole.Arn,
IdentityCenterInstanceArn = exampleAwsSsoadminInstances.Arns[0],
AttachmentsConfiguration = new Aws.Qbusiness.Inputs.ApplicationAttachmentsConfigurationArgs
{
AttachmentsControlMode = "ENABLED",
},
});
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/qbusiness"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := qbusiness.NewApplication(ctx, "example", &qbusiness.ApplicationArgs{
DisplayName: pulumi.String("example-app"),
IamServiceRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
IdentityCenterInstanceArn: pulumi.Any(exampleAwsSsoadminInstances.Arns[0]),
AttachmentsConfiguration: &qbusiness.ApplicationAttachmentsConfigurationArgs{
AttachmentsControlMode: pulumi.String("ENABLED"),
},
})
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.qbusiness.Application;
import com.pulumi.aws.qbusiness.ApplicationArgs;
import com.pulumi.aws.qbusiness.inputs.ApplicationAttachmentsConfigurationArgs;
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 Application("example", ApplicationArgs.builder()
.displayName("example-app")
.iamServiceRoleArn(exampleAwsIamRole.arn())
.identityCenterInstanceArn(exampleAwsSsoadminInstances.arns()[0])
.attachmentsConfiguration(ApplicationAttachmentsConfigurationArgs.builder()
.attachmentsControlMode("ENABLED")
.build())
.build());
}
}
Content copied to clipboard
resources:
example:
type: aws:qbusiness:Application
properties:
displayName: example-app
iamServiceRoleArn: ${exampleAwsIamRole.arn}
identityCenterInstanceArn: ${exampleAwsSsoadminInstances.arns[0]}
attachmentsConfiguration:
attachmentsControlMode: ENABLED
Content copied to clipboard
Import
Using pulumi import
, import a Q Business Application using the id
. For example:
$ pulumi import aws:qbusiness/application:Application example id-12345678
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(attachmentsConfiguration: Output<ApplicationAttachmentsConfigurationArgs>? = null, description: Output<String>? = null, displayName: Output<String>? = null, encryptionConfiguration: Output<ApplicationEncryptionConfigurationArgs>? = null, iamServiceRoleArn: Output<String>? = null, identityCenterInstanceArn: Output<String>? = null, tags: Output<Map<String, String>>? = null, timeouts: Output<ApplicationTimeoutsArgs>? = null)
Properties
Link copied to clipboard
Information about whether file upload functionality is activated or deactivated for your end user. See attachments_configuration
below.
Link copied to clipboard
Description of the Amazon Q application.
Link copied to clipboard
Name of the Amazon Q application.
Link copied to clipboard
Information about encryption configuration. See encryption_configuration
below.
Link copied to clipboard
ARN of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.
Link copied to clipboard
ARN of the IAM Identity Center instance you are either creating for — or connecting to — your Amazon Q Business application. The following arguments are optional:
Link copied to clipboard