AgentAccessSettingProperty Struct
A permission setting for an agent action.
Each setting specifies an agent action and whether it is enabled or disabled.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appstream as appstream } from 'aws-cdk-lib';
const agentAccessSettingProperty: appstream.CfnStack.AgentAccessSettingProperty = {
agentAction: 'agentAction',
permission: 'permission',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appstream as appstream
agent_access_setting_property = appstream.CfnStack.AgentAccessSettingProperty(
agent_action="agentAction",
permission="permission"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appstream.*;
AgentAccessSettingProperty agentAccessSettingProperty = AgentAccessSettingProperty.builder()
.agentAction("agentAction")
.permission("permission")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppStream;
var agentAccessSettingProperty = new AgentAccessSettingProperty {
AgentAction = "agentAction",
Permission = "permission"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
agentAccessSettingProperty := &AgentAccessSettingProperty{
AgentAction: jsii.String("agentAction"),
Permission: jsii.String("permission"),
}
Properties
The agent action to configure.
notes
Valid values are COMPUTER_VISION, COMPUTER_INPUT, and FORWARD_MCP_TOOLS. COMPUTER_VISION allows agents to take screenshots of the desktop. COMPUTER_INPUT allows agents to click, type, and scroll on the desktop and requires COMPUTER_VISION to also be enabled. FORWARD_MCP_TOOLS allows agents to interact with applications and the desktop operating system through direct MCP calls rather than using computer use tools. Forwards MCP tools configured on the WorkSpaces application session to the agent.
Whether the agent action is enabled or disabled.