GetPolicyResult class
Result data returned by getPolicy.
Constructors
- GetPolicyResult({String? arn, bool? awsManaged, String? content, String? description, String? id, String? name, String? policyId, String? type})
-
Creates a new GetPolicyResult.
arnARN of the policy.awsManagedIndicates if a policy is an AWS managed policy.contentThe text content of the policy.descriptionThe description of the policy.idThe provider-assigned unique ID for this managed resource.nameThe friendly name of the policy.policyIdOptional.typeThe type of policy values can beAISERVICES_OPT_OUT_POLICY | BACKUP_POLICY | CHATBOT_POLICY | DECLARATIVE_POLICY_EC2 | RESOURCE_CONTROL_POLICY | SERVICE_CONTROL_POLICY | TAG_POLICYconst -
GetPolicyResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- arn → String?
-
ARN of the policy.
final
- awsManaged → bool?
-
Indicates if a policy is an AWS managed policy.
final
- content → String?
-
The text content of the policy.
final
- description → String?
-
The description of the policy.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The provider-assigned unique ID for this managed resource.
final
- name → String?
-
The friendly name of the policy.
final
- policyId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String?
-
The type of policy values can be
AISERVICES_OPT_OUT_POLICY | BACKUP_POLICY | CHATBOT_POLICY | DECLARATIVE_POLICY_EC2 | RESOURCE_CONTROL_POLICY | SERVICE_CONTROL_POLICY | TAG_POLICYfinal
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