PreferencesProperty Struct
Preferences that configure behavior of this AgentSpace.
This container fully owns the AgentSpace preferences: the properties supplied here replace the stored preferences in their entirety, and omitting the Preferences container reverts all preferences to their service defaults.
| 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_devopsagent as devopsagent } from 'aws-cdk-lib';
const preferencesProperty: devopsagent.CfnAgentSpace.PreferencesProperty = {
elevatedActionsEnabled: false,
};
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_devopsagent as devopsagent
preferences_property = devopsagent.CfnAgentSpace.PreferencesProperty(
elevated_actions_enabled=False
)
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.devopsagent.*;
PreferencesProperty preferencesProperty = PreferencesProperty.builder()
.elevatedActionsEnabled(false)
.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.DevOpsAgent;
var preferencesProperty = new PreferencesProperty {
ElevatedActionsEnabled = false
};
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"
preferencesProperty := &PreferencesProperty{
ElevatedActionsEnabled: jsii.Boolean(false),
}
Properties
elevatedActionsEnabledoptionalboolean | IResolvableelevated_actions_enabledoptionaltyping.Union[bool, IResolvable]elevatedActionsEnabledoptionalBooleanElevatedActionsEnabledoptionalboolElevatedActionsEnabledoptionalinterface{} #Indicates whether elevated directed actions are permitted in this AgentSpace.
Defaults to false when not set.