Interface CfnPermissionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPermissionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:11.095Z")
@Stability(Stable)
public interface CfnPermissionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPermission.
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.*;
CfnPermissionProps cfnPermissionProps = CfnPermissionProps.builder()
.actions(List.of("actions"))
.applicationId("applicationId")
.principal("principal")
.statementId("statementId")
// the properties below are optional
.conditions(List.of(ConditionProperty.builder()
.conditionKey("conditionKey")
.conditionOperator("conditionOperator")
.conditionValues(List.of("conditionValues"))
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPermissionPropsstatic final classAn implementation forCfnPermissionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPermissionProps.Builderbuilder()The list of Amazon Q Business actions that the ISV is allowed to perform.The unique identifier of the Amazon Q Business application.default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnPermission.ConditionProperty>Provides user and group information used for filtering documents to use for generating Amazon Q Business conversation responses.A unique identifier for the policy statement.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActions
The list of Amazon Q Business actions that the ISV is allowed to perform.- See Also:
-
getApplicationId
The unique identifier of the Amazon Q Business application.- See Also:
-
getPrincipal
Provides user and group information used for filtering documents to use for generating Amazon Q Business conversation responses.- See Also:
-
getStatementId
A unique identifier for the policy statement.- See Also:
-
getConditions
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnPermission.ConditionProperty>- See Also:
-
builder
- Returns:
- a
CfnPermissionProps.BuilderofCfnPermissionProps
-