AgentcorePolicyState class
Input properties used for looking up and filtering AgentcorePolicy resources.
Constructors
-
AgentcorePolicyState({Input<
AgentcorePolicyDefinition?> ? definition, Input<String?> ? description, Input<String?> ? name, Input<String?> ? policyArn, Input<String?> ? policyEngineId, Input<String?> ? policyId, Input<String?> ? region, Input<AgentcorePolicyTimeouts?> ? timeouts, Input<String?> ? validationMode}) -
Creates a new AgentcorePolicyState.
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.policyArnARN of the Policy.policyEngineIdIdentifier of the Policy Engine that owns this policy. Changing this forces a new resource to be created.policyIdIdentifier of the Policy.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 -
AgentcorePolicyState.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 -
policyArn
→ Input<
String?> ? -
ARN of the Policy.
final
-
policyEngineId
→ Input<
String?> ? -
Identifier of the Policy Engine that owns this policy. Changing this forces a new resource to be created.
final
-
policyId
→ Input<
String?> ? -
Identifier of the Policy.
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