Class CfnApplication
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IApplicationRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are also available in Amazon Q Business Lite. For information on what's included in Amazon Q Business Lite and what's included in Amazon Q Business Pro, see Amazon Q Business tiers . You must use the Amazon Q Business console to assign subscription tiers to users.
An Amazon Q Apps service linked role will be created if it's absent in the AWS account when
QAppsConfigurationis enabled in the request. For more information, see Using service-linked roles for Q Apps .When you create an application, Amazon Q Business may securely transmit data for processing from your selected AWS region, but within your geography. For more information, see Cross region inference in Amazon Q Business .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.qbusiness.*;
CfnApplication cfnApplication = CfnApplication.Builder.create(this, "MyCfnApplication")
.displayName("displayName")
// the properties below are optional
.attachmentsConfiguration(AttachmentsConfigurationProperty.builder()
.attachmentsControlMode("attachmentsControlMode")
.build())
.autoSubscriptionConfiguration(AutoSubscriptionConfigurationProperty.builder()
.autoSubscribe("autoSubscribe")
// the properties below are optional
.defaultSubscriptionType("defaultSubscriptionType")
.build())
.clientIdsForOidc(List.of("clientIdsForOidc"))
.description("description")
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.kmsKeyId("kmsKeyId")
.build())
.iamIdentityProviderArn("iamIdentityProviderArn")
.identityCenterInstanceArn("identityCenterInstanceArn")
.identityType("identityType")
.personalizationConfiguration(PersonalizationConfigurationProperty.builder()
.personalizationControlMode("personalizationControlMode")
.build())
.qAppsConfiguration(QAppsConfigurationProperty.builder()
.qAppsControlMode("qAppsControlMode")
.build())
.quickSightConfiguration(QuickSightConfigurationProperty.builder()
.clientNamespace("clientNamespace")
.build())
.roleArn("roleArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceConfiguration information for the file upload during chat feature.static interfaceSubscription configuration information for an Amazon Q Business application using IAM identity federation for user management.static final classA fluent builder forCfnApplication.static interfaceProvides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business.static interfaceConfiguration information about chat response personalization.static interfaceConfiguration information about Amazon Q Apps.static interfaceThe Amazon Quick Suite configuration for an Amazon Q Business application that uses Quick Suite as the identity provider.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.qbusiness.IApplicationRef
IApplicationRef.Jsii$Default, IApplicationRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnApplication(software.amazon.jsii.JsiiObjectRef objRef) CfnApplication(software.constructs.Construct scope, String id, CfnApplicationProps props) Create a newAWS::QBusiness::Application. -
Method Summary
Modifier and TypeMethodDescriptionstatic IApplicationReffromApplicationArn(software.constructs.Construct scope, String id, String arn) Creates a new IApplicationRef from an ARN.static IApplicationReffromApplicationId(software.constructs.Construct scope, String id, String applicationId) Creates a new IApplicationRef from a applicationId.A reference to a Application resource.Configuration information for the file upload during chat feature.The Amazon Resource Name (ARN) of the Amazon Q Business application.The identifier for the Amazon Q Business application.The Unix timestamp when the Amazon Q Business application was created.The Amazon Resource Name (ARN) of the AWS IAM Identity Center instance attached to your Amazon Q Business application.The status of the Amazon Q Business application.The Unix timestamp when the Amazon Q Business application was last updated.Subscription configuration information for an Amazon Q Business application using IAM identity federation for user management.Tag Manager which manages the tags for this resource.The OIDC client ID for a Amazon Q Business application.A description for the Amazon Q Business application.The name of the Amazon Q Business application.Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business.The Amazon Resource Name (ARN) of an identity provider being used by an Amazon Q Business application.The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating for—or connecting to—your Amazon Q Business application.The authentication type being used by a Amazon Q Business application.Configuration information about chat response personalization.Configuration information about Amazon Q Apps.The Amazon Quick Suite configuration for an Amazon Q Business application that uses Quick Suite as the identity provider.The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.getTags()A list of key-value pairs that identify or categorize your Amazon Q Business application.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidConfiguration information for the file upload during chat feature.voidConfiguration information for the file upload during chat feature.voidSubscription configuration information for an Amazon Q Business application using IAM identity federation for user management.voidSubscription configuration information for an Amazon Q Business application using IAM identity federation for user management.voidsetClientIdsForOidc(List<String> value) The OIDC client ID for a Amazon Q Business application.voidsetDescription(String value) A description for the Amazon Q Business application.voidsetDisplayName(String value) The name of the Amazon Q Business application.voidProvides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business.voidProvides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business.voidsetIamIdentityProviderArn(String value) The Amazon Resource Name (ARN) of an identity provider being used by an Amazon Q Business application.voidThe Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating for—or connecting to—your Amazon Q Business application.voidsetIdentityType(String value) The authentication type being used by a Amazon Q Business application.voidConfiguration information about chat response personalization.voidConfiguration information about chat response personalization.voidsetQAppsConfiguration(IResolvable value) Configuration information about Amazon Q Apps.voidConfiguration information about Amazon Q Apps.voidThe Amazon Quick Suite configuration for an Amazon Q Business application that uses Quick Suite as the identity provider.voidThe Amazon Quick Suite configuration for an Amazon Q Business application that uses Quick Suite as the identity provider.voidsetRoleArn(String value) The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.voidA list of key-value pairs that identify or categorize your Amazon Q Business application.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnApplication
protected CfnApplication(software.amazon.jsii.JsiiObjectRef objRef) -
CfnApplication
protected CfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnApplication
@Stability(Stable) public CfnApplication(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnApplicationProps props) Create a newAWS::QBusiness::Application.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
fromApplicationArn
@Stability(Stable) @NotNull public static IApplicationRef fromApplicationArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IApplicationRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromApplicationId
@Stability(Stable) @NotNull public static IApplicationRef fromApplicationId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String applicationId) Creates a new IApplicationRef from a applicationId.- Parameters:
scope- This parameter is required.id- This parameter is required.applicationId- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getApplicationRef
A reference to a Application resource.- Specified by:
getApplicationRefin interfaceIApplicationRef
-
getAttrApplicationArn
The Amazon Resource Name (ARN) of the Amazon Q Business application. -
getAttrApplicationId
The identifier for the Amazon Q Business application. -
getAttrCreatedAt
The Unix timestamp when the Amazon Q Business application was created. -
getAttrIdentityCenterApplicationArn
The Amazon Resource Name (ARN) of the AWS IAM Identity Center instance attached to your Amazon Q Business application. -
getAttrStatus
The status of the Amazon Q Business application.The application is ready to use when the status is
ACTIVE. -
getAttrUpdatedAt
The Unix timestamp when the Amazon Q Business application was last updated. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDisplayName
The name of the Amazon Q Business application. -
setDisplayName
The name of the Amazon Q Business application. -
getAttachmentsConfiguration
Configuration information for the file upload during chat feature.Returns union: either
IResolvableorCfnApplication.AttachmentsConfigurationProperty -
setAttachmentsConfiguration
Configuration information for the file upload during chat feature. -
setAttachmentsConfiguration
@Stability(Stable) public void setAttachmentsConfiguration(@Nullable CfnApplication.AttachmentsConfigurationProperty value) Configuration information for the file upload during chat feature. -
getAutoSubscriptionConfiguration
Subscription configuration information for an Amazon Q Business application using IAM identity federation for user management.Returns union: either
IResolvableorCfnApplication.AutoSubscriptionConfigurationProperty -
setAutoSubscriptionConfiguration
Subscription configuration information for an Amazon Q Business application using IAM identity federation for user management. -
setAutoSubscriptionConfiguration
@Stability(Stable) public void setAutoSubscriptionConfiguration(@Nullable CfnApplication.AutoSubscriptionConfigurationProperty value) Subscription configuration information for an Amazon Q Business application using IAM identity federation for user management. -
getClientIdsForOidc
The OIDC client ID for a Amazon Q Business application. -
setClientIdsForOidc
The OIDC client ID for a Amazon Q Business application. -
getDescription
A description for the Amazon Q Business application. -
setDescription
A description for the Amazon Q Business application. -
getEncryptionConfiguration
Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business.Returns union: either
IResolvableorCfnApplication.EncryptionConfigurationProperty -
setEncryptionConfiguration
Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. -
setEncryptionConfiguration
@Stability(Stable) public void setEncryptionConfiguration(@Nullable CfnApplication.EncryptionConfigurationProperty value) Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. -
getIamIdentityProviderArn
The Amazon Resource Name (ARN) of an identity provider being used by an Amazon Q Business application. -
setIamIdentityProviderArn
The Amazon Resource Name (ARN) of an identity provider being used by an Amazon Q Business application. -
getIdentityCenterInstanceArn
The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating for—or connecting to—your Amazon Q Business application. -
setIdentityCenterInstanceArn
The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating for—or connecting to—your Amazon Q Business application. -
getIdentityType
The authentication type being used by a Amazon Q Business application. -
setIdentityType
The authentication type being used by a Amazon Q Business application. -
getPersonalizationConfiguration
Configuration information about chat response personalization.Returns union: either
IResolvableorCfnApplication.PersonalizationConfigurationProperty -
setPersonalizationConfiguration
Configuration information about chat response personalization. -
setPersonalizationConfiguration
@Stability(Stable) public void setPersonalizationConfiguration(@Nullable CfnApplication.PersonalizationConfigurationProperty value) Configuration information about chat response personalization. -
getQAppsConfiguration
Configuration information about Amazon Q Apps.Returns union: either
IResolvableorCfnApplication.QAppsConfigurationProperty -
setQAppsConfiguration
Configuration information about Amazon Q Apps. -
setQAppsConfiguration
@Stability(Stable) public void setQAppsConfiguration(@Nullable CfnApplication.QAppsConfigurationProperty value) Configuration information about Amazon Q Apps. -
getQuickSightConfiguration
The Amazon Quick Suite configuration for an Amazon Q Business application that uses Quick Suite as the identity provider.Returns union: either
IResolvableorCfnApplication.QuickSightConfigurationProperty -
setQuickSightConfiguration
The Amazon Quick Suite configuration for an Amazon Q Business application that uses Quick Suite as the identity provider. -
setQuickSightConfiguration
@Stability(Stable) public void setQuickSightConfiguration(@Nullable CfnApplication.QuickSightConfigurationProperty value) The Amazon Quick Suite configuration for an Amazon Q Business application that uses Quick Suite as the identity provider. -
getRoleArn
The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics. -
setRoleArn
The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics. -
getTags
A list of key-value pairs that identify or categorize your Amazon Q Business application. -
setTags
A list of key-value pairs that identify or categorize your Amazon Q Business application.
-