ConfigurationPolicyAssociationState.fromMap constructor
ConfigurationPolicyAssociationState.fromMap(
- Map<String, dynamic> map
)
Implementation
factory ConfigurationPolicyAssociationState.fromMap(Map<String, dynamic> map) {
return ConfigurationPolicyAssociationState(
policyId: (() { final guardedValue = map['policyId']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
region: (() { final guardedValue = map['region']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
targetId: (() { final guardedValue = map['targetId']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}