AgentcorePolicyArgs class
The set of arguments for AgentcorePolicy. The set of arguments for AgentcorePolicy.
Constructors
-
AgentcorePolicyArgs({required Input<
AgentcorePolicyDefinition> definition, Input<String?> ? description, Input<String?> ? name, required Input<String> policyEngineId, Input<String?> ? region, Input<AgentcorePolicyTimeouts?> ? timeouts, Input<String?> ? validationMode}) -
Creates a new AgentcorePolicyArgs.
definitionPolicy definition. SeedefinitionBlock for details.descriptionDescription of the policy.nameName of the policy. Must be 1-48 characters and match the pattern^[A-Za-z][A-Za-z0-9_]*$. Changing this forces a new resource to be created.policyEngineIdIdentifier of the Policy Engine that owns this policy. Changing this forces a new resource to be created.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.timeoutsOptional.validationModeControls whether validation findings cause policy creation or update to fail. Valid values:FAIL_ON_ANY_FINDINGS,IGNORE_ALL_FINDINGS. Defaults toFAIL_ON_ANY_FINDINGS.const -
AgentcorePolicyArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
definition
→ Input<
AgentcorePolicyDefinition> -
Policy definition. See
definitionBlock for details.final -
description
→ Input<
String?> ? -
Description of the policy.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
Name of the policy. Must be 1-48 characters and match the pattern
^[A-Za-z][A-Za-z0-9_]*$. Changing this forces a new resource to be created.final -
policyEngineId
→ Input<
String> -
Identifier of the Policy Engine that owns this policy. Changing this forces a new resource to be created.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
timeouts
→ Input<
AgentcorePolicyTimeouts?> ? -
final
-
validationMode
→ Input<
String?> ? -
Controls whether validation findings cause policy creation or update to fail. Valid values:
FAIL_ON_ANY_FINDINGS,IGNORE_ALL_FINDINGS. Defaults toFAIL_ON_ANY_FINDINGS.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited